Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 216bff719a315d30d0e0c5dd608d91e888b285fa
https://github.com/WebKit/WebKit/commit/216bff719a315d30d0e0c5dd608d91e888b285fa
Author: David Kilzer <[email protected]>
Date: 2026-03-26 (Thu, 26 Mar 2026)
Changed paths:
M
Source/ThirdParty/libwebrtc/Source/third_party/boringssl/src/include/openssl/asm_base.h
Log Message:
-----------
[boringssl] Fix .note.gnu.property section emission on non-ELF platforms
<https://bugs.webkit.org/show_bug.cgi?id=306486>
<rdar://168952064>
Reviewed by Matthew Finkel.
Bug 303938 enabled PAC (return address signing) for boringssl by adding
`-mbranch-protection=pac-ret+b-key` flags to ARM64 assembly files. This
caused a `.note.gnu.property` section to be emitted on all platforms,
including Apple/Mach-O targets where it's invalid and caused crashes in
ktrace/libtrace.
The root cause is that boringssl's `asm_base.h` lacks an `__ELF__` guard
around the `.note.gnu.property` section emission.
No new tests since this change is not directly testable.
*
Source/ThirdParty/libwebrtc/Source/third_party/boringssl/src/include/openssl/asm_base.h:
Originally-landed-as: 305413.211@safari-7624-branch (718d5fa2ffc3).
rdar://173422650
Canonical link: https://commits.webkit.org/310008@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications