mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
ec49711a16
Also restore them somewhat closer to the original. They originally failed on many targets, and a month later I "simplified" them as part of a larger patch fixing other failing tests. That unfortunately lost their main purpose, which was to test TLS layout. * testsuite/ld-elf/size-1.d, * testsuite/ld-elf/size-1.s, * testsuite/ld-elf/size-1.t: New test. * testsuite/ld-elf/size-2.d, * testsuite/ld-elf/size-2.s, * testsuite/ld-elf/size-2.t: New test. * testsuite/ld-scripts/size-1.d, * testsuite/ld-scripts/size-1.s, * testsuite/ld-scripts/size-1.t, * testsuite/ld-scripts/size-2.s, * testsuite/ld-scripts/size-2.d, * testsuite/ld-scripts/size-2.t, * testsuite/ld-scripts/size.exp: Delete.
21 lines
344 B
Perl
21 lines
344 B
Perl
PHDRS
|
|
{
|
|
header PT_PHDR PHDRS ;
|
|
|
|
image PT_LOAD FLAGS (5) PHDRS;
|
|
tls PT_TLS FLAGS (4);
|
|
|
|
}
|
|
SECTIONS
|
|
{
|
|
.text 0x100 : { *(.text) } :image
|
|
.tdata : { *(.tdata) } :image :tls
|
|
.tbss : { *(.tbss) } :image : tls
|
|
.map : {
|
|
LONG (SIZEOF (.text))
|
|
LONG (SIZEOF (.tdata))
|
|
LONG (SIZEOF (.tbss))
|
|
} :image
|
|
/DISCARD/ : { *(*) }
|
|
}
|