* config.bfd (x86_64-*-netbsd*): New target.
	* configure.in (x86_64-*-netbsd*): Set COREFILE
	to netbsd-core.lo.
	* configure: Regenerated.

gas:
	* configure.in (i386-*-netbsdelf*): Collapse target into...
	(i386-*-netbsd*): ...this.  Add support for x86-64.
	* configure: Regenerated.

ld:
	* configure.tgt (x86_64-*-netbsd*): New target.
This commit is contained in:
Andreas Jaeger 2002-01-04 14:49:06 +00:00
parent f23631e444
commit 8a8b2d4b4a
9 changed files with 393 additions and 368 deletions

View file

@ -1,3 +1,10 @@
2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
* config.bfd (x86_64-*-netbsd*): New target.
* configure.in (x86_64-*-netbsd*): Set COREFILE
to netbsd-core.lo.
* configure: Regenerated.
2002-01-03 Tom Rix <trix@redhat.com>
* xcofflink.c (_bfd_xcoff_bfd_final_link): Update .pad section ordering
@ -28,23 +35,23 @@
anything.
2001-12-27 Tom Rix <trix@redhat.com>
* coff-rs6000.c (xcoff_generate_rtinit): Clean data_buffer alloc/free.
* coff64-rs6000.c (xcoff64_generate_rtinit): Same.
(xcoff_write_archive_contents_big): Rewrite.
(xcoff_write_armap_big): Rewrite.
(xcoff_write_one_armap_big): Delete.
* libxcoff.h : Clean up.
* libxcoff.h : Clean up.
2001-12-21 Tom Rix <trix@redhat.com>
* xcofflink.c (bfd_xcoff_link_generate_rtinit): New function.
* xcofflink.c (bfd_xcoff_link_generate_rtinit): New function.
Interface to linker for generation of __rtinit.
* libxcoff.h (struct xcoff_backend_data_rec): Add new ops to xcoff
* libxcoff.h (struct xcoff_backend_data_rec): Add new ops to xcoff
backend to generate special linker symbol __rtinit.
* coff-rs6000.c (bfd_xcoff_backend_data, bfd_pmac_xcoff_backend_data)
* coff-rs6000.c (bfd_xcoff_backend_data, bfd_pmac_xcoff_backend_data)
: Add new rtinit ops
* coff64-rs6000.c (bfd_xcoff_aix5_backend_data,
* coff64-rs6000.c (bfd_xcoff_aix5_backend_data,
bfd_xcoff_backend_data): Same.
* bfd-in.h: Add bfd_xcoff_link_generate_rtinit.
* bfd-in2.h : Regenerate.
@ -67,11 +74,11 @@
2001-12-20 Tom Rix <trix@redhat.com>
* coffcode.h (coff_compute_section_file_positions): Add special AIX
* coffcode.h (coff_compute_section_file_positions): Add special AIX
loader alignment of text section.
2001-12-20 Jason Thorpe <thorpej@wasabisystems.com>
* config.bfd (mips-dec-netbsd*): Delete alias for mips*el-*-netbsd*.
* config.bfd (arm-*-netbsdelf*): Add target.
@ -148,7 +155,7 @@
to _bfd_elf_copy_private_bfd_data.
2001-12-18 Martin Schwidefsky <schwidefsky@de.ibm.com>
* elf32-s390 (elf_s390_check_relocs): Pass addend to
gc_record_vtentry.
* elf64-s390 (elf_s390_check_relocs): Likewise.
@ -596,7 +603,7 @@
2001-12-07 Jim Blandy <jimb@redhat.com>
* elf32-s390.c (elf32_s390_grok_prstatus): New function.
(elf_backend_grok_prstatus): Define.
(elf_backend_grok_prstatus): Define.
2001-12-07 Jakub Jelinek <jakub@redhat.com>
@ -838,7 +845,7 @@
* section.c (bfd_is_const_section): New macro. Return true if the
given seciton is one of the special, constant, sections.
* bfd-in2.h: Regenerate.
* bfd-in2.h: Regenerate.
* coffgen.c (coff_count_linenumbers): Use bfd_is_const_section.
(coff_write_native_symbol): Use bfd_is_const_section.

View file

@ -398,6 +398,10 @@ case "${targ}" in
targ_defvec=bfd_elf64_x86_64_vec
targ_selvecs="bfd_elf32_i386_vec i386coff_vec bfd_efi_app_ia32_vec"
;;
x86_64-*-netbsd*)
targ_defvec=bfd_elf64_x86_64_vec
targ_selvecs="bfd_elf32_i386_vec i386netbsd_vec i386coff_vec bfd_efi_app_ia32_vec"
;;
x86_64-*-linux-gnu*)
targ_defvec=bfd_elf64_x86_64_vec
targ_selvecs="bfd_elf32_i386_vec i386linux_vec bfd_efi_app_ia32_vec"

