diff options
author | Fangrui Song <i@maskray.me> | 2022-03-16 09:38:37 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-03-16 09:40:13 -0700 |
commit | 260ecdcec427146f760836092a040f957427760b (patch) | |
tree | d39a6d1d1fdadea58209cace8779773271d38dec /binutils/NEWS | |
parent | b1b9c4115ed04876813a40c0051636c0ad916993 (diff) | |
download | gdb-260ecdcec427146f760836092a040f957427760b.zip gdb-260ecdcec427146f760836092a040f957427760b.tar.gz gdb-260ecdcec427146f760836092a040f957427760b.tar.bz2 |
objcopy --weaken-symbol: apply to STB_GNU_UNIQUE symbols
PR binutils/28926
* objcopy.c (filter_symbols): Apply weaken to STB_GNU_UNIQUE symbols
* NEWS: Mention feature.
* testsuite/binutils-all/objcopy.exp (objcopy_test_symbol_manipulation): New test.
* testsuite/binutils-all/weaken-gnu-unique.s: New.
Diffstat (limited to 'binutils/NEWS')
-rw-r--r-- | binutils/NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/binutils/NEWS b/binutils/NEWS index 3c44708..7e3c005 100644 --- a/binutils/NEWS +++ b/binutils/NEWS @@ -2,6 +2,8 @@ * Add an option to objdump and readelf to prevent attempts to access debuginfod servers when following links. +* objcopy --weaken, --weaken-symbol, and --weaken-symbols now make ELF + STB_GNU_UNIQUE symbols weak. Changes in 2.38: |