This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH - darwin] PR target/25376
On Mon, Feb 06, 2006 at 10:12:30AM -0800, Josh Conner wrote:
> I see your point, although I can't say that I agree with you. And, I
> don't know of any reason why either approach (having the compiler supply
> a default segment name or changing the section attribute syntax) would
> not be possible. Unless I'm misunderstanding the issues here, it seems
> to me that either change is beyond the scope of my patch, which is
> intending to restore support for named function sections in a manner
> that is consistent with named variable sections, and that appears to
> have been unintentionally removed.
I was responding specifically to the testsuite change; I don't think
that Darwin supports named sections from the POV of the testsuite
infrastructure. For instance, look at the tests which actually
use dg-require-named-sections. Looks to me like there are five of
them, one of which is specifically for -freorder-blocks-and-partition,
and the others all use section("name"). And would fail.
--
Daniel Jacobowitz
CodeSourcery