This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Ld option -z mistreat (new tests ld-elf/commonpage1 ld-elf/maxpage1 fail for cris-elf arm-elf)
On Wed, May 31, 2006 at 04:30:40PM +0200, Hans-Peter Nilsson wrote:
> > Date: Wed, 31 May 2006 23:07:41 +0930
> > From: Alan Modra <amodra@bigpond.net.au>
>
> > On Wed, May 31, 2006 at 12:05:45PM +0200, Hans-Peter Nilsson wrote:
> > > ./ld-new: unrecognized option '-z'
> > > ./ld-new: use the --help option for usage information
> >
> > The failure is because cris-elf
>
> And arm-elf, and...
>
> > doesn't support shared libs.
> > GENERATE_SHLIB_SCRIPT isn't set.
>
> Inferring that all run_dump-tests using -z options should use
> "#target:" or "#notarget:".
>
> Tested cris-elf, arm-elf native i686-pc-linux-gnu and cross to
> cris-axis-linux-gnu. Ok to commit?
>
> ld/testsuite:
> * ld-elf/commonpage1.d, ld-elf/maxpage1.d: Restrict to target
> *-*-linux*.
>
BTW, there is anothe problem. For any targets, which use different
page sizes in ld and bfd, like cris-elf, we will run into some subtle
issues.
H.J.