This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Problems linking on PPC
On Thu, 2003-01-16 at 05:59, Alan Modra wrote:
> On Wed, Jan 15, 2003 at 12:08:33PM -0500, Daniel Jacobowitz wrote:
> > Try using --whole-archive os.a --no-whole-archive. Otherwise only
> > referenced archive members are included, and -e doesn't count as a
> > "reference".
>
> -u __start should work.
Good idea. Almost seems to work.
However:
$ ld -u __start ib.o os.a
os.a: could not read symbols: Malformed archive
Which is strange considering that objdump lists the symbols and
disassembles everything just fine, no?
/Jacob