GNU Binutils with patches for OS216
Revisão | 6bb75436cd430556060e1526777eb0bb1e00c521 (tree) |
---|---|
Hora | 2018-06-26 21:14:30 |
Autor | Alan Modra <amodra@gmai...> |
Commiter | Alan Modra |
Fix parens in ld bootstrap.exp
Seen with tcl 8.5.13:
ERROR: tcl error sourcing .../ld/testsuite/ld-bootstrap/bootstrap.exp.
ERROR: expected boolean value but got " [istarget ia64-*-elf*] || [istarget ia64-*-linux*"
"if { "$flags" == "--static" && { [istarget ia64-*-elf*] || [istarget ia64-*-linux*] }
|| [istarget mips*-*-linux*] } {
# On ia64 and mips, tmpdir/l..."
* testsuite/ld-bootstrap/bootstrap.exp: Use parentheses rather
than curly braces in logical expression.
@@ -1,3 +1,8 @@ | ||
1 | +2018-06-26 Alan Modra <amodra@gmail.com> | |
2 | + | |
3 | + * testsuite/ld-bootstrap/bootstrap.exp: Use parentheses rather | |
4 | + than curly braces in logical expression. | |
5 | + | |
1 | 6 | 2018-05-21 H.J. Lu <hongjiu.lu@intel.com> |
2 | 7 | |
3 | 8 | PR ld/23194 |
@@ -179,8 +179,10 @@ foreach flags $test_flags { | ||
179 | 179 | continue |
180 | 180 | } |
181 | 181 | |
182 | - if { "$flags" == "--static" && { [istarget ia64-*-elf*] || [istarget ia64-*-linux*] } | |
183 | - || [istarget mips*-*-linux*] } { | |
182 | + if { "$flags" == "--static" | |
183 | + && ([istarget ia64-*-elf*] | |
184 | + || [istarget ia64-*-linux*] | |
185 | + || [istarget mips*-*-linux*]) } { | |
184 | 186 | # On ia64 and mips, tmpdir/ld2 != tmpdir/ld3 is normal since they are |
185 | 187 | # generated by different linkers, tmpdir/ld1 and tmpdir/ld2. |
186 | 188 | # So we rebuild tmpdir/ld2 with tmpdir/ld3. |