From d4308a83ff4d0133faff3eb96729ff4671c2cf38 Mon Sep 17 00:00:00 2001 From: Mark Elbrecht Date: Sun, 20 Jun 1999 23:23:16 -0600 Subject: [PATCH] djgpp.h (LIB_SPEC): New. x * i386/djgpp.h (LIB_SPEC): New. (STARTFILE_SPEC): New. * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete. From-SVN: r27655 --- gcc/config/i386/djgpp.h | 10 +++++++++- gcc/config/i386/xm-djgpp.h | 2 -- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/config/i386/djgpp.h b/gcc/config/i386/djgpp.h index 6cee75bc837..5727b0a9bbd 100644 --- a/gcc/config/i386/djgpp.h +++ b/gcc/config/i386/djgpp.h @@ -70,7 +70,15 @@ Boston, MA 02111-1307, USA. */ \t%{!A:%{!nostdlib:%{!nostartfiles:%E}}}\ \t-Tdjgpp.djl %{T*}}}}}}}\n\ %{!c:%{!M:%{!MM:%{!E:%{!S:stubify %{v} %{o*:%*} %{!o*:a.out} }}}}}" - + +/* Always just link in 'libc.a'. */ +#undef LIB_SPEC +#define LIB_SPEC "-lc" + +/* Pick the right startup code depending on the -pg flag. */ +#undef STARTFILE_SPEC +#define STARTFILE_SPEC "%{pg:gcrt0.o%s}%{!pg:crt0.o%s}" + /* Make sure that gcc will not look for .h files in /usr/local/include unless user explicitly requests it. */ #undef LOCAL_INCLUDE_DIR diff --git a/gcc/config/i386/xm-djgpp.h b/gcc/config/i386/xm-djgpp.h index 50034fd071d..ccf6e3cedf6 100644 --- a/gcc/config/i386/xm-djgpp.h +++ b/gcc/config/i386/xm-djgpp.h @@ -34,8 +34,6 @@ Boston, MA 02111-1307, USA. */ /* Allow test for DOS drive names. */ #define HAVE_DOS_BASED_FILESYSTEM -#define NO_SYS_SIGLIST 1 - #define LIBSTDCXX "-lstdcxx" /* System dependant initialization for collect2 -- 2.30.2