Re: [PATCH] Come up with section_flag enum.

2021-09-18 Thread Jeff Law via Gcc-patches
On 9/7/2021 3:43 AM, Martin Liška wrote: Hi. I'm planning some refactoring related to 'section *' and I noticed we have quite ugly mask definitions (of form 1UL << N), where SECTION_FORGET is unused and #define SECTION_STYLE_MASK 0x60    /* bits used for SECTION_STYLE */ Is actually

Re: [PATCH] Come up with section_flag enum.

2021-09-13 Thread Martin Liška
PING^1 On 9/7/21 11:43, Martin Liška wrote: Hi. I'm planning some refactoring related to 'section *' and I noticed we have quite ugly mask definitions (of form 1UL << N), where SECTION_FORGET is unused and #define SECTION_STYLE_MASK 0x60    /* bits used for SECTION_STYLE */ Is actually OR

[PATCH] Come up with section_flag enum.

2021-09-07 Thread Martin Liška
Hi. I'm planning some refactoring related to 'section *' and I noticed we have quite ugly mask definitions (of form 1UL << N), where SECTION_FORGET is unused and #define SECTION_STYLE_MASK 0x60 /* bits used for SECTION_STYLE */ Is actually OR of 2 other values. What about making that a