aboutsummaryrefslogtreecommitdiff
path: root/intl/eval-plural.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-01-28 23:08:27 +1030
committerAlan Modra <amodra@gmail.com>2022-01-29 11:29:17 +1030
commit7c4643efe7befea8e5063e8b56c0400fd8cee2d5 (patch)
treed507544018b72f387fa5ebd19ee7488f53728489 /intl/eval-plural.h
parent5800c9abd08ab38aebbb67315364fe64be5a06bf (diff)
downloadgdb-7c4643efe7befea8e5063e8b56c0400fd8cee2d5.zip
gdb-7c4643efe7befea8e5063e8b56c0400fd8cee2d5.tar.gz
gdb-7c4643efe7befea8e5063e8b56c0400fd8cee2d5.tar.bz2
objcopy --only-keep-debug
From: Peilin Ye <peilin.ye@bytedance.com> objcopy's --only-keep-debug option has been broken for ELF files since commit 8c803a2dd7d3. 1. binutils/objcopy.c:setup_section() marks non-debug sections as SHT_NOBITS, then calls bfd_copy_private_section_data(); 2. If ISEC and OSEC share the same section flags, bfd/elf.c:_bfd_elf_init_private_section_data() restores OSEC's section type back to ISEC's section type, effectively undoing "make_nobits". * objcopy.c (setup_section): Act on make_nobits after calling bfd_copy_private_section_data.
Diffstat (limited to 'intl/eval-plural.h')
0 files changed, 0 insertions, 0 deletions