This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: array-quals-1.c test tweak


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]