mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
cc6fd584ed
binutils/ChangeLog: * testsuite/binutils-all/readelf-maskos-1a.d: Fix test for unrecognized bit set in SHF_MASKOS range. * testsuite/binutils-all/readelf-maskos-1b.d: Likewise. * testsuite/binutils-all/readelf-maskos-unknown.s: New test. ld/ChangeLog: * testsuite/ld-elf/retain3.s: Move symbolic reference into writeable .data section from read-only .text section. * testsuite/ld-elf/retain5.d: Don't pass --print-gc-sections for test that doesn't require it. * testsuite/ld-elf/retain6a.d: Adjust test. * testsuite/ld-elf/retain6main.s: Move symbolic reference into writeable .data section from read-only .text section.
14 lines
333 B
Makefile
14 lines
333 B
Makefile
#name: SHF_GNU_RETAIN 6a (pull section out of lib required by SHF_GNU_RETAIN section)
|
|
#source: retain6main.s
|
|
#ld: --gc-sections -e _start -u bar -Ltmpdir -lretain6
|
|
#notarget: ![supports_gnu_osabi] ![check_gc_sections_available]
|
|
#DUMPPROG: nm
|
|
|
|
#...
|
|
[0-9a-f]+ . bar
|
|
#...
|
|
[0-9a-f]+ . retain_from_lib
|
|
#...
|
|
[0-9a-f]+ . retained_var
|
|
#pass
|