linux-hardened/arch
Tejun Heo 405d967dc7 linker script: throw away .discard section
x86 throws away .discard section but no other archs do.  Also,
.discard is not thrown away while linking modules.  Make every arch
and module linking throw it away.  This will be used to define dummy
variables for percpu declarations and definitions.

This patch is based on Ivan Kokshaysky's alpha percpu patch.

[ Impact: always throw away everything in .discard ]

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Bryan Wu <cooloney@kernel.org>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: David S. Miller <davem@davemloft.net>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Chris Zankel <chris@zankel.net>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Ingo Molnar <mingo@elte.hu>
2009-06-24 15:13:38 +09:00
..
alpha linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
arm linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
avr32 linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
blackfin linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
cris linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
frv linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
h8300 linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
ia64 linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
m32r linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
m68k linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
m68knommu linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
microblaze linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
mips linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
mn10300 linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
parisc linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
powerpc linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
s390 linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
sh linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
sparc linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
um linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
x86 percpu: use dynamic percpu allocator as the default percpu allocator 2009-06-24 15:13:35 +09:00
xtensa linker script: throw away .discard section 2009-06-24 15:13:38 +09:00
.gitignore
Kconfig gcov: add gcov profiling infrastructure 2009-06-18 13:03:57 -07:00