diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2016-09-06 14:07:22 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-06 14:07:22 -0600 |
commit | de827651490d8e41c73f66cc6fc121b85d2d6496 (patch) | |
tree | 1b0e0eae0426c88e6c0a83ec0247052b309529b3 /bolt_amd64.go | |
parent | Merge pull request #590 from benbjohnson/vincent-petithory-compact-db (diff) | |
parent | bucket: correct broken unaligned load/store in armv5 (diff) | |
download | dedo-de827651490d8e41c73f66cc6fc121b85d2d6496.tar.gz dedo-de827651490d8e41c73f66cc6fc121b85d2d6496.tar.xz |
Merge pull request #578 from resin-os/align-fix
Correct broken unaligned load/store in armv5
Diffstat (limited to 'bolt_amd64.go')
-rw-r--r-- | bolt_amd64.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bolt_amd64.go b/bolt_amd64.go index cca6b7e..98fafdb 100644 --- a/bolt_amd64.go +++ b/bolt_amd64.go @@ -5,3 +5,6 @@ const maxMapSize = 0xFFFFFFFFFFFF // 256TB // maxAllocSize is the size used when creating array pointers. const maxAllocSize = 0x7FFFFFFF + +// Are unaligned load/stores broken on this arch? +var brokenUnaligned = false |