Skip to content

Commit

Permalink
Strip note sections in binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
djphoenix committed Nov 19, 2016
1 parent d340fa8 commit 5a73b84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ld/module.ld
Expand Up @@ -40,5 +40,5 @@ SECTIONS
*(.bss .bss.*)
*(COMMON)
}
/DISCARD/ : { *(.comment) *(.eh_frame) }
/DISCARD/ : { *(.comment) *(.eh_frame) *(.note*) }
}
2 changes: 1 addition & 1 deletion ld/system.ld
Expand Up @@ -69,5 +69,5 @@ SECTIONS
*(COMMON)
__bss_end__ = . ;
}
/DISCARD/ : { *(.comment) *(.eh_frame) }
/DISCARD/ : { *(.comment) *(.eh_frame) *(.note*) }
}

0 comments on commit 5a73b84

Please sign in to comment.