Add 2 tests for PR ld/11812.
[binutils.git] / ld / testsuite / ld-cris / got7.s
blobc97055ed9d8ebe4fb96f381066dcb997203c44fe
1 ; Just something defining 7 variables @ 4 bytes and requesting GOT
2 ; entries for each of them.
4 .text
5 .global got7fn
6 .type got7fn,@function
7 got7fn:
8 .irpc n,1234567
9 move.d got7var\n:GOT,$r10
10 .endr
11 .Lfe:
12 .size got7fn,.Lfe-got7fn
14 .irpc n,1234567
15 .data
16 .global got7var\n
17 .type got7var\n,@object
18 .size got7var\n,4
19 got7var\n:
20 .dword 0
21 .endr