[patch windows]: Support SECTION_EXCLUDE for pe-coff targets

2011-09-27 Thread Kai Tietz
Hi, this patch enables same feature as in thread [google] Add SECTION_EXCLUDE flag and exclude .gnu.callgraph sections (issue5126041) for pe-coff x86 and x64 targets. ChangeLog 2011-09-27 Kai Tietz kti...@redhat.com * configure.ac: Add test for new section attribute specifier

Re: [patch windows]: Support SECTION_EXCLUDE for pe-coff targets

2011-09-27 Thread Richard Henderson
On 09/27/2011 12:58 PM, Kai Tietz wrote: +#ifdef HAVE_GAS_SECTION_EXCLUDE + if ((flags SECTION_EXCLUDE) != 0) +*f++ = 'e'; +#endif If 'e' is not supported, I wonder if we should emit 'n'? Otherwise ok. r~

Re: [patch windows]: Support SECTION_EXCLUDE for pe-coff targets

2011-09-27 Thread Kai Tietz
2011/9/27 Richard Henderson r...@redhat.com: On 09/27/2011 12:58 PM, Kai Tietz wrote: +#ifdef HAVE_GAS_SECTION_EXCLUDE +  if ((flags SECTION_EXCLUDE) != 0) +    *f++ = 'e'; +#endif If 'e' is not supported, I wonder if we should emit 'n'? Otherwise ok. r~ This sounds fair. At least