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 = .; } > 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; } > PLUGIN_RAM /* Special trick to avoid a linker error when no other sections are