<feed xmlns='http://www.w3.org/2005/Atom'>
<title>uClibc-alpine/ldso/libdl, branch master</title>
<subtitle>Where we track our uclibc patches
</subtitle>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/'/>
<entry>
<title>libdl: fix dlclose handling of symbol scope</title>
<updated>2012-01-24T00:21:18+00:00</updated>
<author>
<name>Carmelo Amoroso</name>
<email>carmelo.amoroso@st.com</email>
</author>
<published>2012-01-17T17:23:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=99d28cc0860e240357c02483f0c4016a6b30aad0'/>
<id>99d28cc0860e240357c02483f0c4016a6b30aad0</id>
<content type='text'>
Defer removal of the local scope of a dl-opened library after
all the destructors (of itself and related dependencies) are actually
get unloaded, otherwise any function registered via atexit()
won't be resolved.

Signed-off-by: Carmelo Amoroso &lt;carmelo.amoroso@st.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Filippo Arcidiacono &lt;filippo.arcidiacono@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Defer removal of the local scope of a dl-opened library after
all the destructors (of itself and related dependencies) are actually
get unloaded, otherwise any function registered via atexit()
won't be resolved.

Signed-off-by: Carmelo Amoroso &lt;carmelo.amoroso@st.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Filippo Arcidiacono &lt;filippo.arcidiacono@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mips/libdl: Apply relocations after appending the new scope</title>
<updated>2012-01-24T00:10:21+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2012-01-21T08:21:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=bee3ea0f5a8d2cc2cfaeebdc4ef65f2d6b30b749'/>
<id>bee3ea0f5a8d2cc2cfaeebdc4ef65f2d6b30b749</id>
<content type='text'>
Without this the relocations for the current shared object
are not resolved since the scope is not added to map yet

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without this the relocations for the current shared object
are not resolved since the scope is not added to map yet

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libdl: rudimentary locking for dlopen/dlsym/dlclose</title>
<updated>2011-12-22T09:35:35+00:00</updated>
<author>
<name>Timo Teräs</name>
<email>timo.teras@iki.fi</email>
</author>
<published>2011-03-24T11:27:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=f69319d5a7d3a3ccb46b28ee2b0fd9053c6415ac'/>
<id>f69319d5a7d3a3ccb46b28ee2b0fd9053c6415ac</id>
<content type='text'>
This implements big-dlfcn lock to allow multithreaded usage of
dlopen/dlsym/dlclose. We should really clean up the dl code so
we can use more fine grained locking or even RCU where appropriate.
But at least we won't crash now.

Signed-off-by: Timo Teräs &lt;timo.teras@iki.fi&gt;
Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This implements big-dlfcn lock to allow multithreaded usage of
dlopen/dlsym/dlclose. We should really clean up the dl code so
we can use more fine grained locking or even RCU where appropriate.
But at least we won't crash now.

Signed-off-by: Timo Teräs &lt;timo.teras@iki.fi&gt;
Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ldso: use __func__ rather than __FUNCTION__</title>
<updated>2011-11-27T05:30:06+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2011-11-27T05:27:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=9ca7a065beaee93969b39117a7f6d466ff2fb171'/>
<id>9ca7a065beaee93969b39117a7f6d466ff2fb171</id>
<content type='text'>
The former is part of a standard (C99) while the latter is not.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The former is part of a standard (C99) while the latter is not.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libdl: fix size parameter when unmap library in dlclose</title>
<updated>2011-11-23T15:12:09+00:00</updated>
<author>
<name>Filippo Arcidiacono</name>
<email>filippo.arcidiacono@st.com</email>
</author>
<published>2011-11-23T10:50:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=9b42da7d0558884e2a3cc9a8674ccfc752369610'/>
<id>9b42da7d0558884e2a3cc9a8674ccfc752369610</id>
<content type='text'>
Fix size parameter when unmap a library by means of dlclose, by
taking into account the p_vaddr of first PT_LOAD segment, so it works
also for prelinked shared objects.
Unmapping of dlopen shared libraries is broken since
94cc6edb78a12655c0602a246fa1cbdc8c6d0ad9

Signed-off-by: Filippo Arcidiacono &lt;filippo.arcidiacono@st.com&gt;
Signed-off-by: Carmelo Amoroso &lt;carmelo.amoroso@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix size parameter when unmap a library by means of dlclose, by
taking into account the p_vaddr of first PT_LOAD segment, so it works
also for prelinked shared objects.
Unmapping of dlopen shared libraries is broken since
94cc6edb78a12655c0602a246fa1cbdc8c6d0ad9

Signed-off-by: Filippo Arcidiacono &lt;filippo.arcidiacono@st.com&gt;
Signed-off-by: Carmelo Amoroso &lt;carmelo.amoroso@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ldso: support RTLD_NOLOAD</title>
<updated>2011-11-07T17:10:32+00:00</updated>
<author>
<name>Timo Teräs</name>
<email>timo.teras at iki.fi</email>
</author>
<published>2011-11-07T17:08:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=0c7690f6a5d6e073052ee6487f768289db3a58f7'/>
<id>0c7690f6a5d6e073052ee6487f768289db3a58f7</id>
<content type='text'>
So application query if specified module is loaded or not with
dlopen.

Signed-off-by: Timo Teräs &lt;timo.teras@iki.fi&gt;
Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So application query if specified module is loaded or not with
dlopen.

