]> git.proxmox.com Git - qemu.git/blobdiff - elf.h
alpha-linux-user: Initialize fpu to round-to-normal.
[qemu.git] / elf.h
diff --git a/elf.h b/elf.h
index 2e05d34620fa1fe2cc86292a24884389f3e76835..310e05a8e1c02eeffa0c0b4a916dc498207430b9 100644 (file)
--- a/elf.h
+++ b/elf.h
@@ -216,6 +216,7 @@ typedef int64_t  Elf64_Sxword;
 
 #define ELF_ST_BIND(x)         ((x) >> 4)
 #define ELF_ST_TYPE(x)         (((unsigned int) x) & 0xf)
+#define ELF_ST_INFO(bind, type) (((bind) << 4) | ((type) & 0xf))
 #define ELF32_ST_BIND(x)       ELF_ST_BIND(x)
 #define ELF32_ST_TYPE(x)       ELF_ST_TYPE(x)
 #define ELF64_ST_BIND(x)       ELF_ST_BIND(x)