pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/spidermonkey17



Module Name:    pkgsrc
Committed By:   maya
Date:           Tue Oct  4 02:30:47 UTC 2016

Modified Files:
        pkgsrc/lang/spidermonkey17: distinfo
Added Files:
        pkgsrc/lang/spidermonkey17/patches:
            patch-js_src_methodjit_TrampolineMIPS.cpp

Log Message:
spidermonkey17: fix mips build.
linker was emitting bogus warnings about the code not being PIC.

still fails under netbsd/mips because it (mostly) hard-codes a page size of 4K


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/spidermonkey17/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/spidermonkey17/patches/patch-js_src_methodjit_TrampolineMIPS.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/spidermonkey17/distinfo
diff -u pkgsrc/lang/spidermonkey17/distinfo:1.4 pkgsrc/lang/spidermonkey17/distinfo:1.5
--- pkgsrc/lang/spidermonkey17/distinfo:1.4     Mon Oct  3 02:46:47 2016
+++ pkgsrc/lang/spidermonkey17/distinfo Tue Oct  4 02:30:46 2016
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2016/10/03 02:46:47 maya Exp $
+$NetBSD: distinfo,v 1.5 2016/10/04 02:30:46 maya Exp $
 
 SHA1 (mozjs17.0.0.tar.gz) = 7805174898c34e5d3c3b256117af9944ba825c89
 RMD160 (mozjs17.0.0.tar.gz) = 2fa3a891da2a7a09019f67c1555c03bcdc51e6c5
@@ -17,5 +17,6 @@ SHA1 (patch-js_src_jsgc.cpp) = 0e617094a
 SHA1 (patch-js_src_jsinterp.cpp) = bee8bdde7dd951dbfbe5b049eb502f7412fbf8e6
 SHA1 (patch-js_src_jsmath.cpp) = 04b0081e5abc1de3df5bdfc78db3971fe77da3d4
 SHA1 (patch-js_src_methodjit_MethodJIT.cpp) = f2b12fa554ec319b5848b1cc13ec17ef967b08d7
+SHA1 (patch-js_src_methodjit_TrampolineMIPS.cpp) = d162f8e9a903bd55cf7c92c345a169a8ec050d10
 SHA1 (patch-mfbt_double-conversion_utils.h) = d4f2a7c1eb7aa72a147c7f1f4147dfb5fe38ac92
 SHA1 (patch-ml) = fdb4452a613f7ca185cd6b936538bec9ef97c4c1

Added files:

Index: pkgsrc/lang/spidermonkey17/patches/patch-js_src_methodjit_TrampolineMIPS.cpp
diff -u /dev/null pkgsrc/lang/spidermonkey17/patches/patch-js_src_methodjit_TrampolineMIPS.cpp:1.1
--- /dev/null   Tue Oct  4 02:30:47 2016
+++ pkgsrc/lang/spidermonkey17/patches/patch-js_src_methodjit_TrampolineMIPS.cpp        Tue Oct  4 02:30:46 2016
@@ -0,0 +1,18 @@
+$NetBSD: patch-js_src_methodjit_TrampolineMIPS.cpp,v 1.1 2016/10/04 02:30:46 maya Exp $
+
+shut up linker error about not being PIC
+the previous code was just an expansion of this macro
+
+--- js/src/methodjit/TrampolineMIPS.cpp.orig   2013-02-11 22:33:23.000000000 +0000
++++ js/src/methodjit/TrampolineMIPS.cpp
+@@ -107,9 +107,7 @@ asm (
+     ".type  JaegerTrampoline,@function" "\n"
+ "JaegerTrampoline:"     "\n"
+ #if defined(__PIC__)
+-    "lui    $28,%hi(_gp_disp)"  "\n"
+-    "addiu  $28,$28,%lo(_gp_disp)"      "\n"
+-    "addu   $28,$28,$25"    "\n"
++    ".cpload $25"  "\n"
+ #endif
+     "addiu  $29,$29,-112"   "\n"
+     "sw     $31,104($29)"   "\n"



Home | Main Index | Thread Index | Old Index