diff options
author | Bernd Schmidt <bernd.schmidt@analog.com> | 2011-05-12 10:00:05 +0000 |
---|---|---|
committer | Bernd Schmidt <bernd.schmidt@analog.com> | 2011-05-12 10:00:05 +0000 |
commit | e95becdc13a260b9db7003c3caf952d1d83ae599 (patch) | |
tree | c270a10fa51d829527d649dce15dfb62e7f66cef /ld/testsuite/config | |
parent | 0e8dbac36d7c48384c67e0c78a56a2843c2e8709 (diff) | |
download | binutils-redhat-e95becdc13a260b9db7003c3caf952d1d83ae599.tar.gz |
* config/default.exp (ld_assemble): Pass flags parameter to
default_ld_assemble.
(ld_assemble_flags): New function.
* ld-elf/frame.exp: Pass -mpic and -mpid flags to the assembler on
tic6x.
* ld-elf/exclude.exp: Likewise.
* lib/ld-lib.exp (default_ld_assemble): Take extra argument in_flags
and pass it to the assembler.
Diffstat (limited to 'ld/testsuite/config')
-rw-r--r-- | ld/testsuite/config/default.exp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ld/testsuite/config/default.exp b/ld/testsuite/config/default.exp index 043a885698..26a7a0c353 100644 --- a/ld/testsuite/config/default.exp +++ b/ld/testsuite/config/default.exp @@ -205,7 +205,15 @@ proc ld_compile { cc source object } { # assemble a file # proc ld_assemble { as source object } { - default_ld_assemble $as $source $object + default_ld_assemble $as "" $source $object +} + +# +# ld_assemble_flags +# assemble a file with extra flags +# +proc ld_assemble_flags { as flags source object } { + default_ld_assemble $as $flags $source $object } # |