mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
Run --gc-sections tests only if supported.
2011-10-07 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/elf.exp: Run --gc-sections tests only if --gc-sections is available.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2011-10-07 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* ld-elf/elf.exp: Run --gc-sections tests only if --gc-sections
|
||||||
|
is available.
|
||||||
|
|
||||||
2011-10-06 Alan Modra <amodra@gmail.com>
|
2011-10-06 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* ld-plugin/plugin-1.d, * ld-plugin/plugin-2.d, * ld-plugin/plugin-3.d,
|
* ld-plugin/plugin-1.d, * ld-plugin/plugin-2.d, * ld-plugin/plugin-3.d,
|
||||||
|
@ -138,9 +138,11 @@ if ![isnative] {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
run_cc_link_tests {
|
if [check_gc_sections_available] {
|
||||||
|
run_cc_link_tests {
|
||||||
{"PR ld/13195" "-Wl,--gc-sections" ""
|
{"PR ld/13195" "-Wl,--gc-sections" ""
|
||||||
{pr13195.c} {} "pr13195"}
|
{pr13195.c} {} "pr13195"}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
set array_tests {
|
set array_tests {
|
||||||
|
Reference in New Issue
Block a user