diff options
author | Nick Clifton <nickc@redhat.com> | 1998-08-05 22:53:57 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1998-08-05 22:53:57 +0000 |
commit | 455adeb6be46456f4a3584c961f47001828d9faa (patch) | |
tree | 5b0a522fefe2d7f8193203cbd8394300ff6c841c /include | |
parent | 0e7361bcd55ad73ee04a092607fbc5603d5cf171 (diff) | |
download | fsf-binutils-gdb-455adeb6be46456f4a3584c961f47001828d9faa.zip fsf-binutils-gdb-455adeb6be46456f4a3584c961f47001828d9faa.tar.gz fsf-binutils-gdb-455adeb6be46456f4a3584c961f47001828d9faa.tar.bz2 |
Add ARM ELF header flags
Diffstat (limited to 'include')
-rw-r--r-- | include/elf/ChangeLog | 8 | ||||
-rw-r--r-- | include/elf/arm.h | 14 |
2 files changed, 20 insertions, 2 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index bc852fe..dde8982 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -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. diff --git a/include/elf/arm.h b/include/elf/arm.h index 45f7069..963031d 100644 --- a/include/elf/arm.h +++ b/include/elf/arm.h @@ -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 */ |