This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Don't force initializers with local label difference into RW sections
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 31 Oct 2002 08:40:44 -0800
- Subject: Re: [PATCH] Don't force initializers with local label difference into RW sections
- References: <20021029213107.U3451@sunsite.ms.mff.cuni.cz>
On Tue, Oct 29, 2002 at 09:31:07PM +0100, Jakub Jelinek wrote:
> * varasm.c (output_addressed_constants) [MINUS_EXPR]: Clear reloc if
> both operands contain local relocations.
> (categorize_decl_for_section): Don't use mergeable sections if
> initializer has any relocations.
>
> * gcc.dg/20021029-1.c: New test.
> * gcc.dg/20021029-2.c: New test.
Ok.
r~