aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/nuevo_diskloader/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bootloaders/nuevo_diskloader/Makefile')
-rw-r--r--bootloaders/nuevo_diskloader/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/bootloaders/nuevo_diskloader/Makefile b/bootloaders/nuevo_diskloader/Makefile
index dc9172e..88e0cfe 100644
--- a/bootloaders/nuevo_diskloader/Makefile
+++ b/bootloaders/nuevo_diskloader/Makefile
@@ -40,11 +40,12 @@ ASMFLAGS += -x assembler-with-cpp -Wa,-gdwarf2
## Linker flags
LDFLAGS = $(COMMON)
-LDFLAGS += -Wl,-gc-sections,-Map=DiskLoader.map,--cref
-LDFLAGS += -Wl,--section-start=.text=0x7000,--relax
-LDFLAGS += -Wl,--gc-sections
+#LDFLAGS += -Wl,-gc-sections,-Map=DiskLoader.map,--cref
+#LDFLAGS += -Wl,--section-start=.text=0x7000,--relax
+#LDFLAGS += -Wl,--gc-sections
#LDFLAGS += -nodefaultlibs -nostartfiles
#LDFLAGS += -nostartfiles
+LDFLAGS += -Wl,-gc-sections,-Map=DiskLoader.map,--section-start=.text=0x7000,--relax
## Intel Hex file production flags