diff options
author | Marcus Nilsson <brainbomb@gmail.com> | 2024-06-29 23:01:56 +0200 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2024-07-01 07:19:47 +0930 |
commit | ebe3f6d0f18505e3f6a1800d3a3ee4b3403d726f (patch) | |
tree | d3ae815acb42c96da719cb094afafe14300c5f14 /ld | |
parent | 01a8854406356b6ecfed3a81028d9d552bf18905 (diff) | |
download | gdb-ebe3f6d0f18505e3f6a1800d3a3ee4b3403d726f.zip gdb-ebe3f6d0f18505e3f6a1800d3a3ee4b3403d726f.tar.gz gdb-ebe3f6d0f18505e3f6a1800d3a3ee4b3403d726f.tar.bz2 |
objcopy: Allow making symbol global and weak on same invocation
Previously objcopy had to be run twice in order to make a local symbol
weak, first once to globalize it, and once again to mark it as weak.
* objcopy.c (filter_symbols): Weaken symbols after making
local/global changes.
* testsuite/binutils-all/symbols-5.d,
* testsuite/binutils-all/symbols-5.s: New test.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions