diff options
author | Alan Modra <amodra@gmail.com> | 2003-01-20 12:57:59 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-01-20 12:57:59 +0000 |
commit | d2823f55fd5735344f6181f5ec1bd3b51108db17 (patch) | |
tree | ebd548041211f857354649db899facf6aa5e89fd /ld/testsuite/ld-srec/srec.exp | |
parent | 43d92ce0bfcdf30f1525a946d54751136502fb25 (diff) | |
download | gdb-d2823f55fd5735344f6181f5ec1bd3b51108db17.zip gdb-d2823f55fd5735344f6181f5ec1bd3b51108db17.tar.gz gdb-d2823f55fd5735344f6181f5ec1bd3b51108db17.tar.bz2 |
* ld-srec/srec.exp (run_srec_test): Pass --traditional-format to ld.
Diffstat (limited to 'ld/testsuite/ld-srec/srec.exp')
-rw-r--r-- | ld/testsuite/ld-srec/srec.exp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/testsuite/ld-srec/srec.exp b/ld/testsuite/ld-srec/srec.exp index af1ceed..a965c22 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 |