summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2010-07-03 20:58:22 +0000
committerFrank Gevaerts <frank@gevaerts.be>2010-07-03 20:58:22 +0000
commitb8286d45be0cdaffccfe684dde7385e2c042141d (patch)
treed956deba40cb7d43c36ec070301205f2cd120607 /bootloader
parent66381088e7e402f865b937c80e7c80f18c97e039 (diff)
downloadrockbox-b8286d45be0cdaffccfe684dde7385e2c042141d.tar.gz
rockbox-b8286d45be0cdaffccfe684dde7385e2c042141d.tar.bz2
rockbox-b8286d45be0cdaffccfe684dde7385e2c042141d.zip
Move -Wl,-z,defs to GLOBAL_LDOPTS (instead of GCCOPTS), to avoid noise in older gcc output when not linking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27260 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/bootloader.make1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootloader/bootloader.make b/bootloader/bootloader.make
index a2883fb2af..0118235bb7 100644
--- a/bootloader/bootloader.make
+++ b/bootloader/bootloader.make
@@ -24,6 +24,7 @@ $(BOOTLINK): $(BOOTLDS)
$(BUILDDIR)/bootloader.elf: $$(OBJ) $$(FIRMLIB) $$(BOOTLINK)
$(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -Os -nostdlib -o $@ $(OBJ) \
$(FIRMLIB) -lgcc -L$(BUILDDIR)/firmware -T$(BOOTLINK) \
+ $(GLOBAL_LDOPTS) \
-Wl,--gc-sections -Wl,-Map,$(BUILDDIR)/bootloader.map
$(BUILDDIR)/bootloader.bin : $(BUILDDIR)/bootloader.elf