compiling master.

Denis Kirjanov kda at linux-powerpc.org
Thu Nov 3 21:52:47 AEDT 2016


On 11/3/16, Naveen N. Rao <naveen.n.rao at linux.vnet.ibm.com> wrote:
> On 2016/11/03 08:51PM, Michael Ellerman wrote:
>> "Naveen N. Rao" <naveen.n.rao at linux.vnet.ibm.com> writes:
>> > diff --git a/arch/powerpc/include/asm/exception-64s.h
>> > b/arch/powerpc/include/asm/exception-64s.h
>> > index 2e4e7d8..9b7b302 100644
>> > --- a/arch/powerpc/include/asm/exception-64s.h
>> > +++ b/arch/powerpc/include/asm/exception-64s.h
>> > @@ -91,7 +91,7 @@
>> >   */
>> >  #define LOAD_HANDLER(reg, label)					\
>> >  	ld	reg,PACAKBASE(r13);	/* get high part of &label */	\
>> > -	ori	reg,reg,(FIXED_SYMBOL_ABS_ADDR(label))@l;
>> > +	ori	reg,reg,((FIXED_SYMBOL_ABS_ADDR(label)) & 0xffff);
>>
>> That's weird. We explicitly added the @l there to make it work with
>> binutils 2.22. Is the Redhat "2.23" not really 2.23 ?

I have the same version: Version     : 2.23.52.0.1

>
> Not sure why @l isn't working. It does seem to be 2.23. Also, it is a
> bit weird that this only shows up on BE and not on LE...
>
> [root at rhel71be linux]# rpm -qf /usr/bin/as
> binutils-2.23.52.0.1-30.el7.ppc64
> [root at rhel71be linux]# rpm -qi binutils
> Name        : binutils
> Version     : 2.23.52.0.1
> Release     : 30.el7
> Architecture: ppc64
> Install Date: Thursday 03 November 2016 03:58:24 PM IST
> Group       : Development/Tools
> Size        : 14200512
> License     : GPLv3+
> Signature   : RSA/SHA256, Monday 19 January 2015 10:14:51 PM IST, Key ID
> 199e2f91fd431d51
> Source RPM  : binutils-2.23.52.0.1-30.el7.src.rpm
> Build Date  : Thursday 15 January 2015 10:55:42 PM IST
> Build Host  : ppc-020.build.eng.bos.redhat.com
> Relocations : (not relocatable)
> Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
> Vendor      : Red Hat, Inc.
> URL         : http://sources.redhat.com/binutils
> Summary     : A GNU collection of binary utilities
>
>
> - Naveen
>
>


More information about the Linuxppc-dev mailing list