This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 4/n] OpenMP 4.0 offloading infrastructure: lto-wrapper
- From: Cary Coutant <ccoutant at google dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Ilya Verbin <iverbin at gmail dot com>, Richard Biener <rguenther at suse dot de>, Jan Hubicka <hubicka at ucw dot cz>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Thomas Schwinge <thomas at codesourcery dot com>, Kirill Yukhin <kirill dot yukhin at gmail dot com>, Andrey Turetskiy <andrey dot turetskiy at gmail dot com>
- Date: Wed, 15 Oct 2014 10:02:25 -0700
- Subject: Re: [PATCH 4/n] OpenMP 4.0 offloading infrastructure: lto-wrapper
- Authentication-results: sourceware.org; auth=none
- References: <20141002151457 dot GA59899 at msticlxl57 dot ims dot intel dot com> <20141008102650 dot GV1986 at tucnak dot redhat dot com> <20141009120738 dot GA7420 at msticlxl57 dot ims dot intel dot com> <20141009200703 dot GA56445 at GumBook dot local> <20141010065320 dot GA10376 at tucnak dot redhat dot com> <CAHACq4qgCNNxe+PPh3t8YVbdbbS5aUzeK=tH+Kp1r8Zxa1qG9Q at mail dot gmail dot com> <20141010170043 dot GQ10376 at tucnak dot redhat dot com> <20141013224247 dot GA61615 at msticlxl57 dot ims dot intel dot com> <20141014094009 dot GX10376 at tucnak dot redhat dot com>
> My preference would be to add the | SECTION_EXCLUDE unconditionally, and
> instead guard the
> if (flags & SECTION_EXCLUDE)
> *f++ = 'e';
> in varasm.c (default_elf_asm_named_section). The only other user of
> SECTION_EXCLUDE seems to be -gsplit-dwarf right now, Cary, is such a change
> ok with you?
Yes, that sounds fine.
> If you have new gas and old linker, I'd expect it would just ignore
> SHF_EXCLUDE.
Agreed.
-cary