aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh/weak1.s
blob: 79192afb528b69dcaea864e66d21c4177a0b3bf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 .data
 .align 2
d0:
 .long 1
 .global w0
w0:
 .long 0
 .weak w0
 .text
 .align 5
f:
 mov.l .L3,r1
 mov.l @r1,r0
 rts 
 nop
 .align 2
.L3:
 .long w0