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

21 lines
455 B
D

#as: --32
#ld: --gc-sections -melf_i386 -z start-stop-gc -shared
#objdump: --syms -dw
.*: +file format elf32-i386
SYMBOL TABLE:
#...
[a-f0-9]+ g xx [a-f0-9]+ \.protected __stop_xx
#...
[a-f0-9]+ g xx [a-f0-9]+ \.protected __start_xx
#...
Disassembly of section .text:
[a-f0-9]+ <foo>:
+[a-f0-9]+: 8d 83 ([0-9a-f]{2} ){4}[ \t]+lea +-0x[a-f0-9]+\(%ebx\),%eax
+[a-f0-9]+: 8d 83 ([0-9a-f]{2} ){4}[ \t]+lea +-0x[a-f0-9]+\(%ebx\),%eax
#pass