cvs commit: src Makefile.inc1 src/usr.bin/ldd Makefile ldd.1 ldd.c

John Baldwin jhb at FreeBSD.org
Fri Aug 1 21:58:24 UTC 2008


jhb         2008-08-01 21:52:41 UTC

  FreeBSD src repository

  Modified files:
    .                    Makefile.inc1 
    usr.bin/ldd          Makefile ldd.1 ldd.c 
  Log:
  SVN rev 181136 on 2008-08-01 21:52:41Z by jhb
  
  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)
  
  Revision  Changes    Path
  1.608     +3 -0      src/Makefile.inc1
  1.14      +1 -1      src/usr.bin/ldd/Makefile
  1.28      +0 -6      src/usr.bin/ldd/ldd.1
  1.39      +67 -32    src/usr.bin/ldd/ldd.c


More information about the cvs-src mailing list