This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, ARM] Avoid pulling in unwinder for 64-bit division
- From: Paul Brook <paul at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Julian Brown <julian at codesourcery dot com>
- Date: Thu, 26 Nov 2009 14:44:15 +0000
- Subject: Re: [PATCH, ARM] Avoid pulling in unwinder for 64-bit division
- References: <20091027141012.40ff0d90@rex.config>
On Tuesday 27 October 2009, Julian Brown wrote:
> This patch sets compilation flags for the relevant parts of libgcc on
> ARM such that the unwinder is not unnecessarily pulled in to the linked
> executable when 64-bit division is used. This can be quite a
> significant space saving on bare-metal systems.
Do we want to be using -fexceptions at all? My guess is this works mostly by
chance because all the routines in that file are leaf functions, and we should
really remove this too. If we do have a mix of (leaf) division routines and
code that can be throw though then I thing we need to split them into
different files.
Might be worth noting that ARM is special because we already did the /0 checks
in eh assembly wrappers.
Paul