summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/ld/testsuite/ld-mips-elf/multi-got-no-shared-1.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-mips-elf/multi-got-no-shared-1.s')
-rw-r--r--binutils-2.21/ld/testsuite/ld-mips-elf/multi-got-no-shared-1.s29
1 files changed, 29 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-mips-elf/multi-got-no-shared-1.s b/binutils-2.21/ld/testsuite/ld-mips-elf/multi-got-no-shared-1.s
new file mode 100644
index 0000000..a2eee84
--- /dev/null
+++ b/binutils-2.21/ld/testsuite/ld-mips-elf/multi-got-no-shared-1.s
@@ -0,0 +1,29 @@
+ .macro one_sym count
+ .globl sym_1_\count
+sym_1_\count:
+ la $2, sym_1_\count
+ .endm
+
+
+ .text
+ .globl func1
+ .ent func1
+func1:
+ .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 func1