[binutils-gdb] Revert "bfd_elf_sym_name_raw"
Alan Modra
amodra@gmail.com
Tue Oct 8 22:57:07 GMT 2024
On Tue, Oct 08, 2024 at 05:10:09PM +0100, Maciej W. Rozycki wrote:
> On Tue, 8 Oct 2024, Alan Modra via Binutils-cvs wrote:
>
> > diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
> > index 2e8d59518ac..f27c0621a93 100644
> > --- a/bfd/elf32-i386.c
> > +++ b/bfd/elf32-i386.c
> > @@ -1723,7 +1723,7 @@ elf_i386_scan_relocs (bfd *abfd,
> > name = h->root.root.string;
> > else
> > name = bfd_elf_sym_name (abfd, symtab_hdr, isym,
> > - NULL);
> > + NULL);
>
> I guess this could just go in a single line instead.
Yes. I was looking at all uses of bfd_elf_sym_name, spotted the
formatting error and just fixed it with a minimal change.
--
Alan Modra
More information about the Binutils
mailing list