[PATCH] arm64: kill off the libgcc dependency

Arnd Bergmann arnd at arndb.de
Wed Jan 14 03:35:22 PST 2015


On Wednesday 14 January 2015 10:48:26 Will Deacon wrote:
> On Wed, Jan 14, 2015 at 10:38:54AM +0000, Kevin Hao wrote:
> > The arm64 doesn't depend on the libgcc to build the vmlinux image.
> 
> Yes it does; we make use of __builtin_* for our bitops, for example.
> The compiler guys don't guarantee that these will be inlined.

Is that an architecture-specific statement?

The debate has been going on for ages in Linux, most architecture
maintainers however decided against using libgcc and copy the functions
that are actually needed into the kernel sources.

	Arnd



More information about the linux-arm-kernel mailing list