summaryrefslogtreecommitdiff
path: root/tools/root.make
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2008-11-20 15:04:30 +0000
committerBjörn Stenberg <bjorn@haxx.se>2008-11-20 15:04:30 +0000
commita3864b0313b32984547ebae1a5b6f71d400627a0 (patch)
tree44159fe7b531dc43cbacdbf358200bfe6c7ebf41 /tools/root.make
parent2bfb69c6f1639e8da7c15c40f989b7989f3a768a (diff)
Disabled input section garbage collection in linker for now. This makes sansas boot again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19154 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/root.make')
-rw-r--r--tools/root.make4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/root.make b/tools/root.make
index 87937d9cd1..58c79c6f53 100644
--- a/tools/root.make
+++ b/tools/root.make
@@ -112,8 +112,8 @@ $(LINKROM): $(ROMLDS)
$(call preprocess2file,$<,$@,-DLOADADDRESS=$(LOADADDRESS))
$(BUILDDIR)/rockbox.elf : $$(OBJ) $$(FIRMLIB) $$(VOICESPEEXLIB) $$(LINKRAM)
- $(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -Wl,--gc-sections -Os -nostdlib -o $@ $(OBJ) \
- -L$(BUILDDIR)/firmware -lfirmware\
+ $(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -Os -nostdlib -o $@ $(OBJ) \
+ -L$(BUILDDIR)/firmware -lfirmware \
-L$(BUILDDIR)/apps/codecs $(VOICESPEEXLIB:lib%.a=-l%) \
-lgcc \
-T$(LINKRAM) -Wl,-Map,$(BUILDDIR)/rockbox.map