aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-06-16 09:46:10 +0000
committerNick Clifton <nickc@redhat.com>2005-06-16 09:46:10 +0000
commita82644e2258235ccedc467a096f5e71d809943f0 (patch)
tree984cc4c30796cd6ac00325b6cab2a189569bec0d
parentcbee2975a9851cd73104d8292418970f77b034ee (diff)
downloadgdb-a82644e2258235ccedc467a096f5e71d809943f0.zip
gdb-a82644e2258235ccedc467a096f5e71d809943f0.tar.gz
gdb-a82644e2258235ccedc467a096f5e71d809943f0.tar.bz2
Add quotes to avoid a null test expression.
-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;