aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Elbrecht <snowball3@bigfoot.com>1999-06-20 23:23:16 -0600
committerJeff Law <law@gcc.gnu.org>1999-06-20 23:23:16 -0600
commitd4308a83ff4d0133faff3eb96729ff4671c2cf38 (patch)
tree914a67ba944784dab8e786d14c5f377c69ec52bb /gcc
parent15d76a9bce86c11048606b227ca4b34b89a45ea2 (diff)
downloadgcc-d4308a83ff4d0133faff3eb96729ff4671c2cf38.zip
gcc-d4308a83ff4d0133faff3eb96729ff4671c2cf38.tar.gz
gcc-d4308a83ff4d0133faff3eb96729ff4671c2cf38.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/djgpp.h10
-rw-r--r--gcc/config/i386/xm-djgpp.h2
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/config/i386/djgpp.h b/gcc/config/i386/djgpp.h
index 6cee75b..5727b0a 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 50034fd..ccf6e3c 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