Skip to contentSkip to conversation

2.4.0-test5 ppc patch

PATCH Keith Owens 1 participant 1 message Aug 3, 2000

lore
Share & tools
lore
#0 lore raw

Linus, please apply, against 2.4.0-test5. arch/ppc/vmlinux.lds does not explicitly define the .krstrtab and __ksymtab sections. It just so happens that the linker does it anyway by some black magic, but it is better to be consistent with other architectures and make the sections explicit.

The lack of explicit sections makes it look like ppc does not support modules.

Index: 0-test5.1/arch/ppc/vmlinux.lds

arch/ppc/vmlinux.lds Thu, 03 Aug 2000 22:44:03 +1000 kaos (linux-2.4/o/c/47_vmlinux.ld 1.1 644) renamed from arch/ppc/vmlinux.lds Fri, 26 May 2000 13:10:01 +1000 kaos (linux-2.4/o/c/47_vmlinux.ld 1.1 644) +5 -0
@@ -41,6 +41,7 @@
     *(.rodata)
     *(.rodata1)
   }
+  .kstrtab   : { *(.kstrtab) }
   .fini      : { *(.fini)    } =0
   .ctors     : { *(.ctors)   }
   .dtors     : { *(.dtors)   }
@@ -63,6 +64,10 @@
   __start___ex_table = .;
   __ex_table : { *(__ex_table) }
   __stop___ex_table = .;
+
+  __start___ksymtab = .;	/* Kernel symbol table */
+  __ksymtab : { *(__ksymtab) }
+  __stop___ksymtab = .;
 
   . = ALIGN(32);
   .data.cacheline_aligned : { *(.data.cacheline_aligned) }

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/