Weird problems when upgrading to 2.17

Stefan Karlsson stefan.karlsson@questab.com
Tue Jul 4 05:46:00 GMT 2006


Alan Modra wrote:
> 
> Can we see the linker command line?  Better still, can you package up
> all the object files involved in the link so someone can debug the
> problem?
> 

I have attached a minimal project that builds cleanly with ld 2.16.1
but doesn't build with ld 2.17.

In case they might be of help, the binaries and map file from the
clean build are included. Notice that ".rela.dyn" shows up in the
map file (but without causing any trouble).

Here is the output from the failed build:

powerpc-eabi-as -o crt0.o crt0.s
powerpc-eabi-g++ -o main.o -c main.cpp
powerpc-eabi-ld crt0.o main.o -Tlink.ld -o test.elf -Map test.map
powerpc-eabi-ld: error: no memory region specified for loadable section 
`.rela.dyn'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ld-test.tar.gz
Type: application/gzip
Size: 2135 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20060704/794e2f2d/attachment.gz>


More information about the Binutils mailing list