aebf9be708
PR ld/19455 * elf32-arm.c (elf32_arm_create_dynamic_sections): Set the ELF class of the linker stub bfd. (elf32_arm_check_relocs): Skip check for pic format after processing a vxWorks R_ARM_ABS12 reloc. * elflink.c (bfd_elf_final_link): Check for ELFCLASSNONE when reporting a class mismatch. * testsuite/ld-arm/vxworks1-lib.dd: Update for current disassmebler output. * testsuite/ld-arm/vxworks1-lib.rd: Likewise. * testsuite/ld-arm/vxworks1.dd: Likewise. * testsuite/ld-arm/vxworks1.rd: Likewise. * testsuite/ld-arm/vxworks1.ld: Set the output format.
34 lines
627 B
Text
34 lines
627 B
Text
OUTPUT_FORMAT("elf32-littlearm-vxworks", "elf32-bigarm-vxworks",
|
|
"elf32-littlearm-vxworks")
|
|
OUTPUT_ARCH(arm)
|
|
|
|
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) }
|
|
}
|