Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Raptor Engineering Public Development
Chromium
OpenPOWER Patches
Commits
03c34e0b
Commit
03c34e0b
authored
5 months ago
by
Timothy Pearson
Browse files
Options
Download
Email Patches
Plain Diff
Update to Chromium 129.0.6668.58
parent
6135ee13
Changes
162
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
188 additions
and
188 deletions
+188
-188
patches/ppc64le/sandbox/0001-sandbox-linux-bpf_dsl-Update-syscall-ranges-for-ppc6.patch
...andbox-linux-bpf_dsl-Update-syscall-ranges-for-ppc6.patch
+3
-3
patches/ppc64le/sandbox/0001-services-service_manager-sandbox-linux-Fix-TCGETS-de.patch
...ervices-service_manager-sandbox-linux-Fix-TCGETS-de.patch
+3
-3
patches/ppc64le/sandbox/0002-sandbox-linux-bpf_dsl-Modify-seccomp_macros-to-add-s.patch
...andbox-linux-bpf_dsl-Modify-seccomp_macros-to-add-s.patch
+3
-3
patches/ppc64le/sandbox/0003-sandbox-linux-system_headers-Update-linux-seccomp-he.patch
...andbox-linux-system_headers-Update-linux-seccomp-he.patch
+3
-3
patches/ppc64le/sandbox/0004-sandbox-linux-system_headers-Update-linux-signal-hea.patch
...andbox-linux-system_headers-Update-linux-signal-hea.patch
+3
-3
patches/ppc64le/sandbox/0005-sandbox-linux-seccomp-bpf-Add-ppc64-syscall-stub.patch
...05-sandbox-linux-seccomp-bpf-Add-ppc64-syscall-stub.patch
+3
-3
patches/ppc64le/sandbox/0005-sandbox-linux-update-unit-test-for-ppc64.patch
...ndbox/0005-sandbox-linux-update-unit-test-for-ppc64.patch
+3
-3
patches/ppc64le/sandbox/0006-sandbox-linux-disable-timedwait-time64-ppc64.patch
...x/0006-sandbox-linux-disable-timedwait-time64-ppc64.patch
+3
-3
patches/ppc64le/sandbox/0007-sandbox-linux-add-ppc64-stat.patch
...s/ppc64le/sandbox/0007-sandbox-linux-add-ppc64-stat.patch
+3
-3
patches/ppc64le/sandbox/0008-sandbox-fix-ppc64le-glibc234.patch
...s/ppc64le/sandbox/0008-sandbox-fix-ppc64le-glibc234.patch
+17
-17
patches/ppc64le/sandbox/Sandbox-linux-services-credentials.cc-PPC.patch
...e/sandbox/Sandbox-linux-services-credentials.cc-PPC.patch
+5
-5
patches/ppc64le/sandbox/fix-ppc64-linux-syscalls-headers.patch
...es/ppc64le/sandbox/fix-ppc64-linux-syscalls-headers.patch
+3
-3
patches/ppc64le/third_party/0001-Add-PPC64-support-for-boringssl.patch
...le/third_party/0001-Add-PPC64-support-for-boringssl.patch
+104
-104
patches/ppc64le/third_party/0001-Force-baseline-POWER8-AltiVec-VSX-CPU-features-when-.patch
...orce-baseline-POWER8-AltiVec-VSX-CPU-features-when-.patch
+4
-4
patches/ppc64le/third_party/0001-swiftshader-fix-build.patch
patches/ppc64le/third_party/0001-swiftshader-fix-build.patch
+3
-3
patches/ppc64le/third_party/0001-third_party-angle-Include-missing-header-cstddef-in-.patch
...hird_party-angle-Include-missing-header-cstddef-in-.patch
+3
-3
patches/ppc64le/third_party/0001-third_party-libvpx-Properly-generate-gni-on-ppc64.patch
...1-third_party-libvpx-Properly-generate-gni-on-ppc64.patch
+4
-4
patches/ppc64le/third_party/0001-third_party-lss-Don-t-look-for-mmap2-on-ppc64.patch
.../0001-third_party-lss-Don-t-look-for-mmap2-on-ppc64.patch
+3
-3
patches/ppc64le/third_party/0001-third_party-pffft-Include-altivec.h-on-ppc64-with-SI.patch
...hird_party-pffft-Include-altivec.h-on-ppc64-with-SI.patch
+3
-3
patches/ppc64le/third_party/0002-Add-PPC64-generated-files-for-boringssl.patch
..._party/0002-Add-PPC64-generated-files-for-boringssl.patch
+12
-12
No files found.
patches/ppc64le/sandbox/0001-sandbox-linux-bpf_dsl-Update-syscall-ranges-for-ppc6.patch
View file @
03c34e0b
...
...
@@ -7,10 +7,10 @@ Subject: [PATCH 1/4] sandbox/linux/bpf_dsl: Update syscall ranges for ppc64
sandbox/linux/bpf_dsl/linux_syscall_ranges.h | 7 +++++++
1 file changed, 7 insertions(+)
Index: chromium-12
8
.0.66
13.137
/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
Index: chromium-12
9
.0.66
68.58
/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
+++ chromium-12
8
.0.66
13.137
/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
--- chromium-12
9
.0.66
68.58
.orig/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
+++ chromium-12
9
.0.66
68.58
/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
@@ -56,6 +56,13 @@
#define MAX_PUBLIC_SYSCALL __NR_syscalls
#define MAX_SYSCALL MAX_PUBLIC_SYSCALL
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/0001-services-service_manager-sandbox-linux-Fix-TCGETS-de.patch
View file @
03c34e0b
...
...
@@ -8,10 +8,10 @@ Subject: [PATCH] services/service_manager/sandbox/linux: Fix TCGETS
.../sandbox/linux/bpf_renderer_policy_linux.cc | 5 +++++
1 file changed, 5 insertions(+)
Index: chromium-12
8
.0.66
13.137
/sandbox/policy/linux/bpf_renderer_policy_linux.cc
Index: chromium-12
9
.0.66
68.58
/sandbox/policy/linux/bpf_renderer_policy_linux.cc
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/sandbox/policy/linux/bpf_renderer_policy_linux.cc
+++ chromium-12
8
.0.66
13.137
/sandbox/policy/linux/bpf_renderer_policy_linux.cc
--- chromium-12
9
.0.66
68.58
.orig/sandbox/policy/linux/bpf_renderer_policy_linux.cc
+++ chromium-12
9
.0.66
68.58
/sandbox/policy/linux/bpf_renderer_policy_linux.cc
@@ -15,6 +15,11 @@
#include "sandbox/linux/system_headers/linux_syscalls.h"
#include "sandbox/policy/linux/sandbox_linux.h"
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/0002-sandbox-linux-bpf_dsl-Modify-seccomp_macros-to-add-s.patch
View file @
03c34e0b
...
...
@@ -8,10 +8,10 @@ Subject: [PATCH 1/4] sandbox/linux/bpf_dsl: Modify seccomp_macros to add
sandbox/linux/bpf_dsl/seccomp_macros.h | 43 ++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Index: chromium-12
8
.0.66
13.137
/sandbox/linux/bpf_dsl/seccomp_macros.h
Index: chromium-12
9
.0.66
68.58
/sandbox/linux/bpf_dsl/seccomp_macros.h
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/sandbox/linux/bpf_dsl/seccomp_macros.h
+++ chromium-12
8
.0.66
13.137
/sandbox/linux/bpf_dsl/seccomp_macros.h
--- chromium-12
9
.0.66
68.58
.orig/sandbox/linux/bpf_dsl/seccomp_macros.h
+++ chromium-12
9
.0.66
68.58
/sandbox/linux/bpf_dsl/seccomp_macros.h
@@ -14,6 +14,9 @@
#if defined(__mips__)
// sys/user.h in eglibc misses size_t definition
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/0003-sandbox-linux-system_headers-Update-linux-seccomp-he.patch
View file @
03c34e0b
...
...
@@ -8,10 +8,10 @@ Subject: [PATCH 3/4] sandbox/linux/system_headers: Update linux seccomp header
sandbox/linux/system_headers/linux_seccomp.h | 10 ++++++++++
1 file changed, 10 insertions(+)
Index: chromium-12
8
.0.66
13.137
/sandbox/linux/system_headers/linux_seccomp.h
Index: chromium-12
9
.0.66
68.58
/sandbox/linux/system_headers/linux_seccomp.h
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/sandbox/linux/system_headers/linux_seccomp.h
+++ chromium-12
8
.0.66
13.137
/sandbox/linux/system_headers/linux_seccomp.h
--- chromium-12
9
.0.66
68.58
.orig/sandbox/linux/system_headers/linux_seccomp.h
+++ chromium-12
9
.0.66
68.58
/sandbox/linux/system_headers/linux_seccomp.h
@@ -38,6 +38,9 @@
#ifndef EM_AARCH64
#define EM_AARCH64 183
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/0004-sandbox-linux-system_headers-Update-linux-signal-hea.patch
View file @
03c34e0b
...
...
@@ -8,10 +8,10 @@ Subject: [PATCH 4/4] sandbox/linux/system_headers: Update linux signal header
sandbox/linux/system_headers/linux_signal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: chromium-12
8
.0.66
13.137
/sandbox/linux/system_headers/linux_signal.h
Index: chromium-12
9
.0.66
68.58
/sandbox/linux/system_headers/linux_signal.h
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/sandbox/linux/system_headers/linux_signal.h
+++ chromium-12
8
.0.66
13.137
/sandbox/linux/system_headers/linux_signal.h
--- chromium-12
9
.0.66
68.58
.orig/sandbox/linux/system_headers/linux_signal.h
+++ chromium-12
9
.0.66
68.58
/sandbox/linux/system_headers/linux_signal.h
@@ -13,7 +13,7 @@
// (not undefined, but defined different values and in different memory
// layouts). So, fill the gap here.
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/0005-sandbox-linux-seccomp-bpf-Add-ppc64-syscall-stub.patch
View file @
03c34e0b
...
...
@@ -7,10 +7,10 @@ Subject: [PATCH] sandbox/linux/seccomp-bpf: Add ppc64 syscall stub
sandbox/linux/seccomp-bpf/syscall.cc | 53 ++++++++++++++++++++++++++--
1 file changed, 51 insertions(+), 2 deletions(-)
Index: chromium-12
8
.0.66
13.137
/sandbox/linux/seccomp-bpf/syscall.cc
Index: chromium-12
9
.0.66
68.58
/sandbox/linux/seccomp-bpf/syscall.cc
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/sandbox/linux/seccomp-bpf/syscall.cc
+++ chromium-12
8
.0.66
13.137
/sandbox/linux/seccomp-bpf/syscall.cc
--- chromium-12
9
.0.66
68.58
.orig/sandbox/linux/seccomp-bpf/syscall.cc
+++ chromium-12
9
.0.66
68.58
/sandbox/linux/seccomp-bpf/syscall.cc
@@ -23,7 +23,7 @@
namespace sandbox {
namespace {
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/0005-sandbox-linux-update-unit-test-for-ppc64.patch
View file @
03c34e0b
...
...
@@ -7,10 +7,10 @@ Subject: [PATCH 5/6] sandbox/linux: update unit test for ppc64
sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: chromium-12
8
.0.66
13.137
/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
Index: chromium-12
9
.0.66
68.58
/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
+++ chromium-12
8
.0.66
13.137
/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
--- chromium-12
9
.0.66
68.58
.orig/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
+++ chromium-12
9
.0.66
68.58
/sandbox/linux/seccomp-bpf-helpers/baseline_policy_unittest.cc
@@ -350,8 +350,10 @@
TEST_BASELINE_SIGSYS(__NR_timer_create)
#if !defined(__aarch64__)
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/0006-sandbox-linux-disable-timedwait-time64-ppc64.patch
View file @
03c34e0b
Index: chromium-12
8
.0.66
13.137
/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
Index: chromium-12
9
.0.66
68.58
/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
+++ chromium-12
8
.0.66
13.137
/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
--- chromium-12
9
.0.66
68.58
.orig/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
+++ chromium-12
9
.0.66
68.58
/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
@@ -374,7 +374,9 @@
bool SyscallSets::IsAllowedSignalHandlin
#if defined(__i386__) || defined(__arm__) || \
(defined(ARCH_CPU_MIPS_FAMILY) && defined(ARCH_CPU_32_BITS)) || \
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/0007-sandbox-linux-add-ppc64-stat.patch
View file @
03c34e0b
Index: chromium-12
8
.0.66
13.137
/sandbox/linux/system_headers/linux_stat.h
Index: chromium-12
9
.0.66
68.58
/sandbox/linux/system_headers/linux_stat.h
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/sandbox/linux/system_headers/linux_stat.h
+++ chromium-12
8
.0.66
13.137
/sandbox/linux/system_headers/linux_stat.h
--- chromium-12
9
.0.66
68.58
.orig/sandbox/linux/system_headers/linux_stat.h
+++ chromium-12
9
.0.66
68.58
/sandbox/linux/system_headers/linux_stat.h
@@ -173,6 +173,28 @@
struct kernel_stat {
unsigned int __unused4;
unsigned int __unused5;
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/0008-sandbox-fix-ppc64le-glibc234.patch
View file @
03c34e0b
Index: chromium-12
8
.0.66
13.137
/sandbox/policy/linux/bpf_utility_policy_linux.cc
Index: chromium-12
9
.0.66
68.58
/sandbox/policy/linux/bpf_utility_policy_linux.cc
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/sandbox/policy/linux/bpf_utility_policy_linux.cc
+++ chromium-12
8
.0.66
13.137
/sandbox/policy/linux/bpf_utility_policy_linux.cc
--- chromium-12
9
.0.66
68.58
.orig/sandbox/policy/linux/bpf_utility_policy_linux.cc
+++ chromium-12
9
.0.66
68.58
/sandbox/policy/linux/bpf_utility_policy_linux.cc
@@ -34,7 +34,7 @@
ResultExpr UtilityProcessPolicy::Evaluat
case __NR_fdatasync:
case __NR_fsync:
...
...
@@ -11,10 +11,10 @@ Index: chromium-128.0.6613.137/sandbox/policy/linux/bpf_utility_policy_linux.cc
case __NR_getrlimit:
#endif
#if defined(__i386__) || defined(__arm__)
Index: chromium-12
8
.0.66
13.137
/sandbox/policy/linux/bpf_renderer_policy_linux.cc
Index: chromium-12
9
.0.66
68.58
/sandbox/policy/linux/bpf_renderer_policy_linux.cc
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/sandbox/policy/linux/bpf_renderer_policy_linux.cc
+++ chromium-12
8
.0.66
13.137
/sandbox/policy/linux/bpf_renderer_policy_linux.cc
--- chromium-12
9
.0.66
68.58
.orig/sandbox/policy/linux/bpf_renderer_policy_linux.cc
+++ chromium-12
9
.0.66
68.58
/sandbox/policy/linux/bpf_renderer_policy_linux.cc
@@ -87,7 +87,7 @@
ResultExpr RendererProcessPolicy::Evalua
case __NR_ftruncate64:
#endif
...
...
@@ -24,10 +24,10 @@ Index: chromium-128.0.6613.137/sandbox/policy/linux/bpf_renderer_policy_linux.cc
case __NR_getrlimit:
case __NR_setrlimit:
// We allow setrlimit to dynamically adjust the address space limit as
Index: chromium-12
8
.0.66
13.137
/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
Index: chromium-12
9
.0.66
68.58
/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
+++ chromium-12
8
.0.66
13.137
/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
--- chromium-12
9
.0.66
68.58
.orig/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
+++ chromium-12
9
.0.66
68.58
/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
@@ -58,9 +58,9 @@
#elif defined(__powerpc64__)
...
...
@@ -40,11 +40,11 @@ Index: chromium-128.0.6613.137/sandbox/linux/bpf_dsl/linux_syscall_ranges.h
#define MAX_SYSCALL MAX_PUBLIC_SYSCALL
#else
Index: chromium-12
8
.0.66
13.137
/sandbox/linux/services/credentials.cc
Index: chromium-12
9
.0.66
68.58
/sandbox/linux/services/credentials.cc
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/sandbox/linux/services/credentials.cc
+++ chromium-12
8
.0.66
13.137
/sandbox/linux/services/credentials.cc
@@ -
94
,7 +
94
,8 @@
bool ChrootToSafeEmptyDir() {
--- chromium-12
9
.0.66
68.58
.orig/sandbox/linux/services/credentials.cc
+++ chromium-12
9
.0.66
68.58
/sandbox/linux/services/credentials.cc
@@ -
100
,7 +
100
,8 @@
bool ChrootToSafeEmptyDir() {
int clone_flags = CLONE_FS | LINUX_SIGCHLD;
void* tls = nullptr;
...
...
@@ -54,7 +54,7 @@ Index: chromium-128.0.6613.137/sandbox/linux/services/credentials.cc
!defined(MEMORY_SANITIZER)
// Use CLONE_VM | CLONE_VFORK as an optimization to avoid copying page tables.
// Since clone writes to the new child's TLS before returning, we must set a
@@ -10
2
,6 +10
3
,11 @@
bool ChrootToSafeEmptyDir() {
@@ -10
8
,6 +10
9
,11 @@
bool ChrootToSafeEmptyDir() {
// glibc performs syscalls by calling a function pointer in TLS, so we do not
// attempt this optimization.
// TODO(crbug.com/40196869) Broken in MSan builds after LLVM f1bb30a4956f.
...
...
@@ -66,10 +66,10 @@ Index: chromium-128.0.6613.137/sandbox/linux/services/credentials.cc
clone_flags |= CLONE_VM | CLONE_VFORK | CLONE_SETTLS;
// PTHREAD_STACK_MIN can be dynamic in glibc2.34+, so it is not possible to
Index: chromium-12
8
.0.66
13.137
/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
Index: chromium-12
9
.0.66
68.58
/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
+++ chromium-12
8
.0.66
13.137
/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
--- chromium-12
9
.0.66
68.58
.orig/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
+++ chromium-12
9
.0.66
68.58
/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc
@@ -362,7 +362,16 @@
intptr_t SIGSYSFstatatHandler(const stru
if (args.nr == __NR_fstatat_default) {
if (*reinterpret_cast<const char*>(args.args[1]) == '\0' &&
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/Sandbox-linux-services-credentials.cc-PPC.patch
View file @
03c34e0b
Index: chromium-12
8
.0.66
13.137
/sandbox/linux/services/credentials.cc
Index: chromium-12
9
.0.66
68.58
/sandbox/linux/services/credentials.cc
===================================================================
--- chromium-128.0.6613.137.orig/sandbox/linux/services/credentials.cc
+++ chromium-128.0.6613.137/sandbox/linux/services/credentials.cc
@@ -85,7 +85,7 @@
bool ChrootToSafeEmptyDir() {
pid_t pid = -1;
--- chromium-129.0.6668.58.orig/sandbox/linux/services/credentials.cc
+++ chromium-129.0.6668.58/sandbox/linux/services/credentials.cc
@@ -91,7 +91,7 @@
bool ChrootToSafeEmptyDir() {
alignas(16) char stack_buf[PTHREAD_STACK_MIN];
#if defined(ARCH_CPU_X86_FAMILY) || defined(ARCH_CPU_ARM_FAMILY) || \
- defined(ARCH_CPU_MIPS_FAMILY)
+ defined(ARCH_CPU_MIPS_FAMILY) || defined(ARCH_CPU_PPC64_FAMILY)
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/sandbox/fix-ppc64-linux-syscalls-headers.patch
View file @
03c34e0b
Index: chromium-12
8
.0.66
13.137
/sandbox/linux/system_headers/ppc64_linux_syscalls.h
Index: chromium-12
9
.0.66
68.58
/sandbox/linux/system_headers/ppc64_linux_syscalls.h
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/sandbox/linux/system_headers/ppc64_linux_syscalls.h
+++ chromium-12
8
.0.66
13.137
/sandbox/linux/system_headers/ppc64_linux_syscalls.h
--- chromium-12
9
.0.66
68.58
.orig/sandbox/linux/system_headers/ppc64_linux_syscalls.h
+++ chromium-12
9
.0.66
68.58
/sandbox/linux/system_headers/ppc64_linux_syscalls.h
@@ -8,5 +8,18 @@
#include <asm/unistd.h>
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/third_party/0001-Add-PPC64-support-for-boringssl.patch
View file @
03c34e0b
This diff is collapsed.
Click to expand it.
patches/ppc64le/third_party/0001-Force-baseline-POWER8-AltiVec-VSX-CPU-features-when-.patch
View file @
03c34e0b
...
...
@@ -8,11 +8,11 @@ Subject: [PATCH] Force baseline POWER8 / AltiVec / VSX CPU features when on a
BUILD.gn | 6 ++++++
1 file changed, 6 insertions(+)
Index: chromium-12
8
.0.66
13.137
/v8/BUILD.gn
Index: chromium-12
9
.0.66
68.58
/v8/BUILD.gn
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/v8/BUILD.gn
+++ chromium-12
8
.0.66
13.137
/v8/BUILD.gn
@@ -14
1
7,6 +14
1
7,12 @@
config("toolchain") {
--- chromium-12
9
.0.66
68.58
.orig/v8/BUILD.gn
+++ chromium-12
9
.0.66
68.58
/v8/BUILD.gn
@@ -14
4
7,6 +14
4
7,12 @@
config("toolchain") {
}
if (host_byteorder == "little") {
defines += [ "V8_TARGET_ARCH_PPC_LE" ]
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/third_party/0001-swiftshader-fix-build.patch
View file @
03c34e0b
Index: chromium-12
8
.0.66
13.137
/third_party/swiftshader/third_party/llvm-10.0/BUILD.gn
Index: chromium-12
9
.0.66
68.58
/third_party/swiftshader/third_party/llvm-10.0/BUILD.gn
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/third_party/swiftshader/third_party/llvm-10.0/BUILD.gn
+++ chromium-12
8
.0.66
13.137
/third_party/swiftshader/third_party/llvm-10.0/BUILD.gn
--- chromium-12
9
.0.66
68.58
.orig/third_party/swiftshader/third_party/llvm-10.0/BUILD.gn
+++ chromium-12
9
.0.66
68.58
/third_party/swiftshader/third_party/llvm-10.0/BUILD.gn
@@ -1258,6 +1258,8 @@
swiftshader_llvm_source_set("swiftshader
"llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp",
"llvm/lib/Target/PowerPC/PPCVSXSwapRemoval.cpp",
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/third_party/0001-third_party-angle-Include-missing-header-cstddef-in-.patch
View file @
03c34e0b
Index: chromium-12
8
.0.66
13.137
/third_party/angle/src/libANGLE/Constants.h
Index: chromium-12
9
.0.66
68.58
/third_party/angle/src/libANGLE/Constants.h
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/third_party/angle/src/libANGLE/Constants.h
+++ chromium-12
8
.0.66
13.137
/third_party/angle/src/libANGLE/Constants.h
--- chromium-12
9
.0.66
68.58
.orig/third_party/angle/src/libANGLE/Constants.h
+++ chromium-12
9
.0.66
68.58
/third_party/angle/src/libANGLE/Constants.h
@@ -9,6 +9,7 @@
#ifndef LIBANGLE_CONSTANTS_H_
#define LIBANGLE_CONSTANTS_H_
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/third_party/0001-third_party-libvpx-Properly-generate-gni-on-ppc64.patch
View file @
03c34e0b
...
...
@@ -8,11 +8,11 @@ Subject: [PATCH] third_party/libvpx: Properly generate gni on ppc64
third_party/libvpx/generate_gni.sh | 10 ++++++++++
2 files changed, 12 insertions(+)
Index: chromium-12
8
.0.66
13.137
/third_party/libvpx/BUILD.gn
Index: chromium-12
9
.0.66
68.58
/third_party/libvpx/BUILD.gn
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/third_party/libvpx/BUILD.gn
+++ chromium-12
8
.0.66
13.137
/third_party/libvpx/BUILD.gn
@@ -
320
,6 +
320
,8 @@
if (current_cpu == "x86" || (current_cpu
--- chromium-12
9
.0.66
68.58
.orig/third_party/libvpx/BUILD.gn
+++ chromium-12
9
.0.66
68.58
/third_party/libvpx/BUILD.gn
@@ -
296
,6 +
296
,8 @@
if (current_cpu == "x86" || (current_cpu
} else if (current_cpu == "x64") {
deps = [ ":libvpx_x86_64_headers" ]
sources = libvpx_srcs_x86_64_avx512
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/third_party/0001-third_party-lss-Don-t-look-for-mmap2-on-ppc64.patch
View file @
03c34e0b
Index: chromium-12
8
.0.66
13.137
/third_party/lss/linux_syscall_support.h
Index: chromium-12
9
.0.66
68.58
/third_party/lss/linux_syscall_support.h
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/third_party/lss/linux_syscall_support.h
+++ chromium-12
8
.0.66
13.137
/third_party/lss/linux_syscall_support.h
--- chromium-12
9
.0.66
68.58
.orig/third_party/lss/linux_syscall_support.h
+++ chromium-12
9
.0.66
68.58
/third_party/lss/linux_syscall_support.h
@@ -4638,7 +4638,7 @@
struct kernel_statx {
LSS_REG(2, buf);
LSS_BODY(void*, mmap2, "0"(__r2));
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/third_party/0001-third_party-pffft-Include-altivec.h-on-ppc64-with-SI.patch
View file @
03c34e0b
...
...
@@ -8,10 +8,10 @@ Subject: [PATCH] third_party/pffft: Include altivec.h on ppc64 with SIMD
third_party/pffft/src/pffft.c | 1 +
1 file changed, 1 insertion(+)
Index: chromium-12
8
.0.66
13.137
/third_party/pffft/src/pffft.c
Index: chromium-12
9
.0.66
68.58
/third_party/pffft/src/pffft.c
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/third_party/pffft/src/pffft.c
+++ chromium-12
8
.0.66
13.137
/third_party/pffft/src/pffft.c
--- chromium-12
9
.0.66
68.58
.orig/third_party/pffft/src/pffft.c
+++ chromium-12
9
.0.66
68.58
/third_party/pffft/src/pffft.c
@@ -100,6 +100,7 @@
Altivec support macros
*/
...
...
This diff is collapsed.
Click to expand it.
patches/ppc64le/third_party/0002-Add-PPC64-generated-files-for-boringssl.patch
View file @
03c34e0b
Index: chromium-12
8
.0.66
13.137
/third_party/boringssl/src/gen/bcm/aesp8-ppc-linux.S
Index: chromium-12
9
.0.66
68.58
/third_party/boringssl/src/gen/bcm/aesp8-ppc-linux.S
===================================================================
--- /dev/null
+++ chromium-12
8
.0.66
13.137
/third_party/boringssl/src/gen/bcm/aesp8-ppc-linux.S
+++ chromium-12
9
.0.66
68.58
/third_party/boringssl/src/gen/bcm/aesp8-ppc-linux.S
@@ -0,0 +1,3673 @@
+// This file is generated from a similarly-named Perl script in the BoringSSL
+// source tree. Do not edit by hand.
...
...
@@ -3676,10 +3676,10 @@ Index: chromium-128.0.6613.137/third_party/boringssl/src/gen/bcm/aesp8-ppc-linux
+// See https://www.airs.com/blog/archives/518.
+.section .note.GNU-stack,"",%progbits
+#endif
Index: chromium-12
8
.0.66
13.137
/third_party/boringssl/src/gen/bcm/ghashp8-ppc-linux.S
Index: chromium-12
9
.0.66
68.58
/third_party/boringssl/src/gen/bcm/ghashp8-ppc-linux.S
===================================================================
--- /dev/null
+++ chromium-12
8
.0.66
13.137
/third_party/boringssl/src/gen/bcm/ghashp8-ppc-linux.S
+++ chromium-12
9
.0.66
68.58
/third_party/boringssl/src/gen/bcm/ghashp8-ppc-linux.S
@@ -0,0 +1,590 @@
+// This file is generated from a similarly-named Perl script in the BoringSSL
+// source tree. Do not edit by hand.
...
...
@@ -4271,10 +4271,10 @@ Index: chromium-128.0.6613.137/third_party/boringssl/src/gen/bcm/ghashp8-ppc-lin
+// See https://www.airs.com/blog/archives/518.
+.section .note.GNU-stack,"",%progbits
+#endif
Index: chromium-12
8
.0.66
13.137
/third_party/boringssl/src/gen/sources.cmake
Index: chromium-12
9
.0.66
68.58
/third_party/boringssl/src/gen/sources.cmake
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/third_party/boringssl/src/gen/sources.cmake
+++ chromium-12
8
.0.66
13.137
/third_party/boringssl/src/gen/sources.cmake
--- chromium-12
9
.0.66
68.58
.orig/third_party/boringssl/src/gen/sources.cmake
+++ chromium-12
9
.0.66
68.58
/third_party/boringssl/src/gen/sources.cmake
@@ -110,6 +110,7 @@
set(
gen/bcm/aesni-x86-linux.S
gen/bcm/aesni-x86_64-apple.S
...
...
@@ -5759,10 +5759,10 @@ Index: chromium-128.0.6613.137/third_party/boringssl/src/gen/sources.cmake
gen/test_support/trampoline-x86-apple.S
gen/test_support/trampoline-x86-linux.S
gen/test_support/trampoline-x86_64-apple.S
Index: chromium-12
8
.0.66
13.137
/third_party/boringssl/src/gen/sources.json
Index: chromium-12
9
.0.66
68.58
/third_party/boringssl/src/gen/sources.json
===================================================================
--- chromium-12
8
.0.66
13.137
.orig/third_party/boringssl/src/gen/sources.json
+++ chromium-12
8
.0.66
13.137
/third_party/boringssl/src/gen/sources.json
--- chromium-12
9
.0.66
68.58
.orig/third_party/boringssl/src/gen/sources.json
+++ chromium-12
9
.0.66
68.58
/third_party/boringssl/src/gen/sources.json
@@ -88,6 +88,7 @@
"gen/bcm/aesni-x86-linux.S",
"gen/bcm/aesni-x86_64-apple.S",
...
...
@@ -7247,10 +7247,10 @@ Index: chromium-128.0.6613.137/third_party/boringssl/src/gen/sources.json
"gen/test_support/trampoline-x86-apple.S",
"gen/test_support/trampoline-x86-linux.S",
"gen/test_support/trampoline-x86_64-apple.S",
Index: chromium-12
8
.0.66
13.137
/third_party/boringssl/src/gen/test_support/trampoline-ppc-linux.S
Index: chromium-12
9
.0.66
68.58
/third_party/boringssl/src/gen/test_support/trampoline-ppc-linux.S
===================================================================
--- /dev/null
+++ chromium-12
8
.0.66
13.137
/third_party/boringssl/src/gen/test_support/trampoline-ppc-linux.S
+++ chromium-12
9
.0.66
68.58
/third_party/boringssl/src/gen/test_support/trampoline-ppc-linux.S
@@ -0,0 +1,1413 @@
+// This file is generated from a similarly-named Perl script in the BoringSSL
+// source tree. Do not edit by hand.
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
3
4
5
6
…
9
Next
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