diff options
author | Matt Fleming <matt@console-pimps.org> | 2010-04-13 12:10:31 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2010-04-13 12:10:31 -0700 |
commit | 3d1020f0cc2adc408211ef163e71184e6084192b (patch) | |
tree | fabcbc3296b542bd3b522a72a75c53b3cc2e5fd4 /elf/elf.h | |
parent | 0dabf204ef2efaff8fa01a8d5d0f17eb8c0db796 (diff) | |
download | glibc-3d1020f0cc2adc408211ef163e71184e6084192b.tar.gz glibc-3d1020f0cc2adc408211ef163e71184e6084192b.tar.xz glibc-3d1020f0cc2adc408211ef163e71184e6084192b.zip |
elf/elf.h: Add SH specific ELF header flags.
Diffstat (limited to 'elf/elf.h')
-rw-r--r-- | elf/elf.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/elf/elf.h b/elf/elf.h index 1efe359119..a9558a3ddd 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -2477,6 +2477,30 @@ typedef Elf32_Addr Elf32_Conflict; /* SH specific declarations */ +/* Processor specific flags for the ELF header e_flags field. */ +#define EF_SH_MACH_MASK 0x1f +#define EF_SH_UNKNOWN 0x0 +#define EF_SH1 0x1 +#define EF_SH2 0x2 +#define EF_SH3 0x3 +#define EF_SH_DSP 0x4 +#define EF_SH3_DSP 0x5 +#define EF_SH4AL_DSP 0x6 +#define EF_SH3E 0x8 +#define EF_SH4 0x9 +#define EF_SH2E 0xb +#define EF_SH4A 0xc +#define EF_SH2A 0xd +#define EF_SH4_NOFPU 0x10 +#define EF_SH4A_NOFPU 0x11 +#define EF_SH4_NOMMU_NOFPU 0x12 +#define EF_SH2A_NOFPU 0x13 +#define EF_SH3_NOMMU 0x14 +#define EF_SH2A_SH4_NOFPU 0x15 +#define EF_SH2A_SH3_NOFPU 0x16 +#define EF_SH2A_SH4 0x17 +#define EF_SH2A_SH3E 0x18 + /* SH relocs. */ #define R_SH_NONE 0 #define R_SH_DIR32 1 |