18 lines
335 B
D
18 lines
335 B
D
|
#source: protected2.s
|
||
|
#as: --64 -march=k1om
|
||
|
#ld: -shared -melf_k1om
|
||
|
#objdump: -drw
|
||
|
|
||
|
.*: +file format .*
|
||
|
|
||
|
|
||
|
Disassembly of section .text:
|
||
|
|
||
|
0+[a-f0-9]+ <foo>:
|
||
|
[ ]*[a-f0-9]+: c3 retq
|
||
|
|
||
|
0+[a-f0-9]+ <bar>:
|
||
|
[ ]*[a-f0-9]+: e8 fa ff ff ff callq [a-f0-9]+ <foo>
|
||
|
[ ]*[a-f0-9]+: c3 retq
|
||
|
#pass
|