public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
* Enabling AARCH64 BTI
@ 2024-02-06 19:00 William Roberts
  2024-02-06 21:10 ` DJ Delorie
  0 siblings, 1 reply; 5+ messages in thread
From: William Roberts @ 2024-02-06 19:00 UTC (permalink / raw)
  To: libffi-discuss

I was looking at packages that don't declare BTI in the GNU Notes
section of the ELF file, and found libffi was missing that.
Investigating libffi, it enables BTI, but does not add it to the notes
section and if it's not in the notes section the linker/loader will
disable BTI for the target process.

https://github.com/libffi/libffi/pull/822

Here are some helpful notes and details on it as explained by others:
  - https://maskray.me/blog/2023-03-05-linker-notes-on-aarch64
  - https://reviews.llvm.org/D62609

Thanks,
Bill

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-06 23:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-06 19:00 Enabling AARCH64 BTI William Roberts
2024-02-06 21:10 ` DJ Delorie
2024-02-06 22:26   ` William Roberts
2024-02-06 22:36     ` DJ Delorie
2024-02-06 23:24       ` William Roberts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).