]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
elfcore_grok_freebsd_note: Remove checks of note->namesz.
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 1 Apr 2022 20:16:46 +0000 (13:16 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 1 Apr 2022 20:16:46 +0000 (13:16 -0700)
commite330d4c033eab2e0e7206a29d6c11a9a59fd205b
treeb536b16e5445574ab7c4662f3bc8e608f349fd49
parentfd46a69ed42ce16fbbf5a20dffca9228a3647019
elfcore_grok_freebsd_note: Remove checks of note->namesz.

This function is only called if the note name is "FreeBSD", so
checking the name size is unnecessary.

bfd/ChangeLog:

* elf.c (elfcore_grok_freebsd_note): Remove checks for namesz.
bfd/ChangeLog
bfd/elf.c