aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-22 21:59:00 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-22 21:59:00 +0000
commit30483570cf708e2e905799cfd6c8b78ac616d83a (patch)
tree10c00ceb5a8c2a3faeffc3fd963428ab2f17df10 /bfd
parentc13661938a5e6982773369271cde235bb81dc7ef (diff)
downloadgdb-30483570cf708e2e905799cfd6c8b78ac616d83a.zip
gdb-30483570cf708e2e905799cfd6c8b78ac616d83a.tar.gz
gdb-30483570cf708e2e905799cfd6c8b78ac616d83a.tar.bz2
Let ELF header now define the macros to get the enum.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/elf-m10300.c4
-rw-r--r--bfd/elf32-mips.c4
-rw-r--r--bfd/elf32-ppc.c4
3 files changed, 0 insertions, 12 deletions
diff --git a/bfd/elf-m10300.c b/bfd/elf-m10300.c
index 5eca1e6..94b41b1 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 75acda6..a0fae0d 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 5d178a4..a1ff1e1 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 */