summaryrefslogtreecommitdiff
path: root/gcc/config/i386/djgpp.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-21 05:23:16 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-21 05:23:16 +0000
commitbde7c37c545d3f141870b5cdcabf1c84a6c0f4b1 (patch)
tree914a67ba944784dab8e786d14c5f377c69ec52bb /gcc/config/i386/djgpp.h
parent16b3236538d88c210297c278a3f3d86ca34b5cd9 (diff)
downloadgcc-bde7c37c545d3f141870b5cdcabf1c84a6c0f4b1.tar.gz
x
* i386/djgpp.h (LIB_SPEC): New. (STARTFILE_SPEC): New. * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27655 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/djgpp.h')
-rw-r--r--gcc/config/i386/djgpp.h10
1 files changed, 9 insertions, 1 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