mirror of
https://github.com/opnsense/src.git
synced 2026-05-16 19:19:23 -04:00
- Use libelf to parse ELF data structures and remove code duplication
for ELF32.
- Don't require the OSABI field to be set to the FreeBSD OSABI for
shared libraries. Both AArch64 and RISC-V leave it set to "none"
and instead depend on the ABI tag note. For ldd, this means falling
back to walking the notes in PT_NOTE segments to find the ABI tag
note to determine if an ELF shared library without OSABI set in the
header file is a FreeBSD shared library.
(cherry picked from commit 9d4104b214)
8 lines
76 B
Makefile
8 lines
76 B
Makefile
# $FreeBSD$
|
|
|
|
PROG?= ldd
|
|
SRCS= ldd.c
|
|
|
|
LIBADD= elf
|
|
|
|
.include <bsd.prog.mk>
|