Commit Graph

40 Commits

Author SHA1 Message Date
kristerw
ab2e248758 NetBSD always saves a_midmag as big-endian, but libbfd use the same
endianess as the arch in its internal structures, so we may have to change
the byte order when we write the exec header. The problem is that we need
the little endian version for libbfd to DTRT with the rest of the file.

Solve this by writing the exec header after the rest of the file has been
written.
1998-12-21 03:27:02 +00:00
mrg
67f1109836 for sparc-*-netbsd, also enable elf32_sparc & sunos_big. add new target, tentatively named sparc-*-netbsdelf, that uses elf32_sparc as the default target. 1998-12-16 14:31:00 +00:00
kristerw
b502b56ff5 Changes to make strip and objcopy work for a.out 1998-11-21 22:42:32 +00:00
mrg
8bb0deaa38 add sparc64--netbsd support. enable all sparc targets for sparcnetbsd_vec 1998-11-21 17:51:11 +00:00
jonathan
6d127dfb63 Revert previous patch. Replace with patch from Cygnus binutils
maintainers which implements gnu c++ exception dynsums while
preserving compatiblity with Irix5 linker. (by no longer identyifying
particular sections that appear inside the .dynsym section).
1998-11-01 22:01:14 +00:00
jonathan
945f042426 egcs-1.1 emits .gcc_exception_table sections for C++ exception info on
mips, which causes binutils-2.8.1 ld (also 2.9.1) to coredump due to
an unrecognized dynsym index.

add ".gcc_except_table" to the list of section names which can appear
in the .dynsym section of an elf-mips [irix5, sic] binary. Confirmed
to fix the coredump for both binutils 2.8.1 and 2.9.1 ld.

Patch from Castor Fu <castor@geocast.com>. Reported to bug-gnu-misc
with this patch, should appear in a future binutils release.
1998-10-31 01:55:24 +00:00
ragge
01921e4c4b TARGET_PAGE_SIZE should be 4k. 1998-10-18 08:48:59 +00:00
matt
3e32065c73 Teach bfd that NetBSD/vax can have two MIDs. 1998-10-12 01:43:38 +00:00
kristerw
d8a28d220b Use the correct size for the relocation records. 1998-09-13 09:33:26 +00:00
kristerw
945df87d76 Infrastructure changes needed by gas a.out support. 1998-09-13 09:30:34 +00:00
tv
d0c8c7532a Add ARM relocs (and upcoming BFD_PIC) for automatically generating bfd.h. 1998-08-21 21:08:22 +00:00
tv
f122239ef3 Use a pointer, not an array, for bfd_target_vector, working around our
linker bogozity.  (So that the array can grow and shrink without
relinking.)
1998-08-21 02:06:09 +00:00
tv
b6ace53b3a Allow mips{eb,el}-*-netbsd* in configuration, setting default accordingly,
and make mips-dec-netbsd* an alias for mipsel-*-netbsd*.
1998-07-27 01:44:10 +00:00
tv
41d9610f72 Add definition for mipseb-*-netbsd and make mipsel-*-netbsd the same as
mips-dec-netbsd.
1998-07-27 01:01:07 +00:00
thorpej
99db56429d Only default to m68k4k on hp300 if before NetBSD 1.3. 1998-07-12 19:05:29 +00:00
thorpej
41f74e9b75 Add elf32-m68k support to the NetBSD m68k target. 1998-07-12 18:52:34 +00:00
tv
a3ef68cb68 Add a hack to recognize VAX kernels. This will later be made into its own
bfd target (a.out-vax-ultrix or a.out-vax-netbsd-kernel).
1998-07-01 15:15:51 +00:00
ragge
cdca827d9e Vax support. 1998-06-11 21:43:58 +00:00
tv
6b3823ed1a ...And calculate same when building the armap (for ranlib). 1998-05-25 23:36:43 +00:00
tv
172288b9b4 Fix long filenames that weren't calculated while reading the ar header. 1998-05-25 21:56:14 +00:00
tv
f970339892 Fix botched assumptions about alignment of data elements: files are
aligned, but on word-at-filesize bytes instead of word-at-filedatasize
bytes.  That's actually a bug in binutils 2.8.1 wrt 4.4BSD archives that is
fixed here.
1998-05-25 18:57:23 +00:00
tv
170952480e Make archives work for both 4.4BSD a.out and SVR4 ELF style archives:
introduce a flag that tells bfd not to align ar(1) headers on word
boundaries.
1998-05-22 14:08:22 +00:00
tv
1691822b47 Add ability to write 4.4BSD format archives; set a.out NetBSD platforms to
use this ar format by default.
1998-05-22 02:19:27 +00:00
tv
420329c722 Incorporate (machine dependent) code for support of NetBSD/arm32. 1998-05-19 18:53:19 +00:00
thorpej
391360a175 Use netbsd-core.o for powerpc-*-netbsd* configurations. 1998-01-30 19:37:07 +00:00
thorpej
d3952db048 Include pmac_xcoff_vec in the powerpc-*-*bsd* configuration. 1998-01-30 19:34:37 +00:00
thorpej
c333a506de Oops, typo. 1997-12-18 07:30:34 +00:00
thorpej
55eaf3b227 Properly error out if we fail to malloc memory for the asection. 1997-12-17 02:26:47 +00:00
thorpej
c336ed0805 Add M_PMAX_NETBSD and M_ALPHA_NETBSD magic numbers, for completeness. 1997-12-17 02:25:51 +00:00
thorpej
9cdcaf7f0d Add configuration goo for NetBSD/alpha. 1997-12-17 02:25:08 +00:00
ragge
c700804dcb Fixes to make new gdb compile on vax. 1997-10-20 12:44:24 +00:00
gwr
ec75fa2d04 resolve conflicts 1997-09-25 15:57:07 +00:00
gwr
31fbffdc2e stock binutils-2.8.1 1997-09-24 18:54:18 +00:00
gwr
9287cd69a3 Define DEFAULT_ARCH, DEFAULT_MID for netbsd.h 1997-09-24 18:39:10 +00:00
gwr
60e710094f add vaxnetbsd 1997-09-24 18:31:37 +00:00
gwr
1b3c0ea923 Various fixes and cleanup (netbsd_core_vec.byte_order, core_core, etc.) 1997-09-24 18:24:08 +00:00
gwr
262e26b699 Add netbsd_core_vec if -DNETBSD_CORE 1997-09-24 18:15:07 +00:00
gwr
b6c526b702 Provide default definition of MACHTYPE_OK using DEFAULT_MID,
and do the N_SET_MACHTYPE thing using DEFAULT_ARCH.  Both of
the DEFAULT_* definitions come from the including C file.
1997-09-24 18:13:03 +00:00
gwr
dfe47bfbbb Set MY_entry_is_text_address (so we can debug a SunOS kernel). 1997-09-24 18:08:08 +00:00
gwr
32adbb9246 stock binutils-2.8 1997-09-24 15:39:15 +00:00