diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-10-18 23:58:52 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-10-18 23:58:52 +0000 |
commit | 71a75f6f15bcaf99d98bb50ddd57ec8e8d1bbc9d (patch) | |
tree | d011cc97e090b899771347dc709397573fd767de /bfd/config.bfd | |
parent | 981c7f5a30140027e173d12ba33b8b650f850447 (diff) | |
download | gdb-71a75f6f15bcaf99d98bb50ddd57ec8e8d1bbc9d.zip gdb-71a75f6f15bcaf99d98bb50ddd57ec8e8d1bbc9d.tar.gz gdb-71a75f6f15bcaf99d98bb50ddd57ec8e8d1bbc9d.tar.bz2 |
2006-10-18 Roy Marples <uberlord@gentoo.org>
* bfd/elf64-sparc.c: Add FreeBSD support.
(elf64_sparc_fbsd_post_process_headers): New function.
* bfd/targets.c (_bfd_target_vector): Add bfd_elf64_sparc_freebsd_vec.
* bfd/config.bfd (sparc64-*-freebsd*): Set targ_defvec to bfd_elf64_sparc_freebsd_vec.
* bfd/configure.in: Add entry for bfd_elf64_sparc_freebsd_vec.
* bfd/configure: Regenerate.
* gas/config/tc-sparc.c (md_parse_option): Treat any target starting with elf32-sparc
as a viable target for the -32 switch and any target starting with elf64-sparc as a
viable target for the -64 switch.
(sparc_target_format): For 64-bit ELF flavoured output use ELF_TARGET_FORMAT64
while for 32-bit ELF flavoured output use ELF_TARGET_FORMAT.
* gas/config/tc-sparc.h (ELF_TARGET_FORMAT, ELF_TARGET_FORMAT64): Define.
* ld/emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as elf64-sparc-freebsd.
Diffstat (limited to 'bfd/config.bfd')
-rw-r--r-- | bfd/config.bfd | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd index 6f6a7b9..31dbf0e 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -182,7 +182,11 @@ case "${targ}" in targ_selvecs="bfd_elf64_ia64_hpux_big_vec" want64=true ;; - sparc64-*-freebsd* | sparc64-*-netbsd* | sparc64-*-openbsd* | sparc64-*-kfreebsd*-gnu) + sparc64-*-freebsd* | sparc64-*-kfreebsd*-gnu) + targ_defvec=bfd_elf64_sparc_freebsd_vec + targ_selvecs="bfd_elf32_sparc_vec sunos_big_vec" + ;; + sparc64-*-netbsd* | sparc64-*-openbsd*) targ_defvec=bfd_elf64_sparc_vec targ_selvecs="bfd_elf32_sparc_vec sunos_big_vec" want64=true |