diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2e7f4034386..d488377dad6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-01-14 Joseph Myers + + * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not + -nodefaultlib. + 2011-01-14 Joseph Myers * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check diff --git a/gcc/config/i386/nwld.h b/gcc/config/i386/nwld.h index c0d57bc55cb..6d8e54ff990 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"