From 455adeb6be46456f4a3584c961f47001828d9faa Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 5 Aug 1998 22:53:57 +0000 Subject: [PATCH] Add ARM ELF header flags --- include/elf/ChangeLog | 8 ++++++++ include/elf/arm.h | 14 ++++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index bc852fef2e4..dde8982ca9b 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,11 @@ +Wed Aug 5 15:52:35 1998 Nick Clifton + + * 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 * mips.h: Add missing RHF_* constants. diff --git a/include/elf/arm.h b/include/elf/arm.h index 45f7069a0b0..963031d4d87 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 */ -- 2.30.2