Re: libgcc patch committed: Improve calling non-split-stack code

2011-12-21 Thread Ian Lance Taylor
Richard Henderson writes: > On 12/20/2011 03:07 PM, Ian Lance Taylor wrote: >> __morestack_non_split: >> +.cfi_startproc >> >> #ifndef __x86_64__ >> -addl$0x4000,4(%esp) >> + >> +# See below for an extended explanation of the CFI instructions. >> +.cfi_offset 8, 8

Re: libgcc patch committed: Improve calling non-split-stack code

2011-12-21 Thread Richard Henderson
On 12/20/2011 03:07 PM, Ian Lance Taylor wrote: > __morestack_non_split: > + .cfi_startproc > > #ifndef __x86_64__ > - addl$0x4000,4(%esp) > + > + # See below for an extended explanation of the CFI instructions. > + .cfi_offset 8, 8# New PC stored at CFA + 8

libgcc patch committed: Improve calling non-split-stack code

2011-12-20 Thread Ian Lance Taylor
When the gold linker sees a call from -fsplit-stack code to code compiled without -fsplit-stack, it arranges for the function to call __morestack_non_split instead of __morestack. The __morestack_non_split function requests a larger stack, one that is large enough to run code which doesn't know ab