aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/Inputs/i386-linkonce.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/Inputs/i386-linkonce.s')
-rw-r--r--test/ELF/Inputs/i386-linkonce.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/ELF/Inputs/i386-linkonce.s b/test/ELF/Inputs/i386-linkonce.s
new file mode 100644
index 000000000000..b5906cc79657
--- /dev/null
+++ b/test/ELF/Inputs/i386-linkonce.s
@@ -0,0 +1,11 @@
+.section .gnu.linkonce.t.__i686.get_pc_thunk.bx
+.global __i686.get_pc_thunk.bx
+__i686.get_pc_thunk.bx:
+ mov (%esp),%ebx
+ ret
+
+.section .text
+.global _strchr1
+_strchr1:
+ call __i686.get_pc_thunk.bx
+ ret