mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 07:08:01 +08:00
Tighten test for ld plugin support
To not match spu --plugin option. * lib/ld-lib.exp (check_plugin_api_available): Match "-plugin PLUGIN".
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2014-08-12 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* lib/ld-lib.exp (check_plugin_api_available): Match "-plugin PLUGIN".
|
||||||
|
|
||||||
2014-08-07 H.J. Lu <hongjiu.lu@intel.com>
|
2014-08-07 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
PR ld/16746
|
PR ld/16746
|
||||||
|
@ -1660,7 +1660,7 @@ proc check_plugin_api_available { } {
|
|||||||
if {![info exists plugin_api_available_saved]} {
|
if {![info exists plugin_api_available_saved]} {
|
||||||
# Check if the ld used by gcc supports --plugin.
|
# Check if the ld used by gcc supports --plugin.
|
||||||
set ld_output [remote_exec host $ld "--help"]
|
set ld_output [remote_exec host $ld "--help"]
|
||||||
if { [ string first "-plugin" $ld_output ] >= 0 } {
|
if { [ string first "-plugin PLUGIN" $ld_output ] >= 0 } {
|
||||||
set plugin_api_available_saved 1
|
set plugin_api_available_saved 1
|
||||||
} else {
|
} else {
|
||||||
set plugin_api_available_saved 0
|
set plugin_api_available_saved 0
|
||||||
|
Reference in New Issue
Block a user