<p>Nico Huber has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/20810">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">lib/program.ld: Guard .id section placement<br><br>For x86, we place the .id section at 4GiB - CONFIG_ID_SECTION_OFFSET.<br>To take effect, we have to guard the conflicting default placement in<br>`program.ld`. Also, as we only include the .id section into the boot-<br>block, guard it by ENV_BOOTBLOCK too.<br><br>Change-Id: Idc7cbd670ce4f75b7790ff8d95578683e355ba7e<br>Signed-off-by: Nico Huber <nico.h@gmx.de><br>---<br>M src/lib/program.ld<br>1 file changed, 3 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/10/20810/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/lib/program.ld b/src/lib/program.ld<br>index 1526aad..668b29b 100644<br>--- a/src/lib/program.ld<br>+++ b/src/lib/program.ld<br>@@ -34,7 +34,10 @@<br>   *(.rom.data);<br>         *(.text._start);<br>      *(.text.stage_entry);<br>+#if ENV_BOOTBLOCK && !(IS_ENABLED(CONFIG_ARCH_BOOTBLOCK_X86_32) || \<br>+                IS_ENABLED(CONFIG_ARCH_BOOTBLOCK_X86_64))<br>      KEEP(*(.id));<br>+#endif<br>        *(.text);<br>     *(.text.*);<br> <br></pre><p>To view, visit <a href="https://review.coreboot.org/20810">change 20810</a>. To unsubscribe, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/20810"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Idc7cbd670ce4f75b7790ff8d95578683e355ba7e </div>
<div style="display:none"> Gerrit-Change-Number: 20810 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Nico Huber <nico.h@gmx.de> </div>