~ubuntu-branches/debian/jessie/gdb/jessie

« back to all changes in this revision

Viewing changes to bfd/aout-tic30.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Jacobowitz
  • Date: 2010-03-20 01:21:29 UTC
  • mfrom: (1.3.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100320012129-t7h25y8zgr8c2369
Tags: 7.1-1
* New upstream release, including:
  - PIE support (Closes: #346409).
  - C++ improvements, including static_cast<> et al, namespace imports,
    and bug fixes in printing virtual base classes.
  - Multi-program debugging.  One GDB can now debug multiple programs
    at the same time.
  - Python scripting improvements, including gdb.parse_and_eval.
  - Updated MIPS Linux signal frame layout (Closes: #570875).
  - No internal error stepping over _dl_debug_state (Closes: #569551).
* Update to Standards-Version: 3.8.4 (no changes required).
* Include more relevant (and smaller) docs in the gdbserver package
  (Closes: #571132).
* Do not duplicate documentation in gdb64, gdb-source, and libgdb-dev.
* Fix crash when switching into TUI mode (Closes: #568489).

Show diffs side-by-side

added added

removed removed

Lines of Context:
296
296
{
297
297
  unsigned int r_length;
298
298
  unsigned int r_pcrel_done;
299
 
  int index;
 
299
  int howto_index;
300
300
 
301
301
  *r_pcrel = 0;
302
302
  if (bfd_header_big_endian (abfd))
313
313
      r_pcrel_done = (0 != (relocs->r_type[0] & RELOC_STD_BITS_PCREL_LITTLE));
314
314
      r_length = ((relocs->r_type[0] & RELOC_STD_BITS_LENGTH_LITTLE) >> RELOC_STD_BITS_LENGTH_SH_LITTLE);
315
315
    }
316
 
  index = r_length + 4 * r_pcrel_done;
317
 
  return tic30_aout_howto_table + index;
 
316
  howto_index = r_length + 4 * r_pcrel_done;
 
317
  return tic30_aout_howto_table + howto_index;
318
318
}
319
319
 
320
320
/* These macros will get 24-bit values from the bfd definition.
837
837
#ifndef MY_read_ar_hdr
838
838
#define MY_read_ar_hdr                  _bfd_generic_read_ar_hdr
839
839
#endif
 
840
#ifndef MY_write_ar_hdr
 
841
#define MY_write_ar_hdr                 _bfd_generic_write_ar_hdr
 
842
#endif
840
843
#ifndef MY_truncate_arname
841
844
#define MY_truncate_arname              bfd_bsd_truncate_arname
842
845
#endif
980
983
#ifndef MY_bfd_link_just_syms
981
984
#define MY_bfd_link_just_syms _bfd_generic_link_just_syms
982
985
#endif
 
986
#ifndef MY_bfd_copy_link_hash_symbol_type
 
987
#define MY_bfd_copy_link_hash_symbol_type \
 
988
  _bfd_generic_copy_link_hash_symbol_type
 
989
#endif
983
990
#ifndef MY_bfd_link_split_section
984
991
#define MY_bfd_link_split_section  _bfd_generic_link_split_section
985
992
#endif