Re: [PATCH] Adjust 'malloc' attribute documentation to match implementation

2012-02-21 Thread Tijl Coosemans
On Tuesday 21 February 2012 10:19:15 Richard Guenther wrote: > On Mon, Feb 20, 2012 at 8:55 PM, Tijl Coosemans wrote: >> On Monday 9 January 2012 10:05:08 Richard Guenther wrote: >>> Since GCC 4.4 applying the malloc attribute to realloc-like >>> functions does no

Re: [PATCH] Adjust 'malloc' attribute documentation to match implementation

2012-02-20 Thread Tijl Coosemans
On Monday 9 January 2012 10:05:08 Richard Guenther wrote: > Since GCC 4.4 applying the malloc attribute to realloc-like > functions does not work under the documented constraints because > the contents of the memory pointed to are not properly transfered > from the realloc argument (or treated as p

Re: Add -lssp_nonshared to LINK_SSP_SPEC

2012-02-07 Thread Tijl Coosemans
On Tuesday 07 February 2012 12:53:24 Jakub Jelinek wrote: > On Tue, Feb 07, 2012 at 12:17:59PM +0100, Tijl Coosemans wrote: >> Everything still works on FreeBSD. > > After discussion about this on IRC Richard expressed his preference > for the following variant instead: Works too.

Re: Add -lssp_nonshared to LINK_SSP_SPEC

2012-02-07 Thread Tijl Coosemans
On Tuesday 07 February 2012 09:54:43 Jakub Jelinek wrote: > On Mon, Jan 23, 2012 at 12:03:27PM +0100, Richard Guenther wrote: >> On Mon, Jan 23, 2012 at 12:23 AM, Gerald Pfeifer wrote: >>> On Sat, 21 Jan 2012, Tijl Coosemans wrote: >>>> I've been using this p

Re: Add -lssp_nonshared to LINK_SSP_SPEC

2012-01-20 Thread Tijl Coosemans
On Wednesday 11 January 2012 10:06:42 Richard Guenther wrote: > On Tue, Jan 10, 2012 at 8:50 PM, Tijl Coosemans wrote: >> On Tuesday 10 January 2012 15:40:15 Richard Guenther wrote: >>> On Tue, Jan 10, 2012 at 3:38 PM, Richard Guenther >>> wrote: >>>>

Fix checks for !TARGET_MACHO

2012-01-17 Thread Tijl Coosemans
-fstack-protector -fpic. The rs6000 cases are untested. I don't have commit access, so please commit when approved. 2011-01-10 Tijl Coosemans * config/i386/i386.c: Fix checks for !TARGET_MACHO. * config/rs6000/rs6000.c: Likewise. --- gcc/config/i386/i386.c +++ gcc/config

Re: Add -lssp_nonshared to LINK_SSP_SPEC

2012-01-10 Thread Tijl Coosemans
On Tuesday 10 January 2012 15:40:15 Richard Guenther wrote: > On Tue, Jan 10, 2012 at 3:38 PM, Richard Guenther > wrote: >> On Tue, Jan 10, 2012 at 3:14 PM, Tijl Coosemans wrote: >>> On targets where libc implements stack protector functions (GNU libc, >>> FreeB

Add -lssp_nonshared to LINK_SSP_SPEC

2012-01-10 Thread Tijl Coosemans
chk_fail_local' /usr/local/bin/ld: test: hidden symbol `__stack_chk_fail_local' isn't defined /usr/local/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status I don't have commit access, so please commit when approved. 2011-01-10 Tijl Coosemans