diff --git a/ld/ChangeLog b/ld/ChangeLog index 03d819c098..05a3116b95 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 cb5c54312f..aed49a3354 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}