<feed xmlns='http://www.w3.org/2005/Atom'>
<title>uClibc-alpine/libc/misc/internals, 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>misc: hide __gen_tempname</title>
<updated>2011-11-17T13:46:07+00:00</updated>
<author>
<name>Bernhard Reutner-Fischer</name>
<email>rep.dot.nop@gmail.com</email>
</author>
<published>2011-11-17T13:46:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=bd3c1a2495cbcb51b606f8e4892fcd127f91e645'/>
<id>bd3c1a2495cbcb51b606f8e4892fcd127f91e645</id>
<content type='text'>
fix signed vs. unsigned comparison warnings while at it

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>
fix signed vs. unsigned comparison warnings while at it

Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/master' into prelink</title>
<updated>2011-04-06T13:13:59+00:00</updated>
<author>
<name>Carmelo Amoroso</name>
<email>carmelo.amoroso@st.com</email>
</author>
<published>2011-04-06T13:13:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=3b3285b1b7c02d36c74a6ae265fdb02ca991c96b'/>
<id>3b3285b1b7c02d36c74a6ae265fdb02ca991c96b</id>
<content type='text'>
* origin/master: (137 commits)
  utils/ldd: Check for returned pointer from strrchr not the value it holds
  cris: add provide arch-specific vfork implementation
  lutimes.c, stubs.c: fix compiling lutimes, if __NR_utimensat is not defined
  bump version to 0.9.32-rc3-git
  release 0.9.32-rc3
  memalign: include sys/param.h for MAX
  arm/bits/atomic.h: Include common/bit/atomic.h for thumb1
  wctype.h: fix libc_hidden_proto for iswupper and add it for iswspace
  add libc_hidden_proto for wcs[n]casecmp_l
  really fix missing __libc_drand48_data
  Revert "missing prototype of __libc_drand48_data fixed"
  missing prototype of __libc_drand48_data fixed
  time.c, time.h: remove unused hidden strftime/strptime
  nanosleep.c: remove duplicated libc_hidden_proto
  ctype.c, ctype.h: remove commented parts that were banned for removal after 0.9.31
  _wctype.c, wctype.h: remove unused isw* and wctype_l hidden functions
  time.c, wchar.h: remove unused hidden wcsftime
  str[n]casecmp.c: fix hidden usage
  remove unused hidden functions
  frv/memset.S: add missing libc_hidden_def
  ...

Conflicts:
	ldso/ldso/ldso.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: (137 commits)
  utils/ldd: Check for returned pointer from strrchr not the value it holds
  cris: add provide arch-specific vfork implementation
  lutimes.c, stubs.c: fix compiling lutimes, if __NR_utimensat is not defined
  bump version to 0.9.32-rc3-git
  release 0.9.32-rc3
  memalign: include sys/param.h for MAX
  arm/bits/atomic.h: Include common/bit/atomic.h for thumb1
  wctype.h: fix libc_hidden_proto for iswupper and add it for iswspace
  add libc_hidden_proto for wcs[n]casecmp_l
  really fix missing __libc_drand48_data
  Revert "missing prototype of __libc_drand48_data fixed"
  missing prototype of __libc_drand48_data fixed
  time.c, time.h: remove unused hidden strftime/strptime
  nanosleep.c: remove duplicated libc_hidden_proto
  ctype.c, ctype.h: remove commented parts that were banned for removal after 0.9.31
  _wctype.c, wctype.h: remove unused isw* and wctype_l hidden functions
  time.c, wchar.h: remove unused hidden wcsftime
  str[n]casecmp.c: fix hidden usage
  remove unused hidden functions
  frv/memset.S: add missing libc_hidden_def
  ...

Conflicts:
	ldso/ldso/ldso.c

