Page MenuHomeFreeBSD

D42230.id129531.diff
No OneTemporary

D42230.id129531.diff

diff --git a/sys/arm64/include/profile.h b/sys/arm64/include/profile.h
--- a/sys/arm64/include/profile.h
+++ b/sys/arm64/include/profile.h
@@ -68,6 +68,8 @@
" .globl .mcount \n" \
" .mcount: \n" \
" .cfi_startproc \n" \
+ /* Allow this to work with BTI, see BTI_C in asm.h */ \
+" hint #34 \n" \
/* Load the caller return address as frompc */ \
" ldr x0, [x29, #8] \n" \
/* Use our return address as selfpc */ \

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 28, 5:16 PM (2 h, 4 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32294225
Default Alt Text
D42230.id129531.diff (436 B)

Event Timeline