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.