[Bug 273845] emulators/qemu-user-static: ld: error: undefined symbol: elf_getphnum

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 20 Sep 2023 13:59:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273845

--- Comment #9 from John Hein <jcfyecrayz@liamekaens.com> ---
(In reply to John Hein from comment #4)
"elf_getphdrnum() is identical to elf_getphnum in both implementations
(elftoolchain and elfutils)."

Correction: The implementation of elf_getphnum() and elf_getphdrnum() are not
quite identical.  The return value for errors is 0 for the former and -1 for
the latter.  Same for elf_getshnum() vs elf_getshdrnum() (in both elftoolchain
and elfutils).

-- 
You are receiving this mail because:
You are the assignee for the bug.