From: Ulrich Drepper Date: Wed, 22 Jul 1998 21:59:00 +0000 (+0000) Subject: Let ELF header now define the macros to get the enum. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=30483570cf708e2e905799cfd6c8b78ac616d83a;p=binutils-gdb.git Let ELF header now define the macros to get the enum. --- diff --git a/bfd/elf-m10300.c b/bfd/elf-m10300.c index 5eca1e62bb9..94b41b1a717 100644 --- a/bfd/elf-m10300.c +++ b/bfd/elf-m10300.c @@ -21,10 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "sysdep.h" #include "libbfd.h" #include "elf-bfd.h" - -#define START_RELOC_NUMBERS(name) enum name { -#define RELOC_NUMBER(name, number) name = number , -#define END_RELOC_NUMBERS R_MN10300_MAX }; #include "elf/mn10300.h" struct elf32_mn10300_link_hash_entry diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index 75acda6edb6..a0fae0d4332 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -30,10 +30,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "bfdlink.h" #include "genlink.h" #include "elf-bfd.h" - -#define START_RELOC_NUMBERS(name) enum name { -#define RELOC_NUMBER(name, number) name = number , -#define END_RELOC_NUMBERS }; #include "elf/mips.h" /* Get the ECOFF swapping routines. */ diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 5d178a4c639..a1ff1e1681e 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -28,10 +28,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "bfdlink.h" #include "libbfd.h" #include "elf-bfd.h" - -#define START_RELOC_NUMBERS(name) enum name { -#define RELOC_NUMBER(name, number) name = number , -#define END_RELOC_NUMBERS }; #include "elf/ppc.h" #define USE_RELA /* we want RELA relocations, not REL */