This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Cannot create shared library on sh-elf
- To: aoliva at redhat dot com
- Subject: Re: Cannot create shared library on sh-elf
- From: Nick Clifton <nickc at redhat dot com>
- Date: Sat, 16 Sep 2000 14:48:01 -0700
- CC: binutils at sources dot redhat dot com
Hi Alexandre,
: The point is that ld/emulparams/sh{,l}elf.sh do define MAXPAGESIZE as
: 128,
Ah - I did not realise this.
: and, by the time I debugged this, I ended up figuring it was this
: inconsistency that caused the problem. I believe it had something to
: do with the lines such as:
:
: . = ALIGN(128) + (. & (128 - 1));
:
: that are present in the sh{,l}elf ldscripts, and are incompatible with
: a corresponding rounding done somewhere in the linker. But that was
: quite a long time ago, and I no longer recall the details :-(
All of the assigning sections to segments work is now down in elf.c by
the function copy_private_bfd_data(), in case you are interested.
Anyway now that I understand that you are making the two definitions
of maxpagesize agree, I approve the patch.
Cheers
Nick