summaryrefslogtreecommitdiff
path: root/linux-dragon/0001-powerpc-boot-wrapper-Add-z-notext-flag-for-ppc64le.patch
blob: 09a3878c9da9429dee4c8fa1f202a3f7f0c81b37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From b89ea1347d15f20bdbcb4d9aa06b1afa87f91994 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Tue, 28 Nov 2023 14:35:54 +0100
Subject: [PATCH 1/5] powerpc/boot/wrapper: Add "-z notext" flag for ppc64le

This is a follow up to commit 4c078c86b4a4 (powerpc/boot/wrapper: Add
"-z notext" flag to disable diagnostic)

Ref: https://gitlab.alpinelinux.org/alpine/aports/-/issues/14560
Signed-off-by: Achill Gilgenast <achill@achill.org>
---
 arch/powerpc/boot/wrapper | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper
index a75baefd1cff..c2fa41661911 100755
--- a/arch/powerpc/boot/wrapper
+++ b/arch/powerpc/boot/wrapper
@@ -262,6 +262,7 @@ pseries)
     if [ "$format" != "elf32ppc" ]; then
 	link_address=
 	pie=-pie
+	notext='-z notext'
     fi
     make_space=n
     ;;
-- 
2.52.0