summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorSergey Matyukevich <sergey.matyukevich@synopsys.com>2022-09-20 16:14:21 +0400
committerWaldemar Brodkorb <wbx@openadk.org>2022-09-27 12:01:23 +0200
commitde6be7bc60f190a0d746945a3a5a143bc93a1a65 (patch)
treec0782171a037b778f09a8dd19b8cd170c88ce702 /ldso
parenta7c587f5cd390f92970c2c4b5a538ac27ea3f119 (diff)
arc: add support for ARCv3 32-bit processors
New ARCv3 ISA includes both 64-bit and 32-bit CPU family. This patch adds support for 32-bit ARCv3 HS5x processors. Signed-off-by: Sergey Matyukevich <sergey.matyukevich@synopsys.com> Signed-off-by: Pavel Kozlov <pavel.kozlov@synopsys.com>
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/arc/dl-sysdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ldso/ldso/arc/dl-sysdep.h b/ldso/ldso/arc/dl-sysdep.h
index ed8b37205..c8915511a 100644
--- a/ldso/ldso/arc/dl-sysdep.h
+++ b/ldso/ldso/arc/dl-sysdep.h
@@ -75,6 +75,9 @@ do { \
#elif defined(__HS__)
#define MAGIC1 EM_ARCV2
#define ELF_TARGET "ARCv2" /* For error messages */
+#elif defined(__ARC64_ARCH32__)
+#define MAGIC1 EM_ARCV3_32
+#define ELF_TARGET "ARCv3_32" /* For error messages */
#endif
#undef MAGIC2