diff options
author | Nick Clifton <nickc@redhat.com> | 2011-03-28 11:18:27 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2011-03-28 11:18:27 +0000 |
commit | 5b806d279379d653094d290ae57498ad4ddd6cbf (patch) | |
tree | d3966f050b1757f3c84268f6b56c4c1ff3c23d58 /ld/configure.tgt | |
parent | f31d24a0a1236c774e77b9bdb69eab870dddb8e9 (diff) | |
download | gdb-5b806d279379d653094d290ae57498ad4ddd6cbf.zip gdb-5b806d279379d653094d290ae57498ad4ddd6cbf.tar.gz gdb-5b806d279379d653094d290ae57498ad4ddd6cbf.tar.bz2 |
Add support for DragonFlyBSD target.
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r-- | ld/configure.tgt | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt index 88ebee3..f574e24 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -249,7 +249,11 @@ x86_64-*-elf*) targ_emul=elf_x86_64 i[3-7]86-*-kaos*) targ_emul=elf_i386 ;; i[3-7]86-*-freebsdaout* | i[3-7]86-*-freebsd[12].* | i[3-7]86-*-freebsd[12]) targ_emul=i386bsd ;; -i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu | i[3-7]86-*-dragonfly*) +i[3-7]86-*-dragonfly*) targ_emul=elf_i386 + targ_extra_emuls="i386bsd" ;; +x86_64-*-dragonfly*) targ_emul=elf_x86_64 + targ_extra_emuls="elf_i386 elf_l1om" ;; +i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu) targ_emul=elf_i386_fbsd targ_extra_emuls="elf_i386 i386bsd" ;; x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) @@ -683,7 +687,11 @@ esac NATIVE_LIB_DIRS='/usr/local/lib /lib /usr/lib' case "${target}" in -*-*-freebsd* | *-*-dragonfly*) +*-*-dragonfly*) + NATIVE_LIB_DIRS='/usr/lib /usr/pkg/lib /usr/local/lib' + ;; + +*-*-freebsd*) NATIVE_LIB_DIRS='/lib /usr/lib /usr/local/lib' ;; @@ -723,9 +731,6 @@ i[03-9x]86-*-cygwin*) *-*-linux*) ;; -*-*-freebsd* | *-*-dragonfly*) - ;; - *-*-netbsd*) ;; |