fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / binutils / ld / testsuite / ld-sh / tlstpoff2.s
blob6ae9e92d3d19f39c290073c49e39a06330ac2fe4
1 .section .tbss,"awT",@nobits
2 .global x
3 y: .space 4
4 x: .space 4
6 .section barfn,"ax",@progbits
7 .align 1
8 .type bar, @function
9 bar:
10 mova .L1,r0
11 mov.l .L1,r12
12 add r0,r12
13 mov.l 1f,r0
14 stc gbr,r1
15 mov.l @(r0,r12),r0
16 bra 2f
17 add r0,r1
18 .align 2
19 1: .long x@GOTTPOFF
21 mov.l @r1,r0
22 rts
23 mov.l @r15+,r12
25 .align 2
26 .L1: .long _GLOBAL_OFFSET_TABLE_