Add quotes to avoid a null test expression.
authorNick Clifton <nickc@redhat.com>
Thu, 16 Jun 2005 09:46:10 +0000 (09:46 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 16 Jun 2005 09:46:10 +0000 (09:46 +0000)
ld/ChangeLog
ld/emultempl/armelf.em

index 14cd407..72b6974 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-16  Alexander Klimov  <alserkli@inbox.ru>
+
+       * emultempl/armelf.em: Add quotes to avoid a null test
+       expression.
+
 2005-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * ld.texinfo (Command Line Options): Add @item for --hash-size.
index e40033f..125f049 100644 (file)
@@ -23,7 +23,7 @@
 # This file is sourced from elf32.em, and defines extra arm-elf
 # specific routines.
 #
-test -z $TARGET2_TYPE && TARGET2_TYPE="rel"
+test -z "$TARGET2_TYPE" && TARGET2_TYPE="rel"
 cat >>e${EMULATION_NAME}.c <<EOF
 
 static char *thumb_entry_symbol = NULL;