aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.tgt
diff options
context:
space:
mode:
authorAlexander von Gluck IV <kallisti5@unixzen.com>2021-09-02 12:19:14 +0100
committerNick Clifton <nickc@redhat.com>2021-09-02 12:19:14 +0100
commitd85e70a35bffa755fd3e9f4ccc6bf6c64953e85d (patch)
tree4fe42b81c0faa1a152338545a5318863f7fbbc41 /ld/configure.tgt
parent718aefcf55cc5a9de3f73d9a37259f8f792b1cef (diff)
downloadgdb-d85e70a35bffa755fd3e9f4ccc6bf6c64953e85d.zip
gdb-d85e70a35bffa755fd3e9f4ccc6bf6c64953e85d.tar.gz
gdb-d85e70a35bffa755fd3e9f4ccc6bf6c64953e85d.tar.bz2
Add support for the haiku operating system. These are the os support patches we have been grooming and maintaining for quite a few years over on git.haiku-os.org. All of these architectures are working and most have been stable for quite some time.
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r--ld/configure.tgt20
1 files changed, 20 insertions, 0 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index d46ed62..5411104 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -77,6 +77,9 @@ aarch64-*-linux*) targ_emul=aarch64linux
targ_extra_libpath="aarch64linuxb aarch64linux32 aarch64linux32b armelfb_linux_eabi armelf_linux_eabi"
targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb $targ_extra_libpath"
;;
+aarch64-*-haiku*) targ_emul=aarch64haiku
+ targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb armelf_haiku $targ_extra_libpath"
+ ;;
alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
targ_emul=elf64alpha_fbsd
targ_extra_emuls="elf64alpha alpha"
@@ -199,6 +202,9 @@ arm*-*-conix*) targ_emul=armelf
arm*-*-fuchsia*) targ_emul=armelf_fuchsia
targ_extra_emuls="armelfb_fuchsia armelf armelfb"
;;
+arm*-*-haiku*) arg_emul=armelf_haiku
+ targ_extra_emuls=armelf
+ ;;
avr-*-*) targ_emul=avr2
targ_extra_emuls="avr1 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega1 avrxmega2 avrxmega3 avrxmega4 avrxmega5 avrxmega6 avrxmega7 avrtiny"
;;
@@ -395,6 +401,8 @@ i[3-7]86-*-beospe*) targ_emul=i386beos
;;
i[3-7]86-*-beos*) targ_emul=elf_i386_be
;;
+i[3-7]86-*-haiku*) targ_emul=elf_i386_haiku
+ ;;
i[3-7]86-*-vxworks*) targ_emul=elf_i386_vxworks
;;
i[3-7]86-*-chaos) targ_emul=elf_i386_chaos
@@ -448,6 +456,8 @@ m68hc12-*-*|m6812-*-*) targ_emul=m68hc12elf
;;
m68*-*-netbsd*) targ_emul=m68kelfnbsd
;;
+m68*-*-haiku*) targ_emul=m68kelf
+ ;;
m68*-*-*) targ_emul=m68kelf
;;
mcore-*-pe) targ_emul=mcorepe ;
@@ -477,6 +487,9 @@ mips*-sgi-irix6*) targ_emul=elf32bmipn32
targ_extra_emuls="elf32bsmip elf64bmip"
targ_extra_libpath=$targ_extra_emuls
;;
+mips*el-*-haiku*) targ_emul=elf_mipsel_haiku
+ targ_extra_emuls="elf32ltsmip elf32btsmip elf32ltsmipn32 elf64ltsmip elf32btsmipn32 elf64btsmip"
+ ;;
mips*el-*-netbsd*) targ_emul=elf32ltsmip
targ_extra_emuls="elf32btsmip elf64ltsmip elf64btsmip"
;;
@@ -733,6 +746,8 @@ powerpc-*-aix*) targ_emul=aixppc
powerpc-*-beos*) targ_emul=aixppc
targ_extra_ofiles=
;;
+powerpc-*-haiku*) targ_emul=elf32ppchaiku
+ ;;
powerpc-*-windiss*) targ_emul=elf32ppcwindiss
;;
pru*-*-*) targ_emul=pruelf
@@ -869,6 +884,8 @@ sparc64-*-solaris2* | sparcv9-*-solaris2*)
targ_extra_libpath=$targ_extra_emuls
tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'`
;;
+sparc64-*-haiku*) targ_emul=elf64_sparc
+ ;;
sparc64-*-*) targ_emul=elf64_sparc
;;
sparc*-*-linux-*) targ_emul=elf32_sparc
@@ -936,6 +953,9 @@ x86_64-*-rdos*) targ_emul=elf64rdos
;;
x86_64-*-cloudabi*) targ_emul=elf_x86_64_cloudabi
;;
+x86_64-*-haiku*) targ_emul=elf_x86_64_haiku
+ targ_extra_emuls="elf_x86_64 elf_i386_haiku"
+ ;;
x86_64-*-linux-gnux32) targ_emul=elf32_x86_64
targ_extra_emuls="elf_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om"
targ_extra_libpath="elf_i386 elf_iamcu elf_x86_64 elf_l1om elf_k1om"