3d476d8d59
The new orphan handling tests added in commit c005eb9 fail on a range of targets. Some of the failures were fixed in commit e32aa93 but not all. This commit should address the remaining failures. Update results to account for orphan sections being placed in different orders, and for other, target specific sections, being discarded. ld/testsuite/ChangeLog: * ld-elf/orphan-7.map: Allow for other discarded sections. * ld-elf/orphan-8.map: Updated to allow for different section ordering on different targets. * ld-elf/orphan.ld: Place .sbss section.
10 lines
200 B
Plaintext
10 lines
200 B
Plaintext
SECTIONS
|
|
{
|
|
.text : { *(.text) }
|
|
.data : { *(.data) }
|
|
.bss : { *(.bss) *(COMMON) }
|
|
.sbss : { *(.sbss) }
|
|
.note : { *(.note) }
|
|
/DISCARD/ : { *(.reginfo) *(.MIPS.abiflags) *(.trampolines) }
|
|
}
|