projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13391ff
)
PR15951, binutils testsuite builds status wrapper unconditionally
author
Alan Modra
<amodra@gmail.com>
Fri, 22 Jul 2022 01:11:33 +0000
(10:41 +0930)
committer
Alan Modra
<amodra@gmail.com>
Fri, 22 Jul 2022 01:13:29 +0000
(10:43 +0930)
PR 15951
* testsuite/binutils-all/objcopy.exp: Build testglue.o when
needs_status_wrapper.
binutils/testsuite/binutils-all/objcopy.exp
patch
|
blob
|
history
diff --git
a/binutils/testsuite/binutils-all/objcopy.exp
b/binutils/testsuite/binutils-all/objcopy.exp
index 9a5dad5384e1bad95f6d273fcbb6fec6d6ade2eb..5871d431eea342ae43a93da45439ce5c0b4da130 100644
(file)
--- a/
binutils/testsuite/binutils-all/objcopy.exp
+++ b/
binutils/testsuite/binutils-all/objcopy.exp
@@
-641,7
+641,12
@@
proc copy_setup { } {
global test_prog
global host_triplet
- set res [build_wrapper testglue.o]
+ if {[target_info exists needs_status_wrapper] && \
+ [target_info needs_status_wrapper] != "0"} {
+ set res [build_wrapper testglue.o]
+ } else {
+ set res ""
+ }
set flags { debug }
if { [istarget *-*-uclinux*] && ![istarget tic6x-*-*] && ![istarget arm*-*-uclinuxfdpiceabi] } {