mozilla-ppc64-xpcom.patch
changeset 714 b686e856c800
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mozilla-ppc64-xpcom.patch	Wed Apr 09 08:22:02 2014 +0200
@@ -0,0 +1,16 @@
+Index: mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.S
+===================================================================
+--- mozilla.orig/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.S
++++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.S
+@@ -41,6 +41,11 @@ SharedStub:
+         .section ".text"
+         .align 2
+         .globl SharedStub
++        # Make the symbol hidden so that the branch from the stub does
++        # not go via a PLT.  This is not only better for performance,
++        # but may be necessary to avoid linker errors since there is
++        # no place to restore the TOC register in a sibling call.
++        .hidden SharedStub
+         .section ".opd","aw"
+         .align 3
+