diff options
author | Alan Modra <amodra@gmail.com> | 2018-09-03 10:49:57 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-09-03 12:54:35 +0930 |
commit | 0d9a433be406220413671495a9b0fab577a48b5e (patch) | |
tree | bca0066dfeed38bda771992492e52a652ebf0294 /ld/testsuite/ld-elf/pr23591c.s | |
parent | ec8da87a225ae9f86cf47765bcc56d6afa30d835 (diff) | |
download | gdb-0d9a433be406220413671495a9b0fab577a48b5e.zip gdb-0d9a433be406220413671495a9b0fab577a48b5e.tar.gz gdb-0d9a433be406220413671495a9b0fab577a48b5e.tar.bz2 |
Re: ld: Lookup section in output with the same name
Fixes pr23591 test failures on hppa64-hpux and score-elf, and xfails
frv-linux and lm32-linux.
PR ld/23591
* testsuite/ld-elf/pr23591a.s,
* testsuite/ld-elf/pr23591b.s,
* testsuite/ld-elf/pr23591c.s: Don't start directives in first column.
* testsuite/ld-elf/pr23591.d: xfail frv-linux and lm32-linux.
Allow __start___sancov_cntrs as a local symbol.
Diffstat (limited to 'ld/testsuite/ld-elf/pr23591c.s')
-rw-r--r-- | ld/testsuite/ld-elf/pr23591c.s | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ld/testsuite/ld-elf/pr23591c.s b/ld/testsuite/ld-elf/pr23591c.s index 338671c..695b218 100644 --- a/ld/testsuite/ld-elf/pr23591c.s +++ b/ld/testsuite/ld-elf/pr23591c.s @@ -1,26 +1,26 @@ .section __sancov_cntrs,"aG",%progbits,foo1,comdat .long 0 .section .text,"axG",%progbits,foo1,comdat -.ifdef UNDERSCORE + .ifdef UNDERSCORE .globl _foo1 .type _foo1, %function _foo1: -.else + .else .globl foo1 .type foo1, %function foo1: -.endif + .endif .long 0 .section __sancov_cntrs,"aG",%progbits,foo2,comdat .long 1 .section .text,"axG",%progbits,foo2,comdat -.ifdef UNDERSCORE + .ifdef UNDERSCORE .globl _foo2 .type _foo2, %function _foo2: .long 1 -.else + .else .globl foo2 .type foo2, %function foo2: -.endif + .endif |