Signed-off-by: Carmelo Amoroso &lt;carmelo.amoroso@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct ssp code</title>
<updated>2011-03-03T17:22:49+00:00</updated>
<author>
<name>Peter S. Mazinger</name>
<email>ps.m@gmx.net</email>
</author>
<published>2011-02-26T20:49:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=2e9d2266c0cea250f7a87dc6aa2b02d0bd5a0aea'/>
<id>2e9d2266c0cea250f7a87dc6aa2b02d0bd5a0aea</id>
<content type='text'>
Avoid using strong_alias in ssp, some archs dislike it.
Make stack_chk_guard static.
Export __stack_smash_handler only if compatibility option is enabled.

Signed-off-by: Peter S. Mazinger &lt;ps.m@gmx.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid using strong_alias in ssp, some archs dislike it.
Make stack_chk_guard static.
Export __stack_smash_handler only if compatibility option is enabled.

Signed-off-by: Peter S. Mazinger &lt;ps.m@gmx.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>add missing prototypes</title>
<updated>2011-03-03T17:22:49+00:00</updated>
<author>
<name>Peter S. Mazinger</name>
<email>ps.m@gmx.net</email>
</author>
<published>2011-02-26T18:41:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=f00e553e4b084007781df5e4b5accc2e152da231'/>
<id>f00e553e4b084007781df5e4b5accc2e152da231</id>
<content type='text'>
Add some missing prototypes

Signed-off-by: Peter S. Mazinger &lt;ps.m@gmx.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add some missing prototypes

Signed-off-by: Peter S. Mazinger &lt;ps.m@gmx.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tempname: fix int precision warnings</title>
<updated>2011-02-22T18:32:47+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2011-02-22T02:29:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=435f73337eff129943249b0d59aad50c8df5bd2e'/>
<id>435f73337eff129943249b0d59aad50c8df5bd2e</id>
<content type='text'>
The printf precision takes an integer, not a size_t.  Otherwise we get:

libc/misc/internals/tempname.c: In function '___path_search':
libc/misc/internals/tempname.c:116: warning:
	field precision should have type 'int', but argument 3 has type 'size_t'
	field precision should have type 'int', but argument 5 has type 'size_t'

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The printf precision takes an integer, not a size_t.  Otherwise we get:

libc/misc/internals/tempname.c: In function '___path_search':
libc/misc/internals/tempname.c:116: warning:
	field precision should have type 'int', but argument 3 has type 'size_t'
	field precision should have type 'int', but argument 5 has type 'size_t'

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge commit 'origin/master' into prelink</title>
<updated>2010-11-28T20:09:47+00:00</updated>
<author>
<name>Carmelo Amoroso</name>
<email>carmelo.amoroso@st.com</email>
</author>
<published>2010-11-28T20:09:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=57f6cce72c889f2e7b342e87a565a064320a6ee2'/>
<id>57f6cce72c889f2e7b342e87a565a064320a6ee2</id>
<content type='text'>
Conflicts:

	ldso/include/dl-hash.h

Signed-off-by: Carmelo Amoroso &lt;carmelo.amoroso@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:

	ldso/include/dl-hash.h

Signed-off-by: Carmelo Amoroso &lt;carmelo.amoroso@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>parse_config: discard rest of incomplete line</title>
<updated>2010-10-14T13:00:00+00:00</updated>
<author>
<name>Natanael Copa</name>
<email>natanael.copa@gmail.com</email>
</author>
<published>2010-10-14T06:35:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=6e74339e7d762857579169068b060a4fd3f345c4'/>
<id>6e74339e7d762857579169068b060a4fd3f345c4</id>
<content type='text'>
If line is longer then size of given buffer and buffer is not allocated by
the config parser itself, then discard rest of line.

Signed-off-by: Natanael Copa &lt;natanael.copa@gmail.com&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>
If line is longer then size of given buffer and buffer is not allocated by
the config parser itself, then discard rest of line.

Signed-off-by: Natanael Copa &lt;natanael.copa@gmail.com&gt;
Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>config parser: always initialize line pointer</title>
<updated>2010-10-14T12:59:58+00:00</updated>
<author>
<name>Natanael Copa</name>
<email>natanael.copa@gmail.com</email>
</author>
<published>2010-10-14T06:35:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=c7c7ea92be00a9b5b48d1243bb75d32390263159'/>
<id>c7c7ea92be00a9b5b48d1243bb75d32390263159</id>
<content type='text'>
We must always initialize line pointer since data pointer might
have changed due to a realloc (in getserv.c for example).

