summaryrefslogtreecommitdiff
path: root/payloads/libpayload/lib
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/lib')
-rw-r--r--payloads/libpayload/lib/libpayload.ldscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/payloads/libpayload/lib/libpayload.ldscript b/payloads/libpayload/lib/libpayload.ldscript
index 4925e8681a..43b92207c4 100644
--- a/payloads/libpayload/lib/libpayload.ldscript
+++ b/payloads/libpayload/lib/libpayload.ldscript
@@ -85,5 +85,8 @@ SECTIONS
_end = .;
- /DISCARD/ : { *(.comment) }
+ /DISCARD/ : {
+ *(.comment)
+ *(.note*)
+ }
}