]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
elf: Disallow the empty global symbol name
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 23 Sep 2025 02:05:14 +0000 (10:05 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 23 Sep 2025 20:20:38 +0000 (04:20 +0800)
commit1108620d7a521f1c85d2f629031ce0fbae14e331
treede467f54ba5f9d8fc31c81eb962a291de271fbda
parent7ca856a2717f7da7e46fa997494a109b06b4d886
elf: Disallow the empty global symbol name

Reject the empty global symbol name, "".

PR ld/33456
* elflink.c (elf_link_add_object_symbols): Disallow the empty
global symbol name.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
bfd/elflink.c