aboutsummaryrefslogtreecommitdiff
path: root/elf.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2012-03-24 10:47:39 -0700
committerBlue Swirl <blauwirbel@gmail.com>2012-03-24 19:57:58 +0000
commitcb1977d308f6e1d6bf398d42e6148187b82456c1 (patch)
treed00b699a9f039d71c35d766c17953d8386545862 /elf.h
parente7bd63006412cb21bf2616f464955cf875a0f627 (diff)
tcg-sparc: Add debug_frame support.
Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'elf.h')
-rw-r--r--elf.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/elf.h b/elf.h
index 310e05a8e1..36bcac4c11 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
*/