This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: array-quals-1.c test tweak
- From: "Joseph S. Myers" <jsm at polyomino dot org dot uk>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 8 Jan 2004 16:01:46 +0000 (UTC)
- Subject: Re: array-quals-1.c test tweak
- References: <20040108142031.GA2969@bubble.modra.org>
On Fri, 9 Jan 2004, Alan Modra wrote:
> Your new test is failing on powerpc64-linux, because a peculiarity of
> the ABI requires that we select sections as if we're building for a
> shared library. See config/rs6000/rs6000.c:rs6000_elf_select_section.
> This results in all the initialized pointers being placed in
> .data.rel.ro and .data.rel.ro.local. May I suggest the following
> change to the test?
This is the sort of thing I expected might be nonportable about checking
for .data. Your patch is OK.
--
Joseph S. Myers
jsm@polyomino.org.uk