mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-04-12 18:40:23 +08:00
test: Add br3092924.asm
coff massive relocations test Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
01102ee8e6
commit
d9fddf047e
25
test/br3092924.asm
Normal file
25
test/br3092924.asm
Normal file
@ -0,0 +1,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user