aboutsummaryrefslogtreecommitdiffstats
path: root/test/br3092924.asm
blob: 3f9cde04b8fd8a5c640a8a26019602031f70bb27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
%define RNUM	0x10000  ; max of relocations in a section is 0xffff

section	.data1
	r1 dd RNUM

section	.data2
	r2 dd RNUM

%macro x1 1
	mov eax, [r1 + %1]
%endmacro

%macro x2 1
	mov eax, [r2 + %1]
%endmacro

section	.text1

	%assign	i 0
	%rep RNUM
		x1 i
		x2 i
		%assign i i+1
	%endrep