MIPS/GAS/test: Fix an n32 `.reginfo' size test failure
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / comdat-reloc.s
CommitLineData
9e009953
MR
1 .abicalls
2
3 .section .text.foo, "axG", @progbits, bar, comdat
4 .align 2
5 .ent foo
6 .type foo, @function
7foo:
8 .frame $sp, 0, $31
9 .mask 0x00000000, 0
10 .fmask 0x00000000, 0
11 jr $31
12 .end foo
13 .size foo, . - foo
14
15 .section .text.bar, "axG", @progbits, bar, comdat
16 .align 2
17 .globl bar
18 .ent bar
19 .type bar, @function
20bar:
21 .frame $sp, 0, $31
22 .mask 0x00000000, 0
23 .fmask 0x00000000, 0
24 .set noreorder
25 .cpload $25
26 .set reorder
27 beqz $4, 1f
28 .set noreorder
29 lw $2, %got(foo)($28)
300:
31 jr $31
32 addiu $2, $2, %lo(foo)
331:
34 b 0b
35 lw $2, %got(foo)($28)
36 .set reorder
37 .end bar
38 .size bar, . - bar
This page took 0.075773 seconds and 4 git commands to generate.