On Wed, Jan 18, 2012 at 01:26:29PM +0100, Gerald Pfeifer wrote: > On Tue, 17 Jan 2012, Tijl Coosemans wrote: > > TARGET_MACHO is always defined (either 0 or 1) so using #ifndef to test > > for !TARGET_MACHO is incorrect. Introduced here: > > http://gcc.gnu.org/ml/gcc-patches/2011-06/msg00623.html > > > > The i386 case has been tested on i386-freebsd. The compiler now emits > > calls to __stack_chk_fail_local again when using -fstack-protector -fpic. > > > > The rs6000 cases are untested. > > > > I don't have commit access, so please commit when approved. > > > > > > 2011-01-10 Tijl Coosemans <t...@coosemans.org> > > > > * config/i386/i386.c: Fix checks for !TARGET_MACHO. > > * config/rs6000/rs6000.c: Likewise. > > Reviewers, I volunteer to commit when/if approved. (This fixes an > issue I care about. :-)
This is ok for trunk. Jakub