Re-add deleted linker options to the Bootloader makefiles, which was preventing the...
authorDean Camera <dean@fourwalledcubicle.com>
Sat, 31 Jul 2010 08:03:23 +0000 (08:03 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Sat, 31 Jul 2010 08:03:23 +0000 (08:03 +0000)
Bootloaders/CDC/makefile
Bootloaders/DFU/makefile

index cb05e0f..2df1828 100644 (file)
@@ -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)
index dc516c3..2cfff0f 100644 (file)
@@ -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)