<feed xmlns='http://www.w3.org/2005/Atom'>
<title>uClibc-alpine/libc/string/x86_64, 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>guard *_chk() related stuff with UCLIBC_HAS_FORTIFY</title>
<updated>2011-03-09T08:23:48+00:00</updated>
<author>
<name>Peter S. Mazinger</name>
<email>ps.m@gmx.net</email>
</author>
<published>2011-03-09T08:23:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=82098ab9b853c33ee8ade61c9510b295cc696de1'/>
<id>82098ab9b853c33ee8ade61c9510b295cc696de1</id>
<content type='text'>
Guard x86_64 memset_chk/memcpy_chk be guarded by UCLIBC_HAS_FORTIFY.
Compile ssp.c if one of SSP/FORTIFY is defined.
Guard __chk_fail() with UCLIBC_HAS_FORTIFY and move its prototype to libc-internal.h.
Disable _FORTIFY_SOURCE if UCLIBC_HAS_FORTIFY is not set.

The config option itself is omitted on purpose,
headers need to be reviewed and generic *_chk() functions need to be first provided.

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>
Guard x86_64 memset_chk/memcpy_chk be guarded by UCLIBC_HAS_FORTIFY.
Compile ssp.c if one of SSP/FORTIFY is defined.
Guard __chk_fail() with UCLIBC_HAS_FORTIFY and move its prototype to libc-internal.h.
Disable _FORTIFY_SOURCE if UCLIBC_HAS_FORTIFY is not set.

The config option itself is omitted on purpose,
headers need to be reviewed and generic *_chk() functions need to be first provided.

Signed-off-by: Peter S. Mazinger &lt;ps.m@gmx.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>x86_64: fix multiple definition of chk functions</title>
<updated>2009-12-19T21:35:52+00:00</updated>
<author>
<name>Austin Foxley</name>
<email>austinf@cetoncorp.com</email>
</author>
<published>2009-12-19T21:35:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=7dcd83e8bded560b6a2c658889995390d3021a92'/>
<id>7dcd83e8bded560b6a2c658889995390d3021a92</id>
<content type='text'>
also enable __chk_fail and only try to call it when SSP is on

Signed-off-by: Austin Foxley &lt;austinf@cetoncorp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
also enable __chk_fail and only try to call it when SSP is on

Signed-off-by: Austin Foxley &lt;austinf@cetoncorp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Get rids of PIC macro using compiler flag __PIC__ instead</title>
<updated>2009-12-16T08:09:38+00:00</updated>
<author>
<name>Carmelo Amoroso</name>
<email>carmelo.amoroso@st.com</email>
</author>
<published>2009-12-16T08:09:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=9849c407e8e6732fbf417cb447937e3b3b9a54ec'/>
<id>9849c407e8e6732fbf417cb447937e3b3b9a54ec</id>
<content type='text'>
Based on Peter Mazinger's comments on a recent commit, I decided
to get rids of all occurrences of PIC changing them to __PIC__

Signed-off-by: Carmelo Amoroso &lt;carmelo.amoroso@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on Peter Mazinger's comments on a recent commit, I decided
to get rids of all occurrences of PIC changing them to __PIC__

Signed-off-by: Carmelo Amoroso &lt;carmelo.amoroso@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>amd64 string ops: use alignment more carefully, and comment it.</title>
<updated>2008-04-15T08:27:24+00:00</updated>
<author>
<name>Denis Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2008-04-15T08:27:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=df7958a9606a342e3c3ac5a40fc41f3a79669d62'/>
<id>df7958a9606a342e3c3ac5a40fc41f3a79669d62</id>
<content type='text'>
By capping max padding to not be bigger than three next insns,
we avoid having ridiculously big NOPs like this one:

53:66 66 66 66 2e 0f 1f nopw   %cs:0x0(%rax,%rax,1)
5a:84 00 00 00 00 00 

which was bigger than next three insns combined!

Size changes:

   text    data     bss     dec     hex filename
    102       0       0     102      66 x86_64/memcpy.o
    102       0       0     102      66 x86_64.old/memcpy.o

     90       0       0      90      5a x86_64/mempcpy.o
    102       0       0     102      66 x86_64.old/mempcpy.o

    210       0       0     210      d2 x86_64/memset.o
    242       0       0     242      f2 x86_64.old/memset.o

    213       0       0     213      d5 x86_64/stpcpy.o
    220       0       0     220      dc x86_64.old/stpcpy.o

    428       0       0     428     1ac x86_64/strcat.o
    444       0       0     444     1bc x86_64.old/strcat.o

    417       0       0     417     1a1 x86_64/strchr.o
    418       0       0     418     1a2 x86_64.old/strchr.o

     33       0       0      33      21 x86_64/strcmp.o
     33       0       0      33      21 x86_64.old/strcmp.o

    213       0       0     213      d5 x86_64/strcpy.o
    220       0       0     220      dc x86_64.old/strcpy.o

    135       0       0     135      87 x86_64/strcspn.o
    151       0       0     151      97 x86_64.old/strcspn.o

    225       0       0     225      e1 x86_64/strlen.o
    233       0       0     233      e9 x86_64.old/strlen.o

    140       0       0     140      8c x86_64/strpbrk.o
    156       0       0     156      9c x86_64.old/strpbrk.o

    135       0       0     135      87 x86_64/strspn.o
    151       0       0     151      97 x86_64.old/strspn.o

