summaryrefslogtreecommitdiff
path: root/utils/ldd.c
diff options
context:
space:
mode:
authorSergey Matyukevich <sergey.matyukevich@synopsys.com>2022-09-20 16:14:18 +0400
committerWaldemar Brodkorb <wbx@openadk.org>2022-09-27 12:01:22 +0200
commitaa9e34c70f5173269f1e81f9ce08661c0f357617 (patch)
treec8cf4216fb3ad04244550a07442f67c6c14d8b17 /utils/ldd.c
parent0f2cede0fafc059348c3a0c470a82be1c3ed7d4b (diff)
arc: minor cleanup for ARCv2
Add missing ARCv2 check in MATCH_MACHINE macro. Update comment for EM_ARCV2 define. Signed-off-by: Sergey Matyukevich <sergey.matyukevich@synopsys.com> Signed-off-by: Pavel Kozlov <pavel.kozlov@synopsys.com>
Diffstat (limited to 'utils/ldd.c')
-rw-r--r--utils/ldd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ldd.c b/utils/ldd.c
index dfc4ee9a5..3accd7839 100644
--- a/utils/ldd.c
+++ b/utils/ldd.c
@@ -30,7 +30,7 @@
#endif
#if defined(__arc__)
-#define MATCH_MACHINE(x) (x == EM_ARCOMPACT)
+#define MATCH_MACHINE(x) (x == EM_ARCOMPACT || x == EM_ARCV2)
#define ELFCLASSM ELFCLASS32
#endif