This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 'ld' backward incompatibility.



Well, the latest linker that definitely doesn't complain is:

osv@osv$ ppc-rtems-ld -r -o tmp/a.o
osv@osv$ ppc-rtems-ld -v
GNU ld version 2.9-ecosSWtools-981021 (with BFD 2.9-ecosSWtools-981021)
ppc-rtems-ld: warning: cannot find entry symbol _start; not setting start address
osv@osv$

It's less than 2 years old :-)

Sergei.


Ian Lance Taylor <ian@zembu.com> writes:
>    From: Sergei Organov <osv@javad.ru>
>    Date: 27 Mar 2000 18:15:56 +0400
>
>    JFYI,
>
>    Before I used the 'ld' to create empty ELF file like this:
>
>    ld -r -o a.o
>
>    However, the latest CVS version of 'ld' doesn't allow it:
>
>    osv@osv$ ~/local/bin/ppc-rtems-ld -r -o a.o
>    /home/osv/local/bin/ppc-rtems-ld: no input files
>
>    There is a simple work-around (using 'as' instead of 'ld'), but I thought
>    maybe it's worth to tell you about this incompatibility anyway.
>
> The linker has had that particular error message for many years.  I
> don't think this is a recent change.
>
> What target and what sources were you using before?  Are you sure your
> linker script didn't happen to mention an input file?
>
> Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]