summaryrefslogtreecommitdiff
path: root/test/riprel2.asm
blob: 2d13d3e40b93cd529956da5e961bc437bc7ecdb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
;Testname=unoptimized; Arguments=-fbin -oriprel2.bin -O0; Files=stdout stderr riprel.bin
;Testname=optimized;   Arguments=-fbin -oriprel2.bin -Ox; Files=stdout stderr riprel.bin

	bits 64

	default rel
	mov dword [foo],12345678h
	mov qword [foo],12345678h
	mov [foo],rax
	mov dword [foo],12345678h
foo: