qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] ppc-linux-user: Fix missing symbols in .rel/.re


From: Aurelien Jarno
Subject: Re: [Qemu-devel] [PATCH] ppc-linux-user: Fix missing symbols in .rel/.rela.plt sections
Date: Tue, 10 Jan 2012 00:06:32 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, Jan 09, 2012 at 02:31:15PM +0100, Alexander Graf wrote:
> 
> On 07.01.2012, at 21:16, Aurelien Jarno wrote:
> 
> > Fix .rel.plt sections in the output to not only include .rel.plt
> > sections from the input but also the .rel.iplt sections and to define
> > the hidden symbols __rel_iplt_start and __rel_iplt_end around
> > .rel.iplt as otherwise we get undefined references to these when
> > linking statically to a multiarch enabled libc (using STT_GNU_IFUNC).
> 
> Please see:
> 
> http://patchwork.ozlabs.org/patch/130932/
> 
> I'd still say that we should fix the linker scripts regardless. Also for 1.0.

I agree that we should either remove them or fix them. Not fixing them
because they should not be there, but at the same time not removing
them is a bad idea.

On my side I have also tested that it can work with PROVIDE instead of
PROVIDE_HIDDEN, so we end-up with the same patches. Now how should we
proceed to merge that to master, which is the first step before getting
that into stable?

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
address@hidden                 http://www.aurel32.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]