qtwebengine: runtime testing showed the need for more assembly fixes.

This commit is contained in:
tb 2023-01-28 17:41:11 +00:00
parent ae5a58d2e9
commit ac791cd458
5 changed files with 61 additions and 1 deletions

View File

@ -15,7 +15,7 @@ VERSION = ${QT5_WEBENGINE_VERSION}
DIST_VERSION = ${QT5_WEBENGINE_VERSION}
DISTNAME = ${QT5NAME:L}-everywhere-src-${DIST_VERSION}
PKGNAME ?= ${DISTNAME:C/-everywhere-src//:C/-${DIST_VERSION}/-${VERSION}/}
REVISION = 10
REVISION = 11
MASTER_SITES ?= https://download.qt.io/official_releases/qt/${QT5_WEBENGINE_VERSION:R}/${QT5_WEBENGINE_VERSION}/submodules/ \
https://mirrors.ocf.berkeley.edu/qt/official_releases/qt/${QT5_WEBENGINE_VERSION:R}/${QT5_WEBENGINE_VERSION}/submodules/

View File

@ -0,0 +1,19 @@
Index: src/3rdparty/chromium/third_party/boringssl/linux-x86_64/crypto/cipher_extra/chacha20_poly1305_x86_64.S
--- src/3rdparty/chromium/third_party/boringssl/linux-x86_64/crypto/cipher_extra/chacha20_poly1305_x86_64.S.orig
+++ src/3rdparty/chromium/third_party/boringssl/linux-x86_64/crypto/cipher_extra/chacha20_poly1305_x86_64.S
@@ -17,6 +17,7 @@
chacha20_poly1305_constants:
+.rodata
.align 64
.chacha20_consts:
.byte 'e','x','p','a','n','d',' ','3','2','-','b','y','t','e',' ','k'
@@ -54,6 +55,7 @@ chacha20_poly1305_constants:
.byte 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00,0x00
.byte 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00
.byte 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff
+.previous
.type poly_hash_ad_internal,@function
.align 64

View File

@ -0,0 +1,19 @@
Index: src/3rdparty/chromium/third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256-x86_64-asm.S
--- src/3rdparty/chromium/third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256-x86_64-asm.S.orig
+++ src/3rdparty/chromium/third_party/boringssl/linux-x86_64/crypto/fipsmodule/p256-x86_64-asm.S
@@ -16,6 +16,7 @@
.hidden OPENSSL_ia32cap_P
+.rodata
.align 64
.Lpoly:
.quad 0xffffffffffffffff, 0x00000000ffffffff, 0x0000000000000000, 0xffffffff00000001
@@ -34,6 +35,7 @@
.quad 0xf3b9cac2fc632551, 0xbce6faada7179e84, 0xffffffffffffffff, 0xffffffff00000000
.LordK:
.quad 0xccd1c8aaee00bc4f
+.previous

View File

@ -0,0 +1,11 @@
Index: src/3rdparty/chromium/third_party/boringssl/linux-x86_64/crypto/fipsmodule/rsaz-avx2.S
--- src/3rdparty/chromium/third_party/boringssl/linux-x86_64/crypto/fipsmodule/rsaz-avx2.S.orig
+++ src/3rdparty/chromium/third_party/boringssl/linux-x86_64/crypto/fipsmodule/rsaz-avx2.S
@@ -1733,6 +1733,7 @@ rsaz_1024_gather5_avx2:
.cfi_endproc
.LSEH_end_rsaz_1024_gather5:
.size rsaz_1024_gather5_avx2,.-rsaz_1024_gather5_avx2
+.rodata
.align 64
.Land_mask:
.quad 0x1fffffff,0x1fffffff,0x1fffffff,0x1fffffff

View File

@ -0,0 +1,11 @@
Index: src/3rdparty/chromium/third_party/boringssl/linux-x86_64/crypto/fipsmodule/vpaes-x86_64.S
--- src/3rdparty/chromium/third_party/boringssl/linux-x86_64/crypto/fipsmodule/vpaes-x86_64.S.orig
+++ src/3rdparty/chromium/third_party/boringssl/linux-x86_64/crypto/fipsmodule/vpaes-x86_64.S
@@ -1020,6 +1020,7 @@ _vpaes_preheat:
.type _vpaes_consts,@object
+.rodata
.align 64
_vpaes_consts:
.Lk_inv: