This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Weird problems when upgrading to 2.17


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'


Attachment: ld-test.tar.gz
Description: application/gzip


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]