This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Don't generate branch islands on ppc darwin9
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: mrs at apple dot com (Mike Stump)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 3 Feb 2007 05:06:53 -0500 (EST)
- Subject: Re: Don't generate branch islands on ppc darwin9
>
> We don't need to generate branch islands for ppc-darwin9 any more as
> the linker will now do this for us. Kernel extensions still need
> islands as the kernel loader won't generate them.
>
> Checked into mainline. I want to put this into 4.2, but it looks like
> I'll have to drag just a little more work to get it to fit in.
>
> For those with darwin9, I'm using 9A357.
>
>
> 2007-02-02 Mike Stump <mrs@apple.com>
>
> * config/darwin9.h (DARWIN_LINKER_GENERATES_ISLANDS): Add.
> * config/rs6000/rs6000.c (DARWIN_GENERATE_ISLANDS): Add.
> (output_call): Use DARWIN_GENERATE_ISLANDS to decide when to
> generate a branch island.
For -mmacosx-version-min=10.4 on powerpc-darwin9, this will cause
the programs that would have generated a branch island, no longer
work, I think.
Thanks,
Andrew Pinski