<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libsys/arm, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-02-13T17:52:25Z</updated>
<entry>
<title>libsys/arm: include ARM EABI unwind bits into libsys</title>
<updated>2026-02-13T17:52:25Z</updated>
<author>
<name>Jessica Clarke</name>
<email>jrtc27@FreeBSD.org</email>
</author>
<published>2026-02-11T15:37:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6265f30cd6b523d633efcc314f8952f24446861f'/>
<id>urn:sha1:6265f30cd6b523d633efcc314f8952f24446861f</id>
<content type='text'>
libsys required ARM EABI unwind symbols like __aeabi_unwind_cpp_pr0.
These symbols are normally provided by libc, but if a binary does
not link libc, the symbol ends up not being resolved.

Among other problems, this prevented gcc14 and newer from building
on arm.

Add the relevant symbols as hidden symbols into libsys to avoid this
problem.

(this patch was posted by jrtc27 who has asked me to move it along)

PR:		292539
Tested by:	fuz, Mark Millard &lt;marklmi26-fbsd@yahoo.com&gt;
Reviewed by:	mmel
Approved by:	markj (mentor)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D55255
</content>
</entry>
<entry>
<title>libsys, libc: provide rfork_thread() and pdrfork_thread() on all arches</title>
<updated>2026-01-28T02:26:52Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2026-01-26T16:04:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c1be185e3fb9afd6743683a8f5a43b9c364ab529'/>
<id>urn:sha1:c1be185e3fb9afd6743683a8f5a43b9c364ab529</id>
<content type='text'>
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D54898
</content>
</entry>
<entry>
<title>libsys: remove armv6 hack</title>
<updated>2025-11-29T06:07:12Z</updated>
<author>
<name>Minsoo Choo</name>
<email>minsoochoo0122@proton.me</email>
</author>
<published>2025-11-29T00:48:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=57c0a337dbc592a82d184f18dc69634eb0a9db10'/>
<id>urn:sha1:57c0a337dbc592a82d184f18dc69634eb0a9db10</id>
<content type='text'>
Signed-off-by: Minsoo Choo &lt;minsoochoo0122@proton.me&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1903
</content>
</entry>
<entry>
<title>lib: Remove __ARM_ARCH checks that are always true</title>
<updated>2024-06-12T11:49:05Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2024-06-12T11:49:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b8a496dfb6df7b86e014d0d4476cd75850e060c1'/>
<id>urn:sha1:b8a496dfb6df7b86e014d0d4476cd75850e060c1</id>
<content type='text'>
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D45559
</content>
</entry>
<entry>
<title>libsys/arm: make vfork less of an outlier</title>
<updated>2024-04-22T20:28:51Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2024-04-22T19:13:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=80ffc7398b8302b2d54d783d8349e54d877a4250'/>
<id>urn:sha1:80ffc7398b8302b2d54d783d8349e54d877a4250</id>
<content type='text'>
Following the pattern of other architectures, make __sys_vfork the main
symbol and _vfork and vfork weak aliases.  This avoids the need to
special case vfork in the generated list of symbols.

Differential Revision:	https://reviews.freebsd.org/D44330
</content>
</entry>
<entry>
<title>lib{c,sys}: return wrapped syscall APIs to libc</title>
<updated>2024-03-13T18:36:02Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2024-03-13T17:42:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d7847a8d351436a4654bd2c746bc9c04401160ee'/>
<id>urn:sha1:d7847a8d351436a4654bd2c746bc9c04401160ee</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>libsys/arm: Remove pointless MD syscall(2)</title>
<updated>2024-03-07T00:58:55Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2024-03-07T00:58:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0ee0ae2373242a4d2283cd46563296dd1cd1ced3'/>
<id>urn:sha1:0ee0ae2373242a4d2283cd46563296dd1cd1ced3</id>
<content type='text'>
This file is functionally identical to the stub generated by
Makefile.sys once the MD version is removed.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D44233
</content>
</entry>
<entry>
<title>lib{c,sys}: expose _getlogin consistently</title>
<updated>2024-02-29T19:46:33Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2024-02-29T19:46:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=304cdac7385a40477484737fc0a4aa928c3be9d6'/>
<id>urn:sha1:304cdac7385a40477484737fc0a4aa928c3be9d6</id>
<content type='text'>
Historically we exposed _getlogin as a private symbol on a per-arch basis
(except on aarch64 and riscv) for no obvious reason.  We now need to
expose it for libc's use so remove the special case from
makesyscalls.lua and expose it in the generated syscalls.map.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D44116
</content>
</entry>
<entry>
<title>SYS.h: make _SYSCALL_BODY overridable</title>
<updated>2024-02-05T20:34:56Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2024-01-05T18:33:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f21777224411fee14b8aea6d8465bd6c2b318429'/>
<id>urn:sha1:f21777224411fee14b8aea6d8465bd6c2b318429</id>
<content type='text'>
Reviewed by:	kib, emaste, imp
Pull Request:	https://github.com/freebsd/freebsd-src/pull/908
</content>
</entry>
<entry>
<title>libc: move MD sys related symbols to libsys</title>
<updated>2024-02-05T20:34:56Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2023-11-15T21:48:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1e2502bfca58344780747c3948b51164e25c8b5f'/>
<id>urn:sha1:1e2502bfca58344780747c3948b51164e25c8b5f</id>
<content type='text'>
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
</content>
</entry>
</feed>
