d439d7c7c734de4ba5251d153e6e939154a32406
[deliverable/binutils-gdb.git] / ld / testsuite / ld-mips-elf / undefweak-overflow.s
1 # relocs against undefined weak symbols should not be treated as
2 # overflowing
3
4 .module mips64r6
5 .globl start
6 .weak foo
7 start:
8 .set noreorder
9 .set mips64r6
10 beqzc $2, foo
11 nop
12 bnezc $2, foo
13 lwpc $2, foo
14 ldpc $2, foo
15 bc foo
16
17 b foo
18 nop
19 bal foo
20 lui $4, %gp_rel(foo)
21
22 jal foo
23 nop
24 j foo
25 nop
26
27 .set mips32r2
28 .set micromips
29 micro:
30 beqz16 $4, foo
31 nop
32 b16 foo
33 nop
34 b foo
35 nop
36 bal foo
37 nop
38
39 jal foo
40 nop
41 j foo
42 nop
43
44 .set nomicromips
45 .set mips16
46 mips16:
47 b foo
48
49 jal foo
50 nop
This page took 0.030418 seconds and 3 git commands to generate.