patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / arch / h8300 / kernel / vmlinux.lds.S
index 3a64395..7a6009c 100644 (file)
@@ -1,3 +1,6 @@
+#define VMLINUX_SYMBOL(_sym_) _##_sym_
+#include <asm-generic/vmlinux.lds.h>
+#include <asm/thread_info.h>
 #include <linux/config.h>
 
 #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)