summaryrefslogtreecommitdiffstats
path: root/tags/b/binary-has-unneeded-section.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/b/binary-has-unneeded-section.tag')
-rw-r--r--tags/b/binary-has-unneeded-section.tag11
1 files changed, 11 insertions, 0 deletions
diff --git a/tags/b/binary-has-unneeded-section.tag b/tags/b/binary-has-unneeded-section.tag
new file mode 100644
index 0000000..5ed4ead
--- /dev/null
+++ b/tags/b/binary-has-unneeded-section.tag
@@ -0,0 +1,11 @@
+Tag: binary-has-unneeded-section
+Severity: info
+Check: binaries
+Explanation: The binary or shared library is stripped, but still contains a
+ section that is not useful. You should call strip with
+ <code>--remove-section=.comment --remove-section=.note</code> to remove the
+ <code>.note</code> and <code>.comment</code> sections.
+ .
+ <code>dh&lowbar;strip</code> will do this automatically for you, but
+ <code>install -s</code> will not because it calls strip without any
+ arguments.