From: Alan Modra Date: Thu, 15 Aug 2002 12:21:39 +0000 (+0000) Subject: * elf32-i370.c: Move reloc enum to include/elf/i370.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c5cd6d622673cde22d4e304fba85703c4dc23c3c;p=binutils-gdb.git * elf32-i370.c: Move reloc enum to include/elf/i370.h. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 1dd0ec856df..903d4c89492 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2002-08-15 Alan Modra + + * elf32-i370.c: Move reloc enum to include/elf/i370.h. + 2002-08-15 Hans-Peter Nilsson * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Add @@ -108,7 +112,7 @@ 2002-08-08 H.J. Lu - * elflink.h (elf_add_default_symbol): Don't warn a defintion + * elflink.h (elf_add_default_symbol): Don't warn if a definition overrides an indirect versioned symbol. 2002-08-08 Jakub Jelinek @@ -1924,7 +1928,7 @@ 2002-05-21 Thiemo Seufer - * bfd/bfd.c (bfd_get_arch_size): Remove bfd_set_error call for + * bfd.c (bfd_get_arch_size): Remove bfd_set_error call for non-ELF targets. 2002-05-21 Thiemo Seufer @@ -2370,7 +2374,7 @@ 2002-04-30 Mark Mitchell - * bfd/config.bfd: Add support for powerpc-*-windiss. + * config.bfd: Add support for powerpc-*-windiss. 2002-04-30 Tom Rix @@ -4020,7 +4024,7 @@ 2002-01-25 Steve Ellcey - * bfd/elfxx-ia64.c: Reset AIX vector function overrides for HP-UX. + * elfxx-ia64.c: Reset AIX vector function overrides for HP-UX. 2002-01-25 Philipp Thomas @@ -4054,8 +4058,7 @@ 2002-01-23 Steve Ellcey - * bfd/targets.c (bfd_elf32_ia64_hpux_big_vec): Add to - DEFAULT_VECTOR. + * targets.c (bfd_elf32_ia64_hpux_big_vec): Add to DEFAULT_VECTOR. (bfd_elf64_ia64_hpux_big_vec): Ditto. (bfd_elf32_h8300_vec): Ditto. diff --git a/bfd/elf32-i370.c b/bfd/elf32-i370.c index 3ba50ba851c..d047f0106e2 100644 --- a/bfd/elf32-i370.c +++ b/bfd/elf32-i370.c @@ -34,30 +34,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "elf-bfd.h" #include "elf/i370.h" -/* i370 relocations */ -/* Note that there is really just one relocation that we currently - * support (and only one that we seem to need, at the moment), and - * that is the 31-bit address relocation. Note that the 370/390 - * only supports a 31-bit (2GB) address space. - */ -enum i370_reloc_type -{ - R_I370_NONE = 0, - R_I370_ADDR31 = 1, - R_I370_ADDR32 = 2, - R_I370_ADDR16 = 3, - R_I370_REL31 = 4, - R_I370_REL32 = 5, - R_I370_ADDR12 = 6, - R_I370_REL12 = 7, - R_I370_ADDR8 = 8, - R_I370_REL8 = 9, - R_I370_COPY = 10, - R_I370_RELATIVE = 11, - - R_I370_max -}; - static reloc_howto_type *i370_elf_howto_table[ (int)R_I370_max ]; static reloc_howto_type i370_elf_howto_raw[] =