mozilla-ppc64-xpcom.patch
changeset 714 b686e856c800
equal deleted inserted replaced
712:427ae22e730e 714:b686e856c800
       
     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