mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-24 17:53:52 +08:00
9d7cbccda0
* 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.
4 lines
109 B
Bash
4 lines
109 B
Bash
. ${srcdir}/emulparams/elf_x86_64.sh
|
|
. ${srcdir}/emulparams/elf_fbsd.sh
|
|
OUTPUT_FORMAT="elf64-x86-64-freebsd"
|