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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Super User <root@xxxxxxxxxxxxxxxxx>

This reverts commit 9801dbbe9ea4591b2c32a51e5b29cb64502b93fb.

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

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 */
-- 
2.34.1





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux