From cb1977d308f6e1d6bf398d42e6148187b82456c1 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 24 Mar 2012 10:47:39 -0700 Subject: tcg-sparc: Add debug_frame support. Signed-off-by: Richard Henderson Signed-off-by: Blue Swirl --- elf.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'elf.h') diff --git a/elf.h b/elf.h index 310e05a..36bcac4 100644 --- a/elf.h +++ b/elf.h @@ -346,6 +346,21 @@ typedef struct { #define R_MIPS_HIVENDOR 127 +/* SUN SPARC specific definitions. */ + +/* Values for Elf64_Ehdr.e_flags. */ + +#define EF_SPARCV9_MM 3 +#define EF_SPARCV9_TSO 0 +#define EF_SPARCV9_PSO 1 +#define EF_SPARCV9_RMO 2 +#define EF_SPARC_LEDATA 0x800000 /* little endian data */ +#define EF_SPARC_EXT_MASK 0xFFFF00 +#define EF_SPARC_32PLUS 0x000100 /* generic V8+ features */ +#define EF_SPARC_SUN_US1 0x000200 /* Sun UltraSPARC1 extensions */ +#define EF_SPARC_HAL_R1 0x000400 /* HAL R1 extensions */ +#define EF_SPARC_SUN_US3 0x000800 /* Sun UltraSPARCIII extensions */ + /* * Sparc ELF relocation types */ -- cgit v1.1