kernel-fxtec-pro1x/arch/m68knommu/kernel
Tejun Heo 023bf6f1b8 linker script: unify usage of discard definition
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@kernel.org>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Tested-by: Michal Simek <monstr@monstr.eu>
Cc: linux-arch@vger.kernel.org
Cc: Michal Simek <monstr@monstr.eu>
Cc: microblaze-uclinux@itee.uq.edu.au
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Tony Luck <tony.luck@intel.com>
2009-07-09 11:27:40 +09:00
..
asm-offsets.c ptrace: remove PT_DTRACE from m68k, m68knommu 2009-06-18 13:03:48 -07:00
dma.c m68knommu: fix DMA support for ColdFire 2009-04-22 14:45:08 +10:00
entry.S m68knommu: remove unecessary include of thread_info.h in entry.S 2009-06-11 14:33:16 +10:00
init_task.c mm: consolidate init_mm definition 2009-06-16 19:47:28 -07:00
irq.c m68knommu: switch to using generic_handle_irq() 2009-03-24 15:17:46 +10:00
m68k_ksyms.c Generic semaphore implementation 2008-04-17 10:42:34 -04:00
Makefile m68knommu: remove the obsolete and long unused comempci chip support 2009-01-27 16:42:02 +10:00
module.c module: cleanup FIXME comments about trimming exception table entries. 2009-06-12 21:47:05 +09:30
process.c Simplify copy_thread() 2009-04-02 19:04:51 -07:00
ptrace.c PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
setup.c arch/m68knommu: Convert #ifdef DEBUG printk(KERN_DEBUG to pr_debug( 2009-06-11 13:09:11 +10:00
signal.c m68knommu: fix syscall restarting 2009-01-27 16:42:03 +10:00
sys_m68k.c unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
syscalltable.S m68k,m68knommu: Wire up preadv and pwritev 2009-04-22 20:39:49 +02:00
time.c m68knommu: MCF5307 PIT GENERIC_CLOCKEVENTS support 2008-07-23 15:11:28 +10:00
traps.c ptrace: remove PT_DTRACE from m68k, m68knommu 2009-06-18 13:03:48 -07:00
vmlinux.lds.S linker script: unify usage of discard definition 2009-07-09 11:27:40 +09:00