SHF_GNU_RETAIN 7a and 7b tests
* testsuite/ld-elf/retain7a.d: Don't run on hppa-linux. * testsuite/ld-elf/retain7b.d: Correct name. Don't run on tic6x. Allow OSABI FreeBSD.
This commit is contained in:
parent
dccc31dee3
commit
99d8bab0c1
3 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
2020-12-24 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* testsuite/ld-elf/retain7a.d: Don't run on hppa-linux.
|
||||
* testsuite/ld-elf/retain7b.d: Correct name. Don't run on tic6x.
|
||||
Allow OSABI FreeBSD.
|
||||
|
||||
2020-12-24 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR 27100
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
#name: SHF_GNU_RETAIN 7a
|
||||
#source: retain7.s
|
||||
#ld: -e _start --gc-sections
|
||||
#notarget: ![supports_gnu_osabi] ![check_gc_sections_available]
|
||||
# hppa-linux chooses ELFOSABI_GNU regardless of GNU feature use
|
||||
#notarget: ![supports_gnu_osabi] ![check_gc_sections_available] hppa-*-linux*
|
||||
#readelf: -h
|
||||
|
||||
#failif
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
#name: SHF_GNU_RETAIN 7a
|
||||
#name: SHF_GNU_RETAIN 7b
|
||||
#source: retain7.s
|
||||
#ld: -r
|
||||
#notarget: ![supports_gnu_osabi] ![check_gc_sections_available]
|
||||
#notarget: ![supports_gnu_osabi] ![check_gc_sections_available] tic6x-*-*
|
||||
#readelf: -h
|
||||
|
||||
ELF Header:
|
||||
#...
|
||||
OS/ABI: UNIX - GNU
|
||||
OS/ABI: UNIX - (GNU|FreeBSD)
|
||||
#pass
|
||||
|
|
Loading…
Add table
Reference in a new issue