[PATCH] Create ".dynamic" section earlier

Fred Fish fnf@specifix.com
Fri Jun 9 17:08:00 GMT 2006


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



More information about the Binutils mailing list