public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] [gdb/testsuite] Use -fuse-ld=gold in fission.exp
@ 2019-06-18 17:03 Tom de Vries
0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2019-06-18 17:03 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0ed4690a67e2c4703d9088312de652d0d5f1aaaf
commit 0ed4690a67e2c4703d9088312de652d0d5f1aaaf
Author: Tom de Vries <tdevries@suse.de>
Date: Tue Jun 18 19:03:38 2019 +0200
[gdb/testsuite] Use -fuse-ld=gold in fission.exp
The target board fission.exp requires the gold linker (because it supports
--gdb-index).
When running the target board on a system where the default linker is not
gold, most tests will fail to compile.
Fix this by adding "-fuse-ld=gold" ( supported in gcc since version 4.8).
gdb/testsuite/ChangeLog:
2019-06-18 Tom de Vries <tdevries@suse.de>
* boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
Diff:
---
gdb/testsuite/ChangeLog | 4 ++++
gdb/testsuite/boards/fission.exp | 3 ++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 75adad3..71ac0ce 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2019-06-18 Tom de Vries <tdevries@suse.de>
+
+ * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
+
2019-06-18 Tom Tromey <tromey@adacore.com>
* gdb.base/list0.h: Add comment explaining control character.
diff --git a/gdb/testsuite/boards/fission.exp b/gdb/testsuite/boards/fission.exp
index 2c09d4d..64c0e0b 100644
--- a/gdb/testsuite/boards/fission.exp
+++ b/gdb/testsuite/boards/fission.exp
@@ -34,7 +34,8 @@ set_board_info debug_flags \
"-gsplit-dwarf" \
"-ggnu-pubnames" \
"-fdebug-types-section" \
- "-Wl,--gdb-index" }]
+ "-Wl,--gdb-index" \
+ "-fuse-ld=gold" }]
# This is needed otherwise dejagnu tries to rsh to host "fission".
load_board_description "local-board"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-06-18 17:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-18 17:03 [binutils-gdb] [gdb/testsuite] Use -fuse-ld=gold in fission.exp Tom de Vries
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).