2015-01-15 19:06:33 +00:00
|
|
|
#name: PIE with undefined symbol
|
|
|
|
#as: --64
|
|
|
|
#ld: -pie -melf_x86_64 --noinhibit-exec
|
2015-02-19 12:45:27 +00:00
|
|
|
#readelf: -s --wide
|
2015-01-15 19:06:33 +00:00
|
|
|
#warning: \A[^\n]*\.o[^\n]*In function `_start':\n[^\n]*: undefined reference to `foo'\Z
|
2015-02-19 12:45:27 +00:00
|
|
|
|
|
|
|
#failif
|
|
|
|
#...
|
|
|
|
+[0-9]+: +[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +UND foo
|
|
|
|
#...
|