diff options
author | Nick Clifton <nickc@redhat.com> | 2011-03-28 11:18:20 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2011-03-28 11:18:20 +0000 |
commit | 9f9a0b1a43aeb6c5a10b20b06d92d93220006386 (patch) | |
tree | 37afca48cf99a1a6ad491e7afccc1584a6bb6834 /ld/configure.tgt | |
parent | b6d40962544d522ac71d42dca804ea686a650f4d (diff) | |
download | binutils-redhat-9f9a0b1a43aeb6c5a10b20b06d92d93220006386.tar.gz |
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 88ebee3c1c..f574e241ad 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*) ;; |