Constructor order help (related to PR 6482)

Kean Johnston jkj@sco.com
Fri Apr 11 01:56:00 GMT 2003


> (2) Neither CTOR_LIST_BEGIN nor CTORS_SECTION_ASM_OP defined,
>     which results in the default version of __CTOR_LIST__.

This may or may not be relevant to the discussion. I figured
out how to correctly define BSS_SECTION_ASM_OP in sco5.h.
In days of old it was simply ".data". Not quite the same thing
at all. I now have it set to ".section .bss, "aw", @nobits"
which seems to be playing nicely with the other kids in the park.

Is changing this from being in .data to .bss likely to mess me
up in any interesting ways I don't expect?

Kean



More information about the Gcc mailing list