summaryrefslogtreecommitdiff
path: root/elf.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-07-18 21:23:34 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-07-18 21:23:34 +0000
commit74ccb34e6b52d06d577b5e3695d86d7f440431df (patch)
tree365c29d79163c3a3d841f03786b526ae989df119 /elf.h
parent5ef54116ea1c576995f0074b71400bf7bda08cf1 (diff)
downloadqemu-74ccb34e6b52d06d577b5e3695d86d7f440431df.tar.gz
qemu-74ccb34e6b52d06d577b5e3695d86d7f440431df.tar.bz2
qemu-74ccb34e6b52d06d577b5e3695d86d7f440431df.zip
Sparc64 host support (Blue Swirl)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2064 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'elf.h')
-rw-r--r--elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf.h b/elf.h
index 0dc82e7ca4..8ceb949769 100644
--- a/elf.h
+++ b/elf.h
@@ -227,6 +227,7 @@ typedef struct {
#define ELF64_R_SYM(i) ((i) >> 32)
#define ELF64_R_TYPE(i) ((i) & 0xffffffff)
+#define ELF64_R_TYPE_DATA(i) (((ELF64_R_TYPE(i) >> 8) ^ 0x00800000) - 0x00800000)
#define R_386_NONE 0
#define R_386_32 1
@@ -326,6 +327,7 @@ typedef struct {
#define R_SPARC_10 30
#define R_SPARC_11 31
#define R_SPARC_64 32
+#define R_SPARC_OLO10 33
#define R_SPARC_WDISP16 40
#define R_SPARC_WDISP19 41
#define R_SPARC_7 43