From 48082436af4b4072064d7245c96124f6797babfb Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 7 Jun 2000 03:43:33 +0000 Subject: Get rid of the -1 dummy valued enum in START_RELOC_NUMBERS. Remove duplicate reloc enums in elf32-d[13]0v.c Remove EMPTY_HOWTOs in elf32-i386.c --- bfd/elf32-d30v.c | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'bfd/elf32-d30v.c') diff --git a/bfd/elf32-d30v.c b/bfd/elf32-d30v.c index 52bafb99af..c7fde2b465 100644 --- a/bfd/elf32-d30v.c +++ b/bfd/elf32-d30v.c @@ -22,6 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "sysdep.h" #include "libbfd.h" #include "elf-bfd.h" +#include "elf/d30v.h" static reloc_howto_type *bfd_elf32_bfd_reloc_type_lookup PARAMS ((bfd *abfd, bfd_reloc_code_real_type code)); @@ -46,24 +47,6 @@ static bfd_reloc_status_type bfd_elf_d30v_reloc_21 PARAMS (( bfd *output_bfd, char **error_message)); -enum reloc_type -{ - R_D30V_NONE = 0, - R_D30V_6, - R_D30V_9_PCREL, - R_D30V_9_PCREL_R, - R_D30V_15, - R_D30V_15_PCREL, - R_D30V_15_PCREL_R, - R_D30V_21, - R_D30V_21_PCREL, - R_D30V_21_PCREL_R, - R_D30V_32, - R_D30V_32_PCREL, - R_D30V_32_NORMAL, - R_D30V_max -}; - static reloc_howto_type elf_d30v_howto_table[] = { /* This reloc does nothing. */ -- cgit v1.2.1