mozilla-ppc64-xpcom.patch
changeset 718 6cb1ac7cd223
parent 716 cef565f1c325
child 719 8d80a56bb0a8
equal deleted inserted replaced
716:cef565f1c325 718:6cb1ac7cd223
     1 Index: mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.S
       
     2 ===================================================================
       
     3 --- mozilla.orig/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.S
       
     4 +++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc64_linux.S
       
     5 @@ -41,6 +41,11 @@ SharedStub:
       
     6          .section ".text"
       
     7          .align 2
       
     8          .globl SharedStub
       
     9 +        # Make the symbol hidden so that the branch from the stub does
       
    10 +        # not go via a PLT.  This is not only better for performance,
       
    11 +        # but may be necessary to avoid linker errors since there is
       
    12 +        # no place to restore the TOC register in a sibling call.
       
    13 +        .hidden SharedStub
       
    14          .section ".opd","aw"
       
    15          .align 3
       
    16