[sw/device] Don't link with newlib

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
diff --git a/sw/device/boot_rom/rom_link.ld b/sw/device/boot_rom/rom_link.ld
index 479f16d..cc020a7 100644
--- a/sw/device/boot_rom/rom_link.ld
+++ b/sw/device/boot_rom/rom_link.ld
@@ -4,8 +4,7 @@
 
 OUTPUT_ARCH(riscv)
 
-/* required to correctly link newlib */
-GROUP( -lc -lgloss -lgcc -lsupc++ )
+GROUP( -lgcc )
 
 SEARCH_DIR(.)
 __DYNAMIC  =  0;
diff --git a/sw/device/exts/common/link.ld b/sw/device/exts/common/link.ld
index 1c59f76..4385ce2 100644
--- a/sw/device/exts/common/link.ld
+++ b/sw/device/exts/common/link.ld
@@ -4,8 +4,7 @@
 
 OUTPUT_ARCH(riscv)
 
-/* required to correctly link newlib */
-GROUP( -lc -lgloss -lgcc -lsupc++ )
+GROUP( -lgcc )
 
 SEARCH_DIR(.)
 __DYNAMIC  =  0;