diff options
author | Greg Ungerer <gerg@snapgear.com> | 2007-02-07 02:45:43 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-09 19:45:32 +0100 |
commit | 56591b9961f7fb78c88354e59af7f0800f39dded (patch) | |
tree | 57c71874deb12544d1de5e59427b39f8f58ec46c /arch | |
parent | [PATCH] m68knommu: remove regs arg from coldfire timer interrupt (diff) | |
download | linux-56591b9961f7fb78c88354e59af7f0800f39dded.tar.xz linux-56591b9961f7fb78c88354e59af7f0800f39dded.zip |
[PATCH] m68knommu: include unused sections in linker script
Include the unused sections in the m68knommu linker scripts.
Needed for modules support.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/m68knommu/kernel/vmlinux.lds.S | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/m68knommu/kernel/vmlinux.lds.S b/arch/m68knommu/kernel/vmlinux.lds.S index 2b2a10da64a4..bfade20a9e5e 100644 --- a/arch/m68knommu/kernel/vmlinux.lds.S +++ b/arch/m68knommu/kernel/vmlinux.lds.S @@ -87,6 +87,16 @@ SECTIONS { *(__ksymtab_gpl) __stop___ksymtab_gpl = .; + /* Kernel symbol table: Normal unused symbols */ + __start___ksymtab_unused = .; + *(__ksymtab_unused) + __stop___ksymtab_unused = .; + + /* Kernel symbol table: GPL-only unused symbols */ + __start___ksymtab_unused_gpl = .; + *(__ksymtab_unused_gpl) + __stop___ksymtab_unused_gpl = .; + /* Kernel symbol table: GPL-future symbols */ __start___ksymtab_gpl_future = .; *(__ksymtab_gpl_future) |