diff --git a/iop/startup/src/linkfile b/iop/startup/src/linkfile index 0b684c5682f..240247f95ee 100644 --- a/iop/startup/src/linkfile +++ b/iop/startup/src/linkfile @@ -23,7 +23,7 @@ SECTIONS /* Read-only sections, merged into text segment: */ . = 0x0400000; /* Can conditionally be changed to . = 0x5ffe0000 + SIZEOF_HEADERS; */ .interp : { *(.interp) } /* Can conditionally be removed */ - .reginfo : { *(.reginfo) } + .reginfo ALIGN(16) : SUBALIGN(16) { *(.reginfo) } .hash : { *(.hash) } .dynsym : { *(.dynsym) } .dynstr : { *(.dynstr) } @@ -58,7 +58,7 @@ SECTIONS .rela.plt : { *(.rela.plt) } .init : { *(.init) } =0 .plt : { *(.plt) } - .text : + .text ALIGN(16) : SUBALIGN(16) { PROVIDE(_ftext = . ); *(.text) @@ -71,12 +71,12 @@ SECTIONS PROVIDE(_etext = .); PROVIDE (etext = .); .fini : { *(.fini) } =0 - .rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r*) } + .rodata ALIGN(16) : SUBALIGN(16) { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r*) } .rodata1 : { *(.rodata1) } /* Adjust the address for the data segment. We want to adjust up to the same address within the page on the next page up. */ . = ALIGN(0x40000) + (. & (0x40000 - 1)); /* Can conditionally be changed to . = .; */ - .data : + .data ALIGN(16) : SUBALIGN(16) { PROVIDE(_fdata = .); *(.data) @@ -106,7 +106,7 @@ SECTIONS __bss_start = .; PROVIDE(_fbss = .); .sbss : { *(.sbss) *(.scommon) } - .bss : + .bss ALIGN(16) : SUBALIGN(16) { *(.dynbss) *(.bss)