]> xenbits.xensource.com Git - xen.git/commitdiff
x86/boot: do not create unwind tables
authorDaniel Kiper <daniel.kiper@oracle.com>
Wed, 8 Jun 2016 12:01:53 +0000 (14:01 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 8 Jun 2016 12:01:53 +0000 (14:01 +0200)
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 <jbeulich@suse.com>
Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/boot/build32.mk

index 4a1421f6badca76a5eb005597bc9afe2f6dcd9ee..4a7d3883b9573a238e1a707d9fe54e14d01280b7 100644 (file)
@@ -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'