Page MenuHomeFreeBSD

D42230.id129164.diff
No OneTemporary

D42230.id129164.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
Fri, Jan 23, 2:23 AM (9 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27871928
Default Alt Text
D42230.id129164.diff (436 B)

Event Timeline