This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix for PR 12537
Alan Modra <amodra@bigpond.net.au> writes:
...
> Tue Aug 20 18:49:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
>
> * rs6000/sysv4.h (ASM_OUTPUT_SECTION_NAME): If -mrelocatable or
> -mrelocatable-lib, don't make read-only sections.
This looks like a broken workaround for some bug in the middle-end or
elsewhere in this backend that probably doesn't exist any more. Let's
try taking it out and seeing what happens. If TARGET_RELOCATABLE,
then flag_pic will be set to 2 by SUBTARGET_OVERRIDE_OPTIONS in
sysv4.h, so any section that actually needs fixups should be made
writable by default_section_type_flags_1 anyway.
--
- Geoffrey Keating <geoffk@geoffk.org>