Let ELF header now define the macros to get the enum.
This commit is contained in:
parent
c13661938a
commit
30483570cf
|
@ -21,10 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||||
#include "sysdep.h"
|
#include "sysdep.h"
|
||||||
#include "libbfd.h"
|
#include "libbfd.h"
|
||||||
#include "elf-bfd.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"
|
#include "elf/mn10300.h"
|
||||||
|
|
||||||
struct elf32_mn10300_link_hash_entry
|
struct elf32_mn10300_link_hash_entry
|
||||||
|
|
|
@ -30,10 +30,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||||
#include "bfdlink.h"
|
#include "bfdlink.h"
|
||||||
#include "genlink.h"
|
#include "genlink.h"
|
||||||
#include "elf-bfd.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"
|
#include "elf/mips.h"
|
||||||
|
|
||||||
/* Get the ECOFF swapping routines. */
|
/* Get the ECOFF swapping routines. */
|
||||||
|
|
|
@ -28,10 +28,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||||
#include "bfdlink.h"
|
#include "bfdlink.h"
|
||||||
#include "libbfd.h"
|
#include "libbfd.h"
|
||||||
#include "elf-bfd.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"
|
#include "elf/ppc.h"
|
||||||
|
|
||||||
#define USE_RELA /* we want RELA relocations, not REL */
|
#define USE_RELA /* we want RELA relocations, not REL */
|
||||||
|
|
Loading…
Reference in New Issue