Message ID | 20240604115932.86596-4-mhartmay@linux.ibm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | s390x: small Makefile improvements | expand |
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 --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 */