aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gcc.gnu.org>1994-12-06 10:48:28 +0000
committerRoland McGrath <roland@gcc.gnu.org>1994-12-06 10:48:28 +0000
commitbc9165144e32001cff1cd9334b50ec444e3bd54c (patch)
tree689be5d9bf9c65a68b55262ba6f44b1246e8287c
parent4e1eb519d63563152e302d5707f93d7f94f431ec (diff)
downloadgcc-bc9165144e32001cff1cd9334b50ec444e3bd54c.zip
gcc-bc9165144e32001cff1cd9334b50ec444e3bd54c.tar.gz
gcc-bc9165144e32001cff1cd9334b50ec444e3bd54c.tar.bz2
Initial revision
From-SVN: r8612
-rw-r--r--gcc/config/gnu.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/gcc/config/gnu.h b/gcc/config/gnu.h
new file mode 100644
index 0000000..ca01142
--- /dev/null
+++ b/gcc/config/gnu.h
@@ -0,0 +1,21 @@
+/* Configuration common to all targets running the GNU system. */
+
+/* Provide GCC options for standard feature-test macros. */
+#undef CPP_SPEC
+#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
+
+/* Provide an ASM_SPEC appropriate for GNU. Currently we only deal
+ with the options for generating PIC code. */
+#undef ASM_SPEC
+#define ASM_SPEC " %| %{fpic:-k} %{fPIC:-k -K}"
+
+/* Default C library spec. Use -lbsd-compat for gcc -bsd. */
+#undef LIB_SPEC
+#define LIB_SPEC "%{bsd:-lbsd-compat} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
+
+
+/* We have atexit). */
+#define HAVE_ATEXIT
+
+/* Implicit library calls should use memcpy, not bcopy, etc. */
+#define TARGET_MEM_FUNCTIONS