Subject: Re: Patches for binutils-2.7 and NetBSD
To: Curt Sampson <curt@portal.ca>
From: Valtteri Vuorikoski <vuori@k.notcom.org>
List: current-users
Date: 10/22/1996 15:58:49
Curt Sampson <curt@portal.ca> writes:

> I've put up a pair of patches on my web site <http://www2.portal.ca/~curt/>
> that fix a couple of problems in the version of gas included in
> GNU binutils-2.7. One problem was that it wasn't putting in some
> type information needed for NetBSD linking, the other was that the
> i386 assembler was generating some bogus offsets, causing code to
> be incorrectly linked. Both of these problems were fixed by Ian
> Lance Taylor once I bought them to his attention.

 After applying this patch to binutils, the output from the cross-assembler
(hosted on sparc-sun-solaris2.5, compiling for i386-unknown-netbsd12) works
fine, but do you have any ideas why the binutils ld seems to be losing ?
Binaries linked on the Solaris box die on the i386:

Program terminated with signal 11, Segmentation fault.
#0  0x19e0 in exit ()

and that's all that shows in the trace. I have NetBSD /usr/lib nfs mounted
and according to truss the cross-ld finds the right files.