aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/Inputs/mips-pic.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/Inputs/mips-pic.s')
-rw-r--r--test/ELF/Inputs/mips-pic.s19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/ELF/Inputs/mips-pic.s b/test/ELF/Inputs/mips-pic.s
new file mode 100644
index 000000000000..880903241d3d
--- /dev/null
+++ b/test/ELF/Inputs/mips-pic.s
@@ -0,0 +1,19 @@
+ .option pic2
+
+ .section .text.1,"ax",@progbits
+ .align 4
+ .globl foo1a
+ .type foo1a, @function
+foo1a:
+ nop
+ .globl foo1b
+ .type foo1b, @function
+foo1b:
+ nop
+
+ .section .text.2,"ax",@progbits
+ .align 4
+ .globl foo2
+ .type foo2, @function
+foo2:
+ nop