From 607044bf9a8c8a8b37666a3a64c0d9b005875b13 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 29 Mar 2016 17:16:47 +0200 Subject: [PATCH] build: avoid putting local absolute symbols in symbol tables They're not really useful past the building stage and only needlessly increase binary file sizes. Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper Acked-by: Tim Deegan --- xen/Rules.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/Rules.mk b/xen/Rules.mk index f29491e08d..d4dffde179 100644 --- a/xen/Rules.mk +++ b/xen/Rules.mk @@ -50,6 +50,7 @@ ALL_OBJS-$(CONFIG_X86) += $(BASEDIR)/crypto/built_in.o CFLAGS += -nostdinc -fno-builtin -fno-common CFLAGS += -Werror -Wredundant-decls -Wno-pointer-arith CFLAGS += -pipe -g -D__XEN__ -include $(BASEDIR)/include/xen/config.h +CFLAGS += -Wa,--strip-local-absolute CFLAGS += '-D__OBJECT_FILE__="$@"' CFLAGS-$(verbose) += -DVERBOSE -- 2.30.2