Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: [PATCH] plugins don't link with recent binutils
From: Nix (nix_at_esperi.demon.co.uk)
Date: 2003-07-05


Recent binutils say

sh-unknown-elf-gcc -O -nostdlib -o /usr/packages/rockbox/build/build/bounce.elf /usr/packages/rockbox/build/build/bounce.o -lgcc -Tplugin.lds -Wl,-Map,bounce.map
/usr/bin/sh-unknown-elf-ld: error: no memory region specified for loadable section `.rodata.str1.4'

The fix is obvious:

diff -u -r1.1 plugin.lds
--- apps/plugins/plugin.lds 29 Jun 2003 16:33:04 -0000 1.1
+++ apps/plugins/plugin.lds 5 Jul 2003 20:57:38 -0000
@@ -22,5 +22,6 @@
 
     .rodata : {
         *(.rodata)
+ *(.rodata.str1.4)
     } > PLUGIN_RAM
 }

-- 
`It is an unfortunate coincidence that the date locarchive.h was
 written (in hex) matches Ritchie's birthday (in octal).'
               -- Roland McGrath on the libc-alpha list



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa