Bug 11386 - objcopy should be able to update dynamic symbols visibility
Summary: objcopy should be able to update dynamic symbols visibility
Status: RESOLVED INVALID
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.21
: P2 enhancement
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-16 15:52 UTC by Yann Droneaud
Modified: 2023-01-12 06:59 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 Yann Droneaud 2010-03-16 15:52:16 UTC
Objcopy can change symbol visibility with --localize-symbol / --globalize-symbol
/ --weaken-symbol but this affect only symbols not dynamics symbols.

objcopy should be able to work on .dynsym.
Comment 1 Alan Modra 2023-01-12 06:59:56 UTC
No, we don't do that.  It's part of the more general rule that objcopy doesn't modify loaded sections in final-linked objects.