Commit Graph

4 Commits

Author SHA1 Message Date
thorpej eb9f224468 Integrate / parameterize changes from Chuq Silvers / Nick Hudson to
simplify GP handling on HPPA for NetBSD, and get dynamically-linked
executables working.  Changes to be submitted to FSF:

bfd:
	* config.bfd (hppa*-*-netbsd*): Set targ_defvec to
	bfd_elf32_hppa_nbsd_vec.  Add bfd_elf32_hppa_linux_vec
	to targ_selvecs.
	* configure.in (bfd_elf32_hppa_nbsd_vec): Add case.
	* configure.in: Regenerate.
	* elf32-hppa.c (elf32_hppa_object_p): Add "elf32-hppa-netbsd"
	case that accepts OSABI=NetBSD and OSABI=SysV.
	(elf32_hppa_set_gp): For "elf32-hppa-netbsd", set the GP to
	the base of .got or .data (if .got does not exist).
	(elf32_hppa_post_process_headers): For elf32-hppa-netbsd,
	set OSABI=NetBSD.
	(TARGET_BIG_SYM): Add bfd_elf32_hppa_nbsd_vec case.
	(TARGET_BIG_NAME): Add "elf32-hppa-netbsd" case.
	* targets.c (bfd_elf32_hppa_nbsd_vec): Add extern declaration.
	(_bfd_target_vector): Add bfd_elf32_hppa_nbsd_vec.

gas:
	* config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd"
	for TE_NetBSD.

ld:
	* emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
2004-07-20 20:47:18 +00:00
matt 2fcaa9eb41 On 64bit hosts or bdf64 is enabled, add x86_64 support when configuring
i386-*-netbsdelf.  This part of 1 on letting i386 crossbuild on amd64.
2004-03-14 00:45:16 +00:00
mrg 7764cab06d merge the non-aout-shlib changes forward from gnu/dist/toolchain. 2003-11-27 09:45:33 +00:00
mrg 2e50f8ac41 initial import of binutils 2.14 into gnu/dist/binutils. 2003-11-26 11:31:11 +00:00