diff --git a/ch32v003fun/ch32v003fun.ld b/ch32v003fun/ch32v003fun.ld
index 982bd857ebd59b8313f522d840b822662e080b68..4ad76b48f49b06639c546fd7f8a262f18691f88e 100644
--- a/ch32v003fun/ch32v003fun.ld
+++ b/ch32v003fun/ch32v003fun.ld
@@ -178,6 +178,14 @@ SECTIONS
 	PROVIDE( end = . );
 
 	PROVIDE( _eusrstack = ORIGIN(RAM) + LENGTH(RAM));	
+
+    /DISCARD/ : {
+      *(.note .note.*)
+      *(.eh_frame .eh_frame.*)
+      *(.comment .comment.*)
+      *(.ARM.extab* .gnu.linkonce.armextab.*)
+      *(.ARM.exidx*)
+    }
 }