summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-mips-elf/multi-got-no-shared-2.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/ld/testsuite/ld-mips-elf/multi-got-no-shared-2.s')
-rw-r--r--binutils-2.25/ld/testsuite/ld-mips-elf/multi-got-no-shared-2.s27
1 files changed, 27 insertions, 0 deletions
diff --git a/binutils-2.25/ld/testsuite/ld-mips-elf/multi-got-no-shared-2.s b/binutils-2.25/ld/testsuite/ld-mips-elf/multi-got-no-shared-2.s
new file mode 100644
index 00000000..1de7a140
--- /dev/null
+++ b/binutils-2.25/ld/testsuite/ld-mips-elf/multi-got-no-shared-2.s
@@ -0,0 +1,27 @@
+ .macro one_sym count
+ .globl sym_2_\count
+sym_2_\count:
+ la $2, sym_2_\count
+ .endm
+
+ .text
+ .ent func2
+func2:
+ .frame $sp,0,$31
+ .set noreorder
+ .cpload $25
+ .set reorder
+ .cprestore 8
+ .set noreorder
+
+ .irp thou,0,1,2,3,4,5,6,7,8
+ .irp hund,0,1,2,3,4,5,6,7,8,9
+ .irp tens,0,1,2,3,4,5,6,7,8,9
+ .irp ones,0,1,2,3,4,5,6,7,8,9
+ one_sym \thou\hund\tens\ones
+ .endr
+ .endr
+ .endr
+ .endr
+
+ .end func2