From 6d3a8e3c78e2f90746cd7022c8214cc3076c5dc5 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 4 Jun 2003 06:56:26 +0200 Subject: [PATCH] * collect2.c (is_ctor_dtor): Remove CFRONT_LOSSAGE dependend code. From-SVN: r67422 --- gcc/ChangeLog | 2 ++ gcc/collect2.c | 8 -------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e3070a3a9227..fec93fecd0d3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2003-06-04 Andreas Jaeger + * collect2.c (is_ctor_dtor): Remove CFRONT_LOSSAGE dependend code. + * fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables. (write_lbrac): Remove ADD_MISSING_EXTERN_C dependend code. (recognized_function): Likewise. diff --git a/gcc/collect2.c b/gcc/collect2.c index 71229be5cc9a..4b20afc125d1 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -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 } }; -- 2.47.2