aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarmvixl <vixl@arm.com>2015-12-08 17:05:23 +0000
committerarmvixl <vixl@arm.com>2015-12-08 17:05:23 +0000
commit788c84fd2ce77163c4182fdf20a17c52bcd8d0c3 (patch)
tree50e1c2f26bd59abc711ee4e03df4d929ec86284d
parent684cd2a7f5845539b58d0da7e012e39df49ceff0 (diff)
VIXL Release 1.12
Refer to the README.md and LICENCE files for details.
-rw-r--r--README.md2
-rw-r--r--SConstruct1
-rw-r--r--doc/changelog.md3
-rw-r--r--src/vixl/utils.h6
4 files changed, 7 insertions, 5 deletions
diff --git a/README.md b/README.md
index 4b73303e..46042d71 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-VIXL: AArch64 Runtime Code Generation Library Version 1.11
+VIXL: AArch64 Runtime Code Generation Library Version 1.12
==========================================================
Contents:
diff --git a/SConstruct b/SConstruct
index ecbd29a3..d1ffa81a 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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;