nwld.h (LINK_SPEC): Check -nodefaultlibs not -nodefaultlib.

* config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not
	-nodefaultlib.

From-SVN: r168809
This commit is contained in:
Joseph Myers 2011-01-14 18:53:16 +00:00 committed by Joseph Myers
parent a3010a69a8
commit 8989d00e96
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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"