e68ed250e8
* ld-arm/vxworks1.ld: Swap .bss and .data. * ld-arm/vxworks1-lib.rd: Update accordingly. * ld-arm/vxworks1-lib.td: New test. * ld-arm/arm-elf.exp: Run it. * ld-i386/vxworks1.ld: Swap .bss and .data. * ld-i386/vxworks1-lib.rd: Update accordingly. * ld-i386/vxworks1-lib.td: New test. * ld-i386/i386.exp: Run it. * ld-mips-elf/vxworks1.ld: Swap .bss and .data. * ld-mips-elf/vxworks1-lib.rd: Update accordingly. * ld-mips-elf/vxworks1.rd: Likewise. * ld-powerpc/vxworks1.ld: Swap .bss and .data. * ld-powerpc/vxworks1-lib.rd: Update accordingly. * ld-powerpc/vxworks1-lib.td: New test. * ld-powerpc/powerpc.exp: Run it. * ld-sh/vxworks1.ld: Swap .bss and .data. * ld-sh/vxworks1-lib.rd: Update accordingly. * ld-sh/vxworks1-lib.td: New test. * ld-sh/sh-vxworks.exp: Run it. * ld-sparc/vxworks1.ld: Swap .bss and .data. * ld-sparc/vxworks1-lib.rd: Update accordingly. * ld-sparc/vxworks1-lib.td: New test. * ld-sparc/sparc.exp: Run it.
33 lines
541 B
Plaintext
33 lines
541 B
Plaintext
SECTIONS
|
|
{
|
|
. = 0x80000;
|
|
.interp : { *(.interp) }
|
|
.hash : { *(.hash) }
|
|
.dynsym : { *(.dynsym) }
|
|
.dynstr : { *(.dynstr) }
|
|
|
|
. = ALIGN (0x400);
|
|
.rela.dyn : { *(.rela.dyn) }
|
|
.rela.plt : { *(.rela.plt) }
|
|
|
|
. = ALIGN (0x400);
|
|
.plt : { *(.plt) }
|
|
|
|
. = ALIGN (0x400);
|
|
.text : { *(.text) }
|
|
|
|
. = ALIGN (0x1000);
|
|
.dynamic : { *(.dynamic) }
|
|
|
|
. = ALIGN (0x400);
|
|
.got : { *(.got.plt) *(.got) }
|
|
|
|
. = ALIGN (0x400);
|
|
.data : { *(.data) }
|
|
|
|
. = ALIGN (0x400);
|
|
.bss : { *(.bss) *(.dynbss) }
|
|
|
|
/DISCARD/ : { *(.reginfo) }
|
|
}
|