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-prev] [day] [month] [year] [list]
Date:	Fri, 17 Jul 2009 23:13:12 +0200
From:	Sam Ravnborg <sam@...nborg.org>
To:	Tejun Heo <tj@...nel.org>
Cc:	"linux-arch@...r.kernel.org" <linux-arch@...r.kernel.org>,
	Linux Kernel <linux-kernel@...r.kernel.org>,
	Michal Simek <monstr@...str.eu>,
	microblaze-uclinux@...e.uq.edu.au,
	Paul Mundt <lethal@...ux-sh.org>,
	Tony Luck <tony.luck@...el.com>,
	Mike Frysinger <vapier@...too.org>
Subject: Re: [PATCH 2/2] linker script: unify usage of discard definition

On Wed, Jul 08, 2009 at 06:27:12PM +0900, Tejun Heo wrote:
> Discarded sections in different archs share some commonality but have
> considerable differences.  This led to linker script for each arch
> implementing its own /DISCARD/ definition, which makes maintaining
> tedious and adding new entries error-prone.
> 
> This patch makes all linker scripts to move discard definitions to the
> end of the linker script and use the common DISCARDS macro.  As ld
> uses the first matching section definition, archs can include default
> discarded sections by including them earlier in the linker script.
> 
> ia64 is notable because it first throws away some ia64 specific
> subsections and then include the rest of the sections into the final
> image, so those sections must be discarded before the inclusion.
> 
> defconfig compile tested for x86, x86-64, powerpc, powerpc64, ia64,
> alpha, sparc, sparc64 and s390.  Michal Simek tested microblaze.
> 
> Signed-off-by: Tejun Heo <tj@...nel.org>
> Acked-by: Paul Mundt <lethal@...ux-sh.org>
> Acked-by: Mike Frysinger <vapier@...too.org>
> Tested-by: Michal Simek <monstr@...str.eu>
> Cc: linux-arch@...r.kernel.org
> Cc: Michal Simek <monstr@...str.eu>
> Cc: microblaze-uclinux@...e.uq.edu.au
> Cc: Sam Ravnborg <sam@...nborg.org>
> Cc: Tony Luck <tony.luck@...el.com>

Patch looks good - thanks!

Acked-by: Sam Ravnborg <sam@...nborg.org>

	Sam
--
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