pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/spidermonkey185



Module Name:    pkgsrc
Committed By:   joerg
Date:           Mon Apr 13 19:19:37 UTC 2020

Modified Files:
        pkgsrc/lang/spidermonkey185: distinfo
Added Files:
        pkgsrc/lang/spidermonkey185/patches: patch-methodjit_MethodJIT.cpp

Log Message:
Newer GCC and clang decided that global asm shouldn't be volatile.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/spidermonkey185/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/spidermonkey185/patches/patch-methodjit_MethodJIT.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/spidermonkey185/distinfo
diff -u pkgsrc/lang/spidermonkey185/distinfo:1.5 pkgsrc/lang/spidermonkey185/distinfo:1.6
--- pkgsrc/lang/spidermonkey185/distinfo:1.5    Wed May  2 12:42:50 2018
+++ pkgsrc/lang/spidermonkey185/distinfo        Mon Apr 13 19:19:37 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2018/05/02 12:42:50 jperkin Exp $
+$NetBSD: distinfo,v 1.6 2020/04/13 19:19:37 joerg Exp $
 
 SHA1 (js185-1.0.0.tar.gz) = 52a01449c48d7a117b35f213d3e4263578d846d6
 RMD160 (js185-1.0.0.tar.gz) = 23e6ddc81d5b63e015aecc1a104b2d3d3ced5005
@@ -19,6 +19,7 @@ SHA1 (patch-jsstr.h) = 0d23725326ab5432b
 SHA1 (patch-jsstrinlines.h) = 34b465a4fb504973f65395ccd2819a29ce16c5da
 SHA1 (patch-jstracer.cpp) = 5b0b4d7709b446d1471b593e2c338f48d9fa4eec
 SHA1 (patch-jstracer.h) = 4f0bd2f958d1bedb76b6ac54e218e1fde846ad6d
+SHA1 (patch-methodjit_MethodJIT.cpp) = 2645e1b5d7c4bb21ad8813f84799a79e074a8358
 SHA1 (patch-tracejit_Writer.cpp) = fdd2751e411e933fcb22736b65ea3c93c2cecda1
 SHA1 (patch-v8-dtoa_platform.cc) = 24670e996fcc7ca0d1e7b1b3765a67ac05e9a661
 SHA1 (patch-v8-dtoa_platform.h) = 1d618d8f51e3ee169606297950d3030fcf72abbc

Added files:

