djgpp.h (LIB_SPEC): New.
authorMark Elbrecht <snowball3@bigfoot.com>
Mon, 21 Jun 1999 05:23:16 +0000 (23:23 -0600)
committerJeff Law <law@gcc.gnu.org>
Mon, 21 Jun 1999 05:23:16 +0000 (23:23 -0600)
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
gcc/config/i386/xm-djgpp.h

index 6cee75bc837b95e2f339bb68f7e349a2d9e54507..5727b0a9bbd2d0a2ddc923ac0fd60d6ec39ce6da 100644 (file)
@@ -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
index 50034fd071d5d8d33562c95ae0895bab307573c0..ccf6e3cedf63765d0a1c34e2e260dbeebbb2ac41 100644 (file)
@@ -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