diff options
Diffstat (limited to 'include/elf')
-rw-r--r-- | include/elf/ChangeLog | 17 | ||||
-rw-r--r-- | include/elf/arm.h | 3 | ||||
-rw-r--r-- | include/elf/common.h | 4 | ||||
-rw-r--r-- | include/elf/reloc-macros.h | 28 | ||||
-rw-r--r-- | include/elf/sh.h | 2 |
5 files changed, 4 insertions, 50 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index f003a8377..a4288a7ba 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,20 +1,3 @@ -2008-06-09 Takashi Yoshii <yoshii.takashi@renesas.com> - - * sh.h (EF_SH_BFD_TABLE): Set bfd_mach_sh for EF_SH_UNKNOWN. - -2008-06-09 Joseph Myers <joseph@codesourcery.com> - - * common.h: Change registry@caldera.com to registry@sco.com. - -2008-05-21 Nick Clifton <nickc@redhat.com> - - * reloc-macros.h: Add a comment about the use of the - END_RELOC_NUMBERS symbol as a sentinel value. - -2008-05-15 Christophe Lyon <christophe.lyon@st.com> - - * arm.h (END_RELOC_NUMBERS): Provide a maximum value. - 2008-04-16 David S. Miller <davem@davemloft.net> * elf/sparc.h (R_SPARC_GOTDATA_HIX22, diff --git a/include/elf/arm.h b/include/elf/arm.h index af623f1c1..e70188338 100644 --- a/include/elf/arm.h +++ b/include/elf/arm.h @@ -234,8 +234,7 @@ START_RELOC_NUMBERS (elf_arm_reloc_type) FAKE_RELOC (R_ARM_GOT32, R_ARM_GOT_BREL) /* 32 bit GOT entry. */ FAKE_RELOC (R_ARM_ROSEGREL32, R_ARM_SBREL31) /* ??? */ FAKE_RELOC (R_ARM_AMP_VCALL9, R_ARM_BREL_ADJ) /* Thumb-something. Not used. */ - -END_RELOC_NUMBERS (R_ARM_max = 256) +END_RELOC_NUMBERS (R_ARM_max) #ifdef BFD_ARCH_SIZE /* EABI object attributes. */ diff --git a/include/elf/common.h b/include/elf/common.h index c3d7d01ed..7a9f725cf 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -95,7 +95,7 @@ #define ET_HIPROC 0xFFFF /* Processor-specific */ /* Values for e_machine, which identifies the architecture. These numbers - are officially assigned by registry@sco.com. See below for a list of + are officially assigned by registry@caldera.com. See below for a list of ad-hoc numbers used during initial development. */ #define EM_NONE 0 /* No machine */ @@ -198,7 +198,7 @@ will have a collision. Instead, pick a random number. Normally, each entity or maintainer responsible for a machine with an - unofficial e_machine number should eventually ask registry@sco.com for + unofficial e_machine number should eventually ask registry@caldera.com for an officially blessed number to be added to the list above. */ /* Old version of Sparc v9, from before the ABI; diff --git a/include/elf/reloc-macros.h b/include/elf/reloc-macros.h index aefb85f2c..a67419d22 100644 --- a/include/elf/reloc-macros.h +++ b/include/elf/reloc-macros.h @@ -43,34 +43,6 @@ R_foo_count }; - Note: The value of the symbol defined in the END_RELOC_NUMBERS - macro (R_foo_count in the case of the example above) will be - set to the value of the whichever *_RELOC macro preceeds it plus - one. Therefore if you intend to use the symbol as a sentinel for - the highest valid macro value you should make sure that the - preceeding *_RELOC macro is the highest valid number. ie a - declaration like this: - - START_RELOC_NUMBERS (foo) - RELOC_NUMBER (R_foo_NONE, 0) - RELOC_NUMBER (R_foo_32, 1) - FAKE_RELOC (R_foo_illegal, 9) - FAKE_RELOC (R_foo_synonym, 0) - END_RELOC_NUMBERS (R_foo_count) - - will result in R_foo_count having a value of 1 (R_foo_synonym + 1) - rather than 10 or 2 as might be expected. - - Alternatively you can assign a value to END_RELOC_NUMBERS symbol - explicitly, like this: - - START_RELOC_NUMBERS (foo) - RELOC_NUMBER (R_foo_NONE, 0) - RELOC_NUMBER (R_foo_32, 1) - FAKE_RELOC (R_foo_illegal, 9) - FAKE_RELOC (R_foo_synonym, 0) - END_RELOC_NUMBERS (R_foo_count = 2) - If RELOC_MACROS_GEN_FUNC *is* defined, then instead the following function will be generated: diff --git a/include/elf/sh.h b/include/elf/sh.h index 49691168e..deb7a9dc1 100644 --- a/include/elf/sh.h +++ b/include/elf/sh.h @@ -54,7 +54,7 @@ bfd_mach_* are defined in bfd_in2.h (generated from archures.c). */ #define EF_SH_BFD_TABLE \ -/* EF_SH_UNKNOWN */ bfd_mach_sh , \ +/* EF_SH_UNKNOWN */ bfd_mach_sh3 , \ /* EF_SH1 */ bfd_mach_sh , \ /* EF_SH2 */ bfd_mach_sh2 , \ /* EF_SH3 */ bfd_mach_sh3 , \ |