Also, a few files got their .text alignment relaxed from 16 to 8 bytes,
which reduces padding at link time.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By capping max padding to not be bigger than three next insns,
we avoid having ridiculously big NOPs like this one:

53:66 66 66 66 2e 0f 1f nopw   %cs:0x0(%rax,%rax,1)
5a:84 00 00 00 00 00 

which was bigger than next three insns combined!

Size changes:

   text    data     bss     dec     hex filename
    102       0       0     102      66 x86_64/memcpy.o
    102       0       0     102      66 x86_64.old/memcpy.o

     90       0       0      90      5a x86_64/mempcpy.o
    102       0       0     102      66 x86_64.old/mempcpy.o

    210       0       0     210      d2 x86_64/memset.o
    242       0       0     242      f2 x86_64.old/memset.o

    213       0       0     213      d5 x86_64/stpcpy.o
    220       0       0     220      dc x86_64.old/stpcpy.o

    428       0       0     428     1ac x86_64/strcat.o
    444       0       0     444     1bc x86_64.old/strcat.o

    417       0       0     417     1a1 x86_64/strchr.o
    418       0       0     418     1a2 x86_64.old/strchr.o

     33       0       0      33      21 x86_64/strcmp.o
     33       0       0      33      21 x86_64.old/strcmp.o

    213       0       0     213      d5 x86_64/strcpy.o
    220       0       0     220      dc x86_64.old/strcpy.o

    135       0       0     135      87 x86_64/strcspn.o
    151       0       0     151      97 x86_64.old/strcspn.o

    225       0       0     225      e1 x86_64/strlen.o
    233       0       0     233      e9 x86_64.old/strlen.o

    140       0       0     140      8c x86_64/strpbrk.o
    156       0       0     156      9c x86_64.old/strpbrk.o

    135       0       0     135      87 x86_64/strspn.o
    151       0       0     151      97 x86_64.old/strspn.o

Also, a few files got their .text alignment relaxed from 16 to 8 bytes,
which reduces padding at link time.

</pre>
</div>
</content>
</entry>
<entry>
<title>amd64 string ops: replace some instructions by smaller ones,</title>
<updated>2008-04-15T08:23:19+00:00</updated>
<author>
<name>Denis Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2008-04-15T08:23:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=534dfb536f19737f2642ee56dd67a97c5db6a74e'/>
<id>534dfb536f19737f2642ee56dd67a97c5db6a74e</id>
<content type='text'>
e.g. testb $0xff, %cl -&gt; testb %cl, %cl

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
e.g. testb $0xff, %cl -&gt; testb %cl, %cl

</pre>
</div>
</content>
</entry>
<entry>
<title>Remove stray code alignment (.align 16 and .align 4 directives)</title>
<updated>2007-07-29T14:45:26+00:00</updated>
<author>
<name>Denis Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2007-07-29T14:45:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=519ca27d4a720c900ad74e8018cdd5cc08a8b3a6'/>
<id>519ca27d4a720c900ad74e8018cdd5cc08a8b3a6</id>
<content type='text'>
from i386 and x86_64.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
from i386 and x86_64.

</pre>
</div>
</content>
</entry>
<entry>
<title>Add new option for SuSv3 legacy functions and use it for bcopy/bzero/bcmp/index/rindex</title>
<updated>2006-03-23T17:19:42+00:00</updated>
<author>
<name>Peter S. Mazinger</name>
<email>ps.m@gmx.net</email>
</author>
<published>2006-03-23T17:19:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=a26ac41c4946e3ebe4fab0ce6677350b644eb158'/>
<id>a26ac41c4946e3ebe4fab0ce6677350b644eb158</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>unify duplicated code cause i get tired of updating this stuff</title>
<updated>2006-02-03T23:29:34+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2006-02-03T23:29:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=7285da14ed731d5bdb310bd8f4018c07c8a83e5c'/>
<id>7285da14ed731d5bdb310bd8f4018c07c8a83e5c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove hidden versions of bzero, unused in libc.so</title>
<updated>2006-02-01T02:06:12+00:00</updated>
<author>
<name>Peter S. Mazinger</name>
<email>ps.m@gmx.net</email>
</author>
<published>2006-02-01T02:06:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=f62c00357455283f105729726ca500f1ae559f2f'/>
<id>f62c00357455283f105729726ca500f1ae559f2f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>s/libc_hidden_proto/libc_hidden_def/</title>
<updated>2006-01-14T01:10:34+00:00</updated>
<author>
<name>Peter S. Mazinger</name>
<email>ps.m@gmx.net</email>
</author>
<published>2006-01-14T01:10:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=7b68e2d9931242d5fd158ccc28e86a185f10f561'/>
<id>7b68e2d9931242d5fd158ccc28e86a185f10f561</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
