diff options
author | Greg Ungerer <gerg@snapgear.com> | 2007-02-06 20:45:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-09 13:45:32 -0500 |
commit | 56591b9961f7fb78c88354e59af7f0800f39dded (patch) | |
tree | 57c71874deb12544d1de5e59427b39f8f58ec46c /arch/m68knommu | |
parent | 1f95e49aae68794c4dc0d92fea8b4967dd49ae53 (diff) |
[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/m68knommu')
-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 { | |||
87 | *(__ksymtab_gpl) | 87 | *(__ksymtab_gpl) |
88 | __stop___ksymtab_gpl = .; | 88 | __stop___ksymtab_gpl = .; |
89 | 89 | ||
90 | /* Kernel symbol table: Normal unused symbols */ | ||
91 | __start___ksymtab_unused = .; | ||
92 | *(__ksymtab_unused) | ||
93 | __stop___ksymtab_unused = .; | ||
94 | |||
95 | /* Kernel symbol table: GPL-only unused symbols */ | ||
96 | __start___ksymtab_unused_gpl = .; | ||
97 | *(__ksymtab_unused_gpl) | ||
98 | __stop___ksymtab_unused_gpl = .; | ||
99 | |||
90 | /* Kernel symbol table: GPL-future symbols */ | 100 | /* Kernel symbol table: GPL-future symbols */ |
91 | __start___ksymtab_gpl_future = .; | 101 | __start___ksymtab_gpl_future = .; |
92 | *(__ksymtab_gpl_future) | 102 | *(__ksymtab_gpl_future) |