summaryrefslogtreecommitdiff
path: root/bootloader
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-04-29 06:19:32 +0000
committerJens Arnold <amiconn@rockbox.org>2008-04-29 06:19:32 +0000
commit2bbacf89fea9f5613fd884b57809070da5b8c925 (patch)
tree6af43aad91a09e02f4325b50d361154dc3ea8beb /bootloader
parentf3d83c7be7e9cb5700cb5b3d8632867a1862bc80 (diff)
downloadrockbox-2bbacf89fea9f5613fd884b57809070da5b8c925.tar.gz
rockbox-2bbacf89fea9f5613fd884b57809070da5b8c925.zip
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
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/gigabeat-s.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/bootloader/gigabeat-s.c b/bootloader/gigabeat-s.c
index 7fb8608c79..439c81edfb 100644
--- a/bootloader/gigabeat-s.c
+++ b/bootloader/gigabeat-s.c
@@ -58,13 +58,6 @@ char *tarbuf = (char *)0x00000040;
58extern void reference_system_c(void); 58extern void reference_system_c(void);
59static struct event_queue usb_wait_queue; 59static struct event_queue usb_wait_queue;
60 60
61/* Dummy stub that creates C references for C functions only used by
62 assembly - never called */
63void reference_files(void)
64{
65 reference_system_c();
66}
67
68void show_splash(int timeout, const char *msg) 61void show_splash(int timeout, const char *msg)
69{ 62{
70 lcd_putsxy( (LCD_WIDTH - (SYSFONT_WIDTH * strlen(msg))) / 2, 63 lcd_putsxy( (LCD_WIDTH - (SYSFONT_WIDTH * strlen(msg))) / 2,