[PATCH] [ppc64] Give the kernel an OPD section

Anton Blanchard anton at samba.org
Fri Sep 10 19:13:42 EST 2004


From: Alan Modra <amodra at bigpond.net.au>

Give the kernel an OPD section, required for recent ppc64 toolchains.

Signed-off-by: Anton Blanchard <anton at samba.org>

diff -puN arch/ppc64/kernel/vmlinux.lds.S~kernel-opd arch/ppc64/kernel/vmlinux.lds.S
--- gr_work/arch/ppc64/kernel/vmlinux.lds.S~kernel-opd	2004-09-04 21:14:22.123514698 -0500
+++ gr_work-anton/arch/ppc64/kernel/vmlinux.lds.S	2004-09-04 21:14:22.133513110 -0500
@@ -117,10 +117,13 @@ SECTIONS
 
   .data : {
 	*(.data .data.rel* .toc1)
-	*(.opd)
 	*(.branch_lt)
 	}
 
+  .opd : {
+	*(.opd)
+	}
+
   .got : {
 	__toc_start = .;
 	*(.got)
_



More information about the Linuxppc64-dev mailing list