summaryrefslogtreecommitdiff
path: root/gcc/libgcc2.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-07 00:31:01 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-07 00:31:01 +0000
commitad87de1ece2f52d260b582709751ab9f315ab349 (patch)
treeec80f8d1e46852ac1ba45aecdcda7201c302ac6f /gcc/libgcc2.c
parent8098b1a5d828997acb2555106b3edccc0b43b661 (diff)
downloadgcc-ad87de1ece2f52d260b582709751ab9f315ab349.tar.gz
Merge from gcc-2.8
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16987 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r--gcc/libgcc2.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c
index faa3c14cf2e..dd54319615d 100644
--- a/gcc/libgcc2.c
+++ b/gcc/libgcc2.c
@@ -42,6 +42,17 @@ Boston, MA 02111-1307, USA. */
#undef abort
#endif
+#if (SUPPORTS_WEAK == 1) && (defined (ASM_OUTPUT_DEF) || defined (ASM_OUTPUT_WEAK_ALIAS))
+#define WEAK_ALIAS
+#endif
+
+/* In a cross-compilation situation, default to inhibiting compilation
+ of routines that use libc. */
+
+#ifdef CROSS_COMPILE
+#define inhibit_libc
+#endif
+
/* Permit the tm.h file to select the endianness to use just for this
file. This is used when the endianness is determined when the
compiler is run. */
@@ -1526,7 +1537,7 @@ __bb_exit_func (void)
continue;
}
- /* ??? Should first write a header to the file. Perferably, a 4 byte
+ /* ??? Should first write a header to the file. Preferably, a 4 byte
magic number, 4 bytes containing the time the program was
compiled, 4 bytes containing the last modification time of the
source file, and 4 bytes indicating the compiler options used.