Patch committed: Fix -fsplit-stack -mcmodel=large

Ian Lance Taylor iant@google.com
Mon Nov 8 06:10:00 GMT 2010


PR 46089 points out that -fsplit-stack fails when using -mcmodel=large.
This fixes it.  Bootstrapped and tested on x86_64-unknown-linux-gnu.
Committed to mainline.

Ian


gcc/:
2010-11-07  Ian Lance Taylor  <iant@google.com>

	PR target/46089
	* config/i386/i386.c (split_stack_fn_large): New static variable.
	(ix86_expand_split_stack_prologue): Handle large model.

libgcc/:
2010-11-07  Ian Lance Taylor  <iant@google.com>

	PR target/46089
	* config/i386/morestack.S (__morestack_large_model): New
	function.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 5789 bytes
Desc: PR46089
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101108/5386ace9/attachment.bin>


More information about the Gcc-patches mailing list