diff options
author | Guo Ren <ren_guo@c-sky.com> | 2017-11-24 21:24:19 +0800 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2017-11-24 18:13:40 +0100 |
commit | da2fa8ebe3118a32036199880589760584882ac9 (patch) | |
tree | e1c2cfd764a3f024762315de1500294ac65acf45 | |
parent | 3ea3fb3ff7153e3d3859f971160a80a0d2403eea (diff) |
utils: add EM_MCORE for csky machine.
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
-rw-r--r-- | utils/ldd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/ldd.c b/utils/ldd.c index 963dd1a9f..4c5635ca7 100644 --- a/utils/ldd.c +++ b/utils/ldd.c @@ -54,6 +54,11 @@ #define ELFCLASSM ELFCLASS32 #endif +#if defined(__csky__) +#define MATCH_MACHINE(x) (x == EM_MCORE) +#define ELFCLASSM ELFCLASS32 +#endif + #if defined(__frv__) #define MATCH_MACHINE(x) (x == EM_CYGNUS_FRV) #define ELFCLASSM ELFCLASS32 |