<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/arm, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>libc/armv7: remove default version for alloca</title>
<updated>2026-03-05T10:34:47+00:00</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2026-03-05T10:33:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4dd517acb6949d6fed5b16f26fbffb150749b121'/>
<id>4dd517acb6949d6fed5b16f26fbffb150749b121</id>
<content type='text'>
The alloca() interface has been a macro expanding to __builtin_alloca()
since 2003 (commit 79806b4cdce0, included in FreeBSD 5.2).  Even before
that virtually every compiler version I was able to test replaced
alloca() with compiler generated code when targeting C.

Hide it to prevent future (mis)use.

Reviewed by:	imp, kib
Differential Revision:	https://reviews.freebsd.org/D51858
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The alloca() interface has been a macro expanding to __builtin_alloca()
since 2003 (commit 79806b4cdce0, included in FreeBSD 5.2).  Even before
that virtually every compiler version I was able to test replaced
alloca() with compiler generated code when targeting C.

Hide it to prevent future (mis)use.

Reviewed by:	imp, kib
Differential Revision:	https://reviews.freebsd.org/D51858
</pre>
</div>
</content>
</entry>
<entry>
<title>libc/arm: use __builtin_trap() instead of abort() in aeabi_unwind stubs</title>
<updated>2026-02-13T17:52:25+00:00</updated>
<author>
<name>Robert Clausecker</name>
<email>fuz@FreeBSD.org</email>
</author>
<published>2026-02-11T18:50:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1782bc9a0a8da2d6aca31b7790981e1980c9e4b9'/>
<id>1782bc9a0a8da2d6aca31b7790981e1980c9e4b9</id>
<content type='text'>
This avoids a dependency on the abort symbol in libsys.

PR:		292539
Reviewed by:	mmel
Approved by:	markj (mentor)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D55255
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids a dependency on the abort symbol in libsys.

PR:		292539
Reviewed by:	mmel
Approved by:	markj (mentor)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D55255
</pre>
</div>
</content>
</entry>
<entry>
<title>libc: remove ARMv5/6 from man page</title>
<updated>2025-11-29T04:56:38+00:00</updated>
<author>
<name>Minsoo Choo</name>
<email>minsoochoo0122@proton.me</email>
</author>
<published>2025-11-29T00:40:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=53da09369c42333820762415cb6b829b10362389'/>
<id>53da09369c42333820762415cb6b829b10362389</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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Minsoo Choo &lt;minsoochoo0122@proton.me&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1903
</pre>
</div>
</content>
</entry>
<entry>
<title>libc, libthr: Ditch MD __pthread_distribute_static_tls helpers</title>
<updated>2025-05-29T16:06:54+00:00</updated>
<author>
<name>Jessica Clarke</name>
<email>jrtc27@FreeBSD.org</email>
</author>
<published>2025-05-29T16:06:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=250b2eda0acc44cf882d5ea8fcf28125e7501719'/>
<id>250b2eda0acc44cf882d5ea8fcf28125e7501719</id>
<content type='text'>
_libc_get_static_tls_base() is just _tcb_get() followed by adding (for
Variant I) or subtracting (for Variant II) the offset, so just inline
that as the implementation (like we do in rtld-elf) rather than having
another copy (or equivalent) of _tcb_get()'s assembly.

_get_static_tls_base() doesn't even have any MD assembly as it's
reading thr-&gt;tcb, the only difference is whether to add or subtract, so
again just inline that.

Whilst here add some missing blank lines to comply with style(9) for
elf_utils.c's includes, and use a pointer type rather than uintptr_t to
reduce the need to cast, as is done in rtld-elf.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D50592
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
_libc_get_static_tls_base() is just _tcb_get() followed by adding (for
Variant I) or subtracting (for Variant II) the offset, so just inline
that as the implementation (like we do in rtld-elf) rather than having
another copy (or equivalent) of _tcb_get()'s assembly.

_get_static_tls_base() doesn't even have any MD assembly as it's
reading thr-&gt;tcb, the only difference is whether to add or subtract, so
again just inline that.

Whilst here add some missing blank lines to comply with style(9) for
elf_utils.c's includes, and use a pointer type rather than uintptr_t to
reduce the need to cast, as is done in rtld-elf.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D50592
</pre>
</div>
</content>
</entry>
<entry>
<title>libgcc_s: export integer and floating point __aeabi_ symbols</title>
<updated>2025-05-04T11:48:32+00:00</updated>
<author>
<name>Michal Meloun</name>
<email>mmel@FreeBSD.org</email>
</author>
<published>2025-02-22T18:35:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=50fda38ba0b0a783ccf1375fb889eee5476f4b1a'/>
<id>50fda38ba0b0a783ccf1375fb889eee5476f4b1a</id>
<content type='text'>
Export all integer and floating point __aeabi_ functions defined by
"Run-time ABI for Arm Architecture" from libgcc, excluding __aeabi_h2f_alt,
__aeabi_f2h_alt and __aeabi_d2h_alt, which are not yet implemented by
compiler-rt.

