X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fh8300%2Fkernel%2Fvmlinux.lds.S;h=427f1891c7261b7dcc7b3e62421695561eb774a2;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=3a643954a8fe3ae904e846111223b1bdb95cf4e6;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/arch/h8300/kernel/vmlinux.lds.S b/arch/h8300/kernel/vmlinux.lds.S index 3a643954a..427f1891c 100644 --- a/arch/h8300/kernel/vmlinux.lds.S +++ b/arch/h8300/kernel/vmlinux.lds.S @@ -1,3 +1,6 @@ +#define VMLINUX_SYMBOL(_sym_) _##_sym_ +#include +#include #include #ifdef CONFIG_H8300H_GENERIC @@ -101,6 +104,21 @@ SECTIONS *(__ksymtab) ___stop___ksymtab = .; + ___start___ksymtab_gpl = .; /* Kernel symbol table: GPL-only symbols */ + + *(__ksymtab_gpl) + ___stop___ksymtab_gpl = .; + + ___start___kcrctab = .; /* Kernel symbol table: Normal symbols */ + *(__kcrctab) + ___stop___kcrctab = .; + + ___start___kcrctab_gpl = .; /* Kernel symbol table: GPL-only symbols */ + *(__kcrctab_gpl) + ___stop___kcrctab_gpl = .; + + *(__ksymtab_strings) /* Kernel symbol table: strings */ + . = ALIGN(0x4) ; __etext = . ; #if defined(CONFIG_ROMKERNEL) @@ -132,9 +150,6 @@ SECTIONS *(.init.setup) . = ALIGN(0x4) ; ___setup_end = .; - ___start___param = .; - *(__param) - ___stop___param = .; ___initcall_start = .; *(.initcall1.init) *(.initcall2.init)