Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142671790
D42230.id129164.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
436 B
Referenced Files
None
Subscribers
None
D42230.id129164.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D42230: arm64: Add a BTI landing pad to .mcount
Attached
Detach File
Event Timeline
Log In to Comment