summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2016-04-20 13:14:13 +0200
committerRich Felker <dalias@aerifal.cx>2016-07-03 16:11:05 -0400
commit308e4bc61883c82aeda70e20367b656cd35899f1 (patch)
treefebd9e1305a785b618bc1a5991e84d6826d2fa58
parentbefa5866ee30d09c0c96e88af2eabff5911342ea (diff)
downloadmusl-308e4bc61883c82aeda70e20367b656cd35899f1.tar.gz
add EM_OPENRISC again to elf.h
it was changed to EM_OR1K in 200d15479c0bc48471ee7b8e538ce33af990f82e as that was meant to be the official name, but glibc and the latest gabi spec still uses the EM_OPENRISC name: http://www.sco.com/developers/gabi/latest/ch4.eheader.html binutils defines both macros so we should do the same for backward compatibility.
-rw-r--r--include/elf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/elf.h b/include/elf.h
index 8b3cd3ed..745d8998 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -210,6 +210,7 @@ typedef struct {
#define EM_MN10200 90
#define EM_PJ 91
#define EM_OR1K 92
+#define EM_OPENRISC 92
#define EM_ARC_A5 93
#define EM_XTENSA 94
#define EM_AARCH64 183