[PATCH] x86: Check invalid symbol name
H.J. Lu
hjl.tools@gmail.com
Tue Sep 30 02:34:57 GMT 2025
Since bfd_elf_sym_name returns bfd_symbol_error_name for invalid symbol,
name, return error if bfd_elf_sym_name returns bfd_symbol_error_name.
PR ld/33501
* elf32-i386.c (elf_i386_scan_relocs): Return error for invalid
symbol name.
* elf64-x86-64.c (elf_x86_64_scan_relocs): Likewise.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x86-Check-invalid-symbol-name.patch
Type: text/x-patch
Size: 1664 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20250930/bfbec751/attachment-0001.bin>
More information about the Binutils
mailing list