[Buildroot] [PATCH v2] xtensa: add config option to enable longcalls option

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Dec 4 21:39:14 UTC 2012


Dear Chris Zankel,

On Tue, 04 Dec 2012 12:40:51 -0800, Chris Zankel wrote:

> > I agree. Lets use the safe option by default.
> >
> Not sure what you mean with the 'safe option'? I'm also not sure what

I guess Peter means enabling "-mlongcalls" all the time. My
understanding (and I think Peter did understand it the same way) is
that if you build with -mlongcalls, then all binaries will work, both
small and large binaries, even though there is a small size
and performance cost.

So, what we propose is to simply make -mlongcalls part of the CFLAGS
unconditionally in the Buildroot Xtensa support.

> the preference for options is when you pass both, the -mlongcalls and
> -mno-longcalls option at the same time?

The last one takes precedence, I think.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list