summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/rmodule.ld2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/rmodule.ld b/src/lib/rmodule.ld
index 06458def18..f3e7cba212 100644
--- a/src/lib/rmodule.ld
+++ b/src/lib/rmodule.ld
@@ -97,5 +97,7 @@ SECTIONS
/DISCARD/ : {
/* Drop unnecessary sections. */
*(.eh_frame);
+ *(.note);
+ *(.note.*);
}
}