This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] collect2 ctor name mismatch
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: Mark Mitchell <mark at codesourcery dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 22 Jul 2002 13:23:17 -0400
- Subject: Re: [PATCH] collect2 ctor name mismatch
>>>>> Hans-Peter Nilsson writes:
Hans-Peter> On Sun, 21 Jul 2002, David Edelsohn wrote:
>> * collect2.c (is_ctor_dtor): Compare against all three JOINER
>> variants.
Hans-Peter> I think you forgot F (to make it all three threes), as in
Hans-Peter> <URL:http://gcc.gnu.org/ml/gcc-patches/2001-09/msg01043.html>.
Hans-Peter> (Well, yes... I dropped that patch on the floor.)
The only place in GCC which appends a joiner character other than
'_' is decl2.c:start_objects() for initp. initp only is used for
constructors and destructors, not frames, AFAICT. I cannot find a place
where 'F' will have a joiner other than '_'. I do not want to add extra
strings just for completeness if they never will occur because that just
slows down collect2. Please show an example where 'F$' or 'F." will
occur.
Thanks, David