Skip to content
Snippets Groups Projects
Commit 9e9f81b7 authored by Imbus's avatar Imbus
Browse files

Discard section for .note, .note.* and other commonly discarded sections

parent 87e4ee59
No related branches found
No related tags found
No related merge requests found
......@@ -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*)
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment