<div dir="ltr"><span style="font-size:12.8px">> I can write an ldscript for riscv which will produce segments that have addresses aligned to 2M, but the alignment value is still 4K.</span><br><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">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. :-)</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Zoran</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 1, 2016 at 6:03 PM, ron minnich <span dir="ltr"><<a href="mailto:rminnich@gmail.com" target="_blank">rminnich@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Apologies in advance: this is not a coreboot question but I'm counting on coreboot expertise.<div><br></div><div>I need to find a way to force the value of the segment alignment variable.<div><br></div><div>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.<br><div><br></div><div>I can write an ldscript for riscv which will produce segments that have addresses aligned to 2M, but the alignment value is still 4K. </div></div></div><div><br></div><div>Any suggestions from all you experts? </div><div><br></div><div>thanks</div></div>
<br>--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br>
<a href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://www.coreboot.org/<wbr>mailman/listinfo/coreboot</a><br></blockquote></div><br></div>