Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

Location:
branches/GNU/src/binutils/include/elf
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/include/elf/ChangeLog

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    1 2001-06-11  Alan Modra  <amodra@bigpond.net.au>
    2 
    3         Merge from mainline.
    4         2001-05-15  Ralf Baechle  <ralf@gnu.org>
     12003-06-03  Nick Clifton  <nickc@redhat.com>
     2
     3        * v850.h (R_V850_32): Rename to R_V850_ABS32.
     4        Add R_V850_REL32.
     5
     62003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
     7
     8        * elf/h8.h (E_H8_MACH_H8300HN, E_H8_MACH_H8300SN): New
     9
     102003-04-23  J"orn Rennecke <joern.rennecke@superh.com>
     11
     12        * common.h (EM_SH): Amend comment to refer to SuperH.
     13
     142003-04-22  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
     15
     16        * common.h: Replace references to Mitsubishi M32R with
     17        references to Renesas M32R.
     18
     192003-04-15  Rohit Kumar Srivastava <rohits@kpitcummins.com>
     20
     21        * common.h: Replace occurrances of 'Hitachi' with 'Renesas'.
     22
     232003-04-01  Bob Wilson  <bob.wilson@acm.org>
     24
     25        * elf/common.h (EM_XTENSA_OLD): Define.
     26        * elf/xtensa.h: New file.
     27
     282003-04-01  Nick Clifton  <nickc@redhat.com>
     29
     30        * arm.h (ARM_NOTE_SECTION): Include .gnu in the string.
     31
     322003-03-25  Stan Cox   <scox@redhat.com>
     33            Nick Clifton  <nickc@redhat.com>
     34           
     35        Contribute support for Intel's iWMMXt chip - an ARM variant:
     36
     37        * arm.h (ARM_NOTE_SECTION): Define.
     38
     392003-03-03  J"orn Rennecke <joern.rennecke@superh.com>
     40
     41        * sh.h (EF_SH_MERGE_MACH): Make sure SH2E & SH3/SH3E merge to SH3E,
     42        and SH2E & SH4 merge to SH4, not SH2E.
     43
     442003-02-21  Ian Wienand  <ianw@gelato.unsw.edu.au>
     45
     46        * ia64.h (SHT_IA_64_LOPSREG, SHT_IA_64_HIPSREG,
     47        SHT_IA_64_PRIORITY_INIT): Define.
     48
     492003-02-18  Alan Modra  <amodra@bigpond.net.au>
     50
     51        * ppc64.h (IS_PPC64_TLS_RELOC): Rename from IS_TLS_RELOC.
     52
     53        * ppc.h: Replace DTPMOD64, TPREL64, DTPREL64 with DTPMOD32 etc.
     54        (IS_PPC_TLS_RELOC): Define.
     55
     562003-02-10  Nick Clifton  <nickc@redhat.com>
     57
     58        * arm.h (EF_ARM_MAVERICK_FLOAT): Define.
     59
     602003-02-05  Alan Modra  <amodra@bigpond.net.au>
     61
     62        * ppc.h: Add TLS relocs.  Format.
     63        * ppc64.h: Likewise.
     64
     652003-01-27  Alexandre Oliva  <aoliva@redhat.com>
     66
     67        * mips.h (EF_MIPS_XGOT): Define.
     68
     692003-01-24  Martin Schwidefsky  <schwidefsky@de.ibm.com>
     70
     71        * s390.h: Add s390 TLS relocations.
     72
     732003-01-23  Nick Clifton  <nickc@redhat.com>
     74
     75        * Add sh2e support:
     76
     77        2002-04-02  Alexandre Oliva  <aoliva@redhat.com>
     78
     79                * sh.h (EF_SH_MERGE_MACH): Handle SH2E.
     80
     81        2002-04-02  Elena Zannoni  <ezannoni@redhat.com>
     82
     83                * sh.h (EF_SH2E): New.
     84
     852003-01-23  Alan Modra  <amodra@bigpond.net.au>
     86
     87        * sh.h: Split out various bits to bfd/elf32-sh64.h.
     88
     892003-01-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
     90
     91        * s390.h: Rename R_390_GOTOFF to R_390_GOTOFF32. Add new gotoff,
     92        gotplt and pltoff relocations.
     93
     942003-01-17  Alan Modra  <amodra@bigpond.net.au>
     95
     96        * common.h: Formatting, typo fixes.
     97        (DT_ENCODING): Correct value.
     98
     992003-01-17  Fabio Alemagna  <falemagn@aros.org>
     100
     101        * common.h (ELFOSABI_AROS): Define.
     102        (ELFOSABI_OPENVMS): Likewise.
     103        (ELFOSABI_NSK): Likewise.
     104
     1052003-01-16  Alan Modra  <amodra@bigpond.net.au>
     106
     107        * ppc.h: Split out ppc64 definitions to..
     108        * pcc64.h: ..here.  New file.
     109        (R_PPC64_REL30): Rename from R_PPC64_ADDR30.
     110
     1112003-01-13 Dmitry Diky <diwil@mail.ru>
     112
     113        * elf/common.h (EM_MSP430): Change e_machine value to officially
     114        assigned.
     115
     1162003-01-02  Ben Elliston  <bje@redhat.com>
     117
     118        * common.h (EM_IQ2000): Define.
     119        * iq2000.h: New file.
     120
     1212002-12-30  Chris Demetriou  <cgd@broadcom.com>
     122
     123        * mips.h (E_MIPS_ARCH_32R2): New define.
     124
     1252002-12-24    Dmitry Diky <diwil@mail.ru>
     126
     127        * common.h: Define msp430 machine numbers.
     128        * msp430.h: New file.  Define msp430 relocs.
     129
     1302002-12-20  DJ Delorie  <dj@redhat.com>
     131
     132        * xstormy16.h: Add XSTORMY16_12.
     133
     1342002-12-16  Andrew MacLeod  <amacleod@redhat.com>
     135
     136        * xstormy16.h (START_RELOC_NUMBERS) Add relocation numbers
     137        for R_XSTORMY16_LO16 and R_XSTORMY16_HI16.
     138
     1392002-12-10  James Cownie <jcownie@etnus.com>
     140
     141        * dwarf2.h (DW_TAG_upc_shared_type, DW_TAG_upc_strict_type,
     142        DW_TAG_upc_relaxed_type, DW_AT_upc_threads_scaled, DW_LANG_Upc):
     143        Define.
     144
     1452002-12-01  Stephane Carrez  <stcarrez@nerim.fr>
     146
     147        * m68hc11.h (EF_M68HC12_MACH, EF_M68HCS12_MACH): Define.
     148        (EF_M68HC11_MACH_MASK, EF_M68HC11_MACH): Define.
     149        (EF_M68HC11_MERGE_MACH, EF_M68HC11_CAN_MERGE_MACH): Define.
     150
     1512002-11-30  Alan Modra  <amodra@bigpond.net.au>
     152
     153        * mmix.h: Replace boolean with bfd_boolean.
     154        * sh.h: Likewise.
     155
     1562002-11-28  Alan Modra  <amodra@bigpond.net.au>
     157
     158        * internal.h (elf32_internal_ehdr, Elf32_Internal_Ehdr,
     159        elf64_internal_ehdr, Elf64_Internal_Ehdr, elf32_internal_phdr,
     160        Elf32_Internal_Phdr, elf64_internal_phdr, Elf64_Internal_Phdr,
     161        elf32_internal_shdr, Elf32_Internal_Shdr, elf64_internal_shdr,
     162        Elf64_Internal_Shdr, elf32_internal_sym, elf64_internal_sym,
     163        Elf32_Internal_Sym, Elf64_Internal_Sym, Elf32_Internal_Note,
     164        elf32_internal_note, elf32_internal_rel, Elf32_Internal_Rel,
     165        elf64_internal_rel, Elf64_Internal_Rel, elf32_internal_rela,
     166        elf64_internal_rela, Elf32_Internal_Rela, Elf64_Internal_Rela,
     167        elf32_internal_dyn, elf64_internal_dyn, Elf32_Internal_Dyn,
     168        Elf64_Internal_Dyn, elf32_internal_verdef, elf64_internal_verdef,
     169        elf32_internal_verdaux, elf64_internal_verdaux, elf32_internal_verneed,
     170        elf64_internal_verneed, elf32_internal_vernaux, elf64_internal_vernaux,
     171        elf32_internal_versym, elf64_internal_versym, Elf32_Internal_Verdef,
     172        Elf64_Internal_Verdef, Elf32_Internal_Verdaux, Elf64_Internal_Verdaux,
     173        Elf32_Internal_Verneed, Elf64_Internal_Verneed, Elf32_Internal_Vernaux,
     174        Elf64_Internal_Vernaux, Elf32_Internal_Versym, Elf64_Internal_Versym,
     175        Elf32_Internal_Syminfo, Elf64_Internal_Syminfo): Delete.
     176        (Elf_Internal_Rel): Delete.
     177
     1782002-10-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
     179
     180        * sh.h: Add SH TLS relocs.
     181
     1822002-09-30  Gavin Romig-Koch  <gavin@redhat.com>
     183            Ken Raeburn  <raeburn@cygnus.com>
     184            Aldy Hernandez  <aldyh@redhat.com>
     185            Eric Christopher  <echristo@redhat.com>
     186            Richard Sandiford  <rsandifo@redhat.com>
     187
     188        * mips.h (E_MIPS_MACH_4120, E_MIPS_MACH_5400, E_MIPS_MACH_5500): New.
     189
     1902002-09-12  Roland McGrath  <roland@redhat.com>
     191
     192        * dwarf2.h: Updates from GCC version of thie file:
     193        (enum dwarf_location_atom): DW_OP_calli -> DW_OP_call_ref.
     194        Add DW_OP_GNU_push_tls_address.
     195        (DW_OP_lo_user): Change to 0xe0.
     196
     1972002-08-28  Catherine Moore  <clm@redhat.com>
     198
     199        * elf/v850.h (R_V850_LONGCALL, R_V850_ALIGN,
     200        R_V850_LONGJUMP): New relocations.
     201
     2022002-08-15  Alan Modra  <amodra@bigpond.net.au>
     203
     204        * i370.h: Define relocs using reloc-macros.h.
     205
     2062002-08-13  Stephane Carrez  <stcarrez@nerim.fr>
     207
     208        * m68hc11.h (E_M68HC12_BANKS, E_M68HC11_I32, E_M68HC11_F64,
     209        EF_M68HC11_ABI): Define for ABI specification.
     210        (STO_M68HC12_FAR, STO_M68HC12_INTERRUPT): Symbol flags for
     211        linker and debugger.
     212        (R_M68HC11_24, R_M68HC11_LO16, R_M68HC11_PAGE): New relocs.
     213        (R_M68HC11_RL_JUMP, R_M68HC11_RL_GROUP): New reloc for linker
     214        relaxation.
     215
     2162002-07-15  Denis Chertykov  <denisc@overta.ru>
     217            Frank Ch. Eigler  <fche@redhat.com>
     218            Ben Elliston  <bje@redhat.com>
     219            Alan Lehotsky  <alehotsky@cygnus.com>
     220            John Healy  <jhealy@redhat.com>
     221            Graham Stott  <grahams@redhat.com>
     222            Jeff Johnston  <jjohnstn@redhat.com>
     223
     224        * common.h (EM_IP2K): New macro.
     225        (EM_IP2K_OLD): New macro.
     226        * ip2k.h: New file.
     227
     2282002-07-01  Matt Thomas  <matt@3am-software.com>
     229
     230        * vax.h: Rename EF_* to EF_VAX_*.
     231
     2322002-06-18  Dave Brolley  <brolley@redhat.com>
     233
     234        From Catherine Moore, Michael Meissner, Dave Brolley:
     235        * common.h (EM_CYGNUS_FRV): New macro.
     236        * frv.h: New file.
     237
     2382002-06-06  Lars Brinkhoff  <lars@nocrew.org>
     239
     240        * common.h: Change registry@sco.com to registry@caldera.com.
     241        (EM_PDP10, EM_PDP11): Define.
     242
     2432002-06-04  Jason Thorpe  <thorpej@wasabisystems.com>
     244
     245        * sh.h (_bfd_sh64_crange_qsort_cmpb, _bfd_sh64_crange_qsort_cmpl)
     246        (_bfd_sh64_crange_bsearch_cmpb, _bfd_sh64_crange_bsearch_cmpl): New
     247        prototypes.
     248
     2492002-06-01  Richard Henderson  <rth@redhat.com>
     250
     251        * alpha.h (LITUSE_ALPHA_ADDR, LITUSE_ALPHA_BASE, LITUSE_ALPHA_BYTOFF,
     252        LITUSE_ALPHA_JSR, LITUSE_ALPHA_TLSGD, LITUSE_ALPHA_TLSLDM): New.
     253
     2542002-05-30  Richard Henderson  <rth@redhat.com>
     255
     256        * alpha.h (R_ALPHA_TLSGD, R_ALPHA_TLSLDM, R_ALPHA_DTPMOD64,
     257        R_ALPHA_GOTDTPREL, R_ALPHA_DTPREL64, R_ALPHA_DTPRELHI,
     258        R_ALPHA_DTPRELLO, R_ALPHA_DTPREL16, R_ALPHA_GOTTPREL, R_ALPHA_TPREL64,
     259        R_ALPHA_TPRELHI, R_ALPHA_TPRELLO, R_ALPHA_TPREL16): New.
     260
     2612002-05-29  Matt Thomas  <matt@3am-software.com>
     262
     263        * vax.h: New file
     264
     2652002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
     266
     267        * common.h (EM_DLX): Define.
     268        * dlx.h: New file.
     269
     2702002-05-08  Jason Thorpe  <thorpej@wasabisystems.com>
     271
     272        * common.h (NT_GNU_ABI_TAG): Define.
     273        (GNU_ABI_TAG_LINUX): Define.
     274        (GNU_ABI_TAG_HURD): Define.
     275        (GNU_ABI_TAG_SOLARIS): Define.
     276        (NT_NETBSD_IDENT): Define.
     277        (NT_FREEBSD_ABI_TAG): Define.
     278
     2792002-04-24  Elena Zannoni  <ezannoni@redhat.com>
     280
     281        * dwarf2.h: Add DW_AT_GNU_vector.
     282
     2832002-02-13  Matt Fredette  <fredette@netbsd.org>
     284
     285        * m68k.h (EF_M68000): Define.
     286
     2872002-02-12  Alan Modra  <amodra@bigpond.net.au>
     288
     289        * ppc.h (DT_PPC64_OPD, DT_PPC64_OPDSZ): Define.
     290
     2912002-02-09  Richard Henderson  <rth@redhat.com>
     292
     293        * alpha.h (R_ALPHA_BRSGP): New.
     294
     2952002-02-08  Alexandre Oliva  <aoliva@redhat.com>
     296
     297        Contribute sh64-elf.
     298        2002-01-23  Alexandre Oliva  <aoliva@redhat.com>
     299        * sh.h (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
     300        R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
     301        R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
     302        R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
     303        R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
     304        R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
     305        R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
     306        R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8,
     307        R_SH_GOTPLT10BY8, R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64,
     308        R_SH_RELATIVE64): New relocs.
     309        (R_SH_FIRST_INVALID_RELOC_4): Adjust.
     310        2001-05-16  Alexandre Oliva  <aoliva@redhat.com>
     311        * sh.h: Renumbered and renamed some SH5 relocations to match
     312        official numbers and names; moved unmaching ones to the range
     313        0xf2-0xff.
     314        2001-01-06  Hans-Peter Nilsson  <hpn@cygnus.com>
     315        * sh.h (sh64_get_contents_type): Declare.
     316        (sh64_address_is_shmedia): Likewise.
     317        2000-12-30  Hans-Peter Nilsson  <hpn@cygnus.com>
     318        * sh.h (sh64_elf_crange): New type.
     319        (struct sh64_section_data): New.
     320        (sh64_elf_section_data): New macro.
     321        (EF_SH5): Rename back from EF_SH64.
     322        2000-12-18  Hans-Peter Nilsson  <hpn@cygnus.com>
     323        * sh.h (SHF_SH5_ISA32_MIXED, SHT_SH5_CR_SORTED,
     324        SH64_CRANGES_SECTION_NAME, SH64_CRANGE_SIZE,
     325        SH64_CRANGE_CR_ADDR_OFFSET, SH64_CRANGE_CR_SIZE_OFFSET,
     326        SH64_CRANGE_CR_TYPE_OFFSET): New macros.
     327        2000-12-12  Hans-Peter Nilsson  <hpn@cygnus.com>
     328        * sh.h (EF_SH64): Don't define EF_SH64_ABI64.
     329        2000-11-27  Hans-Peter Nilsson  <hpn@cygnus.com>
     330        * sh.h (EF_SH64_32BIT_ABI, EF_SH64_64BIT_ABI): Delete.
     331        (EF_SH64_ABI64): New.
     332        2000-11-23  Hans-Peter Nilsson  <hpn@cygnus.com>
     333        * sh.h (EF_SH64): Rename from EF_SH5.
     334        (EF_SH64_32BIT_ABI): New.
     335        (EF_SH64_64BIT_ABI): New.
     336        (R_SH_PT_16, R_SH_SHMEDIA_CODE
     337        R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
     338        R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
     339        R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
     340        R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
     341        R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL): New
     342        relocs.
     343        2000-09-01  Ben Elliston  <bje@redhat.com>
     344        * sh.h (EF_SH5): Define.
     345
     3462002-02-01  Hans-Peter Nilsson  <hp@bitrange.com>
     347
     348        * mmix.h: Tweak comments.
     349        (MMIX_LD_ALLOCATED_REG_CONTENTS_SECTION_NAME): New.
     350        [BFD_ARCH_SIZE] (_bfd_mmix_prepare_linker_allocated_gregs,
     351        _bfd_mmix_finalize_linker_allocated_gregs,
     352        _bfd_mmix_check_all_relocs): Provide prototypes.
     353
     3542002-01-31  Ivan Guzvinec  <ivang@opencores.org>
     355
     356        * or32.h: New file.
     357        * common.h: Add support for or32 targets.
     358
     3592002-01-28  Jason Merrill  <jason@redhat.com>
     360
     361        * dwarf2.h: Sync with gcc version.
     362
     3632002-01-16  Alan Modra  <amodra@bigpond.net.au>
     364
     365        * ppc.h (DT_PPC64_GLINK): Define.
     366
     3672002-01-15  Richard Earnshaw  <rearnsha@arm.com>
     368
     369        * arm.h (F_VFP_FLOAT, EF_ARM_VFP_FLOAT): Define.
     370
     3712002-01-09  Jason Thorpe  <thorpej@wasabisystems.com>
     372
     373        * common.h: Update copyright years.
     374        (NT_NETBSDCORE_PROCINFO): Define.
     375        (NT_NETBSDCORE_FIRSTMACH): Define.
     376
     3772002-01-06  Steve Ellcey  <sje@cup.hp.com>
     378
     379        * ia64.h (ELF_STRING_ia64_unwind_hdr): New Macro for HP-UX.
     380        (SHT_IA_64_HP_OPT_ANOT): Ditto
     381        (PT_IA_64_HP_OPT_ANOT): Ditto
     382        (PT_IA_64_HP_HSL_ANOT): Ditto
     383        (PT_IA_64_HP_STACK): Ditto
     384        (SHN_IA_64_ANSI_COMMON): Ditto
     385
     3862001-12-17  Alan Modra  <amodra@bigpond.net.au>
     387
     388        * external.h (Elf_External_Sym_Shndx): Declare.
     389        * internal.h (struct elf_internal_sym <st_shndx>): Make it an
     390        unsigned int.
     391        * common.h (SHN_BAD): Define.
     392
     3932001-12-13  Jakub Jelinek  <jakub@redhat.com>
     394
     395        * elf/common.h (PT_GNU_EH_FRAME): Define.
     396
     3972001-12-11  Alan Modra  <amodra@bigpond.net.au>
     398
     399        * common.h (SHN_XINDEX): Comment typo fix.
     400        * internal.h (Elf_Internal_Ehdr): Change existing "unsigned short"
     401        size, count and index fields to "unsigned int".
     402
     4032001-12-07  Geoffrey Keating  <geoffk@redhat.com>
     404            Richard Henderson  <rth@redhat.com>
     405
     406        * common.h (EM_XSTORMY16): Define.
     407        * xstormy16.h: New file.
     408
     4092001-11-15  Alan Modra  <amodra@bigpond.net.au>
     410
     411        * common.h (NT_ARCH): Define.  Remove incorrect comment.
     412
     4132001-11-11  Geoffrey Keating  <geoffk@redhat.com>
     414
     415        * dwarf2.h (dwarf_line_number_ops): Add DWARF 3 opcodes.
     416
     4172001-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
     418
     419        * mmix.h: New file.
     420
     4212001-10-23  Alan Modra  <amodra@bigpond.net.au>
     422
     423        * internal.h: White space changes to keep lines under 80 chars.
     424
     4252001-10-16  Jeff Holcomb  <jeffh@redhat.com>
     426
     427        * internal.h (elf_internal_shdr): Make contents a unsigned char *.
     428
     4292001-09-18  Alan Modra  <amodra@bigpond.net.au>
     430
     431        * internal.h (elf_internal_rela): Make r_addend a bfd_vma.
     432
     4332001-09-13  Alexandre Oliva  <aoliva@redhat.com>
     434
     435        * common.h (EM_OPENRISC_OLD): Renamed the old EM_OPENRISC entry.
     436
     4372001-09-12  Alexandre Oliva  <aoliva@redhat.com>
     438
     439        * common.h (EM_AVR_OLD): Renamed from...
     440        (EM_AVR): this, redefined as in the current ELF standard.
     441        (EM_PJ_OLD): Renamed from...
     442        (EM_PJ): this, redefined as in the current ELF standard.
     443        (EM_R30, EM_D10V, EM_D30V, EM_V850, EM_M32R, EM_MN10300,
     444        EM_MN10200, EM_OPENRISC, EM_ARC_A5, EM_XTENSA): Defined as in
     445        the current ELF standard.
     446        (EM_CYGNUS_ARC): Removed, unused for a long time.
     447
     4482001-09-04  Richard Henderson  <rth@redhat.com>
     449
     450        * alpha.h (R_ALPHA_OP*, R_ALPHA_IMMED*, R_ALPHA_GPVALUE): Remove.
     451        (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
     452
     4532001-08-30  Eric Christopher  <echristo@redhat.com>
     454
     455        * mips.h: Remove E_MIPS_MACH_MIPS32_4K.
     456
     4572001-08-29  Jeff Law <law@redhat.com>
     458
     459        * h8.h (EF_H8_MACH): New mask for encoded machine type.
     460        (E_H8_MACH_H8300, E_H8_MACH_H8300H, E_H8_MACH_H8300S): New
     461        machine types.
     462
     4632001-08-26  J"orn Rennecke <amylaar@redhat.com>
     464
     465        * h8.h: New file.
     466
     4672001-08-27  Staffan Ulfberg  <staffanu@swox.se>
     468
     469        * ppc.h: Add relocs from the 64-bit PowerPC ELF ABI revision 1.2.
     470
     4712001-06-30  Daniel Berlin  <dan@cgsoftware.com>
     472
     473        * dwarf2.h: Remerge with gcc version,
     474        including all new DWARF 2.1 extensions.
     475
     4762001-06-29  James Cownie <jcownie@etnus.com>
     477
     478        * dwarf2.h: Add DWARF 2.1 attribues.
     479
     4802001-06-15  Per Bothner  <per@bothner.com>
     481
     482        * dwarf2.h:  Partial merge with gcc version.
     483        (enum dwarf_descrim_list):  Fix typo -> dwarf_discrim_list.
     484        (DW_LANG_Java):  Use value from dwarf 2.1 draft (also used in gcc).
     485
     4862001-05-15  Ralf Baechle  <ralf@gnu.org>
     487
    5488        * common.h: Remove definition of EM_MIPS_RS4_BE.  The constant was
    6489        never in active use and is used otherwise by the ABI.
    7490
    8         2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
     4912001-05-11  Jakub Jelinek  <jakub@redhat.com>
     492
     493        * ia64.h (ELF_STRING_ia64_unwind_once): Define.
     494        (ELF_STRING_ia64_unwind_info_once): Define.
     495
     4962001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
     497
    9498        * external.h: Fix typo.
    10499        * mips.h: Add/Extend many comments with reference to the MIPS ELF64
     
    25514        (OHW_R10KLDL): Define.
    26515
    27         2001-04-24  Todd Fries  <todd@fries.net>
     5162001-04-24  Todd Fries  <todd@fries.net>
     517
    28518        * sparc.h: Fix typo.
    29519
    30         2001-03-23  Nick Clifton  <nickc@redhat.com>
     5202001-04-20  Johan Rydberg  <jrydberg@opencores.org>
     521
     522        * openrisc.h: New file.
     523        * common.h (EM_OPENRISC): New constant.
     524
     5252001-04-23  Bo Thorsen  <bo@suse.de>
     526
     527        * x86-64.h: Add vtable support.
     528
     5292001-03-23  Nick Clifton  <nickc@redhat.com>
     530
    31531        * mips.h: Remove extraneous whitespace.
    32532
    33 2001-06-07  Alan Modra  <amodra@bigpond.net.au>
    34 
    35         * Many files: Update copyright notices.
     5332001-03-22  Hans-Peter Nilsson  <hp@axis.com>
     534
     535        * cris.h: Add leading comment about PC-relative location.
     536        (R_CRIS_COPY, R_CRIS_GLOB_DAT, R_CRIS_JUMP_SLOT, R_CRIS_RELATIVE,
     537        R_CRIS_16_GOT, R_CRIS_32_GOT, R_CRIS_16_GOTPLT, R_CRIS_32_GOTPLT,
     538        R_CRIS_32_GOTREL, R_CRIS_32_PLT_GOTREL, R_CRIS_32_PLT_PCREL):
     539        New relocs.
     540
     5412001-02-27  Philip Blundell  <pb@futuretv.com>
     542
     543        * arm.h: Add new definitions from ARM document SWS ESPC 0003 B-01.
     544        (EF_PIC, et al.): Rename to EF_ARM_xx.
     545
     5462001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
     547
     548        * common.h: Add linux target for S/390.
     549        * s390.h: New file.
    36550
    375512001-01-11  Peter Targett  <peter.targett@arccores.com>
     
    535672000-10-16  Chris Demetriou  <cgd@sibyte.com>
    54568
    55         * mips.h (E_MIPS_ARCH_32): New constant.
    56         (E_MIPS_MACH_MIPS32, E_MIPS_MACH_MIPS32_4K): Replace the
    57         former with the latter.
    58 
    59         * mips.h (E_MIPS_ARCH_5, E_MIPS_ARCH_64): New definitions.
    60 
    61         * mips.h (E_MIPS_MACH_SB1): New constant.
     569        * mips.h (E_MIPS_ARCH_32): New constant.
     570        (E_MIPS_MACH_MIPS32, E_MIPS_MACH_MIPS32_4K): Replace the
     571        former with the latter.
     572
     573        * mips.h (E_MIPS_ARCH_5, E_MIPS_ARCH_64): New definitions.
     574
     575        * mips.h (E_MIPS_MACH_SB1): New constant.
    62576
    635772000-11-30  Jan Hubicka  <jh@suse.cz>
    64578
    65         * common.h (EM_X86_64): New macro.
    66         * x86-64.h: New file.
     579        * common.h (EM_X86_64): New macro.
     580        * x86-64.h: New file.
    67581
    685822000-11-27  Hans-Peter Nilsson  <hp@axis.com>
     
    252766        (ELFOSABI_OPENBSD): Likewise.
    253767
    254 Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
    255                           David Mosberger  <davidm@hpl.hp.com>
     7682000-04-21  Richard Henderson  <rth@cygnus.com>
     769            David Mosberger  <davidm@hpl.hp.com>
    256770
    257771        * ia64.h: New file.
     
    287801        (PF_ARM_ABS): Define.
    288802
    289 Wed Apr  5 22:08:59 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
     8032000-04-05  J"orn Rennecke <amylaar@cygnus.co.uk>
    290804
    291805        * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): New RELOC_NUMBERs.
     
    316830        * common.h (ELFOSABI_LINUX): Define.
    317831
    318 Thu Feb 17 00:18:33 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
     8322000-02-17  J"orn Rennecke <amylaar@cygnus.co.uk>
    319833
    320834        * sh.h: (EF_SH_MACH_MASK, EF_SH_UNKNOWN, EF_SH1, EF_SH2): New macros.
  • branches/GNU/src/binutils/include/elf/alpha.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    8181  RELOC_NUMBER (R_ALPHA_SREL64, 11)     /* PC relative 64 bit */
    8282
    83 /* Inherited these from ECOFF, but they are not particularly useful
    84    and are depreciated.  And not implemented in the BFD, btw.  */
    85   RELOC_NUMBER (R_ALPHA_OP_PUSH, 12)    /* OP stack push */
    86   RELOC_NUMBER (R_ALPHA_OP_STORE, 13)   /* OP stack pop and store */
    87   RELOC_NUMBER (R_ALPHA_OP_PSUB, 14)    /* OP stack subtract */
    88   RELOC_NUMBER (R_ALPHA_OP_PRSHIFT, 15) /* OP stack right shift */
     83  /* Skip 12 - 16; deprecated ECOFF relocs.  */
    8984
    90   RELOC_NUMBER (R_ALPHA_GPVALUE, 16)
    91   RELOC_NUMBER (R_ALPHA_GPRELHIGH, 17)
    92   RELOC_NUMBER (R_ALPHA_GPRELLOW, 18)
    93   RELOC_NUMBER (R_ALPHA_IMMED_GP_16, 19)
    94   RELOC_NUMBER (R_ALPHA_IMMED_GP_HI32, 20)
    95   RELOC_NUMBER (R_ALPHA_IMMED_SCN_HI32, 21)
    96   RELOC_NUMBER (R_ALPHA_IMMED_BR_HI32, 22)
    97   RELOC_NUMBER (R_ALPHA_IMMED_LO32, 23)
     85  RELOC_NUMBER (R_ALPHA_GPRELHIGH, 17)  /* GP relative 32 bit, high 16 bits */
     86  RELOC_NUMBER (R_ALPHA_GPRELLOW, 18)   /* GP relative 32 bit, low 16 bits */
     87  RELOC_NUMBER (R_ALPHA_GPREL16, 19)    /* GP relative 16 bit */
    9888
    99 /* These relocations are specific to shared libraries.  */
     89  /* Skip 20 - 23; deprecated ECOFF relocs.  */
     90
     91  /* These relocations are specific to shared libraries.  */
    10092  RELOC_NUMBER (R_ALPHA_COPY, 24)       /* Copy symbol at runtime */
    10193  RELOC_NUMBER (R_ALPHA_GLOB_DAT, 25)   /* Create GOT entry */
     
    10395  RELOC_NUMBER (R_ALPHA_RELATIVE, 27)   /* Adjust by program base */
    10496
     97  /* Like BRADDR, but assert that the source and target object file
     98     share the same GP value, and adjust the target address for
     99     STO_ALPHA_STD_GPLOAD.  */
     100  RELOC_NUMBER (R_ALPHA_BRSGP, 28)
     101
     102  /* Thread-Local Storage.  */
     103  RELOC_NUMBER (R_ALPHA_TLSGD, 29)
     104  RELOC_NUMBER (R_ALPHA_TLSLDM, 30)
     105  RELOC_NUMBER (R_ALPHA_DTPMOD64, 31)
     106  RELOC_NUMBER (R_ALPHA_GOTDTPREL, 32)
     107  RELOC_NUMBER (R_ALPHA_DTPREL64, 33)
     108  RELOC_NUMBER (R_ALPHA_DTPRELHI, 34)
     109  RELOC_NUMBER (R_ALPHA_DTPRELLO, 35)
     110  RELOC_NUMBER (R_ALPHA_DTPREL16, 36)
     111  RELOC_NUMBER (R_ALPHA_GOTTPREL, 37)
     112  RELOC_NUMBER (R_ALPHA_TPREL64, 38)
     113  RELOC_NUMBER (R_ALPHA_TPRELHI, 39)
     114  RELOC_NUMBER (R_ALPHA_TPRELLO, 40)
     115  RELOC_NUMBER (R_ALPHA_TPREL16, 41)
     116
    105117END_RELOC_NUMBERS (R_ALPHA_max)
    106118
     119#define LITUSE_ALPHA_ADDR       0
     120#define LITUSE_ALPHA_BASE       1
     121#define LITUSE_ALPHA_BYTOFF     2
     122#define LITUSE_ALPHA_JSR        3
     123#define LITUSE_ALPHA_TLSGD      4
     124#define LITUSE_ALPHA_TLSLDM     5
     125
    107126#endif /* _ELF_ALPHA_H */
  • branches/GNU/src/binutils/include/elf/arm.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* ARM ELF support for BFD.
    2    Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
     2   Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
    33
    44   This file is part of BFD, the Binary File Descriptor library.
     
    2626#define EF_ARM_RELEXEC     0x01
    2727#define EF_ARM_HASENTRY    0x02
    28 #define EF_INTERWORK       0x04
    29 #define EF_APCS_26         0x08
    30 #define EF_APCS_FLOAT      0x10
    31 #define EF_PIC             0x20
    32 #define EF_ALIGN8          0x40         /* 8-bit structure alignment is in use.  */
    33 #define EF_NEW_ABI         0x80
    34 #define EF_OLD_ABI         0x100
    35 #define EF_SOFT_FLOAT      0x200
     28#define EF_ARM_INTERWORK   0x04
     29#define EF_ARM_APCS_26     0x08
     30#define EF_ARM_APCS_FLOAT  0x10
     31#define EF_ARM_PIC         0x20
     32#define EF_ARM_ALIGN8      0x40         /* 8-bit structure alignment is in use.  */
     33#define EF_ARM_NEW_ABI     0x80
     34#define EF_ARM_OLD_ABI     0x100
     35#define EF_ARM_SOFT_FLOAT  0x200
     36#define EF_ARM_VFP_FLOAT   0x400
     37#define EF_ARM_MAVERICK_FLOAT 0x800
    3638
    37 /* Other constants defined in the ARM ELF spec. version A-08.  */
     39/* Other constants defined in the ARM ELF spec. version B-01.  */
    3840#define EF_ARM_SYMSARESORTED 0x04       /* NB conflicts with EF_INTERWORK */
     41#define EF_ARM_DYNSYMSUSESEGIDX 0x08    /* NB conflicts with EF_APCS26 */
     42#define EF_ARM_MAPSYMSFIRST 0x10        /* NB conflicts with EF_APCS_FLOAT */
    3943#define EF_ARM_EABIMASK      0xFF000000
    4044
     
    4246#define EF_ARM_EABI_UNKNOWN  0x00000000
    4347#define EF_ARM_EABI_VER1     0x01000000
     48#define EF_ARM_EABI_VER2     0x02000000
    4449
    4550/* Local aliases for some flags to match names used by COFF port.  */
    46 #define F_INTERWORK        EF_INTERWORK
    47 #define F_APCS26           EF_APCS_26
    48 #define F_APCS_FLOAT       EF_APCS_FLOAT
    49 #define F_PIC              EF_PIC
    50 #define F_SOFT_FLOAT       EF_SOFT_FLOAT
     51#define F_INTERWORK        EF_ARM_INTERWORK
     52#define F_APCS26           EF_ARM_APCS_26
     53#define F_APCS_FLOAT       EF_ARM_APCS_FLOAT
     54#define F_PIC              EF_ARM_PIC
     55#define F_SOFT_FLOAT       EF_ARM_SOFT_FLOAT
     56#define F_VFP_FLOAT        EF_ARM_VFP_FLOAT
    5157
    5258/* Additional symbol types for Thumb.  */
     
    110116#else /* not OLD_ARM_ABI */
    111117  FAKE_RELOC   (FIRST_INVALID_RELOC1,  28)
    112   FAKE_RELOC   (LAST_INVALID_RELOC1,   99)
     118  FAKE_RELOC   (LAST_INVALID_RELOC1,   31)
     119  RELOC_NUMBER (R_ARM_ALU_PCREL7_0,    32)
     120  RELOC_NUMBER (R_ARM_ALU_PCREL15_8,   33)
     121  RELOC_NUMBER (R_ARM_ALU_PCREL23_15,  34)
     122  RELOC_NUMBER (R_ARM_LDR_SBREL11_0,   35)
     123  RELOC_NUMBER (R_ARM_ALU_SBREL19_12,  36)
     124  RELOC_NUMBER (R_ARM_ALU_SBREL27_20,  37)
     125  FAKE_RELOC   (FIRST_INVALID_RELOC2,  38)
     126  FAKE_RELOC   (LAST_INVALID_RELOC2,   99)
    113127  RELOC_NUMBER (R_ARM_GNU_VTENTRY,    100)
    114128  RELOC_NUMBER (R_ARM_GNU_VTINHERIT,  101)
    115129  RELOC_NUMBER (R_ARM_THM_PC11,       102)   /* Cygnus extension to abi: Thumb unconditional branch.  */
    116130  RELOC_NUMBER (R_ARM_THM_PC9,        103)   /* Cygnus extension to abi: Thumb conditional branch.  */
    117   FAKE_RELOC   (FIRST_INVALID_RELOC2, 104)
    118   FAKE_RELOC   (LAST_INVALID_RELOC2,  248)
     131  FAKE_RELOC   (FIRST_INVALID_RELOC3, 104)
     132  FAKE_RELOC   (LAST_INVALID_RELOC3,  248)
    119133  RELOC_NUMBER (R_ARM_RXPC25,         249)
    120134#endif /* not OLD_ARM_ABI */
     
    127141END_RELOC_NUMBERS (R_ARM_max)
    128142
     143/* The name of the note section used to identify arm variants.  */
     144#define ARM_NOTE_SECTION ".note.gnu.arm.ident"
     145     
    129146#endif /* _ELF_ARM_H */
  • branches/GNU/src/binutils/include/elf/common.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* ELF support for BFD.
    22   Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
    3    2001
     3   2001, 2002, 2003
    44   Free Software Foundation, Inc.
    55
     
    88   Programming Support Tools".
    99
    10 This file is part of BFD, the Binary File Descriptor library.
    11 
    12 This program is free software; you can redistribute it and/or modify
    13 it under the terms of the GNU General Public License as published by
    14 the Free Software Foundation; either version 2 of the License, or
    15 (at your option) any later version.
    16 
    17 This program is distributed in the hope that it will be useful,
    18 but WITHOUT ANY WARRANTY; without even the implied warranty of
    19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    20 GNU General Public License for more details.
    21 
    22 You should have received a copy of the GNU General Public License
    23 along with this program; if not, write to the Free Software
    24 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
     10   This file is part of BFD, the Binary File Descriptor library.
     11
     12   This program is free software; you can redistribute it and/or modify
     13   it under the terms of the GNU General Public License as published by
     14   the Free Software Foundation; either version 2 of the License, or
     15   (at your option) any later version.
     16
     17   This program is distributed in the hope that it will be useful,
     18   but WITHOUT ANY WARRANTY; without even the implied warranty of
     19   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     20   GNU General Public License for more details.
     21
     22   You should have received a copy of the GNU General Public License
     23   along with this program; if not, write to the Free Software
     24   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
    2525
    2626
     
    2828   that are common to both the internal and external representations.
    2929   For example, ELFMAG0 is the byte 0x7F in both the internal (in-memory)
    30    and external (in-file) representations. */
     30   and external (in-file) representations.  */
    3131
    3232#ifndef _ELF_COMMON_H
    3333#define _ELF_COMMON_H
    3434
    35 /* Fields in e_ident[] */
     35/* Fields in e_ident[]. */
    3636
    3737#define EI_MAG0         0       /* File identification byte 0 index */
    38 #define ELFMAG0         0x7F    /* Magic number byte 0 */
     38#define ELFMAG0            0x7F /* Magic number byte 0 */
    3939
    4040#define EI_MAG1         1       /* File identification byte 1 index */
    41 #define ELFMAG1         'E'     /* Magic number byte 1 */
     41#define ELFMAG1             'E' /* Magic number byte 1 */
    4242
    4343#define EI_MAG2         2       /* File identification byte 2 index */
    44 #define ELFMAG2         'L'     /* Magic number byte 2 */
     44#define ELFMAG2             'L' /* Magic number byte 2 */
    4545
    4646#define EI_MAG3         3       /* File identification byte 3 index */
    47 #define ELFMAG3         'F'     /* Magic number byte 3 */
     47#define ELFMAG3             'F' /* Magic number byte 3 */
    4848
    4949#define EI_CLASS        4       /* File class */
    50 #define ELFCLASSNONE    0       /* Invalid class */
    51 #define ELFCLASS32      1       /* 32-bit objects */
    52 #define ELFCLASS64      2       /* 64-bit objects */
     50#define ELFCLASSNONE          0 /* Invalid class */
     51#define ELFCLASS32            1 /* 32-bit objects */
     52#define ELFCLASS64            2 /* 64-bit objects */
    5353
    5454#define EI_DATA         5       /* Data encoding */
    55 #define ELFDATANONE     0       /* Invalid data encoding */
    56 #define ELFDATA2LSB     1       /* 2's complement, little endian */
    57 #define ELFDATA2MSB     2       /* 2's complement, big endian */
     55#define ELFDATANONE           0 /* Invalid data encoding */
     56#define ELFDATA2LSB           1 /* 2's complement, little endian */
     57#define ELFDATA2MSB           2 /* 2's complement, big endian */
    5858
    5959#define EI_VERSION      6       /* File version */
    6060
    61 #define EI_OSABI        7       /* Operating System/ABI indication */
    62 #define ELFOSABI_NONE   0       /* UNIX System V ABI */
    63 #define ELFOSABI_HPUX   1       /* HP-UX operating system */
    64 #define ELFOSABI_NETBSD 2       /* NetBSD */
    65 #define ELFOSABI_LINUX  3       /* GNU/Linux */
    66 #define ELFOSABI_HURD   4       /* GNU/Hurd */
    67 #define ELFOSABI_SOLARIS 6      /* Solaris */
    68 #define ELFOSABI_AIX    7       /* AIX */
    69 #define ELFOSABI_IRIX   8       /* IRIX */
    70 #define ELFOSABI_FREEBSD 9      /* FreeBSD */
    71 #define ELFOSABI_TRU64  10      /* TRU64 UNIX */
    72 #define ELFOSABI_MODESTO 11     /* Novell Modesto */
    73 #define ELFOSABI_OPENBSD 12     /* OpenBSD */
    74 #define ELFOSABI_STANDALONE 255 /* Standalone (embedded) application */
    75 #define ELFOSABI_ARM   97       /* ARM */
    76 
    77 #define EI_ABIVERSION   8       /* ABI version */
     61#define EI_OSABI        7       /* Operating System/ABI indication */
     62#define ELFOSABI_NONE         0 /* UNIX System V ABI */
     63#define ELFOSABI_HPUX         1 /* HP-UX operating system */
     64#define ELFOSABI_NETBSD       2 /* NetBSD */
     65#define ELFOSABI_LINUX        3 /* GNU/Linux */
     66#define ELFOSABI_HURD         4 /* GNU/Hurd */
     67#define ELFOSABI_SOLARIS      6 /* Solaris */
     68#define ELFOSABI_AIX          7 /* AIX */
     69#define ELFOSABI_IRIX         8 /* IRIX */
     70#define ELFOSABI_FREEBSD      9 /* FreeBSD */
     71#define ELFOSABI_TRU64       10 /* TRU64 UNIX */
     72#define ELFOSABI_MODESTO     11 /* Novell Modesto */
     73#define ELFOSABI_OPENBSD     12 /* OpenBSD */
     74#define ELFOSABI_OPENVMS     13 /* OpenVMS */
     75#define ELFOSABI_NSK         14 /* Hewlett-Packard Non-Stop Kernel */
     76#define ELFOSABI_AROS        15 /* Amiga Research OS */
     77#define ELFOSABI_ARM         97 /* ARM */
     78#define ELFOSABI_STANDALONE 255 /* Standalone (embedded) application */
     79
     80#define EI_ABIVERSION   8       /* ABI version */
    7881
    7982#define EI_PAD          9       /* Start of padding bytes */
     
    8790#define ET_DYN          3       /* Shared object file */
    8891#define ET_CORE         4       /* Core file */
    89 #define ET_LOOS         0xFE00  /* Operating system-specific */
    90 #define ET_HIOS         0xFEFF  /* Operating system-specific */
     92#define ET_LOOS         0xFE00  /* Operating system-specific */
     93#define ET_HIOS         0xFEFF  /* Operating system-specific */
    9194#define ET_LOPROC       0xFF00  /* Processor-specific */
    9295#define ET_HIPROC       0xFFFF  /* Processor-specific */
    9396
    9497/* Values for e_machine, which identifies the architecture.  These numbers
    95    are officially assigned by registry@sco.com.  See below for a list of
     98   are officially assigned by registry@caldera.com.  See below for a list of
    9699   ad-hoc numbers used during initial development.  */
    97100
    98 #define EM_NONE         0       /* No machine */
    99 #define EM_M32          1       /* AT&T WE 32100 */
    100 #define EM_SPARC        2       /* SUN SPARC */
    101 #define EM_386          3       /* Intel 80386 */
    102 #define EM_68K          4       /* Motorola m68k family */
    103 #define EM_88K          5       /* Motorola m88k family */
    104 #define EM_486          6       /* Intel 80486 *//* Reserved for future use */
    105 #define EM_860          7       /* Intel 80860 */
    106 #define EM_MIPS         8       /* MIPS R3000 (officially, big-endian only) */
    107 #define EM_S370         9       /* IBM System/370 */
    108 #define EM_MIPS_RS3_LE 10       /* MIPS R3000 little-endian (Oct 4 1999 Draft)*/ /* Depreciated */
    109 
    110 #define EM_PARISC      15       /* HPPA */
    111 
    112 #define EM_VPP550      17       /* Fujitsu VPP500 */
    113 #define EM_SPARC32PLUS 18       /* Sun's "v8plus" */
    114 #define EM_960         19       /* Intel 80960 */
    115 #define EM_PPC         20       /* PowerPC */
    116 #define EM_PPC64       21       /* 64-bit PowerPC */
    117 
    118 #define EM_V800        36       /* NEC V800 series */
    119 #define EM_FR20        37       /* Fujitsu FR20 */
    120 #define EM_RH32        38       /* TRW RH32 */
    121 #define EM_MCORE       39       /* Motorola M*Core */ /* May also be taken by Fujitsu MMA */
    122 #define EM_RCE         39       /* Old name for MCore */
    123 #define EM_ARM         40       /* ARM */
    124 #define EM_OLD_ALPHA   41       /* Digital Alpha */
    125 #define EM_SH          42       /* Hitachi SH */
    126 #define EM_SPARCV9     43       /* SPARC v9 64-bit */
    127 #define EM_TRICORE     44       /* Siemens Tricore embedded processor */
    128 #define EM_ARC         45       /* ARC Cores */
    129 #define EM_H8_300      46       /* Hitachi H8/300 */
    130 #define EM_H8_300H     47       /* Hitachi H8/300H */
    131 #define EM_H8S         48       /* Hitachi H8S */
    132 #define EM_H8_500      49       /* Hitachi H8/500 */
    133 #define EM_IA_64       50       /* Intel IA-64 Processor */
    134 #define EM_MIPS_X      51       /* Stanford MIPS-X */
    135 #define EM_COLDFIRE    52       /* Motorola Coldfire */
    136 #define EM_68HC12      53       /* Motorola M68HC12 */
    137 #define EM_MMA         54       /* Fujitsu Multimedia Accelerator */
    138 #define EM_PCP         55       /* Siemens PCP */
    139 #define EM_NCPU        56       /* Sony nCPU embedded RISC processor */
    140 #define EM_NDR1        57       /* Denso NDR1 microprocesspr */
    141 #define EM_STARCORE    58       /* Motorola Star*Core processor */
    142 #define EM_ME16        59       /* Toyota ME16 processor */
    143 #define EM_ST100       60       /* STMicroelectronics ST100 processor */
    144 #define EM_TINYJ       61       /* Advanced Logic Corp. TinyJ embedded processor */
    145 #define EM_X86_64      62       /* Advanced Micro Devices X86-64 processor */
    146 
    147 #define EM_FX66        66       /* Siemens FX66 microcontroller */
    148 #define EM_ST9PLUS     67       /* STMicroelectronics ST9+ 8/16 bit microcontroller */
    149 #define EM_ST7         68       /* STMicroelectronics ST7 8-bit microcontroller */
    150 #define EM_68HC16      69       /* Motorola MC68HC16 Microcontroller */
    151 #define EM_68HC11      70       /* Motorola MC68HC11 Microcontroller */
    152 #define EM_68HC08      71       /* Motorola MC68HC08 Microcontroller */
    153 #define EM_68HC05      72       /* Motorola MC68HC05 Microcontroller */
    154 #define EM_SVX         73       /* Silicon Graphics SVx */
    155 #define EM_ST19        74       /* STMicroelectronics ST19 8-bit cpu */
    156 #define EM_VAX         75       /* Digital VAX */
    157 #define EM_CRIS        76       /* Axis Communications 32-bit embedded processor */
    158 #define EM_JAVELIN     77       /* Infineon Technologies 32-bit embedded cpu */
    159 #define EM_FIREPATH    78       /* Element 14 64-bit DSP processor */
    160 #define EM_ZSP         79       /* LSI Logic's 16-bit DSP processor */
    161 #define EM_MMIX        80       /* Donald Knuth's educational 64-bit processor */
    162 #define EM_HUANY       81       /* Harvard's machine-independent format */
    163 #define EM_PRISM       82       /* SiTera Prism */
     101#define EM_NONE           0     /* No machine */
     102#define EM_M32            1     /* AT&T WE 32100 */
     103#define EM_SPARC          2     /* SUN SPARC */
     104#define EM_386            3     /* Intel 80386 */
     105#define EM_68K            4     /* Motorola m68k family */
     106#define EM_88K            5     /* Motorola m88k family */
     107#define EM_486            6     /* Intel 80486 *//* Reserved for future use */
     108#define EM_860            7     /* Intel 80860 */
     109#define EM_MIPS           8     /* MIPS R3000 (officially, big-endian only) */
     110#define EM_S370           9     /* IBM System/370 */
     111#define EM_MIPS_RS3_LE   10     /* MIPS R3000 little-endian (Oct 4 1999 Draft) Deprecated */
     112
     113#define EM_PARISC        15     /* HPPA */
     114
     115#define EM_VPP550        17     /* Fujitsu VPP500 */
     116#define EM_SPARC32PLUS   18     /* Sun's "v8plus" */
     117#define EM_960           19     /* Intel 80960 */
     118#define EM_PPC           20     /* PowerPC */
     119#define EM_PPC64         21     /* 64-bit PowerPC */
     120#define EM_S390          22     /* IBM S/390 */
     121
     122#define EM_V800          36     /* NEC V800 series */
     123#define EM_FR20          37     /* Fujitsu FR20 */
     124#define EM_RH32          38     /* TRW RH32 */
     125#define EM_MCORE         39     /* Motorola M*Core */ /* May also be taken by Fujitsu MMA */
     126#define EM_RCE           39     /* Old name for MCore */
     127#define EM_ARM           40     /* ARM */
     128#define EM_OLD_ALPHA     41     /* Digital Alpha */
     129#define EM_SH            42     /* Renesas (formerly Hitachi) / SuperH SH */
     130#define EM_SPARCV9       43     /* SPARC v9 64-bit */
     131#define EM_TRICORE       44     /* Siemens Tricore embedded processor */
     132#define EM_ARC           45     /* ARC Cores */
     133#define EM_H8_300        46     /* Renesas (formerly Hitachi) H8/300 */
     134#define EM_H8_300H       47     /* Renesas (formerly Hitachi) H8/300H */
     135#define EM_H8S           48     /* Renesas (formerly Hitachi) H8S */
     136#define EM_H8_500        49     /* Renesas (formerly Hitachi) H8/500 */
     137#define EM_IA_64         50     /* Intel IA-64 Processor */
     138#define EM_MIPS_X        51     /* Stanford MIPS-X */
     139#define EM_COLDFIRE      52     /* Motorola Coldfire */
     140#define EM_68HC12        53     /* Motorola M68HC12 */
     141#define EM_MMA           54     /* Fujitsu Multimedia Accelerator */
     142#define EM_PCP           55     /* Siemens PCP */
     143#define EM_NCPU          56     /* Sony nCPU embedded RISC processor */
     144#define EM_NDR1          57     /* Denso NDR1 microprocesspr */
     145#define EM_STARCORE      58     /* Motorola Star*Core processor */
     146#define EM_ME16          59     /* Toyota ME16 processor */
     147#define EM_ST100         60     /* STMicroelectronics ST100 processor */
     148#define EM_TINYJ         61     /* Advanced Logic Corp. TinyJ embedded processor */
     149#define EM_X86_64        62     /* Advanced Micro Devices X86-64 processor */
     150
     151#define EM_PDP10         64     /* Digital Equipment Corp. PDP-10 */
     152#define EM_PDP11         65     /* Digital Equipment Corp. PDP-11 */
     153#define EM_FX66          66     /* Siemens FX66 microcontroller */
     154#define EM_ST9PLUS       67     /* STMicroelectronics ST9+ 8/16 bit microcontroller */
     155#define EM_ST7           68     /* STMicroelectronics ST7 8-bit microcontroller */
     156#define EM_68HC16        69     /* Motorola MC68HC16 Microcontroller */
     157#define EM_68HC11        70     /* Motorola MC68HC11 Microcontroller */
     158#define EM_68HC08        71     /* Motorola MC68HC08 Microcontroller */
     159#define EM_68HC05        72     /* Motorola MC68HC05 Microcontroller */
     160#define EM_SVX           73     /* Silicon Graphics SVx */
     161#define EM_ST19          74     /* STMicroelectronics ST19 8-bit cpu */
     162#define EM_VAX           75     /* Digital VAX */
     163#define EM_CRIS          76     /* Axis Communications 32-bit embedded processor */
     164#define EM_JAVELIN       77     /* Infineon Technologies 32-bit embedded cpu */
     165#define EM_FIREPATH      78     /* Element 14 64-bit DSP processor */
     166#define EM_ZSP           79     /* LSI Logic's 16-bit DSP processor */
     167#define EM_MMIX          80     /* Donald Knuth's educational 64-bit processor */
     168#define EM_HUANY         81     /* Harvard's machine-independent format */
     169#define EM_PRISM         82     /* SiTera Prism */
     170#define EM_AVR           83     /* Atmel AVR 8-bit microcontroller */
     171#define EM_FR30          84     /* Fujitsu FR30 */
     172#define EM_D10V          85     /* Mitsubishi D10V */
     173#define EM_D30V          86     /* Mitsubishi D30V */
     174#define EM_V850          87     /* NEC v850 */
     175#define EM_M32R          88     /* Renesas M32R (formerly Mitsubishi M32R) */
     176#define EM_MN10300       89     /* Matsushita MN10300 */
     177#define EM_MN10200       90     /* Matsushita MN10200 */
     178#define EM_PJ            91     /* picoJava */
     179#define EM_OPENRISC      92     /* OpenRISC 32-bit embedded processor */
     180#define EM_ARC_A5        93     /* ARC Cores Tangent-A5 */
     181#define EM_XTENSA        94     /* Tensilica Xtensa Architecture */
     182#define EM_IP2K         101     /* Ubicom IP2022 micro controller */
     183#define EM_MSP430       105     /* TI msp430 micro controller */
    164184
    165185/* If it is necessary to assign new unofficial EM_* values, please pick large
     
    172192
    173193   Normally, each entity or maintainer responsible for a machine with an
    174    unofficial e_machine number should eventually ask registry@sco.com for
    175    an officially blessed number to be added to the list above.  */
    176 
    177 #define EM_PJ          99       /* picoJava */
     194   unofficial e_machine number should eventually ask registry@caldera.com for
     195   an officially blessed number to be added to the list above.  */
     196
     197#define EM_PJ_OLD      99       /* picoJava */
    178198
    179199/* Cygnus PowerPC ELF backend.  Written in the absence of an ABI.  */
     
    187207#define EM_PPC_OLD      17
    188208
    189 /* Cygnus ARC ELF backend.  Written in the absence of an ABI.  */
    190 #define EM_CYGNUS_ARC 0x9040
     209/* (Deprecated) Temporary number for the OpenRISC processor.  */
     210#define EM_OR32         0x8472
    191211
    192212/* Cygnus M32R ELF backend.  Written in the absence of an ABI.  */
    193 #define EM_CYGNUS_M32R 0x9041
     213#define EM_CYGNUS_M32R  0x9041
    194214
    195215/* Alpha backend magic number.  Written in the absence of an ABI.  */
    196216#define EM_ALPHA        0x9026
     217
     218/* old S/390 backend magic number. Written in the absence of an ABI.  */
     219#define EM_S390_OLD     0xa390
    197220
    198221/* D10V backend magic number.  Written in the absence of an ABI.  */
     
    215238/* AVR magic number
    216239   Written in the absense of an ABI.  */
    217 #define EM_AVR                  0x1057
     240#define EM_AVR_OLD              0x1057
     241
     242/* OpenRISC magic number
     243   Written in the absense of an ABI.  */
     244#define EM_OPENRISC_OLD         0x3426
     245
     246/* DLX magic number
     247   Written in the absense of an ABI.  */
     248#define EM_DLX                  0x5aa5
     249
     250#define EM_XSTORMY16            0xad45
     251
     252/* FRV magic number - no EABI available??.  */
     253#define EM_CYGNUS_FRV           0x5441
     254
     255/* Ubicom IP2xxx; no ABI */
     256#define EM_IP2K_OLD             0x8217 
     257
     258/* MSP430 magic number
     259      Written in the absense everything.  */
     260#define EM_MSP430_OLD           0x1059
     261
     262/* Vitesse IQ2000.  */
     263#define EM_IQ2000               0xFEBA
     264
     265/* Old, unofficial value for Xtensa.  */
     266#define EM_XTENSA_OLD           0xabc7
    218267
    219268/* See the above comment before you add a new EM_* value here.  */
     
    226275/* Values for program header, p_type field.  */
    227276
    228 #define PT_NULL         0               /* Program header table entry unused */
     277#define PT_NULL         0               /* Program header table entry unused */
    229278#define PT_LOAD         1               /* Loadable program segment */
    230279#define PT_DYNAMIC      2               /* Dynamic linking information */
     
    233282#define PT_SHLIB        5               /* Reserved, unspecified semantics */
    234283#define PT_PHDR         6               /* Entry for header table itself */
    235 #define PT_LOOS         0x60000000      /* OS-specific */
    236 #define PT_HIOS         0x6fffffff      /* OS-specific */
     284#define PT_TLS          7               /* Thread local storage segment */
     285#define PT_LOOS         0x60000000      /* OS-specific */
     286#define PT_HIOS         0x6fffffff      /* OS-specific */
    237287#define PT_LOPROC       0x70000000      /* Processor-specific */
    238288#define PT_HIPROC       0x7FFFFFFF      /* Processor-specific */
     289
     290#define PT_GNU_EH_FRAME (PT_LOOS + 0x474e550)
    239291
    240292/* Program segment permissions, in program header p_flags field.  */
     
    262314#define SHT_DYNSYM      11              /* Dynamic linking symbol table */
    263315
    264 #define SHT_INIT_ARRAY    14            /* Array of ptrs to init functions */
    265 #define SHT_FINI_ARRAY    15            /* Array of ptrs to finish functions */
     316#define SHT_INIT_ARRAY    14            /* Array of ptrs to init functions */
     317#define SHT_FINI_ARRAY    15            /* Array of ptrs to finish functions */
    266318#define SHT_PREINIT_ARRAY 16            /* Array of ptrs to pre-init funcs */
    267 #define SHT_GROUP         17            /* Section contains a section group */
     319#define SHT_GROUP         17            /* Section contains a section group */
    268320#define SHT_SYMTAB_SHNDX  18            /* Indicies for SHN_XINDEX entries */
    269321
    270 #define SHT_LOOS        0x60000000      /* First of OS specific semantics */
    271 #define SHT_HIOS        0x6fffffff      /* Last of OS specific semantics */
     322#define SHT_LOOS        0x60000000      /* First of OS specific semantics */
     323#define SHT_HIOS        0x6fffffff      /* Last of OS specific semantics */
     324
     325#define SHT_GNU_LIBLIST 0x6ffffff7      /* List of prelink dependencies */
    272326
    273327/* The next three section types are defined by Solaris, and are named
     
    296350#define SHF_STRINGS     (1 << 5)        /* Contains null terminated character strings */
    297351#define SHF_INFO_LINK   (1 << 6)        /* sh_info holds section header table index */
    298 #define SHF_LINK_ORDER  (1 << 7)        /* Preserve section ordering when linking */
     352#define SHF_LINK_ORDER  (1 << 7)        /* Preserve section ordering when linking */
    299353#define SHF_OS_NONCONFORMING (1 << 8)   /* OS specific processing required */
    300354#define SHF_GROUP       (1 << 9)        /* Member of a section group */
     355#define SHF_TLS         (1 << 10)       /* Thread local storage section */
    301356
    302357/* #define SHF_MASKOS   0x0F000000    *//* OS-specific semantics */
     
    310365#define NT_PRPSINFO     3               /* Contains copy of prpsinfo struct */
    311366#define NT_TASKSTRUCT   4               /* Contains copy of task struct */
    312 #define NT_PRXFPREG     0x46e62b7f      /* Contains a user_xfpregs_struct; */
     367#define NT_PRXFPREG     0x46e62b7f      /* Contains a user_xfpregs_struct; */
    313368                                        /*   note name must be "LINUX".  */
    314369
     
    322377#define NT_WIN32PSTATUS 18              /* Has a struct win32_pstatus */
    323378
     379
     380/* Note segments for core files on NetBSD systems.  Note name
     381   must start with "NetBSD-CORE".  */
     382
     383#define NT_NETBSDCORE_PROCINFO  1       /* Has a struct procinfo */
     384#define NT_NETBSDCORE_FIRSTMACH 32      /* start of machdep note types */
     385
     386
    324387/* Values of note segment descriptor types for object files.  */
    325 /* (Only for hppa right now.  Should this be moved elsewhere?)  */
    326388
    327389#define NT_VERSION      1               /* Contains a version string.  */
     390#define NT_ARCH         2               /* Contains an architecture string.  */
     391
     392/* Values for GNU .note.ABI-tag notes.  Note name is "GNU".  */
     393
     394#define NT_GNU_ABI_TAG          1
     395#define GNU_ABI_TAG_LINUX       0
     396#define GNU_ABI_TAG_HURD        1
     397#define GNU_ABI_TAG_SOLARIS     2
     398
     399/* Values for NetBSD .note.netbsd.ident notes.  Note name is "NetBSD".  */
     400
     401#define NT_NETBSD_IDENT         1
     402
     403/* Values for FreeBSD .note.ABI-tag notes.  Note name is "FreeBSD".  */
     404
     405#define NT_FREEBSD_ABI_TAG      1
    328406
    329407/* These three macros disassemble and assemble a symbol table st_info field,
     
    360438#define STB_GLOBAL      1               /* Symbol visible outside obj */
    361439#define STB_WEAK        2               /* Like globals, lower precedence */
    362 #define STB_LOOS        10              /* OS-specific semantics */
    363 #define STB_HIOS        12              /* OS-specific semantics */
     440#define STB_LOOS        10              /* OS-specific semantics */
     441#define STB_HIOS        12              /* OS-specific semantics */
    364442#define STB_LOPROC      13              /* Application-specific semantics */
    365443#define STB_HIPROC      15              /* Application-specific semantics */
     
    371449#define STT_FILE        4               /* Symbol gives a file name */
    372450#define STT_COMMON      5               /* An uninitialised common block */
    373 #define STT_LOOS        10              /* OS-specific semantics */
    374 #define STT_HIOS        12              /* OS-specific semantics */
     451#define STT_TLS         6               /* Thread local data object */
     452#define STT_LOOS        10              /* OS-specific semantics */
     453#define STT_HIOS        12              /* OS-specific semantics */
    375454#define STT_LOPROC      13              /* Application-specific semantics */
    376455#define STT_HIPROC      15              /* Application-specific semantics */
     
    383462#define SHN_LOPROC      0xFF00          /* Begin range of appl-specific */
    384463#define SHN_HIPROC      0xFF1F          /* End range of appl-specific */
    385 #define SHN_LOOS        0xFF20          /* OS specific semantics, lo */
    386 #define SHN_HIOS        0xFF3F          /* OS specific semantics, hi */
    387 #define SHN_ABS         0xFFF1          /* Associated symbol is absolute */
    388 #define SHN_COMMON      0xFFF2          /* Associated symbol is in common */
    389 #define SHN_XINDEX      0xFFFF          /* Section index it held elsewhere */
    390 #define SHN_HIRESERVE   0xFFFF          /* End range of reserved indices */
     464#define SHN_LOOS        0xFF20          /* OS specific semantics, lo */
     465#define SHN_HIOS        0xFF3F          /* OS specific semantics, hi */
     466#define SHN_ABS         0xFFF1          /* Associated symbol is absolute */
     467#define SHN_COMMON      0xFFF2          /* Associated symbol is in common */
     468#define SHN_XINDEX      0xFFFF          /* Section index is held elsewhere */
     469#define SHN_HIRESERVE   0xFFFF          /* End range of reserved indices */
     470#define SHN_BAD         ((unsigned) -1) /* Used internally by bfd */
    391471
    392472/* The following constants control how a symbol may be accessed once it has
     
    434514#define DT_TEXTREL      22
    435515#define DT_JMPREL       23
    436 #define DT_BIND_NOW     24
    437 #define DT_INIT_ARRAY   25
    438 #define DT_FINI_ARRAY   26
     516#define DT_BIND_NOW     24
     517#define DT_INIT_ARRAY   25
     518#define DT_FINI_ARRAY   26
    439519#define DT_INIT_ARRAYSZ 27
    440520#define DT_FINI_ARRAYSZ 28
    441 #define DT_RUNPATH      29
    442 #define DT_FLAGS        30
    443 
    444 #define DT_ENCODING     32
     521#define DT_RUNPATH      29
     522#define DT_FLAGS        30
     523#define DT_ENCODING     31
    445524#define DT_PREINIT_ARRAY   32
    446525#define DT_PREINIT_ARRAYSZ 33
     
    448527/* Note, the Oct 4, 1999 draft of the ELF ABI changed the values
    449528   for DT_LOOS and DT_HIOS.  Some implementations however, use
    450    values outside of the new range (see below).  */
     529   values outside of the new range (see below).  */
    451530#define OLD_DT_LOOS     0x60000000
    452 #define DT_LOOS         0x6000000d
    453 #define DT_HIOS         0x6fff0000
    454 #define OLD_DT_HIOS     0x6fffffff
    455 
    456 #define DT_LOPROC       0x70000000
    457 #define DT_HIPROC       0x7fffffff
     531#define DT_LOOS         0x6000000d
     532#define DT_HIOS         0x6fff0000
     533#define OLD_DT_HIOS     0x6fffffff
     534
     535#define DT_LOPROC       0x70000000
     536#define DT_HIPROC       0x7fffffff
    458537
    459538/* The next four dynamic tags are used on Solaris.  We support them
    460    everywhere.  Note these values lie outside of the (new) range for
    461    OS specific values.  This is a deliberate special case and we
     539   everywhere.  Note these values lie outside of the (new) range for
     540   OS specific values.  This is a deliberate special case and we
    462541   maintain it for backwards compatability.  */
    463542#define DT_VALRNGLO     0x6ffffd00
     543#define DT_GNU_PRELINKED 0x6ffffdf5
     544#define DT_GNU_CONFLICTSZ 0x6ffffdf6
     545#define DT_GNU_LIBLISTSZ 0x6ffffdf7
    464546#define DT_CHECKSUM     0x6ffffdf8
    465547#define DT_PLTPADSZ     0x6ffffdf9
     
    473555
    474556#define DT_ADDRRNGLO    0x6ffffe00
     557#define DT_GNU_CONFLICT 0x6ffffef8
     558#define DT_GNU_LIBLIST  0x6ffffef9
    475559#define DT_CONFIG       0x6ffffefa
    476560#define DT_DEPAUDIT     0x6ffffefb
     
    513597#define DTF_1_CONFEXP   0x00000002
    514598
    515 /* Flag values used in the DT_POSFLAG_1 .dynamic entry.  */
     599/* Flag values used in the DT_POSFLAG_1 .dynamic entry.  */
    516600#define DF_P1_LAZYLOAD  0x00000001
    517601#define DF_P1_GROUPPERM 0x00000002
     
    533617#define DF_1_CONLFAT    0x00002000
    534618
    535 /* Flag values for the DT_FLAGS entry.  */
     619/* Flag values for the DT_FLAGS entry.  */
    536620#define DF_ORIGIN       (1 << 0)
    537621#define DF_SYMBOLIC     (1 << 1)
    538622#define DF_TEXTREL      (1 << 2)
    539623#define DF_BIND_NOW     (1 << 3)
     624#define DF_STATIC_TLS   (1 << 4)
    540625
    541626/* These constants are used for the version number of a Elf32_Verdef
     
    599684#define SYMINFO_NUM             2
    600685
    601 /* Section Group Flags.  */
     686/* Section Group Flags.  */
    602687
    603688#define GRP_COMDAT              0x1     /* A COMDAT group */
  • branches/GNU/src/binutils/include/elf/cris.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    3131  RELOC_NUMBER (R_CRIS_16,              2)
    3232  RELOC_NUMBER (R_CRIS_32,              3)
     33
     34  /* The "PC" position is the location right after the relocation.  */
    3335  RELOC_NUMBER (R_CRIS_8_PCREL,         4)
    3436  RELOC_NUMBER (R_CRIS_16_PCREL,        5)
     
    3739  RELOC_NUMBER (R_CRIS_GNU_VTINHERIT,   7)
    3840  RELOC_NUMBER (R_CRIS_GNU_VTENTRY,     8)
     41
     42  /* Copy contents at dynlinking.  Generated by the linker.
     43     The BFD equivalent is BFD_RELOC_CRIS_COPY.  */
     44  RELOC_NUMBER (R_CRIS_COPY, 9)
     45
     46  /* Create GOT entry.  Generated by the linker.
     47     The BFD equivalent is BFD_RELOC_CRIS_GLOB_DAT.  */
     48  RELOC_NUMBER (R_CRIS_GLOB_DAT, 10)
     49
     50  /* Create PLT entry.  Generated by the linker.
     51     The BFD equivalent is BFD_RELOC_CRIS_JUMP_SLOT.  */
     52  RELOC_NUMBER (R_CRIS_JUMP_SLOT, 11)
     53
     54  /* Adjust by program base.  Generated by the linker.
     55     The BFD equivalent is BFD_RELOC_CRIS_RELATIVE.  */
     56  RELOC_NUMBER (R_CRIS_RELATIVE, 12)
     57
     58  /* A 16-bit offset to entry in GOT and request to create GOT entry for
     59     that symbol.
     60     The BFD equivalent is BFD_RELOC_CRIS_16_GOT.  */
     61  RELOC_NUMBER (R_CRIS_16_GOT, 13)
     62
     63  /* A 32-bit offset to entry in GOT and request to create GOT entry for
     64     that symbol.
     65     The BFD equivalent is BFD_RELOC_CRIS_32_GOT.  */
     66  RELOC_NUMBER (R_CRIS_32_GOT, 14)
     67
     68  /* A 16-bit offset to entry in PLT part of GOT and request to create PLT
     69     entry for that symbol.
     70     The BFD equivalent is BFD_RELOC_CRIS_16_GOTPLT.  */
     71  RELOC_NUMBER (R_CRIS_16_GOTPLT, 15)
     72
     73  /* A 32-bit offset to entry in PLT part of GOT and request to create PLT
     74     entry for that symbol.
     75     The BFD equivalent is BFD_RELOC_CRIS_32_GOTPLT.  */
     76  RELOC_NUMBER (R_CRIS_32_GOTPLT, 16)
     77
     78  /* A 32-bit offset from GOT to (local) symbol: no GOT entry should be
     79     necessary.
     80     The BFD equivalent is BFD_RELOC_CRIS_32_GOTREL.  */
     81  RELOC_NUMBER (R_CRIS_32_GOTREL, 17)
     82
     83  /* A 32-bit offset from GOT to entry for this symbol in PLT and request
     84     to create PLT entry for symbol.
     85     The BFD equivalent is BFD_RELOC_CRIS_32_GOTREL.  */
     86  RELOC_NUMBER (R_CRIS_32_PLT_GOTREL, 18)
     87
     88  /* A 32-bit offset from location after this relocation (addend specifies
     89     offset) to entry for this symbol in PLT and request to create PLT
     90     entry for symbol.
     91     The BFD equivalent is BFD_RELOC_CRIS_32_PLT_PCREL.  */
     92  RELOC_NUMBER (R_CRIS_32_PLT_PCREL, 19)
    3993
    4094  /* No other relocs must be visible outside the assembler.  */
  • branches/GNU/src/binutils/include/elf/dwarf2.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    1 /* Declarations and definitions of codes relating to the DWARF symbolic
     1/* Declarations and definitions of codes relating to the DWARF2 symbolic
    22   debugging information format.
    3    Copyright 1992, 1993, 1995, 1996, 1999 Free Software Foundation, Inc.
     3   Copyright (C) 1992, 1993, 1995, 1996, 1997, 1999, 2000, 2001, 2002
     4   Free Software Foundation, Inc.
    45
    56   Written by Gary Funck (gary@intrepid.com) The Ada Joint Program
     
    1011   (rfg@netcom.com), November 1990.
    1112
    12 This file is part of GNU CC.
    13 
    14 GNU CC is free software; you can redistribute it and/or modify it
    15 under the terms of the GNU General Public License as published by the
    16 Free Software Foundation; either version 2, or (at your option) any
    17 later version.
    18 
    19 GNU CC is distributed in the hope that it will be useful, but WITHOUT
    20 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    21 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    22 for more details.
    23 
    24 You should have received a copy of the GNU General Public License
    25 along with GNU CC; see the file COPYING.  If not, write to the Free
    26 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
     13   This file is part of GCC.
     14
     15   GCC is free software; you can redistribute it and/or modify it under
     16   the terms of the GNU General Public License as published by the Free
     17   Software Foundation; either version 2, or (at your option) any later
     18   version.
     19
     20   GCC is distributed in the hope that it will be useful, but WITHOUT
     21   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
     22   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
     23   License for more details.
     24
     25   You should have received a copy of the GNU General Public License
     26   along with GCC; see the file COPYING.  If not, write to the Free
     27   Software Foundation, 59 Temple Place - Suite 330, Boston, MA
     28   02111-1307, USA.  */
    2729
    2830/* This file is derived from the DWARF specification (a public document)
     
    3032   Programming Languages Special Interest Group (UI/PLSIG) and distributed
    3133   by UNIX International.  Copies of this specification are available from
    32    UNIX International, 20 Waterview Boulevard, Parsippany, NJ, 07054.  */
     34   UNIX International, 20 Waterview Boulevard, Parsippany, NJ, 07054.
     35
     36   This file also now contains definitions from the DWARF 3 specification.  */
     37
     38/* This file is shared between GCC and GDB, and should not contain
     39   prototypes.  */
    3340
    3441#ifndef _ELF_DWARF2_H
     
    8188DWARF2_Internal_PubNames;
    8289
    83 /* Strcuture found in .debug_info section.  */
     90/* Structure found in .debug_info section.  */
    8491typedef struct
    8592{
     
    122129
    123130/* Tag names and codes.  */
    124 
    125131enum dwarf_tag
    126132  {
     
    173179    DW_TAG_variable = 0x34,
    174180    DW_TAG_volatile_type = 0x35,
    175     /* SGI/MIPS Extensions */
     181    /* DWARF 3.  */
     182    DW_TAG_dwarf_procedure = 0x36,
     183    DW_TAG_restrict_type = 0x37,
     184    DW_TAG_interface_type = 0x38,
     185    DW_TAG_namespace = 0x39,
     186    DW_TAG_imported_module = 0x3a,
     187    DW_TAG_unspecified_type = 0x3b,
     188    DW_TAG_partial_unit = 0x3c,
     189    DW_TAG_imported_unit = 0x3d,
     190    /* SGI/MIPS Extensions.  */
    176191    DW_TAG_MIPS_loop = 0x4081,
    177     /* GNU extensions */
    178     DW_TAG_format_label = 0x4101,       /* for FORTRAN 77 and Fortran 90 */
    179     DW_TAG_function_template = 0x4102,  /* for C++ */
    180     DW_TAG_class_template = 0x4103      /* for C++ */
     192    /* GNU extensions.  */
     193    DW_TAG_format_label = 0x4101,       /* For FORTRAN 77 and Fortran 90.  */
     194    DW_TAG_function_template = 0x4102,  /* For C++.  */
     195    DW_TAG_class_template = 0x4103,     /* For C++.  */
     196    DW_TAG_GNU_BINCL = 0x4104,
     197    DW_TAG_GNU_EINCL = 0x4105,
     198    /* Extensions for UPC.  See: http://upc.gwu.edu/~upc.  */
     199    DW_TAG_upc_shared_type = 0x8765,
     200    DW_TAG_upc_strict_type = 0x8766,
     201    DW_TAG_upc_relaxed_type = 0x8767
    181202  };
    182203
     
    184205#define DW_TAG_hi_user  0xffff
    185206
    186 /* flag that tells whether entry has a child or not */
     207/* Flag that tells whether entry has a child or not. */
    187208#define DW_children_no   0
    188209#define DW_children_yes  1
     
    280301    DW_AT_virtuality = 0x4c,
    281302    DW_AT_vtable_elem_location = 0x4d,
    282     /* SGI/MIPS Extensions */
     303    /* DWARF 3 values.  */
     304    DW_AT_allocated     = 0x4e,
     305    DW_AT_associated    = 0x4f,
     306    DW_AT_data_location = 0x50,
     307    DW_AT_stride        = 0x51,
     308    DW_AT_entry_pc      = 0x52,
     309    DW_AT_use_UTF8      = 0x53,
     310    DW_AT_extension     = 0x54,
     311    DW_AT_ranges        = 0x55,
     312    DW_AT_trampoline    = 0x56,
     313    DW_AT_call_column   = 0x57,
     314    DW_AT_call_file     = 0x58,
     315    DW_AT_call_line     = 0x59,
     316    /* SGI/MIPS extensions.  */
    283317    DW_AT_MIPS_fde = 0x2001,
    284318    DW_AT_MIPS_loop_begin = 0x2002,
     
    293327    DW_AT_MIPS_has_inlines = 0x200b,
    294328    /* GNU extensions.  */
    295     DW_AT_sf_names = 0x2101,
    296     DW_AT_src_info = 0x2102,
    297     DW_AT_mac_info = 0x2103,
     329    DW_AT_sf_names   = 0x2101,
     330    DW_AT_src_info   = 0x2102,
     331    DW_AT_mac_info   = 0x2103,
    298332    DW_AT_src_coords = 0x2104,
    299333    DW_AT_body_begin = 0x2105,
    300     DW_AT_body_end = 0x2106
    301   };
    302 
    303 #define DW_AT_lo_user   0x2000  /* implementation-defined range start */
    304 #define DW_AT_hi_user   0x3ff0  /* implementation-defined range end */
     334    DW_AT_body_end   = 0x2106,
     335    DW_AT_GNU_vector = 0x2107,
     336    /* VMS extensions.  */
     337    DW_AT_VMS_rtnbeg_pd_address = 0x2201,
     338    /* UPC extension.  */
     339    DW_AT_upc_threads_scaled = 0x3210
     340  };
     341
     342#define DW_AT_lo_user   0x2000  /* Implementation-defined range start.  */
     343#define DW_AT_hi_user   0x3ff0  /* Implementation-defined range end.  */
    305344
    306345/* Location atom names and codes.  */
    307 
    308346enum dwarf_location_atom
    309347  {
     
    452490    DW_OP_deref_size = 0x94,
    453491    DW_OP_xderef_size = 0x95,
    454     DW_OP_nop = 0x96
    455   };
    456 
    457 #define DW_OP_lo_user   0x80    /* implementation-defined range start */
    458 #define DW_OP_hi_user   0xff    /* implementation-defined range end */
     492    DW_OP_nop = 0x96,
     493    /* DWARF 3 extensions.  */
     494    DW_OP_push_object_address = 0x97,
     495    DW_OP_call2 = 0x98,
     496    DW_OP_call4 = 0x99,
     497    DW_OP_call_ref = 0x9a,
     498    /* GNU extensions.  */
     499    DW_OP_GNU_push_tls_address = 0xe0
     500  };
     501
     502#define DW_OP_lo_user   0xe0    /* Implementation-defined range start.  */
     503#define DW_OP_hi_user   0xff    /* Implementation-defined range end.  */
    459504
    460505/* Type encodings.  */
    461 
    462506enum dwarf_type
    463507  {
     
    470514    DW_ATE_signed_char = 0x6,
    471515    DW_ATE_unsigned = 0x7,
    472     DW_ATE_unsigned_char = 0x8
     516    DW_ATE_unsigned_char = 0x8,
     517    /* DWARF 3.  */
     518    DW_ATE_imaginary_float = 0x9
    473519  };
    474520
     
    483529  };
    484530
    485 /* access attribute */
     531/* Access attribute. */
    486532enum dwarf_access_attribute
    487533  {
     
    491537  };
    492538
    493 /* visibility */
     539/* Visibility. */
    494540enum dwarf_visibility_attribute
    495541  {
     
    499545  };
    500546
    501 /* virtuality */
     547/* Virtuality. */
    502548enum dwarf_virtuality_attribute
    503549  {
     
    507553  };
    508554
    509 /* case sensitivity */
     555/* Case sensitivity. */
    510556enum dwarf_id_case
    511557  {
     
    516562  };
    517563
    518 /* calling convention */
     564/* Calling convention. */
    519565enum dwarf_calling_convention
    520566  {
     
    527573#define DW_CC_hi_user 0xff
    528574
    529 /* inline attribute */
     575/* Inline attribute. */
    530576enum dwarf_inline_attribute
    531577  {
     
    536582  };
    537583
    538 /* descriminant lists */
    539 enum dwarf_descrim_list
     584/* Discriminant lists. */
     585enum dwarf_discrim_list
    540586  {
    541587    DW_DSC_label = 0,
     
    543589  };
    544590
    545 /* line number opcodes */
     591/* Line number opcodes. */
    546592enum dwarf_line_number_ops
    547593  {
     
    555601    DW_LNS_set_basic_block = 7,
    556602    DW_LNS_const_add_pc = 8,
    557     DW_LNS_fixed_advance_pc = 9
    558   };
    559 
    560 /* line number extended opcodes */
     603    DW_LNS_fixed_advance_pc = 9,
     604    /* DWARF 3.  */
     605    DW_LNS_set_prologue_end = 10,
     606    DW_LNS_set_epilogue_begin = 11,
     607    DW_LNS_set_isa = 12
     608  };
     609
     610/* Line number extended opcodes.  */
    561611enum dwarf_line_number_x_ops
    562612  {
     
    566616  };
    567617
    568 /* call frame information */
     618/* Call frame information. */
    569619enum dwarf_call_frame_info
    570620  {
     
    587637    DW_CFA_def_cfa_register = 0x0d,
    588638    DW_CFA_def_cfa_offset = 0x0e,
    589     /* SGI/MIPS specific */
    590     DW_CFA_MIPS_advance_loc8 = 0x1d
     639
     640    /* DWARF 3.  */
     641    DW_CFA_def_cfa_expression = 0x0f,
     642    DW_CFA_expression = 0x10,
     643    DW_CFA_offset_extended_sf = 0x11,
     644    DW_CFA_def_cfa_sf = 0x12,
     645    DW_CFA_def_cfa_offset_sf = 0x13,
     646
     647    /* SGI/MIPS specific.  */
     648    DW_CFA_MIPS_advance_loc8 = 0x1d,
     649
     650    /* GNU extensions.  */
     651    DW_CFA_GNU_window_save = 0x2d,
     652    DW_CFA_GNU_args_size = 0x2e,
     653    DW_CFA_GNU_negative_offset_extended = 0x2f
    591654  };
    592655
     
    595658
    596659#define DW_CFA_extended   0
    597 #define DW_CFA_low_user   0x1c
    598 #define DW_CFA_high_user  0x3f
     660#define DW_CFA_lo_user    0x1c
     661#define DW_CFA_hi_user    0x3f
    599662
    600663#define DW_CHILDREN_no               0x00
     
    604667
    605668/* Source language names and codes.  */
    606 
    607669enum dwarf_source_language
    608670  {
     
    617679    DW_LANG_Pascal83 = 0x0009,
    618680    DW_LANG_Modula2 = 0x000a,
    619     DW_LANG_Java = 0x9af4,
    620     DW_LANG_Mips_Assembler = 0x8001
    621   };
    622 
    623 
    624 #define DW_LANG_lo_user 0x8000  /* implementation-defined range start */
    625 #define DW_LANG_hi_user 0xffff  /* implementation-defined range start */
     681    DW_LANG_Java = 0x000b,
     682    /* DWARF 3.  */
     683    DW_LANG_C99 = 0x000c,
     684    DW_LANG_Ada95 = 0x000d,
     685    DW_LANG_Fortran95 = 0x000e,
     686    /* MIPS.  */
     687    DW_LANG_Mips_Assembler = 0x8001,
     688    /* UPC.  */
     689    DW_LANG_Upc = 0x8765
     690  };
     691
     692#define DW_LANG_lo_user 0x8000  /* Implementation-defined range start.  */
     693#define DW_LANG_hi_user 0xffff  /* Implementation-defined range start.  */
    626694
    627695/* Names and codes for macro information.  */
    628 
    629696enum dwarf_macinfo_record_type
    630697  {
     
    636703  };
    637704
     705
     706/* @@@ For use with GNU frame unwind information.  */
     707
     708#define DW_EH_PE_absptr         0x00
     709#define DW_EH_PE_omit           0xff
     710
     711#define DW_EH_PE_uleb128        0x01
     712#define DW_EH_PE_udata2         0x02
     713#define DW_EH_PE_udata4         0x03
     714#define DW_EH_PE_udata8         0x04
     715#define DW_EH_PE_sleb128        0x09
     716#define DW_EH_PE_sdata2         0x0A
     717#define DW_EH_PE_sdata4         0x0B
     718#define DW_EH_PE_sdata8         0x0C
     719#define DW_EH_PE_signed         0x08
     720
     721#define DW_EH_PE_pcrel          0x10
     722#define DW_EH_PE_textrel        0x20
     723#define DW_EH_PE_datarel        0x30
     724#define DW_EH_PE_funcrel        0x40
     725#define DW_EH_PE_aligned        0x50
     726
     727#define DW_EH_PE_indirect       0x80
     728
    638729#endif /* _ELF_DWARF2_H */
  • branches/GNU/src/binutils/include/elf/external.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    144144} Elf64_External_Sym;
    145145
     146typedef struct {
     147  unsigned char est_shndx[4];           /* Section index */
     148} Elf_External_Sym_Shndx;
     149
    146150/* Note segments */
    147151
  • branches/GNU/src/binutils/include/elf/i370.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* i370 ELF support for BFD.
    2    Copyright 2000 Free Software Foundation, Inc.
     2   Copyright 2000, 2002 Free Software Foundation, Inc.
    33
    44This file is part of BFD, the Binary File Descriptor library.
     
    2424#define _ELF_I370_H
    2525
     26#include "elf/reloc-macros.h"
     27
    2628/* Processor specific section headers, sh_type field */
    2729
     
    4244                                                   are not to be furhter \
    4345                                                   relocated.  */
     46
     47/* i370 relocations
     48   Note that there is really just one relocation that we currently
     49   support (and only one that we seem to need, at the moment), and
     50   that is the 31-bit address relocation.  Note that the 370/390
     51   only supports a 31-bit (2GB) address space.  */
     52
     53START_RELOC_NUMBERS (i370_reloc_type)
     54  RELOC_NUMBER (R_I370_NONE,      0)
     55  RELOC_NUMBER (R_I370_ADDR31,    1)
     56  RELOC_NUMBER (R_I370_ADDR32,    2)
     57  RELOC_NUMBER (R_I370_ADDR16,    3)
     58  RELOC_NUMBER (R_I370_REL31,     4)
     59  RELOC_NUMBER (R_I370_REL32,     5) 
     60  RELOC_NUMBER (R_I370_ADDR12,    6)
     61  RELOC_NUMBER (R_I370_REL12,     7)
     62  RELOC_NUMBER (R_I370_ADDR8,     8)
     63  RELOC_NUMBER (R_I370_REL8,      9)
     64  RELOC_NUMBER (R_I370_COPY,     10)
     65  RELOC_NUMBER (R_I370_RELATIVE, 11)
     66END_RELOC_NUMBERS (R_I370_max)
     67
    4468#endif /* _ELF_I370_H */
    45 
    46 
  • branches/GNU/src/binutils/include/elf/i386.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    3535     RELOC_NUMBER (R_386_GOTOFF,    9)  /* 32 bit offset to GOT */
    3636     RELOC_NUMBER (R_386_GOTPC,    10)  /* 32 bit PC relative offset to GOT */
    37      FAKE_RELOC   (FIRST_INVALID_RELOC, 11)
    38      FAKE_RELOC   (LAST_INVALID_RELOC,  19)
     37     RELOC_NUMBER (R_386_32PLT,    11)  /* Used by Sun */
     38     FAKE_RELOC   (FIRST_INVALID_RELOC, 12)
     39     FAKE_RELOC   (LAST_INVALID_RELOC,  13)
     40     RELOC_NUMBER (R_386_TLS_TPOFF,14)
     41     RELOC_NUMBER (R_386_TLS_IE,   15)
     42     RELOC_NUMBER (R_386_TLS_GOTIE,16)
     43     RELOC_NUMBER (R_386_TLS_LE,   17)
     44     RELOC_NUMBER (R_386_TLS_GD,   18)
     45     RELOC_NUMBER (R_386_TLS_LDM,  19)
    3946     RELOC_NUMBER (R_386_16,       20)
    4047     RELOC_NUMBER (R_386_PC16,     21)
    4148     RELOC_NUMBER (R_386_8,        22)
    4249     RELOC_NUMBER (R_386_PC8,      23)
     50     RELOC_NUMBER (R_386_TLS_GD_32,    24)
     51     RELOC_NUMBER (R_386_TLS_GD_PUSH,  25)
     52     RELOC_NUMBER (R_386_TLS_GD_CALL,  26)
     53     RELOC_NUMBER (R_386_TLS_GD_POP,   27)
     54     RELOC_NUMBER (R_386_TLS_LDM_32,   28)
     55     RELOC_NUMBER (R_386_TLS_LDM_PUSH, 29)
     56     RELOC_NUMBER (R_386_TLS_LDM_CALL, 30)
     57     RELOC_NUMBER (R_386_TLS_LDM_POP,  31)
     58     RELOC_NUMBER (R_386_TLS_LDO_32,   32)
     59     RELOC_NUMBER (R_386_TLS_IE_32,    33)
     60     RELOC_NUMBER (R_386_TLS_LE_32,    34)
     61     RELOC_NUMBER (R_386_TLS_DTPMOD32, 35)
     62     RELOC_NUMBER (R_386_TLS_DTPOFF32, 36)
     63     RELOC_NUMBER (R_386_TLS_TPOFF32,  37)
     64
    4365     /* These are GNU extensions to enable C++ vtable garbage collection.  */
    4466     RELOC_NUMBER (R_386_GNU_VTINHERIT, 250)
  • branches/GNU/src/binutils/include/elf/ia64.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* IA-64 ELF support for BFD.
    2    Copyright 1998, 1999, 2000 Free Software Foundation, Inc.
     2   Copyright 1998, 1999, 2000, 2003 Free Software Foundation, Inc.
    33   Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
    44
    5 This file is part of BFD, the Binary File Descriptor library.
    6 
    7 This program is free software; you can redistribute it and/or modify
    8 it under the terms of the GNU General Public License as published by
    9 the Free Software Foundation; either version 2 of the License, or
    10 (at your option) any later version.
    11 
    12 This program is distributed in the hope that it will be useful,
    13 but WITHOUT ANY WARRANTY; without even the implied warranty of
    14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    15 GNU General Public License for more details.
    16 
    17 You should have received a copy of the GNU General Public License
    18 along with this program; if not, write to the Free Software
    19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
    20 
     5   This file is part of BFD, the Binary File Descriptor library.
     6
     7   This program is free software; you can redistribute it and/or modify
     8   it under the terms of the GNU General Public License as published by
     9   the Free Software Foundation; either version 2 of the License, or
     10   (at your option) any later version.
     11
     12   This program is distributed in the hope that it will be useful,
     13   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15   GNU General Public License for more details.
     16
     17   You should have received a copy of the GNU General Public License
     18   along with this program; if not, write to the Free Software
     19   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
    2120
    2221#ifndef _ELF_IA64_H
     
    2524/* Bits in the e_flags field of the Elf64_Ehdr:  */
    2625
    27 #define EF_IA_64_MASKOS  0x0000000f     /* os-specific flags */
    28 #define EF_IA_64_ARCH    0xff000000     /* arch. version mask */
     26#define EF_IA_64_MASKOS  0x0000000f     /* OS-specific flags. */
     27#define EF_IA_64_ARCH    0xff000000     /* Arch. version mask. */
    2928
    3029/* ??? These four definitions are not part of the SVR4 ABI.
    3130   They were present in David's initial code drop, so it is probable
    3231   that they are used by HP/UX.  */
    33 #define EF_IA_64_TRAPNIL (1 << 0)       /* trap NIL pointer dereferences */
    34 #define EF_IA_64_EXT     (1 << 2)       /* program uses arch. extensions */
    35 #define EF_IA_64_BE      (1 << 3)       /* PSR BE bit set (big-endian) */
    36 #define EFA_IA_64_EAS2_3 0x23000000     /* ia64 EAS 2.3 */
    37 
    38 #define EF_IA_64_ABI64              (1 << 4) /* 64-bit ABI */
     32#define EF_IA_64_TRAPNIL (1 << 0)       /* Trap NIL pointer dereferences. */
     33#define EF_IA_64_EXT     (1 << 2)       /* Program uses arch. extensions. */
     34#define EF_IA_64_BE      (1 << 3)       /* PSR BE bit set (big-endian). */
     35#define EFA_IA_64_EAS2_3 0x23000000     /* IA64 EAS 2.3. */
     36
     37#define EF_IA_64_ABI64              (1 << 4) /* 64-bit ABI. */
    3938/* Not used yet.  */
    4039#define EF_IA_64_REDUCEDFP          (1 << 5) /* Only FP6-FP11 used.  */
    41 #define EF_IA_64_CONS_GP            (1 << 6) /* gp as program wide constant. */
    42 #define EF_IA_64_NOFUNCDESC_CONS_GP (1 << 7) /* And no function descriptors. */
     40#define EF_IA_64_CONS_GP            (1 << 6) /* gp as program wide constant.  */
     41#define EF_IA_64_NOFUNCDESC_CONS_GP (1 << 7) /* And no function descriptors.  */
    4342/* Not used yet.  */
    4443#define EF_IA_64_ABSOLUTE           (1 << 8) /* Load at absolute addresses.  */
     
    5049#define ELF_STRING_ia64_unwind_once     ".gnu.linkonce.ia64unw."
    5150#define ELF_STRING_ia64_unwind_info_once ".gnu.linkonce.ia64unwi."
     51/* .IA_64.unwind_hdr is only used by HP-UX.  */
     52#define ELF_STRING_ia64_unwind_hdr      ".IA_64.unwind_hdr"
    5253
    5354/* Bits in the sh_flags field of Elf64_Shdr:  */
    5455
    55 #define SHF_IA_64_SHORT         0x10000000      /* section near gp */
    56 #define SHF_IA_64_NORECOV       0x20000000      /* spec insns w/o recovery */
     56#define SHF_IA_64_SHORT         0x10000000      /* Section near gp. */
     57#define SHF_IA_64_NORECOV       0x20000000      /* Spec insns w/o recovery. */
    5758
    5859/* Possible values for sh_type in Elf64_Shdr: */
    5960
    60 #define SHT_IA_64_EXT           (SHT_LOPROC + 0)        /* extension bits */
    61 #define SHT_IA_64_UNWIND        (SHT_LOPROC + 1)        /* unwind bits */
     61#define SHT_IA_64_EXT           (SHT_LOPROC + 0)        /* Extension bits.  */
     62#define SHT_IA_64_UNWIND        (SHT_LOPROC + 1)        /* Unwind bits.  */
     63#define SHT_IA_64_LOPSREG       (SHT_LOPROC + 0x8000000)
     64/* ABI says (SHT_LOPROC + 0xfffffff) but I think it's a typo -- this makes sense.  */
     65#define SHT_IA_64_HIPSREG       (SHT_LOPROC + 0x8ffffff)
     66#define SHT_IA_64_PRIORITY_INIT (SHT_LOPROC + 0x9000000)
     67
     68/* SHT_IA_64_HP_OPT_ANOT is only generated by HPUX compilers for its
     69   optimization annotation section.  GCC does not generate it but we
     70   want readelf to know what they are.  Do not use two capital Ns in
     71   annotate or sed will turn it into 32 or 64 during the build.  */
     72#define SHT_IA_64_HP_OPT_ANOT   0x60000004
    6273
    6374/* Bits in the p_flags field of Elf64_Phdr:  */
     
    6778/* Possible values for p_type in Elf64_Phdr:  */
    6879
    69 #define PT_IA_64_ARCHEXT        (PT_LOPROC + 0) /* arch extension bits */
    70 #define PT_IA_64_UNWIND         (PT_LOPROC + 1) /* ia64 unwind bits */
     80#define PT_IA_64_ARCHEXT        (PT_LOPROC + 0) /* Arch extension bits,  */
     81#define PT_IA_64_UNWIND         (PT_LOPROC + 1) /* IA64 unwind bits.  */
     82
     83/* HP-UX specific values for p_type in Elf64_Phdr.
     84   These values are currently just used to make
     85   readelf more usable on HP-UX.  */
     86
     87#define PT_IA_64_HP_OPT_ANOT    (PT_LOOS + 0x12)
     88#define PT_IA_64_HP_HSL_ANOT    (PT_LOOS + 0x13)
     89#define PT_IA_64_HP_STACK       (PT_LOOS + 0x14)
    7190
    7291/* Possible values for d_tag in Elf64_Dyn:  */
     
    7493#define DT_IA_64_PLT_RESERVE    (DT_LOPROC + 0)
    7594
    76 /* ia64-specific relocation types: */
     95/* This section only used by HP-UX, The HP linker gives weak symbols
     96   precedence over regular common symbols.  We want common to override
     97   weak.  Using this common instead of SHN_COMMON does that.  */
     98#define SHN_IA_64_ANSI_COMMON 0xFF00
     99
     100/* IA64-specific relocation types: */
    77101
    78102/* Relocs apply to specific instructions within a bundle.  The least
     
    171195  RELOC_NUMBER (R_IA64_TPREL64LSB, 0x97) /* @tprel(sym+add), data8 LSB */
    172196
    173   RELOC_NUMBER (R_IA64_LTOFF_TP22, 0x9a) /* @ltoff(@tprel(s+a)), add imm22 */
     197  RELOC_NUMBER (R_IA64_LTOFF_TPREL22, 0x9a) /* @ltoff(@tprel(s+a)), add imm22 */
    174198
    175199  RELOC_NUMBER (R_IA64_DTPMOD64MSB, 0xa6) /* @dtpmod(sym+add), data8 MSB */
  • branches/GNU/src/binutils/include/elf/internal.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* ELF support for BFD.
    2    Copyright 1991, 1992, 1993, 1994, 1995, 1997, 1998, 2000
     2   Copyright 1991, 1992, 1993, 1994, 1995, 1997, 1998, 2000, 2001, 2002
    33   Free Software Foundation, Inc.
    44
     
    4343
    4444typedef struct elf_internal_ehdr {
    45   unsigned char         e_ident[EI_NIDENT];     /* ELF "magic number" */
    46   bfd_vma               e_entry;                /* Entry point virtual address */
    47   bfd_size_type         e_phoff;                /* Program header table file offset */
    48   bfd_size_type         e_shoff;                /* Section header table file offset */
    49   unsigned long         e_version;              /* Identifies object file version */
    50   unsigned long         e_flags;                /* Processor-specific flags */
    51   unsigned short        e_type;                 /* Identifies object file type */
    52   unsigned short        e_machine;              /* Specifies required architecture */
    53   unsigned short        e_ehsize;               /* ELF header size in bytes */
    54   unsigned short        e_phentsize;            /* Program header table entry size */
    55   unsigned short        e_phnum;                /* Program header table entry count */
    56   unsigned short        e_shentsize;            /* Section header table entry size */
    57   unsigned short        e_shnum;                /* Section header table entry count */
    58   unsigned short        e_shstrndx;             /* Section header string table index */
     45  unsigned char         e_ident[EI_NIDENT]; /* ELF "magic number" */
     46  bfd_vma               e_entry;        /* Entry point virtual address */
     47  bfd_size_type         e_phoff;        /* Program header table file offset */
     48  bfd_size_type         e_shoff;        /* Section header table file offset */
     49  unsigned long         e_version;      /* Identifies object file version */
     50  unsigned long         e_flags;        /* Processor-specific flags */
     51  unsigned short        e_type;         /* Identifies object file type */
     52  unsigned short        e_machine;      /* Specifies required architecture */
     53  unsigned int          e_ehsize;       /* ELF header size in bytes */
     54  unsigned int          e_phentsize;    /* Program header table entry size */
     55  unsigned int          e_phnum;        /* Program header table entry count */
     56  unsigned int          e_shentsize;    /* Section header table entry size */
     57  unsigned int          e_shnum;        /* Section header table entry count */
     58  unsigned int          e_shstrndx;     /* Section header string table index */
    5959} Elf_Internal_Ehdr;
    60 
    61 #define elf32_internal_ehdr elf_internal_ehdr
    62 #define Elf32_Internal_Ehdr Elf_Internal_Ehdr
    63 #define elf64_internal_ehdr elf_internal_ehdr
    64 #define Elf64_Internal_Ehdr Elf_Internal_Ehdr
    6560
    6661/* Program header */
     
    7873
    7974typedef struct elf_internal_phdr Elf_Internal_Phdr;
    80 #define elf32_internal_phdr elf_internal_phdr
    81 #define Elf32_Internal_Phdr Elf_Internal_Phdr
    82 #define elf64_internal_phdr elf_internal_phdr
    83 #define Elf64_Internal_Phdr Elf_Internal_Phdr
    8475
    8576/* Section header */
     
    9990  /* The internal rep also has some cached info associated with it. */
    10091  asection *    bfd_section;            /* Associated BFD section.  */
    101   PTR           contents;               /* Section contents.  */
     92  unsigned char *contents;              /* Section contents.  */
    10293} Elf_Internal_Shdr;
    103 
    104 #define elf32_internal_shdr elf_internal_shdr
    105 #define Elf32_Internal_Shdr Elf_Internal_Shdr
    106 #define elf64_internal_shdr elf_internal_shdr
    107 #define Elf64_Internal_Shdr Elf_Internal_Shdr
    10894
    10995/* Symbol table entry */
     
    115101  unsigned char st_info;                /* Type and binding attributes */
    116102  unsigned char st_other;               /* Visibilty, and target specific */
    117   unsigned short st_shndx;              /* Associated section index */
     103  unsigned int st_shndx;               /* Associated section index */
    118104};
    119105
    120106typedef struct elf_internal_sym Elf_Internal_Sym;
    121 
    122 #define elf32_internal_sym elf_internal_sym
    123 #define elf64_internal_sym elf_internal_sym
    124 #define Elf32_Internal_Sym Elf_Internal_Sym
    125 #define Elf64_Internal_Sym Elf_Internal_Sym
    126107
    127108/* Note segments */
     
    135116  bfd_vma       descpos;                /* File offset of the descdata */
    136117} Elf_Internal_Note;
    137 #define Elf32_Internal_Note     Elf_Internal_Note
    138 #define elf32_internal_note     elf_internal_note
    139118
    140119/* Relocation Entries */
    141 
    142 typedef struct elf_internal_rel {
    143   bfd_vma       r_offset;       /* Location at which to apply the action */
    144   /* This needs to support 64-bit values in elf64.  */
    145   bfd_vma       r_info;         /* index and type of relocation */
    146 } Elf_Internal_Rel;
    147 
    148 #define elf32_internal_rel elf_internal_rel
    149 #define Elf32_Internal_Rel Elf_Internal_Rel
    150 #define elf64_internal_rel elf_internal_rel
    151 #define Elf64_Internal_Rel Elf_Internal_Rel
    152120
    153121typedef struct elf_internal_rela {
    154122  bfd_vma       r_offset;       /* Location at which to apply the action */
    155123  bfd_vma       r_info;         /* Index and Type of relocation */
    156   bfd_signed_vma r_addend;      /* Constant addend used to compute value */
     124  bfd_vma       r_addend;       /* Constant addend used to compute value */
    157125} Elf_Internal_Rela;
    158 
    159 #define elf32_internal_rela elf_internal_rela
    160 #define elf64_internal_rela elf_internal_rela
    161 #define Elf32_Internal_Rela Elf_Internal_Rela
    162 #define Elf64_Internal_Rela Elf_Internal_Rela
    163126
    164127/* dynamic section structure */
     
    174137} Elf_Internal_Dyn;
    175138
    176 #define elf32_internal_dyn elf_internal_dyn
    177 #define elf64_internal_dyn elf_internal_dyn
    178 #define Elf32_Internal_Dyn Elf_Internal_Dyn
    179 #define Elf64_Internal_Dyn Elf_Internal_Dyn
    180 
    181139/* This structure appears in a SHT_GNU_verdef section.  */
    182140
     
    257215} Elf_Internal_Syminfo;
    258216
    259 
    260 #define elf32_internal_verdef elf_internal_verdef
    261 #define elf64_internal_verdef elf_internal_verdef
    262 #define elf32_internal_verdaux elf_internal_verdaux
    263 #define elf64_internal_verdaux elf_internal_verdaux
    264 #define elf32_internal_verneed elf_internal_verneed
    265 #define elf64_internal_verneed elf_internal_verneed
    266 #define elf32_internal_vernaux elf_internal_vernaux
    267 #define elf64_internal_vernaux elf_internal_vernaux
    268 #define elf32_internal_versym elf_internal_versym
    269 #define elf64_internal_versym elf_internal_versym
    270 
    271 #define Elf32_Internal_Verdef Elf_Internal_Verdef
    272 #define Elf64_Internal_Verdef Elf_Internal_Verdef
    273 #define Elf32_Internal_Verdaux Elf_Internal_Verdaux
    274 #define Elf64_Internal_Verdaux Elf_Internal_Verdaux
    275 #define Elf32_Internal_Verneed Elf_Internal_Verneed
    276 #define Elf64_Internal_Verneed Elf_Internal_Verneed
    277 #define Elf32_Internal_Vernaux Elf_Internal_Vernaux
    278 #define Elf64_Internal_Vernaux Elf_Internal_Vernaux
    279 #define Elf32_Internal_Versym Elf_Internal_Versym
    280 #define Elf64_Internal_Versym Elf_Internal_Versym
    281 #define Elf32_Internal_Syminfo Elf_Internal_Syminfo
    282 #define Elf64_Internal_Syminfo Elf_Internal_Syminfo
    283217
    284218/* This structure is used to describe how sections should be assigned
  • branches/GNU/src/binutils/include/elf/m68hc11.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* m68hc11 & m68hc12 ELF support for BFD.
    2    Copyright 1999, 2000 Free Software Foundation, Inc.
     2   Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
    33
    44   This file is part of BFD, the Binary File Descriptor library.
     
    3838  RELOC_NUMBER (R_M68HC11_GNU_VTINHERIT, 9)
    3939  RELOC_NUMBER (R_M68HC11_GNU_VTENTRY, 10)
     40
     41  RELOC_NUMBER (R_M68HC11_24, 11)
     42  RELOC_NUMBER (R_M68HC11_LO16, 12)
     43  RELOC_NUMBER (R_M68HC11_PAGE, 13)
     44
     45     /* GNU extension for linker relaxation.
     46        Mark beginning of a jump instruction (any form).  */
     47  RELOC_NUMBER (R_M68HC11_RL_JUMP, 20)
     48
     49     /* Mark beginning of Gcc relaxation group instruction.  */
     50  RELOC_NUMBER (R_M68HC11_RL_GROUP, 21)
    4051END_RELOC_NUMBERS (R_M68HC11_max)
    4152
     53/* Processor specific flags for the ELF header e_flags field.  */
     54
     55/* ABI identification.  */
     56#define EF_M68HC11_ABI  0x00000000F
     57
     58/* Integers are 32-bit long.  */
     59#define E_M68HC11_I32   0x000000001
     60
     61/* Doubles are 64-bit long.  */
     62#define E_M68HC11_F64   0x000000002
     63
     64/* Uses 68HC12 memory banks.  */
     65#define E_M68HC12_BANKS 0x000000004
     66
     67#define EF_M68HC11_MACH_MASK 0xF0
     68#define EF_M68HC11_GENERIC   0x00 /* Generic 68HC12/backward compatibility.  */
     69#define EF_M68HC12_MACH      0x10 /* 68HC12 microcontroller.  */
     70#define EF_M68HCS12_MACH     0x20 /* 68HCS12 microcontroller.  */
     71#define EF_M68HC11_MACH(mach) ((mach) & EF_M68HC11_MACH_MASK)
     72
     73/* True if we can merge machines.  A generic HC12 can work on any proc
     74   but once we have specific code, merge is not possible.  */
     75#define EF_M68HC11_CAN_MERGE_MACH(mach1, mach2) \
     76  ((EF_M68HC11_MACH (mach1) == EF_M68HC11_MACH (mach2)) \
     77   || (EF_M68HC11_MACH (mach1) == EF_M68HC11_GENERIC) \
     78   || (EF_M68HC11_MACH (mach2) == EF_M68HC11_GENERIC))
     79
     80#define EF_M68HC11_MERGE_MACH(mach1, mach2) \
     81  (((EF_M68HC11_MACH (mach1) == EF_M68HC11_MACH (mach2)) \
     82    || (EF_M68HC11_MACH (mach1) == EF_M68HC11_GENERIC)) ? \
     83      EF_M68HC11_MACH (mach2) : EF_M68HC11_MACH (mach1))
     84
     85
     86
     87/* Special values for the st_other field in the symbol table.  These
     88   are used for 68HC12 to identify far functions (must be called with
     89   'call' and returns with 'rtc').  */
     90#define STO_M68HC12_FAR 0x80
     91
     92/* Identify interrupt handlers.  This is used by the debugger to
     93   correctly compute the stack frame.  */
     94#define STO_M68HC12_INTERRUPT 0x40
     95     
    4296#endif
  • branches/GNU/src/binutils/include/elf/m68k.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    5454
    5555#define EF_CPU32    0x00810000
     56#define EF_M68000   0x01000000
    5657
    5758#endif
  • branches/GNU/src/binutils/include/elf/mips.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    100100#define EF_MIPS_CPIC            0x00000004
    101101
     102/* ???  Unknown flag, set in IRIX 6's BSDdup2.o in libbsd.a.  */
     103#define EF_MIPS_XGOT            0x00000008
     104
    102105/* Code in file uses UCODE (obsolete) */
    103106#define EF_MIPS_UCODE           0x00000010
     
    146149#define E_MIPS_ARCH_64          0x60000000
    147150
     151/* -mips32r2 code.  */
     152#define E_MIPS_ARCH_32R2        0x70000000
     153
    148154/* The ABI of the file.  Also see EF_MIPS_ABI2 above. */
    149155#define EF_MIPS_ABI             0x0000F000
     
    173179
    174180#define E_MIPS_MACH_3900        0x00810000
    175 
    176181#define E_MIPS_MACH_4010        0x00820000
    177182#define E_MIPS_MACH_4100        0x00830000
    178183#define E_MIPS_MACH_4650        0x00850000
     184#define E_MIPS_MACH_4120        0x00870000
    179185#define E_MIPS_MACH_4111        0x00880000
    180 #define E_MIPS_MACH_MIPS32_4K   0x00890000
    181186#define E_MIPS_MACH_SB1         0x008a0000
     187#define E_MIPS_MACH_5400        0x00910000
     188#define E_MIPS_MACH_5500        0x00980000
    182189
    183190
  • branches/GNU/src/binutils/include/elf/ppc.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* PPC ELF support for BFD.
    2    Copyright 1995, 1996, 1998, 2000 Free Software Foundation, Inc.
     2   Copyright 1995, 1996, 1998, 2000, 2001, 2002, 2003
     3   Free Software Foundation, Inc.
    34
    45   By Michael Meissner, Cygnus Support, <meissner@cygnus.com>, from information
     
    3233/* Relocations.  */
    3334START_RELOC_NUMBERS (elf_ppc_reloc_type)
    34   RELOC_NUMBER (R_PPC_NONE, 0)
    35   RELOC_NUMBER (R_PPC_ADDR32, 1)
    36   RELOC_NUMBER (R_PPC_ADDR24, 2)
    37   RELOC_NUMBER (R_PPC_ADDR16, 3)
    38   RELOC_NUMBER (R_PPC_ADDR16_LO, 4)
    39   RELOC_NUMBER (R_PPC_ADDR16_HI, 5)
    40   RELOC_NUMBER (R_PPC_ADDR16_HA, 6)
    41   RELOC_NUMBER (R_PPC_ADDR14, 7)
    42   RELOC_NUMBER (R_PPC_ADDR14_BRTAKEN, 8)
    43   RELOC_NUMBER (R_PPC_ADDR14_BRNTAKEN, 9)
    44   RELOC_NUMBER (R_PPC_REL24, 10)
    45   RELOC_NUMBER (R_PPC_REL14, 11)
    46   RELOC_NUMBER (R_PPC_REL14_BRTAKEN, 12)
    47   RELOC_NUMBER (R_PPC_REL14_BRNTAKEN, 13)
    48   RELOC_NUMBER (R_PPC_GOT16, 14)
    49   RELOC_NUMBER (R_PPC_GOT16_LO, 15)
    50   RELOC_NUMBER (R_PPC_GOT16_HI, 16)
    51   RELOC_NUMBER (R_PPC_GOT16_HA, 17)
    52   RELOC_NUMBER (R_PPC_PLTREL24, 18)
    53   RELOC_NUMBER (R_PPC_COPY, 19)
    54   RELOC_NUMBER (R_PPC_GLOB_DAT, 20)
    55   RELOC_NUMBER (R_PPC_JMP_SLOT, 21)
    56   RELOC_NUMBER (R_PPC_RELATIVE, 22)
    57   RELOC_NUMBER (R_PPC_LOCAL24PC, 23)
    58   RELOC_NUMBER (R_PPC_UADDR32, 24)
    59   RELOC_NUMBER (R_PPC_UADDR16, 25)
    60   RELOC_NUMBER (R_PPC_REL32, 26)
    61   RELOC_NUMBER (R_PPC_PLT32, 27)
    62   RELOC_NUMBER (R_PPC_PLTREL32, 28)
    63   RELOC_NUMBER (R_PPC_PLT16_LO, 29)
    64   RELOC_NUMBER (R_PPC_PLT16_HI, 30)
    65   RELOC_NUMBER (R_PPC_PLT16_HA, 31)
    66   RELOC_NUMBER (R_PPC_SDAREL16, 32)
    67   RELOC_NUMBER (R_PPC_SECTOFF, 33)
    68   RELOC_NUMBER (R_PPC_SECTOFF_LO, 34)
    69   RELOC_NUMBER (R_PPC_SECTOFF_HI, 35)
    70   RELOC_NUMBER (R_PPC_SECTOFF_HA, 36)
     35  RELOC_NUMBER (R_PPC_NONE,               0)
     36  RELOC_NUMBER (R_PPC_ADDR32,             1)
     37  RELOC_NUMBER (R_PPC_ADDR24,             2)
     38  RELOC_NUMBER (R_PPC_ADDR16,             3)
     39  RELOC_NUMBER (R_PPC_ADDR16_LO,          4)
     40  RELOC_NUMBER (R_PPC_ADDR16_HI,          5)
     41  RELOC_NUMBER (R_PPC_ADDR16_HA,          6)
     42  RELOC_NUMBER (R_PPC_ADDR14,             7)
     43  RELOC_NUMBER (R_PPC_ADDR14_BRTAKEN,     8)
     44  RELOC_NUMBER (R_PPC_ADDR14_BRNTAKEN,    9)
     45  RELOC_NUMBER (R_PPC_REL24,             10)
     46  RELOC_NUMBER (R_PPC_REL14,             11)
     47  RELOC_NUMBER (R_PPC_REL14_BRTAKEN,     12)
     48  RELOC_NUMBER (R_PPC_REL14_BRNTAKEN,    13)
     49  RELOC_NUMBER (R_PPC_GOT16,             14)
     50  RELOC_NUMBER (R_PPC_GOT16_LO,          15)
     51  RELOC_NUMBER (R_PPC_GOT16_HI,          16)
     52  RELOC_NUMBER (R_PPC_GOT16_HA,          17)
     53  RELOC_NUMBER (R_PPC_PLTREL24,          18)
     54  RELOC_NUMBER (R_PPC_COPY,              19)
     55  RELOC_NUMBER (R_PPC_GLOB_DAT,          20)
     56  RELOC_NUMBER (R_PPC_JMP_SLOT,          21)
     57  RELOC_NUMBER (R_PPC_RELATIVE,          22)
     58  RELOC_NUMBER (R_PPC_LOCAL24PC,         23)
     59  RELOC_NUMBER (R_PPC_UADDR32,           24)
     60  RELOC_NUMBER (R_PPC_UADDR16,           25)
     61  RELOC_NUMBER (R_PPC_REL32,             26)
     62  RELOC_NUMBER (R_PPC_PLT32,             27)
     63  RELOC_NUMBER (R_PPC_PLTREL32,          28)
     64  RELOC_NUMBER (R_PPC_PLT16_LO,          29)
     65  RELOC_NUMBER (R_PPC_PLT16_HI,          30)
     66  RELOC_NUMBER (R_PPC_PLT16_HA,          31)
     67  RELOC_NUMBER (R_PPC_SDAREL16,          32)
     68  RELOC_NUMBER (R_PPC_SECTOFF,           33)
     69  RELOC_NUMBER (R_PPC_SECTOFF_LO,        34)
     70  RELOC_NUMBER (R_PPC_SECTOFF_HI,        35)
     71  RELOC_NUMBER (R_PPC_SECTOFF_HA,        36)
     72  RELOC_NUMBER (R_PPC_ADDR30,            37)
     73
     74  /* Relocs added to support TLS.  */
     75  RELOC_NUMBER (R_PPC_TLS,               67)
     76  RELOC_NUMBER (R_PPC_DTPMOD32,          68)
     77  RELOC_NUMBER (R_PPC_TPREL16,           69)
     78  RELOC_NUMBER (R_PPC_TPREL16_LO,        70)
     79  RELOC_NUMBER (R_PPC_TPREL16_HI,        71)
     80  RELOC_NUMBER (R_PPC_TPREL16_HA,        72)
     81  RELOC_NUMBER (R_PPC_TPREL32,           73)
     82  RELOC_NUMBER (R_PPC_DTPREL16,          74)
     83  RELOC_NUMBER (R_PPC_DTPREL16_LO,       75)
     84  RELOC_NUMBER (R_PPC_DTPREL16_HI,       76)
     85  RELOC_NUMBER (R_PPC_DTPREL16_HA,       77)
     86  RELOC_NUMBER (R_PPC_DTPREL32,          78)
     87  RELOC_NUMBER (R_PPC_GOT_TLSGD16,       79)
     88  RELOC_NUMBER (R_PPC_GOT_TLSGD16_LO,    80)
     89  RELOC_NUMBER (R_PPC_GOT_TLSGD16_HI,    81)
     90  RELOC_NUMBER (R_PPC_GOT_TLSGD16_HA,    82)
     91  RELOC_NUMBER (R_PPC_GOT_TLSLD16,       83)
     92  RELOC_NUMBER (R_PPC_GOT_TLSLD16_LO,    84)
     93  RELOC_NUMBER (R_PPC_GOT_TLSLD16_HI,    85)
     94  RELOC_NUMBER (R_PPC_GOT_TLSLD16_HA,    86)
     95  RELOC_NUMBER (R_PPC_GOT_TPREL16,       87)
     96  RELOC_NUMBER (R_PPC_GOT_TPREL16_LO,    88)
     97  RELOC_NUMBER (R_PPC_GOT_TPREL16_HI,    89)
     98  RELOC_NUMBER (R_PPC_GOT_TPREL16_HA,    90)
     99  RELOC_NUMBER (R_PPC_GOT_DTPREL16,      91)
     100  RELOC_NUMBER (R_PPC_GOT_DTPREL16_LO,   92)
     101  RELOC_NUMBER (R_PPC_GOT_DTPREL16_HI,   93)
     102  RELOC_NUMBER (R_PPC_GOT_DTPREL16_HA,   94)
    71103
    72104/* The remaining relocs are from the Embedded ELF ABI, and are not
    73105   in the SVR4 ELF ABI.  */
    74   RELOC_NUMBER (R_PPC_EMB_NADDR32, 101)
    75   RELOC_NUMBER (R_PPC_EMB_NADDR16, 102)
    76   RELOC_NUMBER (R_PPC_EMB_NADDR16_LO, 103)
    77   RELOC_NUMBER (R_PPC_EMB_NADDR16_HI, 104)
    78   RELOC_NUMBER (R_PPC_EMB_NADDR16_HA, 105)
    79   RELOC_NUMBER (R_PPC_EMB_SDAI16, 106)
    80   RELOC_NUMBER (R_PPC_EMB_SDA2I16, 107)
    81   RELOC_NUMBER (R_PPC_EMB_SDA2REL, 108)
    82   RELOC_NUMBER (R_PPC_EMB_SDA21, 109)
    83   RELOC_NUMBER (R_PPC_EMB_MRKREF, 110)
    84   RELOC_NUMBER (R_PPC_EMB_RELSEC16, 111)
    85   RELOC_NUMBER (R_PPC_EMB_RELST_LO, 112)
    86   RELOC_NUMBER (R_PPC_EMB_RELST_HI, 113)
    87   RELOC_NUMBER (R_PPC_EMB_RELST_HA, 114)
    88   RELOC_NUMBER (R_PPC_EMB_BIT_FLD, 115)
    89   RELOC_NUMBER (R_PPC_EMB_RELSDA, 116)
     106  RELOC_NUMBER (R_PPC_EMB_NADDR32,      101)
     107  RELOC_NUMBER (R_PPC_EMB_NADDR16,      102)
     108  RELOC_NUMBER (R_PPC_EMB_NADDR16_LO,   103)
     109  RELOC_NUMBER (R_PPC_EMB_NADDR16_HI,   104)
     110  RELOC_NUMBER (R_PPC_EMB_NADDR16_HA,   105)
     111  RELOC_NUMBER (R_PPC_EMB_SDAI16,       106)
     112  RELOC_NUMBER (R_PPC_EMB_SDA2I16,      107)
     113  RELOC_NUMBER (R_PPC_EMB_SDA2REL,      108)
     114  RELOC_NUMBER (R_PPC_EMB_SDA21,        109)
     115  RELOC_NUMBER (R_PPC_EMB_MRKREF,       110)
     116  RELOC_NUMBER (R_PPC_EMB_RELSEC16,     111)
     117  RELOC_NUMBER (R_PPC_EMB_RELST_LO,     112)
     118  RELOC_NUMBER (R_PPC_EMB_RELST_HI,     113)
     119  RELOC_NUMBER (R_PPC_EMB_RELST_HA,     114)
     120  RELOC_NUMBER (R_PPC_EMB_BIT_FLD,      115)
     121  RELOC_NUMBER (R_PPC_EMB_RELSDA,       116)
    90122
    91123  /* These are GNU extensions to enable C++ vtable garbage collection.  */
    92   RELOC_NUMBER (R_PPC_GNU_VTINHERIT, 253)
    93   RELOC_NUMBER (R_PPC_GNU_VTENTRY, 254)
     124  RELOC_NUMBER (R_PPC_GNU_VTINHERIT,    253)
     125  RELOC_NUMBER (R_PPC_GNU_VTENTRY,      254)
    94126
    95127/* This is a phony reloc to handle any old fashioned TOC16 references
    96128   that may still be in object files.  */
    97   RELOC_NUMBER (R_PPC_TOC16, 255)
     129  RELOC_NUMBER (R_PPC_TOC16,            255)
    98130
    99131END_RELOC_NUMBERS (R_PPC_max)
    100132
     133#define IS_PPC_TLS_RELOC(R) \
     134  ((R) >= R_PPC_TLS && (R) <= R_PPC_GOT_DTPREL16_HA)
    101135
    102136/* Processor specific flags for the ELF header e_flags field.  */
  • branches/GNU/src/binutils/include/elf/sh.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* SH ELF support for BFD.
    2    Copyright 1998, 2000 Free Software Foundation, Inc.
     2   Copyright 1998, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
    33
    44   This file is part of BFD, the Binary File Descriptor library.
     
    3434#define EF_SH3E            8
    3535#define EF_SH4             9
     36#define EF_SH2E            11
     37
     38/* This one can only mix in objects from other EF_SH5 objects.  */
     39#define EF_SH5            10
    3640
    3741#define EF_SH_MERGE_MACH(mach1, mach2) \
     
    4347      || ((mach2) < EF_SH3 && (mach1) == EF_SH_UNKNOWN)) \
    4448   ? EF_SH3 \
     49   : ((mach1) == EF_SH2E && EF_SH_HAS_FP (mach2)) \
     50   ? (mach2) \
     51   : ((mach2) == EF_SH2E && EF_SH_HAS_FP (mach1)) \
     52   ? (mach1) \
     53   : (((mach1) == EF_SH2E && (mach2) == EF_SH_UNKNOWN) \
     54      || ((mach2) == EF_SH2E && (mach1) == EF_SH_UNKNOWN)) \
     55   ? EF_SH2E \
    4556   : (((mach1) == EF_SH3E && (mach2) == EF_SH_UNKNOWN) \
    4657      || ((mach2) == EF_SH3E && (mach1) == EF_SH_UNKNOWN)) \
    4758   ? EF_SH4 \
    48    : ((mach1) > (mach2) ? (mach1) : (mach2)))
     59   : (((mach1) == EF_SH2E ? 7 : (mach1)) > ((mach2) == EF_SH2E ? 7 : (mach2)) \
     60      ? (mach1) : (mach2)))
     61
     62/* Flags for the st_other symbol field.
     63   Keep away from the STV_ visibility flags (bit 0..1).  */
     64
     65/* A reference to this symbol should by default add 1.  */
     66#define STO_SH5_ISA32 (1 << 2)
     67
     68/* Section contains only SHmedia code (no SHcompact code).  */
     69#define SHF_SH5_ISA32           0x40000000
     70
     71/* Section contains both SHmedia and SHcompact code, and possibly also
     72   constants.  */
     73#define SHF_SH5_ISA32_MIXED     0x20000000
     74
     75/* If applied to a .cranges section, marks that the section is sorted by
     76   increasing cr_addr values.  */
     77#define SHT_SH5_CR_SORTED 0x80000001
     78
     79/* Symbol should be handled as DataLabel (attached to global SHN_UNDEF
     80   symbols).  */
     81#define STT_DATALABEL STT_LOPROC
    4982
    5083#include "elf/reloc-macros.h"
     
    80113  RELOC_NUMBER (R_SH_LOOP_END, 37)
    81114  FAKE_RELOC (R_SH_FIRST_INVALID_RELOC_2, 38)
    82   FAKE_RELOC (R_SH_LAST_INVALID_RELOC_2, 159)
     115  FAKE_RELOC (R_SH_LAST_INVALID_RELOC_2, 44)
     116  RELOC_NUMBER (R_SH_DIR5U, 45)
     117  RELOC_NUMBER (R_SH_DIR6U, 46)
     118  RELOC_NUMBER (R_SH_DIR6S, 47)
     119  RELOC_NUMBER (R_SH_DIR10S, 48)
     120  RELOC_NUMBER (R_SH_DIR10SW, 49)
     121  RELOC_NUMBER (R_SH_DIR10SL, 50)
     122  RELOC_NUMBER (R_SH_DIR10SQ, 51)
     123  FAKE_RELOC (R_SH_FIRST_INVALID_RELOC_3, 52)
     124  FAKE_RELOC (R_SH_LAST_INVALID_RELOC_3, 143)
     125  RELOC_NUMBER (R_SH_TLS_GD_32, 144)
     126  RELOC_NUMBER (R_SH_TLS_LD_32, 145)
     127  RELOC_NUMBER (R_SH_TLS_LDO_32, 146)
     128  RELOC_NUMBER (R_SH_TLS_IE_32, 147)
     129  RELOC_NUMBER (R_SH_TLS_LE_32, 148)
     130  RELOC_NUMBER (R_SH_TLS_DTPMOD32, 149)
     131  RELOC_NUMBER (R_SH_TLS_DTPOFF32, 150)
     132  RELOC_NUMBER (R_SH_TLS_TPOFF32, 151)
     133  FAKE_RELOC (R_SH_FIRST_INVALID_RELOC_4, 152)
     134  FAKE_RELOC (R_SH_LAST_INVALID_RELOC_4, 159)
    83135  RELOC_NUMBER (R_SH_GOT32, 160)
    84136  RELOC_NUMBER (R_SH_PLT32, 161)
     
    89141  RELOC_NUMBER (R_SH_GOTOFF, 166)
    90142  RELOC_NUMBER (R_SH_GOTPC, 167)
     143  RELOC_NUMBER (R_SH_GOTPLT32, 168)
     144  RELOC_NUMBER (R_SH_GOT_LOW16, 169)
     145  RELOC_NUMBER (R_SH_GOT_MEDLOW16, 170)
     146  RELOC_NUMBER (R_SH_GOT_MEDHI16, 171)
     147  RELOC_NUMBER (R_SH_GOT_HI16, 172)
     148  RELOC_NUMBER (R_SH_GOTPLT_LOW16, 173)
     149  RELOC_NUMBER (R_SH_GOTPLT_MEDLOW16, 174)
     150  RELOC_NUMBER (R_SH_GOTPLT_MEDHI16, 175)
     151  RELOC_NUMBER (R_SH_GOTPLT_HI16, 176)
     152  RELOC_NUMBER (R_SH_PLT_LOW16, 177)
     153  RELOC_NUMBER (R_SH_PLT_MEDLOW16, 178)
     154  RELOC_NUMBER (R_SH_PLT_MEDHI16, 179)
     155  RELOC_NUMBER (R_SH_PLT_HI16, 180)
     156  RELOC_NUMBER (R_SH_GOTOFF_LOW16, 181)
     157  RELOC_NUMBER (R_SH_GOTOFF_MEDLOW16, 182)
     158  RELOC_NUMBER (R_SH_GOTOFF_MEDHI16, 183)
     159  RELOC_NUMBER (R_SH_GOTOFF_HI16, 184)
     160  RELOC_NUMBER (R_SH_GOTPC_LOW16, 185)
     161  RELOC_NUMBER (R_SH_GOTPC_MEDLOW16, 186)
     162  RELOC_NUMBER (R_SH_GOTPC_MEDHI16, 187)
     163  RELOC_NUMBER (R_SH_GOTPC_HI16, 188)
     164  RELOC_NUMBER (R_SH_GOT10BY4, 189)
     165  RELOC_NUMBER (R_SH_GOTPLT10BY4, 190)
     166  RELOC_NUMBER (R_SH_GOT10BY8, 191)
     167  RELOC_NUMBER (R_SH_GOTPLT10BY8, 192)
     168  RELOC_NUMBER (R_SH_COPY64, 193)
     169  RELOC_NUMBER (R_SH_GLOB_DAT64, 194)
     170  RELOC_NUMBER (R_SH_JMP_SLOT64, 195)
     171  RELOC_NUMBER (R_SH_RELATIVE64, 196)
     172  FAKE_RELOC (R_SH_FIRST_INVALID_RELOC_5, 197)
     173  FAKE_RELOC (R_SH_LAST_INVALID_RELOC_5, 241)
     174  RELOC_NUMBER (R_SH_SHMEDIA_CODE, 242)
     175  RELOC_NUMBER (R_SH_PT_16, 243)
     176  RELOC_NUMBER (R_SH_IMMS16, 244)
     177  RELOC_NUMBER (R_SH_IMMU16, 245)
     178  RELOC_NUMBER (R_SH_IMM_LOW16, 246)
     179  RELOC_NUMBER (R_SH_IMM_LOW16_PCREL, 247)
     180  RELOC_NUMBER (R_SH_IMM_MEDLOW16, 248)
     181  RELOC_NUMBER (R_SH_IMM_MEDLOW16_PCREL, 249)
     182  RELOC_NUMBER (R_SH_IMM_MEDHI16, 250)
     183  RELOC_NUMBER (R_SH_IMM_MEDHI16_PCREL, 251)
     184  RELOC_NUMBER (R_SH_IMM_HI16, 252)
     185  RELOC_NUMBER (R_SH_IMM_HI16_PCREL, 253)
     186  RELOC_NUMBER (R_SH_64, 254)
     187  RELOC_NUMBER (R_SH_64_PCREL, 255)
    91188END_RELOC_NUMBERS (R_SH_max)
    92189
  • branches/GNU/src/binutils/include/elf/sparc.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* SPARC ELF support for BFD.
    2    Copyright 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
     2   Copyright 1996, 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
    33   By Doug Evans, Cygnus Support, <dje@cygnus.com>.
    44
     
    127127  RELOC_NUMBER (R_SPARC_UA16, 55)
    128128
    129   /* little endian data relocs */
    130   RELOC_NUMBER (R_SPARC_REV32, 56)
    131 
     129  RELOC_NUMBER (R_SPARC_TLS_GD_HI22, 56)
     130  RELOC_NUMBER (R_SPARC_TLS_GD_LO10, 57)
     131  RELOC_NUMBER (R_SPARC_TLS_GD_ADD, 58)
     132  RELOC_NUMBER (R_SPARC_TLS_GD_CALL, 59)
     133  RELOC_NUMBER (R_SPARC_TLS_LDM_HI22, 60)
     134  RELOC_NUMBER (R_SPARC_TLS_LDM_LO10, 61)
     135  RELOC_NUMBER (R_SPARC_TLS_LDM_ADD, 62)
     136  RELOC_NUMBER (R_SPARC_TLS_LDM_CALL, 63)
     137  RELOC_NUMBER (R_SPARC_TLS_LDO_HIX22, 64)
     138  RELOC_NUMBER (R_SPARC_TLS_LDO_LOX10, 65)
     139  RELOC_NUMBER (R_SPARC_TLS_LDO_ADD, 66)
     140  RELOC_NUMBER (R_SPARC_TLS_IE_HI22, 67)
     141  RELOC_NUMBER (R_SPARC_TLS_IE_LO10, 68)
     142  RELOC_NUMBER (R_SPARC_TLS_IE_LD, 69)
     143  RELOC_NUMBER (R_SPARC_TLS_IE_LDX, 70)
     144  RELOC_NUMBER (R_SPARC_TLS_IE_ADD, 71)
     145  RELOC_NUMBER (R_SPARC_TLS_LE_HIX22, 72)
     146  RELOC_NUMBER (R_SPARC_TLS_LE_LOX10, 73)
     147  RELOC_NUMBER (R_SPARC_TLS_DTPMOD32, 74)
     148  RELOC_NUMBER (R_SPARC_TLS_DTPMOD64, 75)
     149  RELOC_NUMBER (R_SPARC_TLS_DTPOFF32, 76)
     150  RELOC_NUMBER (R_SPARC_TLS_DTPOFF64, 77)
     151  RELOC_NUMBER (R_SPARC_TLS_TPOFF32, 78)
     152  RELOC_NUMBER (R_SPARC_TLS_TPOFF64, 79)
     153 
    132154  EMPTY_RELOC  (R_SPARC_max_std)
    133155
    134156  RELOC_NUMBER (R_SPARC_GNU_VTINHERIT, 250)
    135157  RELOC_NUMBER (R_SPARC_GNU_VTENTRY, 251)
     158  RELOC_NUMBER (R_SPARC_REV32, 252)
    136159
    137160END_RELOC_NUMBERS (R_SPARC_max)
  • branches/GNU/src/binutils/include/elf/v850.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* V850 ELF support for BFD.
    2    Copyright 1997, 1998, 2000 Free Software Foundation, Inc.
     2   Copyright 1997, 1998, 2000, 2002 Free Software Foundation, Inc.
    33   Created by Michael Meissner, Cygnus Support <meissner@cygnus.com>
    44
    5 This file is part of BFD, the Binary File Descriptor library.
     5   This file is part of BFD, the Binary File Descriptor library.
    66
    7 This program is free software; you can redistribute it and/or modify
    8 it under the terms of the GNU General Public License as published by
    9 the Free Software Foundation; either version 2 of the License, or
    10 (at your option) any later version.
     7   This program is free software; you can redistribute it and/or modify
     8   it under the terms of the GNU General Public License as published by
     9   the Free Software Foundation; either version 2 of the License, or
     10   (at your option) any later version.
    1111
    12 This program is distributed in the hope that it will be useful,
    13 but WITHOUT ANY WARRANTY; without even the implied warranty of
    14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    15 GNU General Public License for more details.
     12   This program is distributed in the hope that it will be useful,
     13   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15   GNU General Public License for more details.
    1616
    17 You should have received a copy of the GNU General Public License
    18 along with this program; if not, write to the Free Software
    19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
     17   You should have received a copy of the GNU General Public License
     18   along with this program; if not, write to the Free Software
     19   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
    2020
    2121/* This file holds definitions specific to the MIPS ELF ABI.  Note
     
    3636#define E_V850E_ARCH            0x10000000
    3737
    38 /* v850ea code.  */
    39 #define E_V850EA_ARCH           0x20000000
    4038
     39/* Flags for the st_other field.  */
     40#define V850_OTHER_SDA          0x01    /* Symbol had SDA relocations.  */
     41#define V850_OTHER_ZDA          0x02    /* Symbol had ZDA relocations.  */
     42#define V850_OTHER_TDA          0x04    /* Symbol had TDA relocations.  */
     43#define V850_OTHER_TDA_BYTE     0x08    /* Symbol had TDA byte relocations.  */
     44#define V850_OTHER_ERROR        0x80    /* Symbol had an error reported.  */
    4145
    42 /* Flags for the st_other field */
    43 #define V850_OTHER_SDA          0x01    /* symbol had SDA relocations */
    44 #define V850_OTHER_ZDA          0x02    /* symbol had ZDA relocations */
    45 #define V850_OTHER_TDA          0x04    /* symbol had TDA relocations */
    46 #define V850_OTHER_TDA_BYTE     0x08    /* symbol had TDA byte relocations */
    47 #define V850_OTHER_ERROR        0x80    /* symbol had an error reported */
    48 
    49 /* V850 relocations */
     46/* V850 relocations.  */
    5047#include "elf/reloc-macros.h"
    5148
     
    5754     RELOC_NUMBER (R_V850_HI16, 4)
    5855     RELOC_NUMBER (R_V850_LO16, 5)
    59      RELOC_NUMBER (R_V850_32, 6)
     56     RELOC_NUMBER (R_V850_ABS32, 6)
    6057     RELOC_NUMBER (R_V850_16, 7)
    6158     RELOC_NUMBER (R_V850_8, 8)
     
    7673     RELOC_NUMBER (R_V850_GNU_VTINHERIT, 23)
    7774     RELOC_NUMBER (R_V850_GNU_VTENTRY, 24)
     75     RELOC_NUMBER (R_V850_LONGCALL, 25)
     76     RELOC_NUMBER (R_V850_LONGJUMP, 26)
     77     RELOC_NUMBER (R_V850_ALIGN, 27)
     78     RELOC_NUMBER (R_V850_REL32, 28)
    7879END_RELOC_NUMBERS (R_V850_max)
    7980
     
    106107#define SHT_V850_ZCOMMON        0x70000002
    107108
    108 
    109109#endif /* _ELF_V850_H */
  • branches/GNU/src/binutils/include/elf/x86-64.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    11/* x86_64 ELF support for BFD.
    2    Copyright (C) 2000 Free Software Foundation, Inc.
     2   Copyright (C) 2000, 2002 Free Software Foundation, Inc.
    33   Contributed by Jan Hubicka <jh@suse.cz>
    44
     
    2626START_RELOC_NUMBERS (elf_x86_64_reloc_type)
    2727     RELOC_NUMBER (R_X86_64_NONE,     0)      /* No reloc */
    28      RELOC_NUMBER (R_X86_64_64,               1)      /* Direct 64 bit  */
     28     RELOC_NUMBER (R_X86_64_64,       1)      /* Direct 64 bit  */
    2929     RELOC_NUMBER (R_X86_64_PC32,     2)      /* PC relative 32 bit signed */
    3030     RELOC_NUMBER (R_X86_64_GOT32,    3)      /* 32 bit GOT entry */
     
    3232     RELOC_NUMBER (R_X86_64_COPY,     5)      /* Copy symbol at runtime */
    3333     RELOC_NUMBER (R_X86_64_GLOB_DAT, 6)      /* Create GOT entry */
    34      RELOC_NUMBER (R_X86_64_JUMP_SLOT,        7)      /* Create PLT entry */
     34     RELOC_NUMBER (R_X86_64_JUMP_SLOT,7)      /* Create PLT entry */
    3535     RELOC_NUMBER (R_X86_64_RELATIVE, 8)      /* Adjust by program base */
    3636     RELOC_NUMBER (R_X86_64_GOTPCREL, 9)      /* 32 bit signed pc relative
    3737                                                 offset to GOT */
    38      RELOC_NUMBER (R_X86_64_32,               10)     /* Direct 32 bit zero extended */
    39      RELOC_NUMBER (R_X86_64_32S,              11)     /* Direct 32 bit sign extended */
    40      RELOC_NUMBER (R_X86_64_16,               12)     /* Direct 16 bit zero extended */
     38     RELOC_NUMBER (R_X86_64_32,       10)     /* Direct 32 bit zero extended */
     39     RELOC_NUMBER (R_X86_64_32S,      11)     /* Direct 32 bit sign extended */
     40     RELOC_NUMBER (R_X86_64_16,       12)     /* Direct 16 bit zero extended */
    4141     RELOC_NUMBER (R_X86_64_PC16,     13)     /* 16 bit sign extended pc relative*/
    42      RELOC_NUMBER (R_X86_64_8,                14)     /* Direct 8 bit sign extended */
    43      RELOC_NUMBER (R_X86_64_PC8,              15)     /* 8 bit sign extended pc relative*/
     42     RELOC_NUMBER (R_X86_64_8,        14)     /* Direct 8 bit sign extended */
     43     RELOC_NUMBER (R_X86_64_PC8,      15)     /* 8 bit sign extended pc relative*/
     44     RELOC_NUMBER (R_X86_64_DTPMOD64, 16)     /* ID of module containing symbol */
     45     RELOC_NUMBER (R_X86_64_DTPOFF64, 17)     /* Offset in TLS block */
     46     RELOC_NUMBER (R_X86_64_TPOFF64,  18)     /* Offset in initial TLS block */
     47     RELOC_NUMBER (R_X86_64_TLSGD,    19)     /* PC relative offset to GD GOT block */
     48     RELOC_NUMBER (R_X86_64_TLSLD,    20)     /* PC relative offset to LD GOT block */
     49     RELOC_NUMBER (R_X86_64_DTPOFF32, 21)     /* Offset in TLS block */
     50     RELOC_NUMBER (R_X86_64_GOTTPOFF, 22)     /* PC relative offset to IE GOT entry */
     51     RELOC_NUMBER (R_X86_64_TPOFF32,  23)     /* Offset in initial TLS block */
     52     RELOC_NUMBER (R_X86_64_GNU_VTINHERIT, 250)       /* GNU C++ hack  */
     53     RELOC_NUMBER (R_X86_64_GNU_VTENTRY, 251)         /* GNU C++ hack  */
    4454END_RELOC_NUMBERS (R_X86_64_max)
    4555
Note: See TracChangeset for help on using the changeset viewer.