aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/crossref.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-scripts/crossref.exp')
-rw-r--r--ld/testsuite/ld-scripts/crossref.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-scripts/crossref.exp b/ld/testsuite/ld-scripts/crossref.exp
index fee9759..d5bcc49 100644
--- a/ld/testsuite/ld-scripts/crossref.exp
+++ b/ld/testsuite/ld-scripts/crossref.exp
@@ -28,7 +28,7 @@ if [istarget a29k*-*-*] {
# hppa-elf needs a definition for $global$.
if [istarget hppa*-*-*] {
- set flags "$flags --defsym '\$global\$'=0"
+ set flags "$flags --defsym \\\$global\\\$=0"
}
verbose -log "$ld $flags -o tmpdir/cross1 -T $srcdir/$subdir/cross1.t tmpdir/cross1.o tmpdir/cross2.o"