This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[Commit]: Set start address for the
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Mon, 09 Oct 2017 15:31:48 +0100
- Subject: [Commit]: Set start address for the
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=nickc at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 03440C058EAE
Hi Guys,
This patch fixes a warning in the srec linker tests when the linker
does not find a start symbol.
Cheers
Nick
ld/ChangeLog
2017-10-09 Nick Clifton <nickc@redhat.com>
* testsuite/ld-srec/srec.exp (run_srec_test): Set start address.
diff --git a/ld/testsuite/ld-srec/srec.exp b/ld/testsuite/ld-srec/srec.exp
index cb0b69bdf1..c95a4ba633 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