mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 12:35:55 +08:00
359987e218
Update tests to expect warning of "-z dynamic-undefined-weak ignored"
from
commit 22b1ee183d
Author: Alan Modra <amodra@gmail.com>
Date: Thu Oct 12 13:19:10 2017 +1030
Set dynamic_undefined_weak to zero for static PIEs
* testsuite/ld-elf/pr22269b.d: Expect warning of
"-z dynamic-undefined-weak ignored".
* testsuite/ld-i386/pr19636-1j.d: Likewise.
* testsuite/ld-i386/pr19636-1k.d: Likewise.
* testsuite/ld-i386/pr19636-1l.d: Likewise.
* testsuite/ld-x86-64/pr19636-2j.d: Likewise.
* testsuite/ld-x86-64/pr19636-2k.d: Likewise.
* testsuite/ld-x86-64/pr19636-2l.d: Likewise.
* testsuite/ld-x86-64/pr19636-2m.d: Likewise.
12 lines
337 B
Makefile
12 lines
337 B
Makefile
#name: PR ld/22269 (-z dynamic-undefined-weak)
|
|
#source: pr22269.s
|
|
#ld: -pie --no-dynamic-linker -z dynamic-undefined-weak
|
|
#readelf: -r -x .data.rel.ro
|
|
#warning: -z dynamic-undefined-weak ignored
|
|
#target: *-*-linux* *-*-gnu* *-*-nacl*
|
|
|
|
There are no relocations in this file.
|
|
|
|
Hex dump of section '.data.rel.ro':
|
|
0x[a-f0-9]+ [0 ]+[ ]+.+
|