From: Daniel Kiper Date: Wed, 8 Jun 2016 12:01:53 +0000 (+0200) Subject: x86/boot: do not create unwind tables X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~1017 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=647fde45730771f47b438ee495e16fd4e9cf9629;p=xen.git x86/boot: do not create unwind tables This way .eh_frame section is not included in *.lnk and *.bin files. Hence, final e.g. reloc.bin file size is reduced from 408 bytes to 272 bytes and it contains only used code and data. Suggested-by: Jan Beulich Signed-off-by: Daniel Kiper Reviewed-by: Andrew Cooper --- diff --git a/xen/arch/x86/boot/build32.mk b/xen/arch/x86/boot/build32.mk index 4a1421f6ba..4a7d3883b9 100644 --- a/xen/arch/x86/boot/build32.mk +++ b/xen/arch/x86/boot/build32.mk @@ -4,7 +4,7 @@ include $(XEN_ROOT)/Config.mk $(call cc-options-add,CFLAGS,CC,$(EMBEDDED_EXTRA_CFLAGS)) -CFLAGS += -Werror -fno-builtin -msoft-float +CFLAGS += -Werror -fno-asynchronous-unwind-tables -fno-builtin -msoft-float CFLAGS := $(filter-out -flto,$(CFLAGS)) # NB. awk invocation is a portable alternative to 'head -n -1'