Retro68/binutils/ld/testsuite/ld-x86-64/protected2.d

17 lines
295 B
D
Raw Normal View History

2012-03-26 19:18:29 +00:00
#as: --64
#ld: -shared -melf_x86_64
#objdump: -drw
.*: +file format .*
Disassembly of section .text:
0+[a-f0-9]+ <foo>:
2022-10-27 18:45:45 +00:00
[ ]*[a-f0-9]+: c3 ret
2012-03-26 19:18:29 +00:00
0+[a-f0-9]+ <bar>:
2022-10-27 18:45:45 +00:00
[ ]*[a-f0-9]+: e8 fa ff ff ff call [a-f0-9]+ <foo>
[ ]*[a-f0-9]+: c3 ret
2012-03-26 19:18:29 +00:00
#pass