329
bfd/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -356,6 +356,7 @@ changequote([,])dnl
COREFILE=trad-core.lo
TRAD_HEADER='"hosts/vaxbsd.h"'
;;
x86_64-*-netbsd*) COREFILE=netbsd-core.lo ;;
esac
case "$COREFILE" in

View file

@ -1,3 +1,9 @@
2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
* configure.in (i386-*-netbsdelf*): Collapse target into...
(i386-*-netbsd*): ...this. Add support for x86-64.
* configure: Regenerated.
2002-01-03 matthew green <mrg@redhat.com>
* config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
@ -69,7 +75,7 @@
2001-12-18 Nick Clifton <nickc@cambridge.redhat.com>
* config/tc-mips.h (TC_HANDLE_FX_DONE): Remove redundant
definition.
definition.
2001-12-18 Niibe Yutaka <gniibe@m17n.org>
@ -182,8 +188,8 @@
(md_assemble): Simplify ARM instruction handling.
2001-12-05 Arati Dikey <aratid@kpit.com>
* tc-sh.c (parse_at): Corrected incorrect op->type selection due
* tc-sh.c (parse_at): Corrected incorrect op->type selection due
to missing 'else'.
2001-12-04 Alexandre Oliva <aoliva@redhat.com>
@ -309,7 +315,7 @@
* stabs.c (stabs_generate_asm_lineno): Remember file and line number
from one call to the next, and eliminate consecutive duplicates
(thereby emitting only one line symbol per source line).
* dwarf2dbg.c (dwarf2_gen_line_info): Ditto.
* dwarf2dbg.c (dwarf2_gen_line_info): Ditto.
2001-11-16 Alan Modra <amodra@bigpond.net.au>
@ -628,7 +634,7 @@
Hans-Peter Nilsson <hp@bitrange.com>
* config/tc-sh.c (shl): Remove.
(big): New function.
(big): New function.
(little): Remove shl handling. Emit error for endian mismatch.
(md_show_usage): Add description of -big.
(md_parse_option): Handle OPTION_BIG. Remove shl handling.

350
gas/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -246,8 +246,16 @@ changequote([,])dnl
i386-*-beoself* | i386-*-beos*) fmt=elf bfd_gas=yes ;;
i386-*-bsd*) fmt=aout em=386bsd ;;
i386-*-netbsd0.8) fmt=aout em=386bsd ;;
i386-*-netbsdelf*) fmt=elf em=nbsd bfd_gas=yes ;;
i386-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes;;
i386-*-netbsd*) em=nbsd bfd_gas=yes
case ${cpu} in
x86_64) fmt=elf ;;
*) case ${os} in
*elf*) fmt=elf ;;
*) fmt=aout ;;
esac
;;
esac
;;
i386-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes;;
i386-*-linux*aout* | i386-*-linux*oldld) fmt=aout em=linux ;;
i386-*-linux*coff*) fmt=coff em=linux ;;

View file

@ -1,6 +1,10 @@
2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
* configure.tgt (x86_64-*-netbsd*): New target.
2001-12-21 Tom Rix <trix@redhat.com>
(gld*_create_output_section_statements): New function.
(gld*_create_output_section_statements): New function.
For -binitfini support.
* emultempl/aix.em (gld*_before_parse): Fix comment.
* emultempl/aix.em (gld*_parse_args): Fix comment.

View file

@ -159,6 +159,18 @@ i[3456]86-*-netbsdelf*) targ_emul=elf_i386
i[3456]86-*-netbsd*) targ_emul=i386nbsd
targ_extra_emuls=elf_i386
;;
x86_64-*-netbsd*) targ_emul=elf_x86_64
targ_extra_emuls="elf_i386 i386nbsd"
tdir_elf_i386=`echo ${targ_alias} | \
sed -e 's/x86_64/i386/'`
case "${tdir_elf_i386}" in
*-netbsdelf*) ;;
*)
tdir_elf_i386=`echo ${tdir_elf_i386} | \
sed -e 's/netbsd/netbsdelf/'`
;;
esac
;;
i[3456]86-*-netware) targ_emul=i386nw ;;
i[3456]86-*-elf*) targ_emul=elf_i386 ;;
i[3456]86-*-freebsdaout* | i[3456]86-*-freebsd[12].* | i[3456]86-*-freebsd[12])