opnsense-src/lib/libsys/arm
Jessica Clarke f16349f12d libsys/arm: include ARM EABI unwind bits into libsys
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 <marklmi26-fbsd@yahoo.com>
Reviewed by:	mmel
Approved by:	markj (mentor)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D55255

(cherry picked from commit 6265f30cd6b523d633efcc314f8952f24446861f)
2026-02-20 17:44:55 +01:00
..
__vdso_gettc.c lib: Remove __ARM_ARCH checks that are always true 2024-06-12 11:49:05 +00:00
cerror.S
Makefile.sys libsys/arm: include ARM EABI unwind bits into libsys 2026-02-20 17:44:55 +01:00
Symbol.sys.map lib{c,sys}: return wrapped syscall APIs to libc 2024-03-13 18:36:02 +00:00
SYS.h SYS.h: make _SYSCALL_BODY overridable 2024-02-05 20:34:56 +00:00
vfork.S libsys/arm: make vfork less of an outlier 2024-04-22 21:28:51 +01:00