Bug 20812 - strip not stripped for -rdynamic/-Wl,--export-dynamic
Summary: strip not stripped for -rdynamic/-Wl,--export-dynamic
Status: RESOLVED INVALID
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.27
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-12 19:42 UTC by rm beer
Modified: 2016-11-20 22:42 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rm beer 2016-11-12 19:42:14 UTC
i say about all of 'strip' command. I try any parameters of strip with the same result.

If i compiling/linking with -Wl,--export-dynamic or/and -rdynamic parameters. This add a symbol table in the section of the binary file (dynamic or executable) that 'strip' not removed.
Comment 1 Alan Modra 2016-11-20 22:42:21 UTC
Strip is not supposed to touch the dynamic symbol table, .dynsym.