[OpenBIOS] r488 - trunk/openbios-devel/arch/ppc/qemu

svn at openbios.org svn at openbios.org
Sun May 17 19:14:01 CEST 2009


Author: laurent
Date: 2009-05-17 19:14:01 +0200 (Sun, 17 May 2009)
New Revision: 488

Modified:
   trunk/openbios-devel/arch/ppc/qemu/ldscript
Log:
Author: Pavel Roskin <proski at gnu.org>

This is needed on Fedora 11 (GNU ld 2.19.51.0.2).  Otherwise, qemu
reports on statup:

invalid/unsupported opcode: 00 - 18 - 01 (00004070) 00000004 1
invalid/unsupported opcode: 00 - 04 - 17 (000095c8) 000095ec 0

I checked Linux sources (arch/powerpc/kernel/vmlinux.lds.S) and I see
that .sbss is put to the .bss section in front of .bss itself.

The problem is discussed at
https://bugzilla.redhat.com/show_bug.cgi?id=494075



Modified: trunk/openbios-devel/arch/ppc/qemu/ldscript
===================================================================
--- trunk/openbios-devel/arch/ppc/qemu/ldscript	2009-05-12 18:38:03 UTC (rev 487)
+++ trunk/openbios-devel/arch/ppc/qemu/ldscript	2009-05-17 17:14:01 UTC (rev 488)
@@ -46,6 +46,8 @@
 
     .bss ALIGN(4096): {
         _bss = .;
+	*(.sbss)
+	*(.sbss.*)
 	*(.bss)
 	*(.bss.*)
 	*(COMMON)




More information about the OpenBIOS mailing list