Commit Graph

17 Commits

Author SHA1 Message Date
skrll a57de08708 hppaelf_create_output_section_statements is valid for the NetBSD hppa
vector.

ld(1) no longer core dumps on valid shared libraries.
2005-01-19 12:49:30 +00:00
skrll 63d29cccef Use the tradmips 64bit vectors/emulations. 2005-01-14 07:41:42 +00:00
skrll 0eb4567962 Don't set EMULATION_NAME here. 2005-01-14 07:40:34 +00:00
simonb 6ca886562d Switch MIPS from using the "littlemips" and "bigmips" vectors to the
"tradlittlemips" and "tradbigmips" vectors.

The old vectors are meant for IRIX with it prelink shared library
support, and changes to better support this in binutils 2.15 broke
shared library support under NetBSD.  The "trad" vectors are what 32bit
Linux and OpenBSD also use.

These vectors are also compatible with older NetBSD-built shared
libraries and programs so no flag day is necessary (Yay!).

These changes from Nick Hudson.  Help also from Charles Hannum.
2005-01-09 12:58:00 +00:00
mrg c47c675845 bfd/elflink.c 2004-12-08 14:57:53 +00:00
mrg 67891deae5 merge binutils 2.15 cornflakes.
XXX: some info files are not yet totally fixed up..will fix.
2004-12-08 13:38:11 +00:00
mrg adc74f2444 these files are created at build time 2004-12-08 13:38:10 +00:00
mrg 70ee3f68e3 merge binutils 2.15 cornflakes.
XXX: some info files are not yet totally fixed up..will fix.
2004-12-08 13:38:07 +00:00
mrg e88da0ac40 initial import of binutils 2.15 branch (20041204) 2004-12-08 09:52:50 +00:00
sekiya 98c96dbb1e Add big-endian elf64 to ld for MIPS targets.
Reviewed by simonb@
2004-09-03 10:30:09 +00:00
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
mrg 574bbc73cf add -Bforcearchive as an alias for --whole-archive, for previous
netbsd compatibility.
2004-01-22 04:49:57 +00:00
mrg 492975536e XXX include <stdint.h> on NetBSD 1.6 and greater.
XXX this file is generated, but this change is needed for GCC2 hosts to
XXX to able to build this file without warnings.
2003-12-05 03:25:36 +00:00
mrg eb9e243e98 include "getopt.h" as we refer to struct option. 2003-11-27 13:52:30 +00:00
mrg 7764cab06d merge the non-aout-shlib changes forward from gnu/dist/toolchain. 2003-11-27 09:45:33 +00:00
mrg f8f47744d8 disable rules that modify the source tree. 2003-11-27 09:40:38 +00:00
mrg 1a898f987d initial import of binutils 2.14 into gnu/dist/binutils. 2003-11-26 11:33:51 +00:00