This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, ARM] Avoid pulling in unwinder for 64-bit division


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]