This is the mail archive of the
mailing list for the GCC project.
Re: Fix -fsection-anchors on Darwin
- From: Mike Stump <mrs at apple dot com>
- To: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 8 Jun 2006 15:44:20 -0700
- Subject: Re: Fix -fsection-anchors on Darwin
- References: <5B4E06FE-CD05-49DF-A287-8E79240CDDCB@apple.com>
Well, given the time and the wrong code gen, I've disabled -fsection-
anchors for darwin. It is safer than doing things like disappearing
data on people, which is the direction Geoff wanted to go. I think
we need a new linker feature for multiple entry points to really make
this work well, and if not that, then turning off
subsections_via_symbols and ensuring that works well.
If the optimizer wants to jam all the data together into one object
itself, and then write out that object, that would work as well, and
there is something appealing about that. Also, to get nice codegen
and dead code stripping, I think we want LTO to manage this issue.
This fixes a regression introduced by:
2006-04-30 David Edelsohn <firstname.lastname@example.org>
* config/rs6000/rs6000.c (rs6000_override_options): Enable
TARGET_NO_FP_IN_TOC for section anchors.
(optimization_options): Enable section anchors for all
Description: Text document