Subject: ld bug
To: None <port-pmax@netbsd.org>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: port-pmax
Date: 12/09/1994 16:08:27
>If this is the GNU loader, it's probably just a bug in the loader
>script.   That's where _end, _edata, and such are defined.   Are you
>using the GNU loader, or the MIPS loader?
>

The gnu linker. I can tell from the syntax of the error message.

This looks consonant with a bug the binary ld (on gregorio.stanford.edu)
of my port of the binutils-2.4/gas-2.3 to NetBSD.  I forgot to add
the underscores to _end, _edata, and _etext.  Writing a ldscript
and invoking ld with it  is trivial for anyone who understands gnu ld.

I've actually been using binutils-2.5.2 compiled native for NetBSD,
where I'd fixed this problem. I can make the binary for as and ld
available on Gregorio. I'll try and get that done tomorrow.  And/or
the source diffs, which are much more reasonable than the changes to
binutils-2.4.

I know, I know, the core team wants to use the ``native'' NetbSD tools
and get shared library support.  Fine.  I'll use them when the
_core_team_ fixes the old mips bugs that're fixed in the current GNU
release. And/or ports them to the mips, if such ports don't already
exist. Or talks someone else into doing so.

--Jonathan