llvm-project/llvm/test/tools/llvm-objcopy
Fangrui Song 30718f3aa6 [llvm-objcopy] --weaken-symbol/--weaken: weaken STB_GNU_UNIQUE symbols
STB_GNU_UNIQUE is like STB_GLOBAL with extra semantics:

* gold and ld.lld: changed to STB_GLOBAL if --no-gnu-unique is specified
* glibc: unique even with dlopen `RTLD_LOCAL`, implies DF_1_NODELETE

Therefore, I think it makes sense for --weaken-symbol/--weaken-symbols/--weaken
to change STB_GNU_UNIQUE symbols.

binutils 2.39 will have the same behavior: https://sourceware.org/bugzilla/show_bug.cgi?id=28926

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D120638
2022-03-16 09:48:19 -07:00
..
COFF [objcopy] Refactor CommonConfig to add posibility to specify added/updated sections as MemoryBuffer. 2022-03-01 14:49:41 +03:00
ELF [llvm-objcopy] --weaken-symbol/--weaken: weaken STB_GNU_UNIQUE symbols 2022-03-16 09:48:19 -07:00
Inputs
MachO [llvm] remove empty __LLVM segment in llvm-bitcode-strip 2022-03-07 08:52:25 -08:00
XCOFF [llvm-objcopy] Initial XCOFF32 support. 2022-02-28 04:59:46 -05:00
wasm [WebAssembly][libObject] Avoid re-use of Section object during parsing 2021-09-10 09:30:50 -04:00
dash-dash.test [llvm-strip] Add support for '--' for delimiting options from input files 2021-05-20 03:33:51 -07:00
grouped-options.test [test] Use double pound to denote comments. 2021-07-15 17:39:34 -07:00
redefine-symbols.test [test] Use host platform specific error message substitution in lit tests 2021-01-29 07:16:30 -05:00
tool-help-message.test [OptTable] Reapply Improve error message output for grouped short options 2021-09-03 11:13:52 +01:00
tool-name.test
tool-version.test