aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorEmery Hemingway <ehmry@posteo.net>2021-02-01 17:31:47 +0000
committerNick Clifton <nickc@redhat.com>2021-02-01 17:31:47 +0000
commit1f568f9a0d1787978de0ad3b80d5f71dfba91f14 (patch)
tree48162c57f2dcf6b3b32ffe7a09036d809454b578 /ld
parentc39c86378fca7ea4cf8b5766e5b317e55d3d6e72 (diff)
downloadgdb-1f568f9a0d1787978de0ad3b80d5f71dfba91f14.zip
gdb-1f568f9a0d1787978de0ad3b80d5f71dfba91f14.tar.gz
gdb-1f568f9a0d1787978de0ad3b80d5f71dfba91f14.tar.bz2
Add Genode target support
* configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/configure.tgt8
2 files changed, 8 insertions, 4 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index a84da33..6cf9d70 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-01 Emery Hemingway <ehmry@posteo.net>
+
+ * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
+
2021-02-01 Alan Modra <amodra@gmail.com>
* ldgram.y (defsym_expr): Use assignment rule.
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 0c780b2..ee00aa3 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -46,7 +46,7 @@ case "${targ}" in
aarch64_be-*-elf) targ_emul=aarch64elfb
targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b armelfb armelf"
;;
-aarch64-*-elf | aarch64-*-rtems*)
+aarch64-*-elf | aarch64-*-rtems* | aarch64-*-genode*)
targ_emul=aarch64elf
targ_extra_emuls="aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb"
;;
@@ -148,7 +148,7 @@ arm-*-phoenix*) targ_emul=armelf
armeb-*-elf | armeb-*-eabi*)
targ_emul=armelfb
;;
-arm-*-elf | arm*-*-eabi* | arm-*-rtems*)
+arm-*-elf | arm*-*-eabi* | arm-*-rtems* | arm-*-genode*)
targ_emul=armelf
;;
arm*-*-symbianelf*) targ_emul=armsymbian;;
@@ -354,7 +354,7 @@ i[3-7]86-*-netbsdpe*) targ_emul=i386pe
i[3-7]86-*-elfiamcu) targ_emul=elf_iamcu
targ_extra_emuls=elf_i386
;;
-i[3-7]86-*-elf* | i[3-7]86-*-rtems*)
+i[3-7]86-*-elf* | i[3-7]86-*-rtems* | i[3-7]86-*-genode*)
targ_emul=elf_i386
targ_extra_emuls=elf_iamcu
;;
@@ -969,7 +969,7 @@ x86_64-*-netbsd* | x86_64-*-openbsd*)
sed -e 's/netbsd/netbsdelf/'`;;
esac
;;
-x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia*)
+x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia* | x86_64-*-genode*)
targ_emul=elf_x86_64
targ_extra_emuls="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om"
targ_extra_libpath="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om"