[PATCH] ARC: Strip libgcc debug information when generating BTF

Vineet Gupta vgupta at kernel.org
Sun Nov 1 10:38:57 PST 2026


On 11/1/26 03:09, Arnd Bergmann wrote:
>> I'm working on getting rid of libgcc linking for ARC.
>> This requires adding some GENERIC_LIB_* routines, but as part of that
>> series I'll propose a revert of this and then the dropping the first link.
>> Don't intend to revert this per se, but revert just makes it cleaner.
> Have you seen Simon's series?

No I didn't until now.

> https://lore.kernel.org/all/20261030-nios2-remove-usage-of-libgcc-v1-3-4e341c66082e@siemens-energy.com/
>
> I hope there is some overlap with what you need for arc in the
> lib/*.c functions. I can take both through the asm-generic tree
> to reduce the dependencies if that helps.

Oh that fits the bill perfectly. Mine also switched the others (with 
build test using their cross tool-chains).
Anyhow I'll wait for that to land. Would this need to wait full cycle ? 
If it can land in 7.4-rcX, I can hold off my existing patches for 
switching to current in-tree lib/* to also use the new ones and be done 
with libgcc.

Thx,
-Vineet



More information about the linux-snps-arc mailing list