[coreboot] non-coreboot question on gnu ldscripts
Zoran Stojsavljevic
zoran.stojsavljevic at gmail.com
Fri Dec 2 06:02:57 CET 2016
> I can write an ldscript for riscv which will produce segments that have
addresses aligned to 2M, but the alignment value is still 4K.
Not expert (certainly) on ldscripts (far from that), but if you willing to
write one script as per said/written above, and present it here, maybe we,
non-experts, can learn, and help. :-)
Zoran
On Thu, Dec 1, 2016 at 6:03 PM, ron minnich <rminnich at gmail.com> wrote:
> Apologies in advance: this is not a coreboot question but I'm counting on
> coreboot expertise.
>
> I need to find a way to force the value of the segment alignment variable.
>
> The problem is that on the riscv gld, they want to align segments on 4k
> boundaries. I need them aligned on 2M boundaries. Note this works fine
> today on x86_64: ELF files have segments aligned on 2M boundaries and the
> alignment value is 2M.
>
> I can write an ldscript for riscv which will produce segments that have
> addresses aligned to 2M, but the alignment value is still 4K.
>
> Any suggestions from all you experts?
>
> thanks
>
> --
> coreboot mailing list: coreboot at coreboot.org
> https://www.coreboot.org/mailman/listinfo/coreboot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20161202/c5e4a39b/attachment.html>
More information about the coreboot
mailing list