RISCV: configs: tizen_visionfive2: Enable USB_CONFIGFS_ACM
[platform/kernel/linux-starfive.git] / scripts / module.lds.S
index da4bddd..bf5bcf2 100644 (file)
@@ -3,6 +3,12 @@
  * Archs are free to supply their own linker scripts.  ld will
  * combine them automatically.
  */
+#ifdef CONFIG_UNWIND_TABLES
+#define DISCARD_EH_FRAME
+#else
+#define DISCARD_EH_FRAME       *(.eh_frame)
+#endif
+
 SECTIONS {
        /DISCARD/ : {
                *(.discard)