diff mbox series

[kvm-unit-tests,v1,3/3] Revert "s390x: Specify program headers with flags to avoid linker warnings"

Message ID 20240604115932.86596-4-mhartmay@linux.ibm.com (mailing list archive)
State New, archived
Headers show
Series s390x: small Makefile improvements | expand

Commit Message

Marc Hartmayer June 4, 2024, 11:59 a.m. UTC
From: Super User <root@t35lp69.lnxne.boe>

This reverts commit 9801dbbe9ea4591b2c32a51e5b29cb64502b93fb.

Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
---
 s390x/snippets/c/flat.lds.S | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

Comments

Marc Hartmayer June 4, 2024, 12:04 p.m. UTC | #1
On Tue, Jun 04, 2024 at 01:59 PM +0200, Marc Hartmayer <mhartmay@linux.ibm.com> wrote:
> From: Super User <root@t35lp69.lnxne.boe>

Oops, author must be fixed… :/
diff mbox series

Patch

diff --git a/s390x/snippets/c/flat.lds.S b/s390x/snippets/c/flat.lds.S
index 6b8ceb9e0dca..468b5f1eebe8 100644
--- a/s390x/snippets/c/flat.lds.S
+++ b/s390x/snippets/c/flat.lds.S
@@ -1,11 +1,5 @@ 
 #include <asm/asm-offsets.h>
 
-PHDRS
-{
-    text PT_LOAD FLAGS(5);
-    data PT_LOAD FLAGS(6);
-}
-
 SECTIONS
 {
 	.lowcore : {
@@ -35,7 +29,7 @@  SECTIONS
 		*(.init)
 		*(.text)
 		*(.text.*)
-	} :text
+	}
 	. = ALIGN(4K);
 	etext = .;
 	/* End text */
@@ -43,9 +37,9 @@  SECTIONS
 	.data : {
 		*(.data)
 		*(.data.rel*)
-	} :data
+	}
 	. = ALIGN(16);
-	.rodata : { *(.rodata) *(.rodata.*) } :data
+	.rodata : { *(.rodata) *(.rodata.*) }
 	. = ALIGN(16);
 	.bss : { *(.bss) }
 	/* End data */