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