diff options
Diffstat (limited to 'ld/testsuite/ld-i386/pr27491-2.s')
-rw-r--r-- | ld/testsuite/ld-i386/pr27491-2.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pr27491-2.s b/ld/testsuite/ld-i386/pr27491-2.s new file mode 100644 index 0000000000..17871dddd7 --- /dev/null +++ b/ld/testsuite/ld-i386/pr27491-2.s @@ -0,0 +1,16 @@ + .weak __start_xx + .weak __stop_xx + + .text + .global foo +foo: + movl __start_xx@got(%ebx), %eax + movl __stop_xx@got(%ebx), %eax + leal bar1@got(%ebx), %eax + + .section xx,"a",unique,0 +bar1: + .byte 0 + + .section xx,"a",unique,1 + .byte 1 |