aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-11-07 19:16:32 +0000
committerRichard Stallman <rms@gnu.org>1992-11-07 19:16:32 +0000
commitc75b6ee3bdcfb28594b907debc2a651c70dbe91b (patch)
treee28faa7ca8e7846e55f02f0d4c98eb4d2de16223 /gcc
parentf368417601b68ff10406320472a60193dc741f60 (diff)
downloadgcc-c75b6ee3bdcfb28594b907debc2a651c70dbe91b.zip
gcc-c75b6ee3bdcfb28594b907debc2a651c70dbe91b.tar.gz
gcc-c75b6ee3bdcfb28594b907debc2a651c70dbe91b.tar.bz2
(STARTFILE_SPEC): Fix line wrap.
(SIGNED_CHAR_SPEC): Defined to set _CHAR_UNSIGNED. From-SVN: r2711
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/sco.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/gcc/config/i386/sco.h b/gcc/config/i386/sco.h
index 8f1c8a0..a14a5e2 100644
--- a/gcc/config/i386/sco.h
+++ b/gcc/config/i386/sco.h
@@ -19,7 +19,8 @@
/* Use crt1.o as a startup file and crtn.o as a closing file. */
#undef STARTFILE_SPEC
-#define STARTFILE_SPEC "%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}} crtbegin.o%s"
+#define STARTFILE_SPEC \
+ "%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}} crtbegin.o%s"
#define ENDFILE_SPEC "crtend.o%s crtn.o%s"
@@ -37,6 +38,17 @@
#undef CPP_SPEC
#define CPP_SPEC "%{scointl:-DM_INTERNAT}"
+/* This spec is used for telling cpp whether char is signed or not. */
+
+#undef SIGNED_CHAR_SPEC
+#if DEFAULT_SIGNED_CHAR
+#define SIGNED_CHAR_SPEC \
+ "%{funsigned-char:-D__CHAR_UNSIGNED__ -D_CHAR_UNSIGNED}"
+#else
+#define SIGNED_CHAR_SPEC \
+ "%{!fsigned-char:-D__CHAR_UNSIGNED__ -D_CHAR_UNSIGNED}"
+#endif
+
/* Use atexit for static destructors, instead of defining
our own exit function. */
#define HAVE_ATEXIT