|
@@ -179,18 +179,6 @@ ifndef CC_HAVE_ASM_GOTO
|
|
|
$(error Compiler lacks asm-goto support.)
|
|
|
endif
|
|
|
|
|
|
-#
|
|
|
-# Jump labels need '-maccumulate-outgoing-args' for gcc < 4.5.2 to prevent a
|
|
|
-# GCC bug (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46226). There's no way
|
|
|
-# to test for this bug at compile-time because the test case needs to execute,
|
|
|
-# which is a no-go for cross compilers. So check the GCC version instead.
|
|
|
-#
|
|
|
-ifdef CONFIG_JUMP_LABEL
|
|
|
- ifneq ($(ACCUMULATE_OUTGOING_ARGS), 1)
|
|
|
- ACCUMULATE_OUTGOING_ARGS = $(call cc-if-fullversion, -lt, 040502, 1)
|
|
|
- endif
|
|
|
-endif
|
|
|
-
|
|
|
ifeq ($(ACCUMULATE_OUTGOING_ARGS), 1)
|
|
|
# This compiler flag is not supported by Clang:
|
|
|
KBUILD_CFLAGS += $(call cc-option,-maccumulate-outgoing-args,)
|