diff options
| author | Matt Fleming <[email protected]> | 2010-04-10 19:13:37 -0700 |
|---|---|---|
| committer | Ulrich Drepper <[email protected]> | 2010-04-10 19:13:37 -0700 |
| commit | d80f0b2cf8f28ca3e08a7650d636ddca6ffb6f43 (patch) | |
| tree | 1ae8837ad7d6668086b9039cebd10bf2b47c7a82 /libelf/elf.h | |
| parent | c2d1e4811f159ee5779b6c2c9e459e12170effc9 (diff) | |
Complete SH port.
Diffstat (limited to 'libelf/elf.h')
| -rw-r--r-- | libelf/elf.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libelf/elf.h b/libelf/elf.h index f41a0264..418bbd55 100644 --- a/libelf/elf.h +++ b/libelf/elf.h @@ -2476,6 +2476,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 |
