Correct MDSRCS use in <arch>/string/Makefile.inc.- 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
Correct MDSRCS use in <arch>/string/Makefile.inc.- 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, jhbMFC after: 1 weekSponsored by: DARPA, AFRLDifferential Revision: https://reviews.freebsd.org/D9841
show more ...
Fix strchr, strrchr implementation: convert c to char(according to standard).Discussed with: andrewReviewed by: emasteSponsored by: DARPA, AFRLSponsored by: HEIF5Differential Revision: https:/
Fix strchr, strrchr implementation: convert c to char(according to standard).Discussed with: andrewReviewed by: emasteSponsored by: DARPA, AFRLSponsored by: HEIF5Differential Revision: https://reviews.freebsd.org/D8239
Change index() and rindex() to a weak alias.This allows people to still write statically linked applications thatcall strchr() or strrchr() and have a local variable or function calledindex.Dis
Change index() and rindex() to a weak alias.This allows people to still write statically linked applications thatcall strchr() or strrchr() and have a local variable or function calledindex.Discussed with: bde@
Merge index() and strchr() together.As I looked through the C library, I noticed the FreeBSD MIPS port has ahand-written version of index(). This is nice, if it weren't for thefact that most appl
Merge index() and strchr() together.As I looked through the C library, I noticed the FreeBSD MIPS port has ahand-written version of index(). This is nice, if it weren't for thefact 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 andstatically linked applications.Solve this by naming the actual file strchr.[cS] and let it use__strong_reference()/STRONG_ALIAS() to provide the index() routine. Dothe same for rindex()/strrchr().This seems to make the C libraries and static binaries slightly smaller,but this reduction in size seems negligible.
Fix bzero() for 64-bit.The existing implementation of bzero incorrectly clears bytes when thestart address is not word aligned. Fix it by using REG_SHI macro whichworks on both 32 and 64 bit.Su
Fix bzero() for 64-bit.The existing implementation of bzero incorrectly clears bytes when thestart address is not word aligned. Fix it by using REG_SHI macro whichworks on both 32 and 64 bit.Submitted by: Artem Belevich (fbsdlist at src cx)
Merge jmallett@'s n64 work into HEAD - changeset 1.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.freebs
Merge jmallett@'s n64 work into HEAD - changeset 1.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/octeonApproved by: rrs (mentor), jmallett
Add mips support libc from the mips2-jnpr branch of perforce.
Remove these abortive MIPS bits.
Bring in initial libc support for mips. These files were taken fromthe OpenBSD tree and should be considered preliminary. They are hereto facilitate building of the tree.