diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | SConstruct | 1 | ||||
-rw-r--r-- | doc/changelog.md | 3 | ||||
-rw-r--r-- | src/vixl/utils.h | 6 |
4 files changed, 7 insertions, 5 deletions
@@ -1,4 +1,4 @@ -VIXL: AArch64 Runtime Code Generation Library Version 1.11 +VIXL: AArch64 Runtime Code Generation Library Version 1.12 ========================================================== Contents: @@ -269,7 +269,6 @@ def VIXLLibraryTarget(env): # The VIXL library, built by default. env = Environment(variables = vars) ConfigureEnvironment(env) -ProcessBuildOptions(env) Help(vars.GenerateHelpText(env)) libvixl = VIXLLibraryTarget(env) Default(libvixl) diff --git a/doc/changelog.md b/doc/changelog.md index e3c4e2a6..f053e198 100644 --- a/doc/changelog.md +++ b/doc/changelog.md @@ -1,6 +1,9 @@ VIXL Change Log =============== +* 1.12 + + Bug fixes for toolchain compatibility. + * 1.11 + Fix bug in simulation of add with carry. + Fix use-after-free bug in Literal handling. diff --git a/src/vixl/utils.h b/src/vixl/utils.h index 969353d0..5ab134e2 100644 --- a/src/vixl/utils.h +++ b/src/vixl/utils.h @@ -35,9 +35,9 @@ namespace vixl { // Macros for compile-time format checking. -#if defined(__GNUC__) +#if GCC_VERSION_OR_NEWER(4, 4, 0) #define PRINTF_CHECK(format_index, varargs_index) \ - __attribute__((format(printf, format_index, varargs_index))) + __attribute__((format(gnu_printf, format_index, varargs_index))) #else #define PRINTF_CHECK(format_index, varargs_index) #endif @@ -220,7 +220,7 @@ T ReverseBytes(T value, int block_bytes_log2) { // Split the 64-bit value into an 8-bit array, where b[0] is the least // significant byte, and b[7] is the most significant. uint8_t bytes[8]; - uint64_t mask = 0xff00000000000000; + uint64_t mask = UINT64_C(0xff00000000000000); for (int i = 7; i >= 0; i--) { bytes[i] = (static_cast<uint64_t>(value) & mask) >> (i * 8); mask >>= 8; |