mpir/yasm/modules/objfmts/elf/tests/amd64/gotpcrel.asm
2009-07-25 00:50:29 +00:00

7 lines
187 B
NASM

var:
mov rax, [var wrt ..got]
mov rax, [var wrt ..gotpcrel] ; should be error/warning?
mov rax, [rel var wrt ..got] ; automatic promotion to GOTPCREL
mov rax, [rel var wrt ..gotpcrel]