opnsense-src/sys/arm64/linux
Andrew Turner d5e29c62e9 linux64: Fix the build on arm64 with bti checking
When we enable checking for BTI on arm64 we need to include an ELF
note in all object files linked into a module.

As using objcopy from a binary to an ELF object file doesn't add the
note switch to using .incbin from an assembly file. This allows us to
add the needed note without affecting the included object.

Reviewed by:	imp, kib, emaste
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D45468

(cherry picked from commit bed65d85c631c3a8e60a81a15a5a745c8ef92fbe)
(cherry picked from commit ec69d230933f82c7c142b053882255aa57475463)
2024-09-02 08:48:10 +00:00
..
linux.h linux(4): Fix leftovers after 2ff63af9 2023-08-17 23:54:00 +03:00
linux_dummy_machdep.c linux(4): Cleanup dummy syscall list on arm64 2023-09-25 13:18:54 +03:00
linux_genassym.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
linux_locore.asm sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
linux_machdep.c linux(4): Cleanup includes under arm64 2023-09-24 13:51:36 +03:00
linux_proto.h linux(4): Regen for linux_nosys change 2023-10-10 08:12:12 +03:00
linux_sigframe.h arm64: Use the Linux sigframe to restore registers 2023-11-06 18:12:23 +03:00
linux_support.S linux64: Fix the build on arm64 with bti checking 2024-09-02 08:48:10 +00:00
linux_syscall.h linux(4): Regen for linux_nosys change 2023-10-10 08:12:12 +03:00
linux_syscalls.c linux(4): Regen for linux_nosys change 2023-10-10 08:12:12 +03:00
linux_sysent.c linux(4): Regen for linux_nosys change 2023-10-10 08:12:12 +03:00
linux_systrace_args.c linux(4): Regen for linux_nosys change 2023-10-10 08:12:12 +03:00
linux_sysvec.c arm64: Create a Linux view of the ID registers 2024-02-19 13:13:49 +00:00
linux_vdso.lds.s sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
linux_vdso_gtod.c linux(4): Add a write syscall wrapper 2023-08-20 10:36:29 +03:00
Makefile sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
syscalls.conf makesyscalls: don't make syscall.mk by default 2023-12-13 23:07:06 +00:00
syscalls.master linux(4): Deorbit linux_nosys from syscalls.master 2023-10-10 08:12:12 +03:00