From: Trent Piepho Date: Mon, 13 Oct 2008 16:39:11 -0700 Subject: [U-Boot] [PATCH 4/4] Use ALIGN() in mpc85xx linker script In-Reply-To: References: Message-ID: <1223941151-13969-4-git-send-email-tpiepho@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de It wasn't used in one instance where the end of the rotext section is aligned to 256 bytes. Maybe this alignment isn't necessary? I have to wonder about the alignment of the .data.init and .text.init sections too, since they don't appear to even exist. Signed-off-by: Trent Piepho --- cpu/mpc85xx/u-boot.lds | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cpu/mpc85xx/u-boot.lds b/cpu/mpc85xx/u-boot.lds index f7aedc0..8af35da 100644 --- a/cpu/mpc85xx/u-boot.lds +++ b/cpu/mpc85xx/u-boot.lds @@ -92,7 +92,7 @@ SECTIONS .dtors : { *(.dtors) } /* Read-write section, merged into data segment: */ - . = (. + 0x00FF) & 0xFFFFFF00; + . = ALIGN(0x100); _erotext = .; PROVIDE (erotext = .); .reloc : -- 1.5.4.1