mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
c3fbf828ad
Some targets are only really, or at least regularly, regression-tested in a crossed configuration. Currently we only have native compiled test cases for the STB_GNU_UNIQUE feature in the linker test suite. This is nice, covering run-time semantics even, but quite often not run at all. Consequently a regression may remain unnoticed for long. Add a simple test case then to provide basic linker coverage with no need for a compiler or a native toolchain. ld/ * testsuite/ld-unique/unique.d: New test. * testsuite/ld-unique/unique.exp: Run the new test. Adjust messages for compiled tests.
10 lines
193 B
Makefile
10 lines
193 B
Makefile
#ld: -r
|
|
#readelf: -sh
|
|
#name: Linker setting GNU OSABI on STB_GNU_UNIQUE symbol (PR 10549)
|
|
|
|
#...
|
|
*OS/ABI: +UNIX - GNU
|
|
#...
|
|
*[0-9]+: +[0-9a-f]+ +[0-9]+ +OBJECT +UNIQUE +DEFAULT +[0-9]+ a
|
|
#pass
|