aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr27491-3.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/pr27491-3.s')
-rw-r--r--ld/testsuite/ld-i386/pr27491-3.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pr27491-3.s b/ld/testsuite/ld-i386/pr27491-3.s
new file mode 100644
index 0000000..85fc3dd
--- /dev/null
+++ b/ld/testsuite/ld-i386/pr27491-3.s
@@ -0,0 +1,14 @@
+ .weak __start_xx
+ .weak __stop_xx
+
+ .text
+ .global foo
+foo:
+ movl __start_xx@got(%ebx), %eax
+ movl __stop_xx@got(%ebx), %eax
+
+ .section xx,"a",unique,0
+ .byte 0
+
+ .section xx,"aR",unique,1
+ .byte 1