diff options
author | svn2git <svn2git@FreeBSD.org> | 1994-07-01 00:00:00 -0800 |
---|---|---|
committer | svn2git <svn2git@FreeBSD.org> | 1994-07-01 00:00:00 -0800 |
commit | 5e0e9b99dc3fc0ecd49d929db0d57c784b66f481 (patch) | |
tree | e779b5a6edddbb949b7990751b12d6f25304ba86 /gnu/usr.bin/cc | |
parent | a16f65c7d117419bd266c28a1901ef129a337569 (diff) | |
download | src-releng/1.tar.gz src-releng/1.zip |
Release FreeBSD 1.1.5.1release/1.1.5.1_cvsreleng/1
This commit was manufactured to restore the state of the 1.1.5.1-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
Diffstat (limited to 'gnu/usr.bin/cc')
-rw-r--r-- | gnu/usr.bin/cc/cc/gcc.c | 6 | ||||
-rw-r--r-- | gnu/usr.bin/cc/cpp/cccp.c | 2 | ||||
-rw-r--r-- | gnu/usr.bin/cc/lib/Makefile | 5 | ||||
-rw-r--r-- | gnu/usr.bin/cc/libgcc/Makefile | 17 | ||||
-rw-r--r-- | gnu/usr.bin/cc/libgcc/libgcc2.c | 5 |
5 files changed, 24 insertions, 11 deletions
diff --git a/gnu/usr.bin/cc/cc/gcc.c b/gnu/usr.bin/cc/cc/gcc.c index 4223d23f62bd..7522b433a2f5 100644 --- a/gnu/usr.bin/cc/cc/gcc.c +++ b/gnu/usr.bin/cc/cc/gcc.c @@ -35,6 +35,7 @@ compilation is specified by a string called a "spec". */ #include <signal.h> #include <sys/stat.h> #include <sys/file.h> /* May get R_OK, etc. on some systems. */ +#include <sys/errno.h> #include "config.h" #include "obstack.h" @@ -103,9 +104,6 @@ compilation is specified by a string called a "spec". */ extern void free (); extern char *getenv (); -extern int errno, sys_nerr; -extern char *sys_errlist[]; - extern int execv (), execvp (); /* If a stage of compilation returns an exit status >= 1, @@ -1181,7 +1179,7 @@ static char *standard_startfile_prefix_1 = "/lib/"; static char *standard_startfile_prefix_2 = "/usr/lib/"; #ifndef TOOLDIR_BASE_PREFIX -#define TOOLDIR_BASE_PREFIX "/usr/local/" +#define TOOLDIR_BASE_PREFIX "/usr/libexec/" #endif static char *tooldir_base_prefix = TOOLDIR_BASE_PREFIX; static char *tooldir_prefix; diff --git a/gnu/usr.bin/cc/cpp/cccp.c b/gnu/usr.bin/cc/cpp/cccp.c index 86ba2cfaa70e..ae2c5b18bc60 100644 --- a/gnu/usr.bin/cc/cpp/cccp.c +++ b/gnu/usr.bin/cc/cpp/cccp.c @@ -186,8 +186,6 @@ extern char *getenv (); extern FILE *fdopen (); extern char *version_string; extern struct tm *localtime (); -extern int sys_nerr; -extern char *sys_errlist[]; #ifndef errno extern int errno; diff --git a/gnu/usr.bin/cc/lib/Makefile b/gnu/usr.bin/cc/lib/Makefile index 233f45711cca..30eeb5168743 100644 --- a/gnu/usr.bin/cc/lib/Makefile +++ b/gnu/usr.bin/cc/lib/Makefile @@ -1,6 +1,9 @@ LIB = gcc2 -CFLAGS += -I${.CURDIR} -DNOFPU +CFLAGS += -I${.CURDIR} +.if !defined(CCFPU) +CFLAGS+= -DNOFPU +.endif NOPROFILE=no NOPIC=no diff --git a/gnu/usr.bin/cc/libgcc/Makefile b/gnu/usr.bin/cc/libgcc/Makefile index c139126bdfa9..4995e593c043 100644 --- a/gnu/usr.bin/cc/libgcc/Makefile +++ b/gnu/usr.bin/cc/libgcc/Makefile @@ -1,10 +1,9 @@ -# $Id: Makefile,v 1.11 1993/12/24 02:35:33 jkh Exp $ +# $Id: Makefile,v 1.13 1994/06/21 16:00:55 jkh Exp $ LIB= gcc -NOPROFILE= -INSTALL_PIC_ARCHIVE= +INSTALL_PIC_ARCHIVE=yes SHLIB_MAJOR= 1 -SHLIB_MINOR= 0 +SHLIB_MINOR= 1 CFLAGS+=-I${.CURDIR}/../lib -I${.CURDIR}/../${MACHINE} @@ -28,6 +27,8 @@ LIB2OBJS= _muldi3.o _divdi3.o _moddi3.o _udivdi3.o _umoddi3.o _negdi2.o \ OBJS= ${LIB1OBJS} ${LIB2OBJS} LIB1SOBJS=${LIB1OBJS:.o=.so} LIB2SOBJS=${LIB2OBJS:.o=.so} +P1OBJS=${LIB1OBJS:.o=.po} +P2OBJS=${LIB2OBJS:.o=.po} ${LIB1OBJS}: libgcc1.c ${CC} -c ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc1.c @@ -47,4 +48,12 @@ ${LIB2SOBJS}: libgcc2.c ${CC} -c -fpic ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc2.c .endif +.if !defined(NOPROFILE) +${P1OBJS}: libgcc1.c + ${CC} -c -p ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc1.c + +${P2OBJS}: libgcc2.c + ${CC} -c -p ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${.CURDIR}/libgcc2.c +.endif + .include <bsd.lib.mk> diff --git a/gnu/usr.bin/cc/libgcc/libgcc2.c b/gnu/usr.bin/cc/libgcc/libgcc2.c index 9dcccbe3d011..55d9d6d75a51 100644 --- a/gnu/usr.bin/cc/libgcc/libgcc2.c +++ b/gnu/usr.bin/cc/libgcc/libgcc2.c @@ -1097,6 +1097,8 @@ __fixunssfsi (SFtype a) Reult is negative if S1 is less than S2, positive if S1 is greater, 0 if S1 and S2 are equal. */ +#include <sys/types.h> + int __gcc_bcmp (s1, s2, size) unsigned char *s1, *s2; @@ -1318,6 +1320,9 @@ __bb_init_func (blocks) /* frills for C++ */ #ifdef L_op_new + +#include <sys/types.h> + typedef void (*vfp)(void); extern vfp __new_handler; |