summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorGuo Ren <ren_guo@c-sky.com>2018-12-26 17:54:55 +0800
committerWaldemar Brodkorb <wbrodkorb@conet.de>2018-12-31 11:12:44 +0100
commitac48ce2b5c4f62ffc7d4986c1c7df17beaa18d64 (patch)
tree352aa9c1f44c50aec72239d79bb5d19b6b48d182 /ldso
parent365d19dfec4437b7a8227f594953a54c76863278 (diff)
csky: Add EM_CSKY for ldso
Support EM_CSKY 252 elf format. Changelog: Increase EM_NUM to 253 Signed-off-by: Guo Ren <ren_guo@c-sky.com> Signed-off-by: Mao Han <han_mao@c-sky.com>
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/csky/dl-sysdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/csky/dl-sysdep.h b/ldso/ldso/csky/dl-sysdep.h
index 04aae68f6..223045053 100644
--- a/ldso/ldso/csky/dl-sysdep.h
+++ b/ldso/ldso/csky/dl-sysdep.h
@@ -18,7 +18,7 @@ do { \
/* Here we define the magic numbers that this dynamic loader should accept */
#define MAGIC1 EM_MCORE
-#undef MAGIC2
+#define MAGIC2 EM_CSKY
/* Used for error messages */
#define ELF_TARGET "csky"