mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
Allow mixing target and not-target directives
Mixing target and not-target directives can be used to run for x86_64-*-* target while skipping x86_64-*-gnux32 target. This patch allows mixing target and not-target directives. It is used to skip elfedit-1 for x86_64-*-gnux32. * binutils-all/elfedit-1.d: Skip x86_64-*-gnux32. * lib/utils-lib.exp (run_dump_test): Allow mixing target and not-target directives.
This commit is contained in:
parent
5197d47436
commit
e83c417475
@ -1,3 +1,9 @@
|
||||
2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* binutils-all/elfedit-1.d: Skip x86_64-*-gnux32.
|
||||
* lib/utils-lib.exp (run_dump_test): Allow mixing target and
|
||||
not-target directives.
|
||||
|
||||
2015-05-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* binutils-all/objdump.exp (cpus_expected): Append iamcu.
|
||||
|
@ -4,6 +4,7 @@
|
||||
#readelf: -h
|
||||
#name: Update ELF header 1
|
||||
#target: x86_64-*-*
|
||||
#not-target: x86_64-*-gnux32
|
||||
|
||||
#...
|
||||
ELF Header:
|
||||
|
@ -412,11 +412,6 @@ proc run_dump_test { name {extra_options {}} } {
|
||||
if {$skip} { return }
|
||||
}
|
||||
if { $opts(target) != "" } then {
|
||||
if { $opts(not-target) != "" } then {
|
||||
perror "$testname: mixing target and not-target directives is invalid"
|
||||
unresolved $testname
|
||||
return
|
||||
}
|
||||
set skip 1
|
||||
foreach glob $opts(target) {
|
||||
if {[istarget $glob]} {
|
||||
|
Loading…
Reference in New Issue
Block a user