libbsd: Branch 'master'

Guillem Jover guillem at kemper.freedesktop.org
Thu Mar 6 13:15:20 PST 2014


 src/local-elf.h |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit a88bb8380db5343c57130ac80c787c7869eae3c7
Author: Christian Svensson <debian at cmd.nu>
Date:   Thu Mar 6 22:10:36 2014 +0100

    Add OpenRISC support to nlist()
    
    Signed-off-by: Guillem Jover <guillem at hadrons.org>

diff --git a/src/local-elf.h b/src/local-elf.h
index 3f935ac..612ce12 100644
--- a/src/local-elf.h
+++ b/src/local-elf.h
@@ -179,6 +179,12 @@
 #endif
 #define ELF_TARG_DATA	ELFDATA2MSB
 
+#elif defined(__or1k__)
+
+#define ELF_TARG_MACH	EM_OPENRISC
+#define ELF_TARG_CLASS	ELFCLASS32
+#define ELF_TARG_DATA	ELFDATA2MSB
+
 #else
 
 #error Unknown ELF machine type


More information about the libbsd mailing list