ARM and PowerPC Shared Linkcmds Alignment Issue

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Feb 8 12:50:44 UTC 2018



On 31/01/18 21:10, Joel Sherrill wrote:
> Hi
>
> I am debugging a paravirtualized BSP. On the ARM and PowerPC,
> we want to use the linkcmds.share infrastructure but both use
> ALIGN_WITH_INPUT for the first .data section.
>
> For these BSPs, we need the .data to be on a 4K page boundary.

Why the .data section?

You can add an empty array with a 4KiB alignment and a section attribute 
for specific linker input sections.

If you want to place all read-write data on a 4KiB boundary, then use

bsp_section_rwbarrier_align = 4096;

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list