Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-i386/pr26263.d
2023-03-06 14:48:14 +01:00

19 lines
389 B
Makefile

#source: ../ld-x86-64/pr26263.s
#as: --32
#ld: -shared -melf_i386
#objdump: -dw
.*: +file format .*
Disassembly of section .text:
0+[a-f0-9]+ <printk>:
+[a-f0-9]+: c3 ret
Disassembly of section .init.text:
0+[a-f0-9]+ <foo>:
+[a-f0-9]+: e8 ([0-9a-f]{2} ){4} call [a-f0-9]+ <printk>
+[a-f0-9]+: e8 ([0-9a-f]{2} ){4} call [a-f0-9]+ <printk>
#pass