summaryrefslogtreecommitdiffstats
path: root/lib/libc/mips/sys
Commit message (Collapse)AuthorAgeFilesLines
* MFC r304928:kib2016-09-032-72/+1
| | | | | | | | | | | | | Do not obliterate errno value in the main thread during ptrace(2) call on x86. MFC r304931: Follow ABI when calling __error from the ptrace(2) wrapper. MFC r305012: Rewrite ptrace(2) wrappers in C. MFC r305022: Restore the requirement of setting errno to zero before calling ptrace(2).
* Rework the __vdso_* symbols attributes to only make the symbols weak,kib2013-01-302-0/+50
| | | | | | | | | | but use normal references instead of weak. This makes the statically linked binaries to use fast gettimeofday(2) by forcing the linker to resolve references and providing the neccessary functions. Reported by: bde Tested by: marius (sparc64) MFC after: 2 weeks
* use PTR_WORD for __curbrk and minbrk instead of .word, the new versionjchandra2010-06-252-2/+2
| | | | | | wil support all ABIs. Approved by: rrs (mentor)
* Merge jmallett@'s n64 work into HEAD - changeset 2jchandra2010-06-161-1/+1
| | | | | | | | | Update libc Makefiles. Add makecontext implementation. Changes from http://svn.freebsd.org/base/user/jmallett/octeon Approved by: rrs(mentor), jmallett
* Merge jmallett@'s n64 work into HEAD - changeset 1.jchandra2010-06-168-118/+83
| | | | | | | | | 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
* Reinstate the ptrace patch to restore the 'gp' register after callingneel2010-02-041-0/+3
| | | | | | | | | | a function. I made a mistake in assuming that the .cprestore directive will cause the assembler to automatically restore 'gp' after the 'jalr'. The .cprestore directive does its magic only after 'jal' and 'bal' instructions - not the 'jalr'. Pointed out by: c.jayachandran@gmail.com
* -White space cleanup (missing spaces in new line)rrs2010-02-031-5/+2
| | | | | | -Remove extra tab. -Took out the duplicate code that cprestore does. All suggested by Neel.
* This fixes a bug found and fixed by JC. Basicallyrrs2010-02-031-1/+13
| | | | | | | no save was being done of the ra and gp pointers before we call the __error function. Obtained from: JC (c.jayachandran@gmail.com)
* Merge r197800 from projects/mips to head by hand:imp2010-01-081-5/+2
| | | | | | r197800 | gonzo | 2009-10-06 00:35:52 -0600 (Tue, 06 Oct 2009) | 3 lines - curbrk variable for sbrk and brk should be the same - Add correct variable names to Symbol.map
* These warnings are only relevant on NetBSD it seems. They don't seemimp2009-02-191-3/+0
| | | | to be relevant to FreeBSD at all.
* Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4.ed2008-11-091-3/+2
| | | | | | | | | | | | | | | | | | | | | Looking at our source code history, it seems the uname(), getdomainname() and setdomainname() system calls got deprecated somewhere after FreeBSD 1.1, but they have never been phased out properly. Because we don't have a COMPAT_FREEBSD1, just use COMPAT_FREEBSD4. Also fix the Linuxolator to build without the setdomainname() routine by just making it call userland_sysctl on kern.domainname. Also replace the setdomainname()'s implementation to use this approach, because we're duplicating code with sysctl_domainname(). I wasn't able to keep these three routines working in our COMPAT_FREEBSD32, because that would require yet another keyword for syscalls.master (COMPAT4+NOPROTO). Because this routine is probably unused already, this won't be a problem in practice. If it turns out to be a problem, we'll just restore this functionality. Reviewed by: rdivacky, kib
* Add mips support libc from the mips2-jnpr branch of perforce.imp2008-04-2611-0/+610
|
* Remove these abortive MIPS bits.obrien2002-03-2315-801/+0
|
* Bring in initial libc support for mips. These files were taken fromimp1999-03-0315-0/+801
the OpenBSD tree and should be considered preliminary. They are here to facilitate building of the tree.
OpenPOWER on IntegriCloud