• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revision6bb75436cd430556060e1526777eb0bb1e00c521 (tree)
Zeit2018-06-26 21:14:30
AutorAlan Modra <amodra@gmai...>
CommiterAlan Modra

Log Message

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*"

while executing

"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.

Ändern Zusammenfassung

Diff

--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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+
16 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
27
38 PR ld/23194
--- a/ld/testsuite/ld-bootstrap/bootstrap.exp
+++ b/ld/testsuite/ld-bootstrap/bootstrap.exp
@@ -179,8 +179,10 @@ foreach flags $test_flags {
179179 continue
180180 }
181181
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*]) } {
184186 # On ia64 and mips, tmpdir/ld2 != tmpdir/ld3 is normal since they are
185187 # generated by different linkers, tmpdir/ld1 and tmpdir/ld2.
186188 # So we rebuild tmpdir/ld2 with tmpdir/ld3.