Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Aug 2008 21:52:41 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src Makefile.inc1 src/usr.bin/ldd Makefile ldd.1 ldd.c
Message-ID:  <200808012158.m71LwOGQ084650@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808012158.m71LwOGQ084650>