summaryrefslogtreecommitdiff
path: root/lib/libc/mips/Symbol.map
Commit message (Collapse)AuthorAgeFilesLines
* mips: fix some mcount nitsKyle Evans2019-09-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The symbol version for _mcount was removed 12 years ago in r169525 from gmon/Symbol.map, to be added to the per-arch Symbol.map. mips was overlooked in this, so _mcount has no symver. Add it back to where it should have been, rather than where it would go if it were added today, since we're correcting a historical mistake. Additionally, _mcount is getting thrown into .mdebug.abi32 in the llvm80/90 world as it's not getting explicitly thrown into .text, so do this now. This fixes the libc build that was previously failing due to relocations in .mdebug.abi32. This is specifically due to the way clang's integrated AS works and that they emit the .mdebug.abiNN section early in the process. An LLVM bug has been submitted[0] and an agreement has been made that the mips backend should switch to .text following .mdebug.abiNN for compatibility. [0] https://bugs.llvm.org/show_bug.cgi?id=43119 Reviewed by: imp, arichardson MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D21435 Notes: svn path=/head/; revision=351681
* Remove MD __sys_* private symbols.Brooks Davis2018-12-051-3/+0
| | | | | | | | | | | | | No references to any of these exist in the tree. The list was also erratic with different architectures exporting different things (arm64 and riscv exported none). Reviewed by: kib Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D18425 Notes: svn path=/head/; revision=341509
* Reimplement brk() and sbrk() to avoid the use of _end.Mark Johnston2018-06-041-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Previously, libc.so would initialize its notion of the break address using _end, a special symbol emitted by the static linker following the bss section. Compatibility issues between lld and ld.bfd could cause the wrong definition of _end (libc.so's definition rather than that of the executable) to be used, breaking the brk()/sbrk() interface. Avoid this problem and future interoperability issues by simply not relying on _end. Instead, modify the break() system call to return the kernel's view of the current break address, and have libc initialize its state using an extra syscall upon the first use of the interface. As a side effect, this appears to fix brk()/sbrk() usage in executables run with rtld direct exec, since the kernel and libc.so no longer maintain separate views of the process' break address. PR: 228574 Reviewed by: kib (previous version) MFC after: 2 months Differential Revision: https://reviews.freebsd.org/D15663 Notes: svn path=/head/; revision=334626
* Move softfloat symbol map entries to softfloat/Symbol.map.John Baldwin2018-03-051-18/+0
| | | | | | | | | | | | | The arm, mips, and riscv MD Symbol.map files listed some (but not all) of the softfloat symbols that were actually defined in softfloat.c. While here, also remove entries for __fixuns[sd]fsi which are provided by libcompiler_rt and not by libc. Sponsored by: DARPA / AFRL Notes: svn path=/head/; revision=330525
* Include {u,}{div,mod}si3() on mips in libcompiler_rt.John Baldwin2017-08-211-4/+0
| | | | | | | | | | | These builtins were listed in the mips-specific Symbol.map for libc but were not implemented. Compiling mips with recent clang requires these symbols. Sponsored by: DARPA / AFRL Notes: svn path=/head/; revision=322766
* Add full softfloat and hardfloat support for MIPS.Ruslan Bukin2016-10-311-0/+4
| | | | | | | | | | | | | | This adds new target architectures for hardfloat: mipselhf mipshf mips64elhf mips64hf. Tested in QEMU only. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision: https://reviews.freebsd.org/D8376 Notes: svn path=/head/; revision=308130
* libc: stop exporting cerrorEd Maste2016-03-301-1/+0
| | | | | | | | | | | | | i386 stopped exporting .cerror in r240152, and likewise for amd64 in r240178. It is not used by other libraries on any platform, so apply the same change to the remaining architectures. Reviewed by: jhibbits, jilles Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5774 Notes: svn path=/head/; revision=297418
* libc: stop exporting curbrk and minbrk in the private namespaceEd Maste2016-03-241-2/+0
| | | | | | | | | | | | They are not used anywhere else in the base system and are an internal implementation detail that does not need to be exposed. Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5728 Notes: svn path=/head/; revision=297238
* Replace a proliferation of buggy MD implementations of modf() with aDavid Schultz2011-10-211-1/+0
| | | | | | | | | | working MI one. The MI one only needs to be overridden on machines with non-IEEE754 arithmetic. (The last supported one was the VAX.) It can also be overridden if someone comes up with a faster one that actually passes the regression tests -- but this is harder than it sounds. Notes: svn path=/head/; revision=226606
* Fix whitespace inconsistencies found in homegrown Symbol.maps.Ed Schouten2011-10-071-2/+2
| | | | Notes: svn path=/head/; revision=226111
* Merge jmallett@'s n64 work into HEAD - changeset 2Jayachandran C.2010-06-161-4/+0
| | | | | | | | | | | | Update libc Makefiles. Add makecontext implementation. Changes from http://svn.freebsd.org/base/user/jmallett/octeon Approved by: rrs(mentor), jmallett Notes: svn path=/head/; revision=209233
* Merge r195030 from project/mips to head by handWarner Losh2010-01-091-0/+18
| | | | | | | | | | r195030 | gonzo | 2009-06-25 19:27:31 -0600 (Thu, 25 Jun 2009) | 4 lines - Switch to libc softfloat from libgcc implementation. The problem with latter is that it is not complete, fpsetXXX/fpgetXXX functions are missing. Notes: svn path=/head/; revision=201859
* Merge r197800 from projects/mips to head by hand:Warner Losh2010-01-081-2/+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 Notes: svn path=/head/; revision=201858
* These symbols don't belong here. Remove them. Since mips hasn't hadWarner Losh2009-02-191-4/+0
| | | | | | | | | a release, I think there's no impact here... Reviewed by: cognet@ Notes: svn path=/head/; revision=188823
* Add mips support libc from the mips2-jnpr branch of perforce.Warner Losh2008-04-261-0/+68
Notes: svn path=/head/; revision=178580