<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/usr.bin/ldd, branch release/8.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F8.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2011-06-06T21:07:44Z</updated>
<entry>
<title>MFC 199871 [1]:</title>
<updated>2011-06-06T21:07:44Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2011-06-06T21:07:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1c31f97cbf11882ce7d1a57453662992aa30d6cb'/>
<id>urn:sha1:1c31f97cbf11882ce7d1a57453662992aa30d6cb</id>
<content type='text'>
- correctly render the provided example

PR:		140962
Obtained from:	danger [1]
</content>
</entry>
<entry>
<title>MFC: r215705: hdr.elf.e_ident[EI_OSABI] is not a bitmask</title>
<updated>2010-11-24T22:44:10Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2010-11-24T22:44:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=60a0d00a467429f5b70e153e4ff7be69ca9c6744'/>
<id>urn:sha1:60a0d00a467429f5b70e153e4ff7be69ca9c6744</id>
<content type='text'>
</content>
</entry>
<entry>
<title>A few style and whitespace fixes.</title>
<updated>2008-08-02T12:04:59Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2008-08-02T12:04:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=52122f3139311d4fac507a7a1de5f64ff4844283'/>
<id>urn:sha1:52122f3139311d4fac507a7a1de5f64ff4844283</id>
<content type='text'>
Submitted by:	bde
</content>
</entry>
<entry>
<title>Tweak the support for using ldd on 32-bit objects a bit further.</title>
<updated>2008-08-01T21:52:41Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2008-08-01T21:52:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e68ed7939063ce59c1c15038a0f245e7b642c9f7'/>
<id>urn:sha1:e68ed7939063ce59c1c15038a0f245e7b642c9f7</id>
<content type='text'>
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)
</content>
</entry>
<entry>
<title>Fix text in the comment why we check for ELF32_R_TYPE</title>
<updated>2008-07-28T12:49:16Z</updated>
<author>
<name>Edwin Groothuis</name>
<email>edwin@FreeBSD.org</email>
</author>
<published>2008-07-28T12:49:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bff7135050eb7efba7d740eb982d8f664ee9ede6'/>
<id>urn:sha1:bff7135050eb7efba7d740eb982d8f664ee9ede6</id>
<content type='text'>
Approved by:	bde@
MFC after:	2 days2 days
</content>
</entry>
<entry>
<title>After the commit of SVN rev 180236, wilko@ noticed that the approach</title>
<updated>2008-07-21T02:13:14Z</updated>
<author>
<name>Edwin Groothuis</name>
<email>edwin@FreeBSD.org</email>
</author>
<published>2008-07-21T02:13:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8bd833fff8e7658f77839cd1a3a8ecf48700e3f7'/>
<id>urn:sha1:8bd833fff8e7658f77839cd1a3a8ecf48700e3f7</id>
<content type='text'>
doesn't work on the Alpha platform: machine/elf.h doesn't include
sys/elf32.h there.

PR:		related to bin/124906
Approved by:	bde@
MFC after:	1 week
</content>
</entry>
<entry>
<title>On 64 bit architectures, you can run 32 bit executables and the rtld can trace them, but ldd(1) doesn't know yet how to detect them:</title>
<updated>2008-07-03T22:37:51Z</updated>
<author>
<name>Edwin Groothuis</name>
<email>edwin@FreeBSD.org</email>
</author>
<published>2008-07-03T22:37:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fffd993df22e065682ca4178e172407a789ddca9'/>
<id>urn:sha1:fffd993df22e065682ca4178e172407a789ddca9</id>
<content type='text'>
    [/] root@ed-exigent&gt;ldd `which httpd`
    ldd: /usr/local/sbin/httpd: can't read program header
    ldd: /usr/local/sbin/httpd: not a dynamic executable

    But...

    [/] root@ed-exigent&gt;LD_32_TRACE_LOADED_OBJECTS==1 `which httpd`
    libm.so.4 =&gt; /lib32//libm.so.4 (0x280c8000)
    libaprutil-1.so.2 =&gt; /usr/local/lib/libaprutil-1.so.2 (0x280de000)
    libexpat.so.6 =&gt; /usr/local/lib/libexpat.so.6 (0x280f2000)
    libiconv.so.3 =&gt; /usr/local/lib/libiconv.so.3 (0x28110000)
    libapr-1.so.2 =&gt; /usr/local/lib/libapr-1.so.2 (0x281fd000)
    libcrypt.so.3 =&gt; /lib32//libcrypt.so.3 (0x2821d000)
    libpthread.so.2 =&gt; not found (0x0)
    libc.so.6 =&gt; /lib32//libc.so.6 (0x28235000)
    libpthread.so.2 =&gt; /usr/lib32/libpthread.so.2 (0x2830d000)

Added support in ldd(1) for the LD_32_xxx environment variables if
the architecture of the machine is &gt;32 bits. If we ever go to 128
bit architectures this excercise will have to be repeated but thanks
to earlier commits today it will be relative simple.

PR:		bin/124906
Submitted by:	edwin
Approved by:	bde (mentor)
MFC after:	1 week
</content>
</entry>
<entry>
<title>Extract the determination of the kind of (dynamic) executable from</title>
<updated>2008-07-03T22:30:18Z</updated>
<author>
<name>Edwin Groothuis</name>
<email>edwin@FreeBSD.org</email>
</author>
<published>2008-07-03T22:30:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d3c1e14b41ef931cf5c1d3e8e26e22daa9854589'/>
<id>urn:sha1:d3c1e14b41ef931cf5c1d3e8e26e22daa9854589</id>
<content type='text'>
the main-loop into a seperate function.
Instead of using hardcoded environment variables, define them in a
lookup table.
For the rest, no functionality changes.

Approved by:	bde (mentor)
MFC after:	1 week
</content>
</entry>
<entry>
<title>stylify ldd.c, no functional changes.</title>
<updated>2008-07-03T22:26:43Z</updated>
<author>
<name>Edwin Groothuis</name>
<email>edwin@FreeBSD.org</email>
</author>
<published>2008-07-03T22:26:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a0d476a986fe9c5936043c63ae97e922ad0c2183'/>
<id>urn:sha1:a0d476a986fe9c5936043c63ae97e922ad0c2183</id>
<content type='text'>
Approved by:	bde (mentor)
MFC after:	1 week
</content>
</entry>
<entry>
<title>Typo</title>
<updated>2008-05-15T10:51:30Z</updated>
<author>
<name>Bruce M Simpson</name>
<email>bms@FreeBSD.org</email>
</author>
<published>2008-05-15T10:51:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7fa21c09b6c1db79e12dc7d6f15c1edd8fc9cbad'/>
<id>urn:sha1:7fa21c09b6c1db79e12dc7d6f15c1edd8fc9cbad</id>
<content type='text'>
</content>
</entry>
</feed>
