aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2018-09-25 08:15:36 +0200
committerEric Botcazou <ebotcazou@gcc.gnu.org>2018-09-25 08:15:36 +0200
commite95bc8bb1dd5c7f55b3abf0fb1ee73c0c6b5596e (patch)
tree278c6866d002b595c1f0b1bd8d79c799a953e23f /ld
parent28fc25e06b449be061ceacf868e9040b14464aa3 (diff)
downloadgdb-e95bc8bb1dd5c7f55b3abf0fb1ee73c0c6b5596e.zip
gdb-e95bc8bb1dd5c7f55b3abf0fb1ee73c0c6b5596e.tar.gz
gdb-e95bc8bb1dd5c7f55b3abf0fb1ee73c0c6b5596e.tar.bz2
Couple of minor tweaks to the linker testsuite.
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.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/testsuite/ld-elf/pr14156b.d1
-rw-r--r--ld/testsuite/ld-elf/pr22677.s10
3 files changed, 15 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 9cdf22d..81d2ce4 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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.
diff --git a/ld/testsuite/ld-elf/pr14156b.d b/ld/testsuite/ld-elf/pr14156b.d
index 07c72b0..1cd16c0 100644
--- a/ld/testsuite/ld-elf/pr14156b.d
+++ b/ld/testsuite/ld-elf/pr14156b.d
@@ -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
diff --git a/ld/testsuite/ld-elf/pr22677.s b/ld/testsuite/ld-elf/pr22677.s
index 16f8bc3..3941584 100644
--- a/ld/testsuite/ld-elf/pr22677.s
+++ b/ld/testsuite/ld-elf/pr22677.s
@@ -10,7 +10,15 @@
.p2align 2
.word 0
- .text
+ .globl main
+ .globl start
+ .globl _start
+ .globl __start
.globl foo
+ .text
+main:
+start:
+_start:
+__start:
foo:
.word 0