This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Create ".dynamic" section earlier
On Friday 09 June 2006 12:38, H. J. Lu wrote:
> I don't have mips-elf-gcc. Can you provide all linker inputs, including
> idt.ld?
OK.
Here's how to reproduce it:
$ tar -xvzf link-kit.tgz
crtbegin.o
crtend.o
crti.o
crtn.o
idt.ld
libgcc.a
link.sh
main.o
$ sh -x link.sh
+ mips-elf-ld -EB -shared -o main crti.o crtbegin.o main.o libgcc.a crtend.o crtn.o -Tidt.ld
mips-elf-ld: main: The first section in the PT_DYNAMIC segment is not the .dynamic section
mips-elf-ld: final link failed: Bad value
I'll email you the link-kit.tgz file separately.
-Fred