Add ARM ELF header flags

This commit is contained in:
Nick Clifton 1998-08-05 22:53:57 +00:00
parent 0e7361bcd5
commit 455adeb6be
2 changed files with 20 additions and 2 deletions

View File

@ -1,3 +1,11 @@
Wed Aug 5 15:52:35 1998 Nick Clifton <nickc@cygnus.com>
* arm.h: Add ELF header flags to specify compile time optins:
EF_INTERWORK: New flag.
EF_APCS_26: New flag.
EF_APCS_FLOAT: New flag.
EF_PIC: New flag.
1998-07-31 21:28 Ulrich Drepper <drepper@cygnus.com>
* mips.h: Add missing RHF_* constants.

View File

@ -23,8 +23,18 @@
#include "elf/reloc-macros.h"
/* Processor specific flags for the ELF header e_flags field. */
#define EF_ARM_RELEXEC 0x01
#define EF_ARM_HASENTRY 0x02
#define EF_ARM_RELEXEC 0x01
#define EF_ARM_HASENTRY 0x02
#define EF_INTERWORK 0x04
#define EF_APCS_26 0x08
#define EF_APCS_FLOAT 0x10
#define EF_PIC 0x20
/* Local aliases for some flags to match names used by COFF port. */
#define F_INTERWORK EF_INTERWORK
#define F_APCS26 EF_APCS_26
#define F_APCS_FLOAT EF_APCS_FLOAT
#define F_PIC EF_PIC
/* ARM-specific values for sh_flags */
#define SHF_ENTRYSECT 0x10000000 /* Section contains an entry point */