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: 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


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