aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-05-24 06:51:33 +0000
committerRichard Stallman <rms@gnu.org>1993-05-24 06:51:33 +0000
commit5f781ba3552b52df5d73b8e0e3435f7e90a44dff (patch)
treed2f1bd3b89bd4bfafd180a786c4f1eacfd6ffe5a /gcc
parent9a881238debcb40bac276085190116922be04b50 (diff)
downloadgcc-5f781ba3552b52df5d73b8e0e3435f7e90a44dff.zip
gcc-5f781ba3552b52df5d73b8e0e3435f7e90a44dff.tar.gz
gcc-5f781ba3552b52df5d73b8e0e3435f7e90a44dff.tar.bz2
(STARTFILE_SPEC, LINK_SPEC): Don't use crtbegin.o, crtend.o, crtn.o, libp.a.
(STARTFILE_SPEC, LINK_SPEC): Don't use crtbegin.o, crtend.o, crtn.o, libp.a. Use gcrt0.0, not gcrt1.o. (ENDFILE_SPEC): Use crtn.o. (CPP_PREDEFINES): Delete _AIX. (CPP_SPEC): Add _AIX, _I386, _MBCS. Handle -posix. (ASM_SPEC): Turned off. From-SVN: r4551
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/aix386ng.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/gcc/config/i386/aix386ng.h b/gcc/config/i386/aix386ng.h
index 884188e..07f6ac7 100644
--- a/gcc/config/i386/aix386ng.h
+++ b/gcc/config/i386/aix386ng.h
@@ -32,11 +32,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Use crt1.o as a startup file and crtn.o as a closing file. */
-#define STARTFILE_SPEC \
- "%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}} crtbegin.o%s"
+#define STARTFILE_SPEC "%{pg:gcrt0.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}}"
+#define ENDFILE_SPEC "crtn.o%s"
-#define LIB_SPEC "%{p:-L/usr/lib/libp}%{pg:-L/usr/lib/libp} -lc \
- crtend.o%s crtn.o%s"
+#define LIB_SPEC "%{shlib:-lc_s} -lc"
/* Special flags for the linker. I don't know what they do. */
@@ -44,12 +43,17 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Specify predefined symbols in preprocessor. */
-#define CPP_PREDEFINES "-D_I386 -Di386 -DAIX -D_AIX"
+#define CPP_PREDEFINES "-Dps2 -Dunix -Di386"
+
+#define CPP_SPEC \
+ "%{posix:-D_POSIX_SOURCE}%{!posix:-DAIX} -D_I386 -D_AIX -D_MBCS"
/* special flags for the aix assembler to generate the short form for all
qualifying forward reference */
-
+/* The buggy /bin/as of aix ps/2 1.2.x cannot always handle it. */
+#if 0
#define ASM_SPEC "-s2"
+#endif /* 0 */
#undef ASM_FILE_START
#define ASM_FILE_START(FILE) \