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.
10 lines
269 B
Makefile
10 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
|
|
#...
|