mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-26 22:38:30 +00:00
Prevent ftrace from misaligning functions
This commit is contained in:
parent
b8a6a989c0
commit
b94b29d79c
2 changed files with 4 additions and 1 deletions
|
@ -471,7 +471,7 @@ ifeq ($(ARCH), x86_64)
|
|||
# jmp -7 # 2 bytes
|
||||
# ...
|
||||
#
|
||||
CONFIG_CCFLAGS += -fpatchable-function-entry=11,9
|
||||
CONFIG_CCFLAGS += -fpatchable-function-entry=18,16
|
||||
endif
|
||||
ifeq ($(ARCH), aarch64)
|
||||
# this flag causes gcc to generate functions like this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue