<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Index: apps/plugins/plugin.lds
===================================================================
RCS file: /cvsroot/rockbox/apps/plugins/plugin.lds,v
retrieving revision 1.33
diff -u -r1.33 plugin.lds
--- apps/plugins/plugin.lds	24 Feb 2006 20:54:08 -0000	1.33
+++ apps/plugins/plugin.lds	10 Apr 2006 18:11:55 -0000
@@ -116,16 +116,18 @@
         iend = .;
     } &gt; PLUGIN_IRAM
 
-    .bss ADDR(.data) + SIZEOF(.data) + SIZEOF(.iram):
-#else
-    .bss :
 #endif
+    .bss (NOLOAD) :
     {
         *(.bss*)
         *(COMMON)
         . = ALIGN(0x4);
+#if defined(ARCH_IRIVER) || defined(ARCH_IPOD) || (CONFIG_CPU==PNX0101)
+        _plugin_end_addr = MAX(. , iramcopy + SIZEOF(.iram));
+#else
         _plugin_end_addr = .;
-        plugin_end_addr = .;
+#endif
+        plugin_end_addr = _plugin_end_addr;
     } &gt; PLUGIN_RAM
 
     /* Special trick to avoid a linker error when no other sections are
</pre></body></html>