aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-10-09 15:32:09 +0100
committerNick Clifton <nickc@redhat.com>2017-10-09 15:32:09 +0100
commitc474ea1a5f1524668cb8ce91c3682cb0cb837e08 (patch)
treee1367c6d1fe0d00e2c13279fa99da1bbdfe687c0 /ld
parent6753e38a5c71b4b4ae81bba41fb67890abfa4e0f (diff)
downloadgdb-c474ea1a5f1524668cb8ce91c3682cb0cb837e08.zip
gdb-c474ea1a5f1524668cb8ce91c3682cb0cb837e08.tar.gz
gdb-c474ea1a5f1524668cb8ce91c3682cb0cb837e08.tar.bz2
Fix link time warning message when running the srec linker tests.
* testsuite/ld-srec/srec.exp (run_srec_test): Set start address.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog2
-rw-r--r--ld/testsuite/ld-srec/srec.exp2
2 files changed, 3 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index e7d7128..b8df81c 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,7 @@
2017-10-09 Nick Clifton <nickc@redhat.com>
+ * testsuite/ld-srec/srec.exp (run_srec_test): Set start address.
+
PR ld/19874
* testsuite/ld-x86-64/pr19784c.c (bar): Change return type to void.
diff --git a/ld/testsuite/ld-srec/srec.exp b/ld/testsuite/ld-srec/srec.exp
index cb0b69b..c95a4ba 100644
--- a/ld/testsuite/ld-srec/srec.exp
+++ b/ld/testsuite/ld-srec/srec.exp
@@ -229,7 +229,7 @@ proc run_srec_test { test objs } {
# Tell the ELF linker to not do anything clever with .eh_frame,
# not to put anything in small data, and define various symbols.
- set flags "--traditional-format -G 0 "
+ set flags "--traditional-format -G 0 -e 0 "
append flags [ld_link_defsyms]
# If the linker script uses SIZEOF_HEADERS, use a -Ttext argument