aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-05-29 20:10:22 +0000
committerIan Lance Taylor <ian@airs.com>1996-05-29 20:10:22 +0000
commit90557a6aea39b0adf094187561fe50579701dd85 (patch)
treec4869ca9c58ca357a7c96e4a3e7c5a07f63dad40 /ld
parent80483b240fd4dd226519c0df980d722e5823e193 (diff)
downloadgdb-90557a6aea39b0adf094187561fe50579701dd85.zip
gdb-90557a6aea39b0adf094187561fe50579701dd85.tar.gz
gdb-90557a6aea39b0adf094187561fe50579701dd85.tar.bz2
* scripttempl/elfmips.sc: Quote test -z argument.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog2
-rw-r--r--ld/scripttempl/elfmips.sc4
2 files changed, 4 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 03d819c..05a3116 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,7 @@
Wed May 29 13:13:35 1996 Ian Lance Taylor <ian@cygnus.com>
+ * scripttempl/elfmips.sc: Quote test -z argument.
+
* ld.texinfo: Clarify the CONSTRUCTORS command.
Thu May 23 16:07:44 1996 Ian Lance Taylor <ian@cygnus.com>
diff --git a/ld/scripttempl/elfmips.sc b/ld/scripttempl/elfmips.sc
index cb5c543..aed49a3 100644
--- a/ld/scripttempl/elfmips.sc
+++ b/ld/scripttempl/elfmips.sc
@@ -33,9 +33,9 @@ fi
# if this is for an embedded system, don't add SIZEOF_HEADERS.
if [ -z "$EMBEDDED" ]; then
- test -z ${TEXT_BASE_ADDRESS} && TEXT_BASE_ADDRESS="${TEXT_START_ADDR} + SIZEOF_HEADERS"
+ test -z "${TEXT_BASE_ADDRESS}" && TEXT_BASE_ADDRESS="${TEXT_START_ADDR} + SIZEOF_HEADERS"
else
- test -z ${TEXT_BASE_ADDRESS} && TEXT_BASE_ADDRESS="${TEXT_START_ADDR}"
+ test -z "${TEXT_BASE_ADDRESS}" && TEXT_BASE_ADDRESS="${TEXT_START_ADDR}"
fi
test -z "${BIG_OUTPUT_FORMAT}" && BIG_OUTPUT_FORMAT=${OUTPUT_FORMAT}