summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pie1.d
blob: acd90b7952bbc4e5caebc8168e7b780c333995e7 (plain)
1
2
3
4
5
6
7
8
9
10
#name: PIE with undefined symbol
#as: --64
#ld: -pie -melf_x86_64 --noinhibit-exec -z notext
#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
#...