diff options
author | Abhay Kandpal <abhay@linux.ibm.com> | 2025-09-25 04:55:02 -0500 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-09-26 06:46:42 +0930 |
commit | 30300ceca334a1a8997809b41ee7550bafa29b71 (patch) | |
tree | 680179d32e9d2482ab94a2dfeb83d950574e9a26 /gdb/objc-lang.c | |
parent | d9f1578be5a326d34710a38d215e80a43ab910c5 (diff) | |
download | binutils-30300ceca334a1a8997809b41ee7550bafa29b71.zip binutils-30300ceca334a1a8997809b41ee7550bafa29b71.tar.gz binutils-30300ceca334a1a8997809b41ee7550bafa29b71.tar.bz2 |
PowerPC: Fix typo in PowerPC note pseudo-section names
The recent tidy-up commit 09e56f0515c3 ("Code tidy: bfd/elf.c:
Tidy up core note handling code.") introduced regressions in the
PowerPC core note handling. The pseudo-section names for TM_CVSX,
TM_SPR, VSX and VMX notes were defined with an underscore instead of a
hyphen, breaking GDB test cases. The same goes for one riscv and one
s390 define.
This patch restores the correct section names by using hyphens in the
definitions, fixing 897 GDB test failures on PowerPC.
bfd/
* elf.c: (NOTE_PSEUDO_SECTION_PPC_TM_CVSX),
(NOTE_PSEUDO_SECTION_PPC_TM_SPR, NOTE_PSEUDO_SECTION_PPC_VSX),
(NOTE_PSEUDO_SECTION_PPC_VMX, NOTE_PSEUDO_SECTION_RISCV_CSR),
(NOTE_PSEUDO_SECTION_S390_CTRS): Use hyphens in section names
instead of underscores.
Diffstat (limited to 'gdb/objc-lang.c')
0 files changed, 0 insertions, 0 deletions