aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-01-14 18:53:16 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2011-01-14 18:53:16 +0000
commit8989d00e969646e7a8f8df7b0e46d5271672071b (patch)
tree9b70cfafd4f15cf7c9bbb3a5167a995c2cf41ec0
parenta3010a69a8a707638909ba8e36eaa57df3953fb0 (diff)
downloadgcc-8989d00e969646e7a8f8df7b0e46d5271672071b.zip
gcc-8989d00e969646e7a8f8df7b0e46d5271672071b.tar.gz
gcc-8989d00e969646e7a8f8df7b0e46d5271672071b.tar.bz2
nwld.h (LINK_SPEC): Check -nodefaultlibs not -nodefaultlib.
* config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not -nodefaultlib. From-SVN: r168809
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/nwld.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2e7f403..d488377 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2011-01-14 Joseph Myers <joseph@codesourcery.com>
+ * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not
+ -nodefaultlib.
+
+2011-01-14 Joseph Myers <joseph@codesourcery.com>
+
* config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check
for mcpu not cpu.
* config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC,
diff --git a/gcc/config/i386/nwld.h b/gcc/config/i386/nwld.h
index c0d57bc..6d8e54f 100644
--- a/gcc/config/i386/nwld.h
+++ b/gcc/config/i386/nwld.h
@@ -1,6 +1,6 @@
/* nwld.h -- defines to be used when targeting GCC for some generic NetWare
system while using the Novell linker.
- Copyright (C) 2004, 2007, 2010 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2007, 2010, 2011 Free Software Foundation, Inc.
Written by Jan Beulich (jbeulich@novell.com)
@@ -31,7 +31,7 @@ along with GCC; see the file COPYING3. If not see
#undef LINK_SPEC
#define LINK_SPEC "--format:NLM --extensions:GNU" \
- " %{static:%{!nostdlib:%{!nodefaultlib:%estatic linking is not supported\n}}}"
+ " %{static:%{!nostdlib:%{!nodefaultlibs:%estatic linking is not supported\n}}}"
#undef LINK_GCC_C_SEQUENCE_SPEC
#define LINK_GCC_C_SEQUENCE_SPEC "%L %G"