On Tue, 2007-07-31 at 01:25 +0100, Pedro Alves wrote: > Danny Backx wrote: > > I've been digging in gcc internals and succeeded in implementing stuff > > that allows us to write code such as > > int main(int argc, char *argv[]) > > __attribute__((__exception_handler__(handler))); > > to indicate that handler is the exception handler for function main.
> I think you should push this down to wince-pe.h to have it shared by
> mingw32ce and cegcc.
Ok.
> * I'm sure this is incomplete, and there are a few things that
> need to be done - like limiting some optimizations/re-orderings in
> functions with handlers - but you can leave this for phase
> two for now.
Agreed.
> * could you contemplate using local symbols with local label
> prefix (.L) instead of _cegcc_ prefix on the size/end
> symbols? There shouldn't be a need to export all those
> auxilary symbols, is there?
I'm not an assembler/linker wizard, so the input is welcome. Yes I'll do
that.
> * I don't see the prolog size in the .pdata structure? Did I miss
> something?
I left that out for now, I used the entry points I could find in the
code generation, and hardcoded the prolog size in the calculation.
Danny
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Cegcc-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cegcc-devel
