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

17 lines
235 B
ArmAsm

.data
.type bar, @object
bar:
.byte 1
.size bar, .-bar
.globl foo
.type foo, @object
foo:
.byte 1
.size foo, .-foo
.text
.globl _start
.type _start, @function
_start:
movl $0, bar@GOT
cmpl $0, foo@GOT
movl $bar@GOT, %ecx