1
0
Fork 0
forked from len0rd/rockbox

Onda VX747: commit some parts to get apps/ to compile (more will follow)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19954 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2009-02-09 10:02:38 +00:00
parent f7a06dd6fc
commit 04c7379ac5
21 changed files with 709 additions and 522 deletions

View file

@ -6,8 +6,12 @@
OUTPUT_FORMAT(elf32-m68k)
#elif defined(CPU_ARM)
OUTPUT_FORMAT(elf32-littlearm)
#else
#elif defined(CPU_SH)
OUTPUT_FORMAT(elf32-sh)
#elif defined(CPU_MIPS)
OUTPUT_FORMAT(elf32-littlemips)
#else
#error Unknown CPU architecture
#endif
#ifdef DEBUG
@ -99,6 +103,10 @@ OUTPUT_FORMAT(elf32-sh)
#endif
#define DRAMORIG 0x30000000
#elif CONFIG_CPU == JZ4732
#define DRAMORIG 0x80004000 + STUBOFFSET
#define IRAMORIG 0x80000000
#define IRAMSIZE 0x4000
#else
#define DRAMORIG 0x09000000 + STUBOFFSET
#endif
@ -182,6 +190,9 @@ SECTIONS
/DISCARD/ :
{
*(.eh_frame)
#ifdef CPU_MIPS
*(.rel.dyn)
#endif
}
#if defined(IRAMSIZE) && IRAMSIZE != 0