Let ELF header now define the macros to get the enum.

This commit is contained in:
Ulrich Drepper 1998-07-22 21:59:00 +00:00
parent c13661938a
commit 30483570cf
3 changed files with 0 additions and 12 deletions

View file

@ -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

View file

@ -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. */

View file

@ -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 */