mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Author: Pavel Roskin <proski@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 git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@488 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -46,6 +46,8 @@ SECTIONS
|
|||||||
|
|
||||||
.bss ALIGN(4096): {
|
.bss ALIGN(4096): {
|
||||||
_bss = .;
|
_bss = .;
|
||||||
|
*(.sbss)
|
||||||
|
*(.sbss.*)
|
||||||
*(.bss)
|
*(.bss)
|
||||||
*(.bss.*)
|
*(.bss.*)
|
||||||
*(COMMON)
|
*(COMMON)
|
||||||
|
|||||||
Reference in New Issue
Block a user