From 7488cc6d69218c4863a4dcb44c687a1c3eb5bb2e Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Mon, 22 Jul 2002 19:31:37 +0000 Subject: [PATCH] * collect2.c (is_ctor_dtor): Add other possible JOINER values. From-SVN: r55656 --- gcc/ChangeLog | 4 ++++ gcc/collect2.c | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5dc440709ae..16453e57e12 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-07-22 David Edelsohn + + * collect2.c (is_ctor_dtor): Add other possible JOINER values. + 2002-07-22 Richard Earnshaw * arm.md (movqi): If optimizing and we can create pseudos, use diff --git a/gcc/collect2.c b/gcc/collect2.c index 537c076f939..7d90658a310 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -573,6 +573,15 @@ is_ctor_dtor (s) const char *orig_s = s; static const struct names special[] = { +#ifndef NO_DOLLAR_IN_LABEL + { "GLOBAL__I$", sizeof ("GLOBAL__I$")-1, 1, 0 }, + { "GLOBAL__D$", sizeof ("GLOBAL__D$")-1, 2, 0 }, +#else +#ifndef NO_DOT_IN_LABEL + { "GLOBAL__I.", sizeof ("GLOBAL__I.")-1, 1, 0 }, + { "GLOBAL__D.", sizeof ("GLOBAL__D.")-1, 2, 0 }, +#endif /* NO_DOT_IN_LABEL */ +#endif /* NO_DOLLAR_IN_LABEL */ { "GLOBAL__I_", sizeof ("GLOBAL__I_")-1, 1, 0 }, { "GLOBAL__D_", sizeof ("GLOBAL__D_")-1, 2, 0 }, { "GLOBAL__F_", sizeof ("GLOBAL__F_")-1, 5, 0 }, -- 2.30.2