Index: pkgsrc/lang/spidermonkey185/patches/patch-methodjit_MethodJIT.cpp
diff -u /dev/null pkgsrc/lang/spidermonkey185/patches/patch-methodjit_MethodJIT.cpp:1.1
--- /dev/null   Mon Apr 13 19:19:37 2020
+++ pkgsrc/lang/spidermonkey185/patches/patch-methodjit_MethodJIT.cpp   Mon Apr 13 19:19:37 2020
@@ -0,0 +1,123 @@
+$NetBSD: patch-methodjit_MethodJIT.cpp,v 1.1 2020/04/13 19:19:37 joerg Exp $
+
+Global "asm volatile" is considered a mistake now.
+
+--- methodjit/MethodJIT.cpp.orig       2020-04-12 22:33:42.079089372 +0000
++++ methodjit/MethodJIT.cpp
+@@ -189,7 +189,7 @@ JS_STATIC_ASSERT(offsetof(VMFrame, regs.
+ JS_STATIC_ASSERT(JSVAL_TAG_MASK == 0xFFFF800000000000LL);
+ JS_STATIC_ASSERT(JSVAL_PAYLOAD_MASK == 0x00007FFFFFFFFFFFLL);
+ 
+-asm volatile (
++asm (
+ ".text\n"
+ ".globl " SYMBOL_STRING(JaegerTrampoline) "\n"
+ SYMBOL_STRING(JaegerTrampoline) ":"       "\n"
+@@ -236,7 +236,7 @@ SYMBOL_STRING(JaegerTrampoline) ":"     
+     "jmp *0(%rsp)"                      "\n"
+ );
+ 
+-asm volatile (
++asm (
+ ".text\n"
+ ".globl " SYMBOL_STRING(JaegerTrampolineReturn) "\n"
+ SYMBOL_STRING(JaegerTrampolineReturn) ":"       "\n"
+@@ -256,7 +256,7 @@ SYMBOL_STRING(JaegerTrampolineReturn) ":
+     "ret"                                "\n"
+ );
+ 
+-asm volatile (
++asm (
+ ".text\n"
+ ".globl " SYMBOL_STRING(JaegerThrowpoline)  "\n"
+ SYMBOL_STRING(JaegerThrowpoline) ":"        "\n"
+@@ -281,7 +281,7 @@ SYMBOL_STRING(JaegerThrowpoline) ":"    
+ 
+ JS_STATIC_ASSERT(offsetof(VMFrame, regs.fp) == 0x38);
+ 
+-asm volatile (
++asm (
+ ".text\n"
+ ".globl " SYMBOL_STRING(InjectJaegerReturn)   "\n"
+ SYMBOL_STRING(InjectJaegerReturn) ":"         "\n"
+@@ -309,7 +309,7 @@ SYMBOL_STRING(InjectJaegerReturn) ":"   
+ JS_STATIC_ASSERT(offsetof(VMFrame, savedEBX) == 0x2c);
+ JS_STATIC_ASSERT(offsetof(VMFrame, regs.fp) == 0x1C);
+ 
+-asm volatile (
++asm (
+ ".text\n"
+ ".globl " SYMBOL_STRING(JaegerTrampoline) "\n"
+ SYMBOL_STRING(JaegerTrampoline) ":"       "\n"
+@@ -339,7 +339,7 @@ SYMBOL_STRING(JaegerTrampoline) ":"     
+     "jmp *16(%ebp)"                      "\n"
+ );
+ 
+-asm volatile (
++asm (
+ ".text\n"
+ ".globl " SYMBOL_STRING(JaegerTrampolineReturn) "\n"
+ SYMBOL_STRING(JaegerTrampolineReturn) ":" "\n"
+@@ -357,7 +357,7 @@ SYMBOL_STRING(JaegerTrampolineReturn) ":
+     "ret"                                "\n"
+ );
+ 
+-asm volatile (
++asm (
+ ".text\n"
+ ".globl " SYMBOL_STRING(JaegerThrowpoline)  "\n"
+ SYMBOL_STRING(JaegerThrowpoline) ":"        "\n"
+@@ -388,7 +388,7 @@ SYMBOL_STRING(JaegerThrowpoline) ":"    
+ 
+ JS_STATIC_ASSERT(offsetof(VMFrame, regs.fp) == 0x1C);
+ 
+-asm volatile (
++asm (
+ ".text\n"
+ ".globl " SYMBOL_STRING(InjectJaegerReturn)   "\n"
+ SYMBOL_STRING(InjectJaegerReturn) ":"         "\n"
+@@ -423,7 +423,7 @@ JS_STATIC_ASSERT(JSReturnReg_Type == JSC
+ #define FUNCTION_HEADER_EXTRA
+ #endif
+ 
+-asm volatile (
++asm (
+ ".text\n"
+ FUNCTION_HEADER_EXTRA
+ ".globl " SYMBOL_STRING(InjectJaegerReturn) "\n"
+@@ -436,7 +436,7 @@ SYMBOL_STRING(InjectJaegerReturn) ":"   
+     "bx  lr"                                "\n"
+ );
+ 
+-asm volatile (
++asm (
+ ".text\n"
+ FUNCTION_HEADER_EXTRA
+ ".globl " SYMBOL_STRING(JaegerTrampoline)   "\n"
+@@ -495,7 +495,7 @@ SYMBOL_STRING(JaegerTrampoline) ":"     
+ "   bx     r4"                                  "\n"
+ );
+ 
+-asm volatile (
++asm (
+ ".text\n"
+ FUNCTION_HEADER_EXTRA
+ ".globl " SYMBOL_STRING(JaegerTrampolineReturn)   "\n"
+@@ -515,7 +515,7 @@ SYMBOL_STRING(JaegerTrampolineReturn) ":
+ "   pop     {r4-r11,pc}"                    "\n"
+ );
+ 
+-asm volatile (
++asm (
+ ".text\n"
+ FUNCTION_HEADER_EXTRA
+ ".globl " SYMBOL_STRING(JaegerThrowpoline)  "\n"
+@@ -540,7 +540,7 @@ SYMBOL_STRING(JaegerThrowpoline) ":"    
+ "   pop     {r4-r11,pc}"                    "\n"
+ );
+ 
+-asm volatile (
++asm (
+ ".text\n"
+ FUNCTION_HEADER_EXTRA
+ ".globl " SYMBOL_STRING(JaegerStubVeneer)   "\n"



Home | Main Index | Thread Index | Old Index