Cannot create shared library on sh-elf

Nick Clifton nickc@redhat.com
Sat Sep 16 14:48:00 GMT 2000


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


More information about the Binutils mailing list