diff options
Diffstat (limited to 'src/runtime/arch_arm64.go')
-rw-r--r-- | src/runtime/arch_arm64.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/runtime/arch_arm64.go b/src/runtime/arch_arm64.go index 4e798e36b..6d3c856cf 100644 --- a/src/runtime/arch_arm64.go +++ b/src/runtime/arch_arm64.go @@ -9,7 +9,12 @@ const deferExtraRegs = 0 const callInstSize = 4 // "bl someFunction" is 4 bytes -const linux_MAP_ANONYMOUS = 0x20 +const ( + linux_MAP_ANONYMOUS = 0x20 + linux_SIGBUS = 7 + linux_SIGILL = 4 + linux_SIGSEGV = 11 +) // Align on word boundary. func align(ptr uintptr) uintptr { |