Signed-off-by: Timo Teräs &lt;timo.teras@iki.fi&gt;
Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ldso: let people disable to lookup into LD_LIBRARY_PATH</title>
<updated>2011-10-25T10:28:51+00:00</updated>
<author>
<name>Carmelo Amoroso</name>
<email>carmelo.amoroso@st.com</email>
</author>
<published>2011-10-25T10:28:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=e4aa966cf25e83cd0c72f34f7855a995ff93944d'/>
<id>e4aa966cf25e83cd0c72f34f7855a995ff93944d</id>
<content type='text'>
On hardened system it could be useful to disable the use
of LD_LIBRARY_PATH.

Signed-off-by: Carmelo Amoroso &lt;carmelo.amoroso@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On hardened system it could be useful to disable the use
of LD_LIBRARY_PATH.

Signed-off-by: Carmelo Amoroso &lt;carmelo.amoroso@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libdl: remove _dl_ldsopath from libdl.a</title>
<updated>2011-10-19T14:30:57+00:00</updated>
<author>
<name>Carmelo Amoroso</name>
<email>carmelo.amoroso@st.com</email>
</author>
<published>2011-10-19T14:30:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=54a1c7691bfbfa166e6140260d2f750580f54908'/>
<id>54a1c7691bfbfa166e6140260d2f750580f54908</id>
<content type='text'>
Signed-off-by: Carmelo Amoroso &lt;carmelo.amoroso@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Carmelo Amoroso &lt;carmelo.amoroso@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libdl: add option for controlling dl_cleanup</title>
<updated>2011-07-25T07:09:03+00:00</updated>
<author>
<name>Richard Braun</name>
<email>rbraun@sceen.net</email>
</author>
<published>2011-07-09T12:06:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=3d5cec4ff704c2dec151f3cdbcc426d746d37fcc'/>
<id>3d5cec4ff704c2dec151f3cdbcc426d746d37fcc</id>
<content type='text'>
When debugging memory leaks with Valgrind, it is required that
dynamically loaded shared objects are not unloaded when a process exits,
otherwise symbols from those files aren't correctly resolved in
allocation traces. This patch adds the LDSO_NO_CLEANUP configuration
option to control this behaviour.

Signed-off-by: Richard Braun &lt;rbraun@sceen.net&gt;
Signed-off-by: Carmelo Amoroso &lt;carmelo.amoroso@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When debugging memory leaks with Valgrind, it is required that
dynamically loaded shared objects are not unloaded when a process exits,
otherwise symbols from those files aren't correctly resolved in
allocation traces. This patch adds the LDSO_NO_CLEANUP configuration
option to control this behaviour.

Signed-off-by: Richard Braun &lt;rbraun@sceen.net&gt;
Signed-off-by: Carmelo Amoroso &lt;carmelo.amoroso@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/master' into prelink</title>
<updated>2011-06-24T14:24:25+00:00</updated>
<author>
<name>Carmelo Amoroso</name>
<email>carmelo.amoroso@st.com</email>
</author>
<published>2011-06-24T14:24:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=7682323a3a798d6f15708f228f859a64cb869aa3'/>
<id>7682323a3a798d6f15708f228f859a64cb869aa3</id>
<content type='text'>
* origin/master: (61 commits)
  fts: fix warning due to old-style function definition
  ldso_tls: fix compiler warning due to missing cast
  resolv: fix bug in res_init with ipv6 nameservers
  config: Fix passing defconfig args
  buildsys: pt-initfini.s depends on uClibc_config.h
  libdl: search for ELF_RTYPE_CLASS_DLSYM in dlsym()
  resolv: try next server on SERVFAIL
  getaddrinfo: allow numeric service without any hints
  bump version to 0.9.33-git
  nptl/pthread: Correct path for machine specific pt-initfini.c
  ctor/dtor nptl: Fix init and fini function compilation
  Rules.mak: Rearrange appending UCLIBC_EXTRA_CFLAGS to CFLAGS
  ARM: remove EABI/OABI selection
  ARM: detect BX availibility at build time
  ARM: #include &lt;bits/arm_asm.h&gt; where __USE_BX__ is used
  ARM: transform the EABI/OABI choice into a boolean
  ARM: remove sub-arch/variants selection from menuconfig
  ARM: introduce blind options to select &amp; force THUMB mode
  ARM: reorder "Use BX" option
  Fix __libc_epoll_pwait compile failure on x86
  ...

Conflicts:
	ldso/libdl/libdl.c

Signed-off-by: Carmelo Amoroso &lt;carmelo.amoroso@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* origin/master: (61 commits)
  fts: fix warning due to old-style function definition
  ldso_tls: fix compiler warning due to missing cast
  resolv: fix bug in res_init with ipv6 nameservers
  config: Fix passing defconfig args
  buildsys: pt-initfini.s depends on uClibc_config.h
  libdl: search for ELF_RTYPE_CLASS_DLSYM in dlsym()
  resolv: try next server on SERVFAIL
  getaddrinfo: allow numeric service without any hints
  bump version to 0.9.33-git
  nptl/pthread: Correct path for machine specific pt-initfini.c
  ctor/dtor nptl: Fix init and fini function compilation
  Rules.mak: Rearrange appending UCLIBC_EXTRA_CFLAGS to CFLAGS
  ARM: remove EABI/OABI selection
  ARM: detect BX availibility at build time
  ARM: #include &lt;bits/arm_asm.h&gt; where __USE_BX__ is used
  ARM: transform the EABI/OABI choice into a boolean
  ARM: remove sub-arch/variants selection from menuconfig
  ARM: introduce blind options to select &amp; force THUMB mode
  ARM: reorder "Use BX" option
  Fix __libc_epoll_pwait compile failure on x86
  ...

Conflicts:
	ldso/libdl/libdl.c

Signed-off-by: Carmelo Amoroso &lt;carmelo.amoroso@st.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
