This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
rationale for bss patterns in default_section_type_flags ?
- From: Olivier Hainque <hainque at adacore dot com>
- To: gcc at gcc dot gnu dot org
- Cc: hainque at adacore dot com, porter at adacore dot com
- Date: Fri, 10 Jun 2005 16:30:18 +0200
- Subject: rationale for bss patterns in default_section_type_flags ?
Hello,
Is there a rationale for the list of bss patterns matched by
default_section_type_flags_1 ?
<< if (strcmp (name, ".bss") == 0
|| strncmp (name, ".bss.", 5) == 0
|| strncmp (name, ".gnu.linkonce.b.", 16) == 0
|| strcmp (name, ".sbss") == 0
|| strncmp (name, ".sbss.", 6) == 0
|| strncmp (name, ".gnu.linkonce.sb.", 17) == 0)
flags |= SECTION_BSS;
>>
Would matching, say, ".bss" anywhere-in or at-the-end-of name be
appropriate ?
If no, why not ?
Thanks in advance for your help.
Olivier