From: Alan Modra Date: Mon, 20 Jan 2003 12:57:59 +0000 (+0000) Subject: * ld-srec/srec.exp (run_srec_test): Pass --traditional-format to ld. X-Git-Tag: gprof-pre-ansify-2004-05-26~2696 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=c8eb5b16fb7595e061e697f0f95a9883d1f87ac3;p=pf3gnuchains%2Fpf3gnuchains4x.git * ld-srec/srec.exp (run_srec_test): Pass --traditional-format to ld. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index d93a7fa70a..dd063c8f6c 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2003-01-20 Alan Modra + + * ld-srec/srec.exp (run_srec_test): Pass --traditional-format to ld. + 2003-01-18 Jakub Jelinek * ld-ia64/tlspic1.s: Add tests for IE in shared libraries. diff --git a/ld/testsuite/ld-srec/srec.exp b/ld/testsuite/ld-srec/srec.exp index af1ceed892..a965c22bbd 100644 --- a/ld/testsuite/ld-srec/srec.exp +++ b/ld/testsuite/ld-srec/srec.exp @@ -1,6 +1,6 @@ # Test linking directly to S-records. # By Ian Lance Taylor, Cygnus Support. -# Copyright 2001 +# Copyright 2001, 2002, 2003 # Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify @@ -225,7 +225,8 @@ proc run_srec_test { test objs } { global sizeof_headers global host_triplet - set flags "" + # Tell the ELF linker to not do anything clever with .eh_frame. + set flags "--traditional-format" # If the linker script uses SIZEOF_HEADERS, use a -Ttext argument # to force both the normal link and the S-record link to be put in