aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders/CDC/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Bootloaders/CDC/makefile')
-rw-r--r--Bootloaders/CDC/makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bootloaders/CDC/makefile b/Bootloaders/CDC/makefile
index cb05e0fbc..2df18289e 100644
--- a/Bootloaders/CDC/makefile
+++ b/Bootloaders/CDC/makefile
@@ -324,6 +324,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)