x86-64: Use $NOPIE_LDFLAGS/$NOPIE_CFLAGS on protected-func-1
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / protected8.d
1 #as: --64
2 #ld: -shared -melf_x86_64
3 #objdump: -drw
4
5 .*: +file format .*
6
7
8 Disassembly of section .text:
9
10 0+[a-f0-9]+ <bar>:
11 [ ]*[a-f0-9]+: 8b 05 ([0-9a-f]{2} ){4} * mov 0x[a-f0-9]+\(%rip\),%eax # [a-f0-9]+ <foo>
12 [ ]*[a-f0-9]+: c3 ret *
13 #pass