summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc/include
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1995-03-11 03:51:44 +0000
committernate <nate@FreeBSD.org>1995-03-11 03:51:44 +0000
commitdef41e081c88907cd33f369609fa63b7f4ddc285 (patch)
treea9fa1301c94d8b4fb5e9a476721c602b519dc93f /gnu/usr.bin/cc/include
parenta6008cc6726a1b36187cc4bff3c3a35860fe29c6 (diff)
downloadFreeBSD-src-def41e081c88907cd33f369609fa63b7f4ddc285.zip
FreeBSD-src-def41e081c88907cd33f369609fa63b7f4ddc285.tar.gz
Updated the sources to gcc 2.6.3 with FreeBSD changes already applied.
Note: This isn't the most correct way, but it works and it's fast.
Diffstat (limited to 'gnu/usr.bin/cc/include')
-rw-r--r--gnu/usr.bin/cc/include/expr.h3
-rw-r--r--gnu/usr.bin/cc/include/tm.h29
2 files changed, 7 insertions, 25 deletions
diff --git a/gnu/usr.bin/cc/include/expr.h b/gnu/usr.bin/cc/include/expr.h
index 3a4a0af..c71b3f6 100644
--- a/gnu/usr.bin/cc/include/expr.h
+++ b/gnu/usr.bin/cc/include/expr.h
@@ -487,6 +487,9 @@ extern int expand_twoval_binop PROTO((optab, rtx, rtx, rtx, rtx, int));
/* Expand a unary arithmetic operation given optab rtx operand. */
extern rtx expand_unop PROTO((enum machine_mode, optab, rtx, rtx, int));
+/* Expand the absolute value operation. */
+extern rtx expand_abs PROTO((enum machine_mode, rtx, rtx, int, int));
+
/* Expand the complex absolute value operation. */
extern rtx expand_complex_abs PROTO((enum machine_mode, rtx, rtx, int));
diff --git a/gnu/usr.bin/cc/include/tm.h b/gnu/usr.bin/cc/include/tm.h
index 1f88ceb..a3cd694 100644
--- a/gnu/usr.bin/cc/include/tm.h
+++ b/gnu/usr.bin/cc/include/tm.h
@@ -22,6 +22,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* This is tested by i386gas.h. */
#define YES_UNDERSCORES
+/* Don't assume anything about the header files. */
+#define NO_IMPLICIT_EXTERN_C
+
#include "i386/gstabs.h"
/* Get perform_* macros to build libgcc.a. */
@@ -65,12 +68,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define HAVE_ATEXIT
-/* Tell final.c that we don't need a label passed to mcount. */
-
-#define NO_PROFILE_DATA
-
-/* Redefine this to not pass an unused label in %edx. */
-
+/* Redefine this to use %eax instead of %edx. */
#undef FUNCTION_PROFILER
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
@@ -233,22 +231,3 @@ do { \
putc ('\n', FILE); \
} \
} while (0)
-
-/* This is defined when gcc is compiled in the BSD-directory-tree, and must
- * make up for the gap to all the stuff done in the GNU-makefiles.
- */
-
-#ifdef FREEBSD_NATIVE
-
-#undef MD_EXEC_PREFIX
-#define MD_EXEC_PREFIX "/usr/libexec/"
-
-#undef STANDARD_STARTFILE_PREFIX
-#define STANDARD_STARTFILE_PREFIX "/usr/lib"
-
-#define DEFAULT_TARGET_MACHINE "i386-unknown-freebsd_1.0"
-#define GPLUSPLUS_INCLUDE_DIR "/usr/local/lib/gcc-lib/i386-unknown-freebsd_1.0/2.5.8/include"
-#define TOOL_INCLUDE_DIR "/usr/local/i386-unknown-freebsd_1.0/include"
-#define GCC_INCLUDE_DIR "/usr/local/lib/gcc-lib/i386-unknown-freebsd_1.0/2.5.8/include"
-
-#endif /* FREEBSD_NATIVE */
OpenPOWER on IntegriCloud