aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders/DFU
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-07-31 08:03:23 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-07-31 08:03:23 +0000
commit5dfa25f81acb5480aec091d3391ba3be2d33600d (patch)
treea79a5006602d867b6483218e74be72cc233ac1de /Bootloaders/DFU
parent9597b33c3320969b8ca53aff0b1b38ee1fa24949 (diff)
downloadlufa-5dfa25f81acb5480aec091d3391ba3be2d33600d.tar.gz
lufa-5dfa25f81acb5480aec091d3391ba3be2d33600d.tar.bz2
lufa-5dfa25f81acb5480aec091d3391ba3be2d33600d.zip
Re-add deleted linker options to the Bootloader makefiles, which was preventing the compiled application from being shifted into the bootloader section address space.
Diffstat (limited to 'Bootloaders/DFU')
-rw-r--r--Bootloaders/DFU/makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bootloaders/DFU/makefile b/Bootloaders/DFU/makefile
index dc516c314..2cfff0fbe 100644
--- a/Bootloaders/DFU/makefile
+++ b/Bootloaders/DFU/makefile
@@ -325,6 +325,7 @@ EXTMEMOPTS =
# -Map: create map file
# --cref: add cross reference to map file
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
+LDFLAGS += -Wl,--section-start=.text=$(BOOT_START)
LDFLAGS += -Wl,--relax
LDFLAGS += -Wl,--gc-sections
LDFLAGS += $(EXTMEMOPTS)