[prev in list] [next in list] [prev in thread] [next in thread]
List: openbios
Subject: Re: [OpenBIOS] [PATCH 5/5] Consolidate .sbss and .sbss.*
From: Laurent Vivier <Laurent () vivier ! eu>
Date: 2009-05-17 17:42:28
Message-ID: 1242582148.8580.6.camel () Quad
[Download RAW message or body]
Le samedi 16 mai 2009 à 21:04 -0400, Pavel Roskin a écrit :
> On Sat, 2009-05-16 at 20:16 -0400, Pavel Roskin wrote:
> > 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
>
> Actually, I don't feel strongly about this patch. It's the first
> version that worked.
>
> 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. Perhaps
> that's what we should be doing in OpenBIOS.
>
> This patch works too:
>
> --- a/arch/ppc/qemu/ldscript
> +++ b/arch/ppc/qemu/ldscript
> @@ -46,6 +46,8 @@ SECTIONS
>
> .bss ALIGN(4096): {
> _bss = .;
> + *(.sbss)
> + *(.sbss.*)
> *(.bss)
> *(.bss.*)
> *(COMMON)
>
> The problem is discussed at
> https://bugzilla.redhat.com/show_bug.cgi?id=494075
I've applied this one as commit r488.
Thanks,
Laurent
--
OpenBIOS http://openbios.org/
Mailinglist: http://lists.openbios.org/mailman/listinfo
Free your System - May the Forth be with you
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic