aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pie1.d
blob: 06d2562b8043bee9faa0efe1dd97d43eba905969 (plain)
1
2
3
4
5
6
7
8
9
#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

#...
 +[0-9]+: +[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +UND foo
#pass