This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Commit]: Set start address for the


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]