This website requires JavaScript.
Explore
Help
Register
Sign In
upstream
/
opnsense-src
Watch
1
Star
0
Fork
You've already forked opnsense-src
0
mirror of
https://github.com/opnsense/src.git
synced
2026-05-25 02:35:01 -04:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
90ffac35b7
opnsense-src
/
usr.bin
/
ldd
/
Makefile
9 lines
76 B
Makefile
Raw
Normal View
History
Unescape
Escape
$Id$ -> $FreeBSD$
1999-08-27 21:08:13 -04:00
# $FreeBSD$
Imported NetBSD's ld for shared libs.
1993-11-03 18:41:59 -05:00
Tweak the support for using ldd on 32-bit objects a bit further. Specifically, build a 32-bit /usr/bin/ldd32 on amd64 which handles 32-bit objects. Since it is a 32-bit binary, it can fork a child process which can dlopen() a 32-bit shared library. The current 32-bit support in ldd can't do this because it does the dlopen() from a 64-bit process. In order to preserve an intuitive interface for users, the ldd binary automatically execs /usr/bin/ldd32 for 32-bit objects. The end result is that ldd on amd64 now transparently handles 32-bit shared libraries in addition to 32-bit binaries. Submitted by: ps (indirectly)
2008-08-01 17:52:41 -04:00
PROG
?=
ldd
Make ldd work on alpha.
1998-09-16 05:31:48 -04:00
SRCS
=
ldd.c
Imported NetBSD's ld for shared libs.
1993-11-03 18:41:59 -05:00
Fix ldd to work with more ELF files. - 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 9d4104b214963bb3371ada05cae8006940121634)
2021-01-29 13:53:50 -05:00
LIBADD
=
elf
Imported NetBSD's ld for shared libs.
1993-11-03 18:41:59 -05:00
.
i
n
c
l
u
d
e
<
b
s
d
.
p
r
o
g
.
m
k
>
Reference in a new issue
Copy permalink