To maintain ABI backward compatibility, convert __aeabi_ floating-point
symbols previously exported from libc to an explicit non-default version.

Remove guessing of vfp/not-vfp version  for compiler-rt sources. The vfp
version needs additional runtime logic to select the right implementation
and we don't have it implemented.

MFC after:	1 month
Reviewed by:	dim
PR:		271087
Differential Revision:	https://reviews.freebsd.org/D50100
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Export all integer and floating point __aeabi_ functions defined by
"Run-time ABI for Arm Architecture" from libgcc, excluding __aeabi_h2f_alt,
__aeabi_f2h_alt and __aeabi_d2h_alt, which are not yet implemented by
compiler-rt.

To maintain ABI backward compatibility, convert __aeabi_ floating-point
symbols previously exported from libc to an explicit non-default version.

Remove guessing of vfp/not-vfp version  for compiler-rt sources. The vfp
version needs additional runtime logic to select the right implementation
and we don't have it implemented.

MFC after:	1 month
Reviewed by:	dim
PR:		271087
Differential Revision:	https://reviews.freebsd.org/D50100
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove residual blank line at start of Makefile</title>
<updated>2024-07-15T22:43:39+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2024-07-15T04:46:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e9ac41698b2f322d55ccf9da50a3596edb2c1800'/>
<id>e9ac41698b2f322d55ccf9da50a3596edb2c1800</id>
<content type='text'>
This is a residual of the $FreeBSD$ removal.

MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a residual of the $FreeBSD$ removal.

MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix
</pre>
</div>
</content>
</entry>
<entry>
<title>libc: Replace armv6 with armv7 in a comment</title>
<updated>2024-06-20T09:26:22+00:00</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2024-06-20T09:26:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6eeedf35c3ecf50cc3def1eaa40a37b2257b85ac'/>
<id>6eeedf35c3ecf50cc3def1eaa40a37b2257b85ac</id>
<content type='text'>
Armv6 is being removed from the treem and the comment applies to armv7.

Reviewed by:	manu, imp, emaste
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D45645
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Armv6 is being removed from the treem and the comment applies to armv7.

Reviewed by:	manu, imp, emaste
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D45645
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: Remove __ARM_ARCH checks that are always true</title>
<updated>2024-06-12T11:49:05+00:00</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2024-06-12T11:49:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b8a496dfb6df7b86e014d0d4476cd75850e060c1'/>
<id>b8a496dfb6df7b86e014d0d4476cd75850e060c1</id>
<content type='text'>
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D45559
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D45559
</pre>
</div>
</content>
</entry>
<entry>
<title>libc/arm: export __signalcontext not _signalcontext</title>
<updated>2024-04-16T21:14:21+00:00</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2024-04-16T17:05:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e0919a4bac2b57a086688ae8ec58058b91f61d86'/>
<id>e0919a4bac2b57a086688ae8ec58058b91f61d86</id>
<content type='text'>
The former exists and architectures other than aarch64 and riscv provide
it.  The later does not exist.

Differential Revision:	https://reviews.freebsd.org/D44329
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The former exists and architectures other than aarch64 and riscv provide
it.  The later does not exist.

Differential Revision:	https://reviews.freebsd.org/D44329
</pre>
</div>
</content>
</entry>
<entry>
<title>libc/softfloat: we don't export _fp[gs]et* symbols</title>
<updated>2024-03-13T20:35:41+00:00</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2024-03-13T20:34:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bf8a3a816d4b3ca79d78c437b60bb4d169e590ad'/>
<id>bf8a3a816d4b3ca79d78c437b60bb4d169e590ad</id>
<content type='text'>
Remove attempts to use NetBSD __weak_alias macros to export _-prefixed
versions of various fp[sg]et* symbols under softfloat.  __weak_alias
isn't defined so we didn't export them and thus the Symbol.map entries
were wrong.

Reviewed by:	jhibbits
Differential Revision:	https://reviews.freebsd.org/D44327
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove attempts to use NetBSD __weak_alias macros to export _-prefixed
versions of various fp[sg]et* symbols under softfloat.  __weak_alias
isn't defined so we didn't export them and thus the Symbol.map entries
were wrong.

Reviewed by:	jhibbits
Differential Revision:	https://reviews.freebsd.org/D44327
</pre>
</div>
</content>
</entry>
</feed>
