Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mozjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
mozjs
Commits
7bdc63b5
Commit
7bdc63b5
authored
Aug 01, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed build on ARMv7
parent
153965eb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
Makefile
Makefile
+1
-0
firefox-68.11.0-fix_armv7.patch
firefox-68.11.0-fix_armv7.patch
+21
-0
No files found.
Makefile
View file @
7bdc63b5
...
...
@@ -8,6 +8,7 @@ mozjs:
tar
xf
firefox-68.11.0esr.source.tar.xz
patch
-Np1
-d
firefox-68.11.0
<
firefox-68.11.0-no_rust.patch
patch
-Np1
-d
firefox-68.11.0
<
firefox-68.11.0-fix_armv7.patch
mkdir
-p
firefox-68.11.0/obj
cd firefox-68.11.0/obj && PATH=/build/usr/bin
:
$$PATH SHELL=/bin/bash CC=gcc CXX=g++ LLVM_OBJDUMP=/bin/false ../js/src/configure --prefix=/usr --with-intl-api --with-system-zlib --with-system-icu --disable-jemalloc --disable-debug-symbols --enable-readline
$(MAKE)
-C
firefox-68.11.0/obj
SHELL
=
/bin/bash
...
...
firefox-68.11.0-fix_armv7.patch
0 → 100644
View file @
7bdc63b5
diff -uNr firefox-68.11.0/js/src/wasm/WasmSignalHandlers.cpp firefox-68.11.0-fix_armv7/js/src/wasm/WasmSignalHandlers.cpp
--- firefox-68.11.0/js/src/wasm/WasmSignalHandlers.cpp 2020-07-21 06:33:11.000000000 +0930
+++ firefox-68.11.0-fix_armv7/js/src/wasm/WasmSignalHandlers.cpp 2021-08-01 03:18:55.385132240 +0930
@@ -248,7 +248,16 @@
#endif
#ifdef WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
-# include <sys/user.h>
+struct user_vfp {
+ unsigned long long fpregs[32];
+ unsigned long fpscr;
+};
+
+struct user_vfp_exc {
+ unsigned long fpexc;
+ unsigned long fpinst;
+ unsigned long fpinst2;
+};
#endif
#if defined(ANDROID)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment