<div dir="auto">Looks good.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 26, 2021, 5:59 PM  <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank" rel="noreferrer">chrisj@rtems.org</a>><br>
<br>
- It seems the compiler how defaults to -fcommon and this means<br>
  some uninitialised data is ignored.<br>
<br>
Closes #4266<br>
---<br>
 bsps/powerpc/motorola_powerpc/bootloader/ppcboot.lds | 8 +++++++-<br>
 1 file changed, 7 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/bsps/powerpc/motorola_powerpc/bootloader/ppcboot.lds b/bsps/powerpc/motorola_powerpc/bootloader/ppcboot.lds<br>
index a87a07cfd7..501acc40dc 100644<br>
--- a/bsps/powerpc/motorola_powerpc/bootloader/ppcboot.lds<br>
+++ b/bsps/powerpc/motorola_powerpc/bootloader/ppcboot.lds<br>
@@ -40,6 +40,7 @@ SECTIONS<br>
     *(.text)<br>
     *(.text*)<br>
     *(.sdata2)<br>
+    *(.sdata2*)<br>
     *(.rodata)<br>
     *(.rodata*)<br>
   }<br>
@@ -72,13 +73,17 @@ SECTIONS<br>
     *(.data)<br>
     *(.data*)<br>
     *(.sdata)<br>
+    *(.sdata*)<br>
     . = ALIGN(4);<br>
     _data_end = .;<br>
   }<br>
   .bss :<br>
   {<br>
     *(.sbss)<br>
+    *(.sbss*)<br>
     *(.bss)<br>
+    *(.bss*)<br>
+    *(COMMON)<br>
     . = ALIGN(4);<br>
     _bss_end = .;<br>
   }<br>
@@ -96,6 +101,7 @@ SECTIONS<br>
<br>
   /DISCARD/ : <br>
   {<br>
-    *(.comment)<br>
+    *(.comment*)<br>
+    *(.debug*)<br>
   }<br>
 }<br>
-- <br>
2.27.0<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>