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 14cd40773e22baa5b80bbdd00bf21b5c143c1bfa..72b69742e2d3014f633c72d00708892228d2792c 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 e40033f95e97e67ecf0981de99f4d83b7f5126f2..125f0494cdd087359534fefeaa2ac99849d52ac6 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;