lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <4F621C930200007800078B9E@nat28.tlf.novell.com>
Date:	Thu, 15 Mar 2012 15:45:07 +0000
From:	"Jan Beulich" <JBeulich@...e.com>
To:	<lasse.collin@...aani.org>
Cc:	<linux-kernel@...r.kernel.org>
Subject: [PATCH] xz: make use of BCJ filter also for 32-bit x86 kernel

The ARCH value for 32-bit x86 is not x86, but i?86.

This reduces the image sizes of the kernels I routinely build by almost
100k (surprisingly much, to me at least).

Signed-off-by: Jan Beulich <jbeulich@...e.com>

---
 scripts/xz_wrap.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 3.3-rc7/scripts/xz_wrap.sh
+++ 3.3-rc7-xz-bcj-ix86/scripts/xz_wrap.sh
@@ -13,7 +13,7 @@ BCJ=
 LZMA2OPTS=
 
 case $ARCH in
-	x86|x86_64)     BCJ=--x86 ;;
+	i?86|x86_64)    BCJ=--x86 ;;
 	powerpc)        BCJ=--powerpc ;;
 	ia64)           BCJ=--ia64; LZMA2OPTS=pb=4 ;;
 	arm)            BCJ=--arm ;;



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