Thread (12 messages) flat view 12 messages, 4 authors, 2016-11-08

Re: compiling master.

From: Naveen N. Rao <hidden>
Date: 2016-11-03 10:30:42

On 2016/11/03 08:51PM, Michael Ellerman wrote:
"Naveen N. Rao" [off-list ref] writes:
quoted
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 ?
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@rhel71be linux]# rpm -qf /usr/bin/as
binutils-2.23.52.0.1-30.el7.ppc64
[root@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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help