X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fh8300%2Fkernel%2Fvmlinux.lds.S;h=7a6009cf26d244ca49d97afede962d3c93951821;hb=9213980e6a70d8473e0ffd4b39ab5b6caaba9ff5;hp=3a643954a8fe3ae904e846111223b1bdb95cf4e6;hpb=c449269f45c2cdf53af08c8d0af37472f66539d9;p=linux-2.6.git diff --git a/arch/h8300/kernel/vmlinux.lds.S b/arch/h8300/kernel/vmlinux.lds.S index 3a643954a..7a6009cf2 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)