build: Don't link libraries we don't need.
[gps-watch.git] / src / bootloader / bootloader-intermediate.ld
index 55b605750956013061153ecfbba244349ea1b358..7f8df3e3f24b304c4e9b09a33da0929954a7d1fc 100644 (file)
@@ -8,14 +8,14 @@
 MEMORY
 {
   FLASH (rx)
-    : ORIGIN = 0x00008000, LENGTH = 0x38000
+    : ORIGIN = 0x00008000, LENGTH = 0x08000
 
   RAM (rwx)
     : ORIGIN = 0x1fffe000, LENGTH = 0x08000
 }
 
 /* Library configurations */
-GROUP(libgcc.a libc.a libm.a libnosys.a)
+GROUP(libgcc.a)
 
 /* Linker script to place sections and symbol values. Should be used together
  * with other linker script that defines memory regions FLASH and RAM.