Re: [PATCH v2 1/2] sparc/build: Remove all usage of -fcall-used* flags

From: Koakuma
Date: Sat Oct 26 2024 - 10:51:00 EST


Andreas Larsson <andreas@xxxxxxxxxxx> wrote:
> Couldn't you use ifndef CONFIG_CC_IS_CLANG or perhaps better, use
> $(call cc-option,-fcall-used-g5) and $(call cc-option,-fcall-used-g7) to
> not remove the possibility for gcc to make use of these registers?

Sure sure! It works okay that way too.
But before I send a v3, let me wait for clarification for the docs issue
for the other patch.