This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Janitor] Remove CFRONT_LOSSAGE
- From: Andreas Jaeger <aj at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 30 May 2003 21:34:56 +0200
- Subject: [Janitor] Remove CFRONT_LOSSAGE
CFRONT_LOSSAGE is nowhere defined. Ok to commit the appended patch
after bootstrapping on i686-linux-gnu?
Andreas
2003-05-30 Andreas Jaeger <aj@suse.de>
* collect2.c (is_ctor_dtor): Remove CFRONT_LOSSAGE dependend code.
============================================================
Index: gcc/collect2.c
--- gcc/collect2.c 17 May 2003 22:21:29 -0000 1.148
+++ gcc/collect2.c 30 May 2003 19:34:11 -0000
@@ -577,14 +577,6 @@ is_ctor_dtor (s)
{ "GLOBAL__F_", sizeof ("GLOBAL__F_")-1, 5, 0 },
{ "GLOBAL__FI_", sizeof ("GLOBAL__FI_")-1, 3, 0 },
{ "GLOBAL__FD_", sizeof ("GLOBAL__FD_")-1, 4, 0 },
-#ifdef CFRONT_LOSSAGE /* Do not collect cfront initialization functions.
- cfront has its own linker procedure to collect them;
- if collect2 gets them too, they get collected twice
- when the cfront procedure is run and the compiler used
- for linking happens to be GCC. */
- { "sti__", sizeof ("sti__")-1, 1, 1 },
- { "std__", sizeof ("std__")-1, 2, 1 },
-#endif /* CFRONT_LOSSAGE */
{ NULL, 0, 0, 0 }
};
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj