rationale for bss patterns in default_section_type_flags ?
Mike Stump
mrs@apple.com
Fri Jun 10 22:33:00 GMT 2005
On Friday, June 10, 2005, at 03:04 PM, Brett Porter wrote:
> Part of the question is "how bss sections are named" according
> to evolution, or some crystal clear standard, or what ?
Ultimately, people just pick names. Once picked, they form crystal
clear standards.
>>> Would matching, say, ".bss" anywhere-in or at-the-end-of name be
>>> appropriate?
>>
>> No, the standard is to be prefix based, this simplifies the impact on
>> the linker scripts.
>
> Ok. So a new category of bss sections could be matched by
> "X.bss" or "X.bss."*. Would that be reasonable?
_prefix_, not suffix. No. You'd first have to explain why the
existing standard of prefix can't be made to work I think. .bss.X
would be the convention to use.
More information about the Gcc
mailing list