From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: [PATCH] build: avoid putting local absolute symbols in symbol tables Date: Thu, 24 Mar 2016 08:31:08 -0600 Message-ID: <56F4083C02000078000E02BD@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part0B3CA33C.2__=" Return-path: Received: from mail6.bemta6.messagelabs.com ([85.158.143.247]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aj6Im-0001CX-Gs for xen-devel@lists.xenproject.org; Thu, 24 Mar 2016 14:31:56 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: xen-devel Cc: Andrew Cooper , Keir Fraser , Ian Jackson , Tim Deegan List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part0B3CA33C.2__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline They're not really useful past the building stage and only needlessly increase binary file sizes. Signed-off-by: Jan Beulich --- a/xen/Rules.mk +++ b/xen/Rules.mk @@ -50,6 +50,7 @@ ALL_OBJS-$(CONFIG_X86) +=3D $(BASEDIR)/c CFLAGS +=3D -nostdinc -fno-builtin -fno-common CFLAGS +=3D -Werror -Wredundant-decls -Wno-pointer-arith CFLAGS +=3D -pipe -g -D__XEN__ -include $(BASEDIR)/include/xen/config.h +CFLAGS +=3D -Wa,--strip-local-absolute CFLAGS +=3D '-D__OBJECT_FILE__=3D"$@"' =20 CFLAGS-$(verbose) +=3D -DVERBOSE --=__Part0B3CA33C.2__= Content-Type: text/plain; name="strip-local-absolute.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="strip-local-absolute.patch" build: avoid putting local absolute symbols in symbol tables=0A=0AThey're = not really useful past the building stage and only needlessly=0Aincrease = binary file sizes.=0A=0ASigned-off-by: Jan Beulich =0A= =0A--- a/xen/Rules.mk=0A+++ b/xen/Rules.mk=0A@@ -50,6 +50,7 @@ ALL_OBJS-$(C= ONFIG_X86) +=3D $(BASEDIR)/c=0A CFLAGS +=3D -nostdinc -fno-builtin = -fno-common=0A CFLAGS +=3D -Werror -Wredundant-decls -Wno-pointer-arith=0A = CFLAGS +=3D -pipe -g -D__XEN__ -include $(BASEDIR)/include/xen/config.h=0A+= CFLAGS +=3D -Wa,--strip-local-absolute=0A CFLAGS +=3D '-D__OBJECT_FILE__=3D= "$@"'=0A =0A CFLAGS-$(verbose) +=3D -DVERBOSE=0A --=__Part0B3CA33C.2__= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwOi8vbGlzdHMueGVuLm9y Zy94ZW4tZGV2ZWwK --=__Part0B3CA33C.2__=--