mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Make sure the linker considers crt0*.o before all files specified on the command line by using STARTUP() instead of INPUT() in the .lds. Using INPUT() makes the linker process crt0*.o after all files specified on the command line, making linking fail if there are librockbox.a members which are only referenced by crt0*.o. Remove the hackaround that was needed for building the gigabeat S bootloader before (aka UIE() problem).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17289 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f3d83c7be7
commit
2bbacf89fe
27 changed files with 29 additions and 42 deletions
|
@ -4,7 +4,7 @@ ENTRY(start)
|
|||
|
||||
OUTPUT_FORMAT(elf32-littlearm)
|
||||
OUTPUT_ARCH(arm)
|
||||
INPUT(target/arm/pnx0101/crt0-pnx0101.o)
|
||||
STARTUP(target/arm/pnx0101/crt0-pnx0101.o)
|
||||
|
||||
#define PLUGINSIZE PLUGIN_BUFFER_SIZE
|
||||
#define CODECSIZE CODEC_SIZE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue