diff options
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr27491-3.s')
-rw-r--r-- | ld/testsuite/ld-x86-64/pr27491-3.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr27491-3.s b/ld/testsuite/ld-x86-64/pr27491-3.s new file mode 100644 index 0000000..efdcba4 --- /dev/null +++ b/ld/testsuite/ld-x86-64/pr27491-3.s @@ -0,0 +1,14 @@ + .weak __start_xx + .weak __stop_xx + + .text + .global foo +foo: + movq __start_xx@gotpcrel(%rip), %rax + movq __stop_xx@gotpcrel(%rip), %rax + + .section xx,"a",unique,1 + .byte 0 + + .section xx,"aR",unique,0 + .byte 1 |