forked from pool/MozillaFirefox
27336c8295
Build fixes for ppc64 and ppc64le OBS-URL: https://build.opensuse.org/request/show/227348 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=374
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
|
|
|