tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building unwind tables by default



On Wed, Jun 12, 2013 at 10:18:51AM +1200, Lloyd Parkes wrote:
> 
> On 11/06/2013, at 8:10 AM, Joerg Sonnenberger 
> <joerg%britannica.bec.de@localhost> wrote:
> 
> > Hi all,
> > I would like to commit the attached patch to enable unwind tables by
> > default.
> 
> So -fno-unwind-tables will still work?

Yes.

> > Some size constrained parts of the system, like boot loaders, are going
> > to need further changes to strip the sections away, but that should be
> > easy to identify.
> 
> So you mean the Makefiles will need to have -fno-unwind-tables added? 

Yes.

> Your initial message made it sound like the only way to get rid of the unwind 
> tables would be to run a utility like objcopy, which doesn't seem right.

strip/objcopy is the only way that works for assembler files, too.
It doesn't matter at the moment, but as soon as we start to properly
attribute them, it will. -fno-unwind-tables simply has no meaning for
assembler sources.

Joerg


Home | Main Index | Thread Index | Old Index