diff options
author | Nick Clifton <nickc@redhat.com> | 2006-08-02 16:25:14 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2006-08-02 16:25:14 +0000 |
commit | 9d7cbccda0d0b223261e33efb609a7a43401ec5e (patch) | |
tree | 89c15bea23a6a33149b4057f5f7add8d6910cdb6 /bfd/config.bfd | |
parent | c973bc5cd4b6024ab430a41cae5b75c2c54fd55e (diff) | |
download | gdb-9d7cbccda0d0b223261e33efb609a7a43401ec5e.zip gdb-9d7cbccda0d0b223261e33efb609a7a43401ec5e.tar.gz gdb-9d7cbccda0d0b223261e33efb609a7a43401ec5e.tar.bz2 |
PR binutils/2983
* bfd/elf64-x86-64.c: Add FreeBSD support.
(elf64_x86_64_fbsd_post_process_headers): New function.
* bfd/targets.c (_bfd_target_vector): Add bfd_elf64_x86_64_freebsd_vec.
* bfd/config.bfd (x64_64-*-freebsd*): Add bfd_elf64_x86_64_freebsd_vec to the targ_selvecs.
* bfd/configure.in: Add entry for bfd_elf64_x86_64_freebsd_vec.
* bfd/configure: Regenerate.
* gas/config/tc-i386.c (md_parse_option): Treat any target starting with elf64_x86_64 as a viable target for the -64 switch.
(i386_target_format): For 64-bit ELF flavoured output use ELF_TARGET_FORMAT64.
* gas/config/tc-i386.h (ELF_TARGET_FORMAT64): Define.
* ld/emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as elf64-x86-64-freebsd.
Diffstat (limited to 'bfd/config.bfd')
-rw-r--r-- | bfd/config.bfd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd index 0a8ed0f..dfe631e 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -564,8 +564,8 @@ case "${targ}" in want64=true ;; x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) - targ_defvec=bfd_elf64_x86_64_vec - targ_selvecs="bfd_elf32_i386_vec i386coff_vec bfd_efi_app_ia32_vec" + targ_defvec=bfd_elf64_x86_64_freebsd_vec + targ_selvecs="bfd_elf32_i386_freebsd_vec i386coff_vec bfd_efi_app_ia32_vec bfd_elf32_i386_vec bfd_elf64_x86_64_vec" want64=true ;; x86_64-*-netbsd* | x86_64-*-openbsd*) |