C++ Issue on GCC 3.0 branch
Mark Mitchell
mark@codesourcery.com
Sun Apr 22 16:22:00 GMT 2001
>>>>> "John" == John David Anglin <dave@hiauly1.hia.nrc.ca> writes:
>> Then, mail them to me, with the PA traget-triplet and cc1plus
>> command-line options. I should be able to track down what's
>> going on, although someone may have to remind me about how some
>> of the PA assembler directives work...
John> I think I am beginning to see the light. In start_objects,
John> there is the code:
John> #if defined(ASM_OUTPUT_CONSTRUCTOR) &&
John> defined(ASM_OUTPUT_DESTRUCTOR) /* It can be a static
John> function as long as collect2 does not have to scan the
John> object file to find its ctor/dtor routine. */ TREE_PUBLIC
John> (current_function_decl) = 0; #endif
I'm sorry I haven't had more time to work on your problem this
weekend. I've been working on a proposal that I need to get out. I
will try to look at it more tonight, using your patch to cobble around
the cross-compilation abort.
I think this is a red herring though -- I think this code is talking
about "static constructors" which are the things that arrange for
global initialization and finalization, not constructors for
individual types, which is what the symbols you referenced were
talking about.
Yours,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc
mailing list