|
@@ -54,6 +54,10 @@ endif
|
|
|
cflags-y += $(call cc-option,-funit-at-a-time)
|
|
|
# prevent gcc from generating any FP code by mistake
|
|
|
cflags-y += $(call cc-option,-mno-sse -mno-mmx -mno-sse2 -mno-3dnow,)
|
|
|
+# this works around some issues with generating unwind tables in older gccs
|
|
|
+# newer gccs do it by default
|
|
|
+cflags-y += -maccumulate-outgoing-args
|
|
|
+
|
|
|
# do binutils support CFI?
|
|
|
cflags-y += $(call as-instr,.cfi_startproc\n.cfi_endproc,-DCONFIG_AS_CFI=1,)
|
|
|
AFLAGS += $(call as-instr,.cfi_startproc\n.cfi_endproc,-DCONFIG_AS_CFI=1,)
|