Couple of minor tweaks to the linker testsuite.
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 25 Sep 2018 06:15:36 +0000 (08:15 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 25 Sep 2018 06:15:36 +0000 (08:15 +0200)
This gets rid of the couple of linker failures for visium-elf:

FAIL: ld-elf/pr14156b
FAIL: ld-elf/pr22677

by tweaking the respective testcases.  The first tweak is the same as the
one made to the sibling testcase ld-elf/pr14156a.d about one year ago and
the  second tweak adds the usual main/start/_start/__start symbols.

ld/
* testsuite/ld-elf/pr14156b.d: Adjust for extra symbols.
* testsuite/ld-elf/pr22677.s: Define main/start/_start/__start.

ld/ChangeLog
ld/testsuite/ld-elf/pr14156b.d
ld/testsuite/ld-elf/pr22677.s

index 9cdf22df6736ad806c2d96775345ad7403badd59..81d2ce4e6617e56474ac051b3d91a038c6b36e76 100644 (file)
@@ -1,3 +1,8 @@
+2018-09-25  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * testsuite/ld-elf/pr14156b.d: Adjust for extra symbols.
+       * testsuite/ld-elf/pr22677.s: Define main/start/_start/__start.
+
 2018-09-24  Jim Wilson  <jimw@sifive.com>
 
        * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend-2.
index 07c72b054e260ace0c5e4cfff31c237918ec3507..1cd16c021b7f1338114ca15a01bf7568adbdf7de 100644 (file)
@@ -10,6 +10,7 @@
 #...
 [0-9a-f]+ T foo
 [0-9a-f]+ t foo1
+#...
 [0-9a-f]+ t foo2
 [0-9a-f]+ t foo3
 [0-9a-f]+ t last
index 16f8bc31497e1cb1fa0744ee229b084136c9bafd..3941584448dacbe140dfb98dccf0951bbbf9bf84 100644 (file)
        .p2align 2
        .word 0
 
-       .text
+       .globl main
+       .globl start
+       .globl _start
+       .globl __start
        .globl foo
+       .text
+main:
+start:
+_start:
+__start:
 foo:
        .word 0
This page took 0.030184 seconds and 4 git commands to generate.