Signed-off-by: Natanael Copa &lt;natanael.copa@gmail.com&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>
We must always initialize line pointer since data pointer might
have changed due to a realloc (in getserv.c for example).

Signed-off-by: Natanael Copa &lt;natanael.copa@gmail.com&gt;
Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>config parser: do not assume that realloc return same pointer</title>
<updated>2010-10-14T12:59:55+00:00</updated>
<author>
<name>Natanael Copa</name>
<email>natanael.copa@gmail.com</email>
</author>
<published>2010-10-14T06:35:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=54187ed0f082d145955a932f67259668dd038f65'/>
<id>54187ed0f082d145955a932f67259668dd038f65</id>
<content type='text'>
We need to update the parser-&gt;line pointer on realloc and do not
initialize the token array til after the potensial realloc in
bb_get_chunk_with_continuation().

While here, also replace a realloc() with malloc() where pointer always
is NULL.

Signed-off-by: Natanael Copa &lt;natanael.copa@gmail.com&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>
We need to update the parser-&gt;line pointer on realloc and do not
initialize the token array til after the potensial realloc in
bb_get_chunk_with_continuation().

While here, also replace a realloc() with malloc() where pointer always
is NULL.

Signed-off-by: Natanael Copa &lt;natanael.copa@gmail.com&gt;
Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ldso: Add implementation of ld.so standalone execution</title>
<updated>2010-09-17T11:06:58+00:00</updated>
<author>
<name>Filippo Arcidiacono</name>
<email>filippo.arcidiacono@st.com</email>
</author>
<published>2009-07-31T12:56:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=637e2b2440f69e22932edd71bd2f0b1210dc32ea'/>
<id>637e2b2440f69e22932edd71bd2f0b1210dc32ea</id>
<content type='text'>
The dynamic linker can be run either indirectly through running some
dynamically linked program or library (in which case no command line options
to the dynamic linker can be passed and, in the ELF case, the dynamic linker
which is stored in the .interp section of the program is executed)
or directly by running:
 /lib/ld-uClibc.so.*  [OPTIONS] [PROGRAM [ARGUMENTS]]

Stand-alone execution is a prerequisite for adding prelink capabilities
to uClibc dynamic linker, as well useful for testing an updated version
of the dynamic linker without breaking the whole system.

Currently supported option:
  --library-path PATH   use given PATH instead of content of the environment
                        variable LD_LIBRARY_PATH

(Mandatory for prelinking)

Not supported options:
  --list                list all dependencies and how they are resolved
  --verify              verify that given object really is a dynamically linked
                        object we can handle
  --inhibit-rpath LIST  ignore RUNPATH and RPATH information in object names
                        in LIST

This feature can be enabled by setting LDSO_STANDALONE_SUPPORT=y

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>
The dynamic linker can be run either indirectly through running some
dynamically linked program or library (in which case no command line options
to the dynamic linker can be passed and, in the ELF case, the dynamic linker
which is stored in the .interp section of the program is executed)
or directly by running:
 /lib/ld-uClibc.so.*  [OPTIONS] [PROGRAM [ARGUMENTS]]

Stand-alone execution is a prerequisite for adding prelink capabilities
to uClibc dynamic linker, as well useful for testing an updated version
of the dynamic linker without breaking the whole system.

Currently supported option:
  --library-path PATH   use given PATH instead of content of the environment
                        variable LD_LIBRARY_PATH

(Mandatory for prelinking)

Not supported options:
  --list                list all dependencies and how they are resolved
  --verify              verify that given object really is a dynamically linked
                        object we can handle
  --inhibit-rpath LIST  ignore RUNPATH and RPATH information in object names
                        in LIST

This feature can be enabled by setting LDSO_STANDALONE_SUPPORT=y

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>
</feed>
