[PATCH 10/19] ld: testsuite: Fix srec test setup for PRU
Dimitar Dimitrov
dimitar@dinux.eu
Mon Dec 5 20:43:00 GMT 2016
More information about the Binutils mailing list
Mon Dec 5 20:43:00 GMT 2016
- Previous message (by thread): [PATCH 14/19] ld: testsuite: PRU LD does not support arbitrary .text base addresses.
- Next message (by thread): [PATCH 18/19] ld: testsuite: Sanitize output from ld
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2016-10-16 Dimitar Dimitrov <dimitar@dinux.eu> * ld/testsuite/ld-srec/srec.exp (run_srec_test): Fix srec test setup for PRU. Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu> --- ld/testsuite/ld-srec/srec.exp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ld/testsuite/ld-srec/srec.exp b/ld/testsuite/ld-srec/srec.exp index 9fcf07a..10b0a51 100644 --- a/ld/testsuite/ld-srec/srec.exp +++ b/ld/testsuite/ld-srec/srec.exp @@ -300,6 +300,11 @@ proc run_srec_test { test objs } { set flags "$flags -no-relax" } + # PRU ELF target relaxes by default; S-Record linker does not + if [istarget pru*-*-*] { + set flags "$flags -no-relax" + } + if { ![ld_simple_link $ld tmpdir/sr1 "$flags $objs"] \ || ![ld_simple_link $ld tmpdir/sr2.sr "$flags --oformat srec $objs"] } { fail $test -- 2.10.2
- Previous message (by thread): [PATCH 14/19] ld: testsuite: PRU LD does not support arbitrary .text base addresses.
- Next message (by thread): [PATCH 18/19] ld: testsuite: Sanitize output from ld
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list