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

[PATCH] plugins don't link with recent binutils

From: Nix <nix_at_esperi.demon.co.uk>
Date: Sat, 05 Jul 2003 21:57:11 +0100

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
_at__at_ -22,5 +22,6 _at__at_
 
     .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
Received on 2003-07-05

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy