<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/mips/string, branch releng/13.1</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Correct MDSRCS use in &lt;arch&gt;/string/Makefile.inc.</title>
<updated>2017-03-02T17:05:52+00:00</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2017-03-02T17:05:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9fe44df2876d7f82ee666f2f899a528b130313b3'/>
<id>9fe44df2876d7f82ee666f2f899a528b130313b3</id>
<content type='text'>
- Remove .c files which duplicate entries in MISRCS.
- Use the same, less merge conflict prone style in all cases.
- Use MDSRCS for mips (.c and .S files both ended up in SRCS).
- Remove pointless sparc64 Makefile.inc.
- Remove uninformative foreign VCS ID entries.

Reviewed by:	emaste, imp, jhb
MFC after:	1 week
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D9841
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Remove .c files which duplicate entries in MISRCS.
- Use the same, less merge conflict prone style in all cases.
- Use MDSRCS for mips (.c and .S files both ended up in SRCS).
- Remove pointless sparc64 Makefile.inc.
- Remove uninformative foreign VCS ID entries.

Reviewed by:	emaste, imp, jhb
MFC after:	1 week
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D9841
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix strchr, strrchr implementation: convert c to char</title>
<updated>2016-10-13T15:23:53+00:00</updated>
<author>
<name>Ruslan Bukin</name>
<email>br@FreeBSD.org</email>
</author>
<published>2016-10-13T15:23:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2302bd3539de9c01e7af51428cea2578c31dd68c'/>
<id>2302bd3539de9c01e7af51428cea2578c31dd68c</id>
<content type='text'>
(according to standard).

Discussed with:	andrew
Reviewed by:	emaste
Sponsored by:	DARPA, AFRL
Sponsored by:	HEIF5
Differential Revision:	https://reviews.freebsd.org/D8239
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(according to standard).

Discussed with:	andrew
Reviewed by:	emaste
Sponsored by:	DARPA, AFRL
Sponsored by:	HEIF5
Differential Revision:	https://reviews.freebsd.org/D8239
</pre>
</div>
</content>
</entry>
<entry>
<title>Change index() and rindex() to a weak alias.</title>
<updated>2012-01-05T10:32:53+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2012-01-05T10:32:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=19c262fe87cdb0d4aaf3b4aaefaefda6f09e77e0'/>
<id>19c262fe87cdb0d4aaf3b4aaefaefda6f09e77e0</id>
<content type='text'>
This allows people to still write statically linked applications that
call strchr() or strrchr() and have a local variable or function called
index.

Discussed with:	bde@
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows people to still write statically linked applications that
call strchr() or strrchr() and have a local variable or function called
index.

Discussed with:	bde@
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge index() and strchr() together.</title>
<updated>2012-01-03T07:14:01+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2012-01-03T07:14:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=46632c18bda3890a493e0a3f43907c5c75bf93eb'/>
<id>46632c18bda3890a493e0a3f43907c5c75bf93eb</id>
<content type='text'>
As I looked through the C library, I noticed the FreeBSD MIPS port has a
hand-written version of index(). This is nice, if it weren't for the
fact that most applications call strchr() instead.

Also, on the other architectures index() and strchr() are identical,
meaning we have two identical pieces of code in the C library and
statically linked applications.

Solve this by naming the actual file strchr.[cS] and let it use
__strong_reference()/STRONG_ALIAS() to provide the index() routine. Do
the same for rindex()/strrchr().

This seems to make the C libraries and static binaries slightly smaller,
but this reduction in size seems negligible.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As I looked through the C library, I noticed the FreeBSD MIPS port has a
hand-written version of index(). This is nice, if it weren't for the
fact that most applications call strchr() instead.

Also, on the other architectures index() and strchr() are identical,
meaning we have two identical pieces of code in the C library and
statically linked applications.

Solve this by naming the actual file strchr.[cS] and let it use
__strong_reference()/STRONG_ALIAS() to provide the index() routine. Do
the same for rindex()/strrchr().

This seems to make the C libraries and static binaries slightly smaller,
but this reduction in size seems negligible.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bzero() for 64-bit.</title>
<updated>2011-02-22T07:49:51+00:00</updated>
<author>
<name>Jayachandran C.</name>
<email>jchandra@FreeBSD.org</email>
</author>
<published>2011-02-22T07:49:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ba8d74d95f476328a1fb977cffca9b4a0e85c178'/>
<id>ba8d74d95f476328a1fb977cffca9b4a0e85c178</id>
<content type='text'>
The existing implementation of bzero incorrectly clears bytes when the
start address is not word aligned. Fix it by using REG_SHI macro which
works on both 32 and 64 bit.

Submitted by:	Artem Belevich (fbsdlist at src cx)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The existing implementation of bzero incorrectly clears bytes when the
start address is not word aligned. Fix it by using REG_SHI macro which
works on both 32 and 64 bit.

Submitted by:	Artem Belevich (fbsdlist at src cx)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge jmallett@'s n64 work into HEAD - changeset 1.</title>
<updated>2010-06-16T12:55:14+00:00</updated>
<author>
<name>Jayachandran C.</name>
<email>jchandra@FreeBSD.org</email>
</author>
<published>2010-06-16T12:55:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a7c139c0afa4e4ca5bee2fbef192942e098fe57d'/>
<id>a7c139c0afa4e4ca5bee2fbef192942e098fe57d</id>
<content type='text'>
Update libc assembly code to use macros that work on both o32 and n64.
Merge string functions from NetBSD.

The changes are from http://svn.freebsd.org/base/user/jmallett/octeon

Approved by:	rrs (mentor), jmallett
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update libc assembly code to use macros that work on both o32 and n64.
Merge string functions from NetBSD.

The changes are from http://svn.freebsd.org/base/user/jmallett/octeon

Approved by:	rrs (mentor), jmallett
</pre>
</div>
</content>
</entry>
<entry>
<title>Add mips support libc from the mips2-jnpr branch of perforce.</title>
<updated>2008-04-26T12:08:02+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2008-04-26T12:08:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4ce261061fd2f252757e6f0f29de2eb42d6cafdb'/>
<id>4ce261061fd2f252757e6f0f29de2eb42d6cafdb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove these abortive MIPS bits.</title>
<updated>2002-03-23T17:55:32+00:00</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2002-03-23T17:55:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d9c0a739c56df06cf9383c28ddd3e22dcd6104b3'/>
<id>d9c0a739c56df06cf9383c28ddd3e22dcd6104b3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bring in initial libc support for mips.  These files were taken from</title>
<updated>1999-03-03T07:06:17+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>1999-03-03T07:06:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d7ee48f115342b8a9a81e4555c684a73fb4707b4'/>
<id>d7ee48f115342b8a9a81e4555c684a73fb4707b4</id>
<content type='text'>
the OpenBSD tree and should be considered preliminary.  They are here
to facilitate building of the tree.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the OpenBSD tree and should be considered preliminary.  They are here
to facilitate building of the tree.
</pre>
</div>
</content>
</entry>
</feed>
