mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
db95bb7c59
PR ld/4317 * ld-i386/compressed1.d: Use nm/readelf with "failif". * ld-x86-64/compressed1.d: Likewise. * ld-x86-64/pie1.d: Likewise.
11 lines
269 B
Makefile
11 lines
269 B
Makefile
#name: PIE with undefined symbol
|
|
#as: --64
|
|
#ld: -pie -melf_x86_64 --noinhibit-exec
|
|
#readelf: -s --wide
|
|
#warning: \A[^\n]*\.o[^\n]*In function `_start':\n[^\n]*: undefined reference to `foo'\Z
|
|
|
|
#failif
|
|
#...
|
|
+[0-9]+: +[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +UND foo
|
|
#...
|