1 #name: PIE with undefined symbol
2 #as: --64
3 #ld: -pie -melf_x86_64 --noinhibit-exec -z notext
4 #readelf: -s --wide
5 #warning: \A[^\n]*\.o[^\n]*in function `_start':\n[^\n]*: undefined reference to `foo'\Z
6 
7 #failif
8 #...
9  +[0-9]+: +[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +UND foo
10 #...
11