Fix link time warning message when running the srec linker tests.

* testsuite/ld-srec/srec.exp (run_srec_test): Set start address.
This commit is contained in:
Nick Clifton 2017-10-09 15:32:09 +01:00
parent 6753e38a5c
commit c474ea1a5f
2 changed files with 3 additions and 1 deletions

View file

@ -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.

View file

@ -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