mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-18 23:03:29 +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.
15 lines
386 B
Makefile
15 lines
386 B
Makefile
#source: pr19636-2.s
|
|
#as: --64 -mrelax-relocations=no
|
|
#ld: -m elf_x86_64 --no-dynamic-linker -z dynamic-undefined-weak
|
|
#readelf : -r --wide -x .got -x .got.plt --dyn-syms
|
|
#warning: -z dynamic-undefined-weak ignored
|
|
|
|
There are no relocations in this file.
|
|
|
|
Hex dump of section '.got':
|
|
0x[0-9a-f]+ [0 ]+\.+
|
|
|
|
Hex dump of section '.got.plt':
|
|
0x[0-9a-f]+ [0 ]+\.+
|
|
0x[0-9a-f]+ [0 ]+\.+
|