This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: 'ld' backward incompatibility.
- To: osv at javad dot ru
- Subject: Re: 'ld' backward incompatibility.
- From: Ian Lance Taylor <ian at zembu dot com>
- Date: 27 Mar 2000 08:01:28 -0800
- CC: binutils at sourceware dot cygnus dot com
- References: <871z4wxzvn.fsf@osv.javad.ru>
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