aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/emultempl/armelf.em2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 14cd407..72b6974 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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.
diff --git a/ld/emultempl/armelf.em b/ld/emultempl/armelf.em
index e40033f..125f049 100644
--- a/ld/emultempl/armelf.em
+++ b/ld/emultempl/armelf.em
@@ -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;