linux-samsung-n7100-downstream: fix build (MR 5080)
Part of https://gitlab.com/postmarketOS/pmaports/-/issues/2401 [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
0c859fbfc3
commit
3c855ce53b
4 changed files with 77 additions and 1 deletions
|
@ -0,0 +1,70 @@
|
||||||
|
From 3810f128e9ecf04cf07d243cd377fcb6046cfd73 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Newbyte <newbyte@postmarketos.org>
|
||||||
|
Date: Tue, 30 Apr 2024 17:57:20 +0200
|
||||||
|
Subject: [PATCH] ARM: 8933/1: replace Sun/Solaris style flag on section
|
||||||
|
|
||||||
|
Taken from
|
||||||
|
linux3.4-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch
|
||||||
|
and adapted for the Exynos 4412 vendor sources.
|
||||||
|
---
|
||||||
|
arch/arm/boot/bootp/init.S | 2 +-
|
||||||
|
arch/arm/boot/compressed/big-endian.S | 2 +-
|
||||||
|
arch/arm/boot/compressed/head.S | 2 +-
|
||||||
|
arch/arm/mm/proc-v7.S | 2 +-
|
||||||
|
4 files changed, 4 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/arch/arm/boot/bootp/init.S b/arch/arm/boot/bootp/init.S
|
||||||
|
index 78b50807516..868eeeaaa46 100644
|
||||||
|
--- a/arch/arm/boot/bootp/init.S
|
||||||
|
+++ b/arch/arm/boot/bootp/init.S
|
||||||
|
@@ -16,7 +16,7 @@
|
||||||
|
* size immediately following the kernel, we could build this into
|
||||||
|
* a binary blob, and concatenate the zImage using the cat command.
|
||||||
|
*/
|
||||||
|
- .section .start,#alloc,#execinstr
|
||||||
|
+ .section .start, "ax"
|
||||||
|
.type _start, #function
|
||||||
|
.globl _start
|
||||||
|
|
||||||
|
diff --git a/arch/arm/boot/compressed/big-endian.S b/arch/arm/boot/compressed/big-endian.S
|
||||||
|
index 25ab26f1c6f..f22428e275f 100644
|
||||||
|
--- a/arch/arm/boot/compressed/big-endian.S
|
||||||
|
+++ b/arch/arm/boot/compressed/big-endian.S
|
||||||
|
@@ -5,7 +5,7 @@
|
||||||
|
* Author: Nicolas Pitre
|
||||||
|
*/
|
||||||
|
|
||||||
|
- .section ".start", #alloc, #execinstr
|
||||||
|
+ .section ".start", "ax"
|
||||||
|
|
||||||
|
mrc p15, 0, r0, c1, c0, 0 @ read control reg
|
||||||
|
orr r0, r0, #(1 << 7) @ enable big endian mode
|
||||||
|
diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S
|
||||||
|
index 63cfa2e9236..3cd67aa3855 100644
|
||||||
|
--- a/arch/arm/boot/compressed/head.S
|
||||||
|
+++ b/arch/arm/boot/compressed/head.S
|
||||||
|
@@ -112,7 +112,7 @@
|
||||||
|
#endif
|
||||||
|
.endm
|
||||||
|
|
||||||
|
- .section ".start", #alloc, #execinstr
|
||||||
|
+ .section ".start", "ax"
|
||||||
|
/*
|
||||||
|
* sort out different calling conventions
|
||||||
|
*/
|
||||||
|
diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S
|
||||||
|
index e1687990af9..a479702f198 100644
|
||||||
|
--- a/arch/arm/mm/proc-v7.S
|
||||||
|
+++ b/arch/arm/mm/proc-v7.S
|
||||||
|
@@ -519,7 +519,7 @@ __v7_setup_stack:
|
||||||
|
string cpu_elf_name, "v7"
|
||||||
|
.align
|
||||||
|
|
||||||
|
- .section ".proc.info.init", #alloc, #execinstr
|
||||||
|
+ .section ".proc.info.init", "ax"
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Standard v7 proc info content
|
||||||
|
--
|
||||||
|
2.44.0
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
pkgname=linux-samsung-n7100-downstream
|
pkgname=linux-samsung-n7100-downstream
|
||||||
pkgver=3.0.64
|
pkgver=3.0.64
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="Samsung Galaxy Note II kernel fork"
|
pkgdesc="Samsung Galaxy Note II kernel fork"
|
||||||
arch="armhf"
|
arch="armhf"
|
||||||
_carch="arm"
|
_carch="arm"
|
||||||
|
@ -33,6 +33,8 @@ source="
|
||||||
timeconst.pl-Eliminate-Perl-warning.patch
|
timeconst.pl-Eliminate-Perl-warning.patch
|
||||||
extdsp_inline.patch
|
extdsp_inline.patch
|
||||||
fimc_lite.patch
|
fimc_lite.patch
|
||||||
|
linux3.0-8933-1-replace-Sun-Solaris-style-flag-on-section.patch
|
||||||
|
linux3.4-fix-piggy.gzip.S.patch
|
||||||
"
|
"
|
||||||
builddir="$srcdir/$_repository-$_commit"
|
builddir="$srcdir/$_repository-$_commit"
|
||||||
_outdir="out"
|
_outdir="out"
|
||||||
|
@ -58,4 +60,6 @@ a9a66b82d0595388dcf44d56248e9cce2042507731c81fd5dc272667d380479436164800b7f36766
|
||||||
1fcfb5f06a2bfdcc55d53054ca80d1b989599a39a5379d057a0724fc405187d74da4309a650e70b9c79d39444e81923cfc5c9199ed8c0a77c83dcd7998446bb7 timeconst.pl-Eliminate-Perl-warning.patch
|
1fcfb5f06a2bfdcc55d53054ca80d1b989599a39a5379d057a0724fc405187d74da4309a650e70b9c79d39444e81923cfc5c9199ed8c0a77c83dcd7998446bb7 timeconst.pl-Eliminate-Perl-warning.patch
|
||||||
54b345e988b20078260c859d047fc67eec4de0a82cc4c7a19537dac3a797cfc7adbcd41f2af51814d7a6b5d93c5825078381aa7207b5db0cc2b671e495682140 extdsp_inline.patch
|
54b345e988b20078260c859d047fc67eec4de0a82cc4c7a19537dac3a797cfc7adbcd41f2af51814d7a6b5d93c5825078381aa7207b5db0cc2b671e495682140 extdsp_inline.patch
|
||||||
fe682960d8d8534e14712a4d2bf9e41abed34ec3a29dcaace0fc1115cda08f6bc4c83cd130413d92cda2091be711e3ded91767c30f080a6d9cf7952f068f052c fimc_lite.patch
|
fe682960d8d8534e14712a4d2bf9e41abed34ec3a29dcaace0fc1115cda08f6bc4c83cd130413d92cda2091be711e3ded91767c30f080a6d9cf7952f068f052c fimc_lite.patch
|
||||||
|
66ab793bb1fa50a07f10e2cdb0f49ea05a787c6b1fe5358e69a76e43295ac5be3b68cdf6a882e868bfe6969cac981c5545587cd57eee4b5cec26078ae0ecaa1c linux3.0-8933-1-replace-Sun-Solaris-style-flag-on-section.patch
|
||||||
|
080745ca4ecaa804ee1df26ea81975ca93b74372e0c08322a6c481e97807495ae6ceb6cc77653afa24f9f2df45da8ebf8e5de6b06037fbb08e0279877ce42188 linux3.4-fix-piggy.gzip.S.patch
|
||||||
"
|
"
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
../../.shared-patches/linux/linux3.0-8933-1-replace-Sun-Solaris-style-flag-on-section.patch
|
|
@ -0,0 +1 @@
|
||||||
|
../../.shared-patches/linux/linux3.4-fix-piggy.gzip.S.patch
|
Loading…
Reference in a new issue