fe9cd7ab17
explicit patterns for test target qualification. Define extra tool flags for *-*-hpux* and tic6x-*-* targets. Link with a linker script. Use alternative patterns for targets that do not eliminate copy relocs, currently mn10300-*-* and vax-*-*. * ld-elf/comm-data2.s: Handle HPUX's `.comm' syntax. * ld-elf/comm-data2.ld: New test linker script. * ld-elf/comm-data2.xd: Match section's VMA too. Ignore ASCII data dump. * ld-elf/comm-data2r.rd: New test pattern. * ld-elf/comm-data2r.sd: New test pattern. * ld-elf/comm-data2r.xd: New test pattern. * ld-mips-elf/comm-data.exp: Use check_shared_lib_support rather than an explicit pattern for test target qualification. Link with a linker script.
20 lines
450 B
Text
20 lines
450 B
Text
SECTIONS
|
|
{
|
|
. = 0x12340000;
|
|
.bss : { *(.dynbss) }
|
|
.got : { *(.got.plt) *(.got) }
|
|
.dynamic : { *(.dynamic) }
|
|
.data : { *(.data) }
|
|
. = 0x56780000;
|
|
.rela.dyn : { *(.rela.*) }
|
|
.interp : { *(.interp) }
|
|
.hash : { *(.hash) }
|
|
.dynsym : { *(.dynsym) }
|
|
.dynstr : { *(.dynstr) }
|
|
. = 0x76540000;
|
|
.debug_foo : { *(.debug_foo) }
|
|
.shstrtab : { *(.shstrtab) }
|
|
.symtab : { *(.symtab) }
|
|
.strtab : { *(.strtab) }
|
|
/DISCARD/ : { *(*) }
|
|
}
|