forked from pool/MozillaFirefox
17 lines
758 B
Diff
17 lines
758 B
Diff
|
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
|
||
|
|