mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-12 12:16:04 +08:00
19 lines
334 B
D
19 lines
334 B
D
|
#as: --64
|
||
|
#ld: -m elf_x86_64 -shared
|
||
|
#objdump: -dw
|
||
|
|
||
|
.*: +file format .*
|
||
|
|
||
|
|
||
|
Disassembly of section .text:
|
||
|
|
||
|
0+1000 <printk>:
|
||
|
+[a-f0-9]+: c3 ret
|
||
|
|
||
|
Disassembly of section .init.text:
|
||
|
|
||
|
0+1001 <foo>:
|
||
|
+[a-f0-9]+: e8 fa ff ff ff call 1000 <printk>
|
||
|
+[a-f0-9]+: e8 f5 ff ff ff call 1000 <printk>
|
||
|
#pass
|