From 2bbacf89fea9f5613fd884b57809070da5b8c925 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Tue, 29 Apr 2008 06:19:32 +0000 Subject: 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 --- bootloader/gigabeat-s.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'bootloader/gigabeat-s.c') 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; extern void reference_system_c(void); static struct event_queue usb_wait_queue; -/* Dummy stub that creates C references for C functions only used by - assembly - never called */ -void reference_files(void) -{ - reference_system_c(); -} - void show_splash(int timeout, const char *msg) { lcd_putsxy( (LCD_WIDTH - (SYSFONT_WIDTH * strlen(msg))) / 2, -- cgit v1.2.3