Revert "PR25570, ld duplicate "warning: changing start of section""
[deliverable/binutils-gdb.git] / ld / testsuite / ld-csky / got.s
CommitLineData
b8891f8d
AJ
1 .text
2 .align 2
3 .global foo
4 .type foo, @function
5foo:
6 push l0, lr, gb
7 lrw t1, .L2@GOTPC
8 grs gb, .L2
9.L2:
10 addu gb, gb, t1
11 lrs.w a3, [var1@GOT]
12 ld.w l0, (a3, 0)
13 lrs.w a3, [var2@GOT]
14 ld.w a3, (a3, 0)
15 lrs.w a0, [bar@PLT]
16 addu l0, l0, a3
17 jsr a0
18 addu a0, l0, a0
19 pop l0, lr, gb
This page took 0.126797 seconds and 4 git commands to generate.