summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-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.*);
}
}