[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] PE target: shorter function prologs
From: |
Rob Landley |
Subject: |
Re: [Tinycc-devel] PE target: shorter function prologs |
Date: |
Wed, 16 May 2007 20:04:29 -0400 |
User-agent: |
KMail/1.9.1 |
On Wednesday 16 May 2007 4:22 am, Zdenek Pavlas wrote:
> Hello everybody,
>
> Because of Windows' draconic handling of page faults 'sub esp, 4096' is
> a no-no. Rare functions needing page or more of stack space must call
> chkstk(stacksize) first. TCC needs 10 bytes for such call while the
> standard function prolog was only 9 so it pads them to 10 bytes.
>
> This patch uses a shorter chkstk() calling convention that fits in 9
> bytes so no more padding. Please check and apply if ok.
Applied.
Rob