#
e0919a4b |
| 16-Apr-2024 |
Brooks Davis <brooks@FreeBSD.org> |
libc/arm: export __signalcontext not _signalcontext
The former exists and architectures other than aarch64 and riscv provide it. The later does not exist.
Differential Revision: https://reviews.fr
libc/arm: export __signalcontext not _signalcontext
The former exists and architectures other than aarch64 and riscv provide it. The later does not exist.
Differential Revision: https://reviews.freebsd.org/D44329
show more ...
|
#
d7847a8d |
| 13-Mar-2024 |
Brooks Davis <brooks@FreeBSD.org> |
lib{c,sys}: return wrapped syscall APIs to libc
These provide standard APIs, but are implemented using another system call (e.g., pipe implemented in terms of pipe2) or are interposed by the threadi
lib{c,sys}: return wrapped syscall APIs to libc
These provide standard APIs, but are implemented using another system call (e.g., pipe implemented in terms of pipe2) or are interposed by the threading library to support cancelation.
After discussion with kib (see D44111), I've concluded that it is better to keep most public interfaces in libc with as little as possible in libsys.
Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44241
show more ...
|
Revision tags: release/13.3.0 |
|
#
1e2502bf |
| 15-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: move MD sys related symbols to libsys
This is a mix genuine MD interfaces and compat symbols like _getlogin.
Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src
libc: move MD sys related symbols to libsys
This is a mix genuine MD interfaces and compat symbols like _getlogin.
Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908
show more ...
|
#
c7045186 |
| 16-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: centralize a few numeric symbols
fabs, __infinity, and __nan are universally implemented so declare them in gen/Symbol.map.
We would also include __flt_rounds, but it's under FBSD_1.3 on arm
libc: centralize a few numeric symbols
fabs, __infinity, and __nan are universally implemented so declare them in gen/Symbol.map.
We would also include __flt_rounds, but it's under FBSD_1.3 on arm so until that's gone we're stuck with it. Likewise, everyone but i386 implements fp[gs]etmask.
Reviewed by: imp, kib, emaste Differential Revision: https://reviews.freebsd.org/D42618
show more ...
|
#
5d79b544 |
| 16-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: centralize makecontext symbols
Declare makecontext() and __makecontext() symbols centrally as they are always implemented.
Reviewed by: imp, kib Differential Revision: https://reviews.freebsd
libc: centralize makecontext symbols
Declare makecontext() and __makecontext() symbols centrally as they are always implemented.
Reviewed by: imp, kib Differential Revision: https://reviews.freebsd.org/D42617
show more ...
|
#
1c656143 |
| 16-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: centralize {_,sig,}{set,long}jmp symbols
These symbols are universally exposed and documented so declare them centrally. Double- and triple-underscore versions exist on some platforms, but le
libc: centralize {_,sig,}{set,long}jmp symbols
These symbols are universally exposed and documented so declare them centrally. Double- and triple-underscore versions exist on some platforms, but leave those alone for now.
Reviewed by: imp, kib Differential Revision: https://reviews.freebsd.org/D42616
show more ...
|
#
ff3a9d8e |
| 16-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: centralize ntoh symbols
These are implemented by net/ntoh.c via headers and compiler intrinsics so declare them in net/Symbol.map.
Reviewed by: imp, kib, emaste Differential Revision: https:/
libc: centralize ntoh symbols
These are implemented by net/ntoh.c via headers and compiler intrinsics so declare them in net/Symbol.map.
Reviewed by: imp, kib, emaste Differential Revision: https://reviews.freebsd.org/D42615
show more ...
|
#
e4a1800f |
| 16-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: further centralize syscall symbols
All architectures necessarily implement _exit(2) and vfork(2) so declare them in sys/Symbol.map.
Reviewed by: imp, kib, emaste Differential Revision: https:
libc: further centralize syscall symbols
All architectures necessarily implement _exit(2) and vfork(2) so declare them in sys/Symbol.map.
Reviewed by: imp, kib, emaste Differential Revision: https://reviews.freebsd.org/D42614
show more ...
|
#
1ca63a82 |
| 15-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: Remove empty comments in Symbol.map
These were left over from $FreeBSD$ removal.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D42612
|
Revision tags: release/14.0.0 |
|
#
42b38843 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .h pattern
Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
#
ae67737a |
| 09-Dec-2021 |
John Baldwin <jhb@FreeBSD.org> |
libc: Remove _get_tp() and _set_tp().
Their uses have been replaced by _tcb_get() and _tcb_set() from <machine/tls.h>.
Reviewed by: kib, jrtc27 Sponsored by: The University of Cambridge, Google Inc
libc: Remove _get_tp() and _set_tp().
Their uses have been replaced by _tcb_get() and _tcb_set() from <machine/tls.h>.
Reviewed by: kib, jrtc27 Sponsored by: The University of Cambridge, Google Inc. Differential Revision: https://reviews.freebsd.org/D33354
show more ...
|
Revision tags: release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0 |
|
#
a63915c2 |
| 28-Jul-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @r350386
Sponsored by: The FreeBSD Foundation
|
#
805eb13a |
| 13-Jul-2019 |
Ian Lepore <ian@FreeBSD.org> |
Add arm_sync_icache() and arm_drain_writebuf() sysarch syscall wrappers.
NetBSD and OpenBSD have libc wrapper functions for the ARM_SYNC_ICACHE and ARM_DRAIN_WRITEBUF sysarch operations. This change
Add arm_sync_icache() and arm_drain_writebuf() sysarch syscall wrappers.
NetBSD and OpenBSD have libc wrapper functions for the ARM_SYNC_ICACHE and ARM_DRAIN_WRITEBUF sysarch operations. This change adds compatible functions to our library. This should make it easier for various upstream sources to support *BSD operating systems with a single variation of cache maintence code in tools like interpreters and JIT compilers.
I consider the argument types passed to arm_sync_icache() to be especially unfortunate, but this is intended to match the other BSDs.
Differential Revision: https://reviews.freebsd.org/D20906
show more ...
|
Revision tags: release/11.3.0 |
|
#
67350cb5 |
| 09-Dec-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r340918 through r341763.
|
Revision tags: release/12.0.0 |
|
#
db19a093 |
| 05-Dec-2018 |
Brooks Davis <brooks@FreeBSD.org> |
Remove MD __sys_* private symbols.
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).
Remove MD __sys_* private symbols.
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
show more ...
|
Revision tags: release/11.2.0 |
|
#
9f9c9b22 |
| 04-Jun-2018 |
Mark Johnston <markj@FreeBSD.org> |
Reimplement brk() and sbrk() to avoid the use of _end.
Previously, libc.so would initialize its notion of the break address using _end, a special symbol emitted by the static linker following the bs
Reimplement brk() and sbrk() to avoid the use of _end.
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
show more ...
|
#
fbb7370d |
| 05-Mar-2018 |
John Baldwin <jhb@FreeBSD.org> |
Move softfloat symbol map entries to softfloat/Symbol.map.
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.
Move softfloat symbol map entries to softfloat/Symbol.map.
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
show more ...
|
Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0 |
|
#
d6084013 |
| 05-Apr-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: The FreeBSD Foundation
|
#
a38e4f5c |
| 30-Mar-2016 |
Ed Maste <emaste@FreeBSD.org> |
libc: stop exporting cerror
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
libc: stop exporting cerror
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
show more ...
|
Revision tags: release/10.3.0 |
|
#
dae2d550 |
| 24-Mar-2016 |
Ed Maste <emaste@FreeBSD.org> |
libc: stop exporting curbrk and minbrk in the private namespace
They are not used anywhere else in the base system and are an internal implementation detail that does not need to be exposed.
Review
libc: stop exporting curbrk and minbrk in the private namespace
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
show more ...
|
Revision tags: release/10.2.0, release/10.1.0 |
|
#
246e7a2b |
| 02-Sep-2014 |
Neel Natu <neel@FreeBSD.org> |
IFC @r269962
Submitted by: Anish Gupta (akgupt3@gmail.com)
|
#
ee7b0571 |
| 19-Aug-2014 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge head from 7/28
|
#
1b833d53 |
| 13-Aug-2014 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
Sync to HEAD@r269943.
|
#
677a88ce |
| 20-Jul-2014 |
Ian Lepore <ian@FreeBSD.org> |
Add dl_unwind_find_exidx() for ARM EABI, required for C++ exception handling. For statically linked apps this uses the __exidx_start/end symbols set up by the linker. For dynamically linked apps it
Add dl_unwind_find_exidx() for ARM EABI, required for C++ exception handling. For statically linked apps this uses the __exidx_start/end symbols set up by the linker. For dynamically linked apps it finds the shared object that contains the given address and returns the location and size of the exidx section in that shared object.
The dl_unwind_find_exidx() name is used by other BSD projects and Android, and is mentioned in clang 3.5 comments as "the BSD interface" for finding exidx data. GCC (in libgcc_s) expects the exact same API and functionality to be provided by a function named __gnu_Unwind_Find_exidx(), so we provide that with an alias ("strong reference").
Reviewed by: kib@ MFC after: 1 week
show more ...
|
Revision tags: release/9.3.0 |
|
#
6cec9cad |
| 03-Jun-2014 |
Peter Grehan <grehan@FreeBSD.org> |
MFC @ r266724
An SVM update will follow this.
|