Commit Graph

57 Commits

Author SHA1 Message Date
mycroft
a889d100a4 The previous change caused the BSS and any sections after it to be misaligned
in the file.  Remove the part of the change which caused this.
1999-07-31 20:56:12 +00:00
matt
944fb04a2e Fix the bss outside of PT_LOAD problem. (for non-paged executables,
the wrong variable (voff) was being substracted instead of the end
of the previous section.  therefore the alignment calculations were
all wrong for .bss (which for sparc is aligned 2**8)).
1999-07-30 00:39:11 +00:00
kleink
89618f4b6a Add an m68*-*-netbsdelf* target. 1999-04-30 15:01:08 +00:00
kristerw
c0021573ef Fixed an off-by-one bug when trying to look up a line given an address.
This could cause segmentation fault for ld when writing messages from
warning symbols.
1999-04-23 21:34:53 +00:00
gwr
a6bfe0b8ca Move the custom version of MACHTYPE_OK out where it belongs. 1999-04-03 05:26:06 +00:00
gwr
8de8abf2dc Put the "hacked-for-vax" version of MACHTYPE_OK here, where it belongs. 1999-04-03 05:23:01 +00:00
ragge
8cf98df79f Fixes for vax 4K pages. (Whereever did these go???) 1999-03-13 22:20:49 +00:00
mycroft
1f559e1bda Change the section alignment to 2^20 to match the ldscript and old binutils.
XXX Should we change this?
1999-03-06 06:04:21 +00:00
tv
8cedd34522 Add support for a.out mipsel binary format (i.e. pmax scsiboot kernel).
Doesn't quite work yet on binaries created by "elf2aout", but does have
some functionality (objdump -[fhs]).
1999-02-10 17:52:38 +00:00
tron
ad302b9795 Fix a bug in internal resource tracking so that memory map segments really
get unmapped when they are no longer required. This should stop "nm"
from filling up the kernel's vnode table while building "libc.a".
1999-02-07 11:36:17 +00:00
tv
bc2ff89d6b Suppress "symbol type changed" harmless warnings, which plague MIPS ELF32.
Patch from Jonathan Stone.
1999-02-06 04:15:49 +00:00
tv
ae250d0e0a Round 2 of gnu/dist cleanup:
- remove ChangeLogs (still available on vendor FSF/CYGNUS branch, 1.1.1)
- remove many target-system config files unrelated to NetBSD targets
1999-02-04 04:25:21 +00:00
tv
39d9eb47d8 First round of gnu/dist cleanup - remove:
- files removed in binutils 2.8.1 or 2.9.1
- some testsuite stuff
- VMS, MS-DOS, and MPW Macintosh build environmanet (most of which are
  quite old and out of maintenance)
- generated GNU info files
- non-NetBSD-target makefile fragments
1999-02-03 18:50:07 +00:00
tv
3efadef925 Add a host entry for vax-*-netbsd* (doesn't need hosts/vaxbsd.h). 1999-02-03 17:18:32 +00:00
tv
7b850c06da Resolve conflicts and update NetBSD local changes tobinutils 2.9.1. 1999-02-02 20:26:57 +00:00
tv
2e8b57510c By popular demand, import binutils 2.9.1. 1999-02-02 19:51:16 +00:00
thorpej
9b3208fc2b Add an i[3456]86-*-netbsdelf* target, and add bfd_elf32_i386_vec to
i[3456]86-*-netbsd*.
1999-01-28 21:59:53 +00:00
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