From 90557a6aea39b0adf094187561fe50579701dd85 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 29 May 1996 20:10:22 +0000 Subject: [PATCH] * scripttempl/elfmips.sc: Quote test -z argument. --- ld/ChangeLog | 2 ++ ld/scripttempl/elfmips.sc | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 03d819c098a..05a3116b959 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,7 @@ Wed May 29 13:13:35 1996 Ian Lance Taylor + * scripttempl/elfmips.sc: Quote test -z argument. + * ld.texinfo: Clarify the CONSTRUCTORS command. Thu May 23 16:07:44 1996 Ian Lance Taylor diff --git a/ld/scripttempl/elfmips.sc b/ld/scripttempl/elfmips.sc index cb5c54312f9..aed49a3354c 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} -- 2.30.2