diff options
author | Alan Modra <amodra@gmail.com> | 2024-10-04 16:37:35 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2024-10-04 17:47:21 +0930 |
commit | 265757dc6e4d011a1b33ef1b3bfcd7f100f12f64 (patch) | |
tree | db66ff4c177d3169f82d6e46c628772848001a22 /bfd/elf64-ppc.c | |
parent | 85ef4a5ed82fb5f71c78505acfac2104767f908d (diff) | |
download | gdb-265757dc6e4d011a1b33ef1b3bfcd7f100f12f64.zip gdb-265757dc6e4d011a1b33ef1b3bfcd7f100f12f64.tar.gz gdb-265757dc6e4d011a1b33ef1b3bfcd7f100f12f64.tar.bz2 |
bfd_elf_sym_name_raw
Many uses of bfd_elf_sym_name report errors. They ought to not return
a NULL, as was the case prior to commit 68bbe1183379. Introduce a new
function for cases where we'd like to know there is a problem with a
symbol st_name.
* elf-bfd.h (bfd_elf_sym_name_raw): Declare.
* elf.c (bfd_elf_sym_name_raw): New function.
(bfd_elf_sym_name): Revert to behaviour prior to 68bbe1183379,
but returning "<null>" rather than "(null)" for st_name errors.
(group_signature): Use bfd_elf_sym_name_raw.
* elfcode.h (elf_slurp_symbol_table): Likewise.
* elf32-i386.c (elf_i386_scan_relocs): Whitespace.
Diffstat (limited to 'bfd/elf64-ppc.c')
0 files changed, 0 insertions, 0 deletions