aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/nwld.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/nwld.h')
-rw-r--r--gcc/config/i386/nwld.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/i386/nwld.h b/gcc/config/i386/nwld.h
index 7585f86..fe132af 100644
--- a/gcc/config/i386/nwld.h
+++ b/gcc/config/i386/nwld.h
@@ -31,7 +31,8 @@ Boston, MA 02110-1301, USA. */
#define LINKER_NAME "nwld"
#undef LINK_SPEC
-#define LINK_SPEC "--format nlm %{static:%{!nostdlib:%{!nodefaultlib:%eStatic linking is not supported.\n}}}"
+#define LINK_SPEC "--format:NLM --extensions:GNU" \
+ " %{static:%{!nostdlib:%{!nodefaultlib:%eStatic linking is not supported.\n}}}"
#undef LINK_GCC_C_SEQUENCE_SPEC
#define LINK_GCC_C_SEQUENCE_SPEC "%L %G"