1
0
Fork 0
forked from len0rd/rockbox

fix to enable plugins to build fine for h300

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6913 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2005-06-29 13:12:45 +00:00
parent 01377e2e57
commit 3a78ab9a4f

View file

@ -14,7 +14,11 @@ OUTPUT_FORMAT(elf32-sh)
#define STUBOFFSET 0
#endif
#ifdef IRIVER_H100
#if defined(IRIVER_H100) || defined(IRIVER_H300)
#define ARCH_IRIVER
#endif
#ifdef ARCH_IRIVER
#define DRAMORIG 0x31000000
#define IRAMORIG 0x10010000
#define IRAMSIZE 0x8000
@ -39,7 +43,7 @@ OUTPUT_FORMAT(elf32-sh)
MEMORY
{
PLUGIN_RAM : ORIGIN = THIS_ORIGIN, LENGTH = THIS_LENGTH
#ifdef IRIVER_H100
#ifdef ARCH_IRIVER
PLUGIN_IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
#endif
}
@ -68,12 +72,12 @@ SECTIONS
*(.rodata.str1.1)
*(.rodata.str1.4)
. = ALIGN(0x4);
#ifdef IRIVER_H100
#ifdef ARCH_IRIVER
iramcopy = .;
#endif
} > PLUGIN_RAM
#ifdef IRIVER_H100
#ifdef ARCH_IRIVER
.iram IRAMORIG : AT ( iramcopy)
{
iramstart = .;