Found with run-native-test.sh om debian arm64.
http://bugs.debian.org/753552

Signed-off-by: Mark Wielaard <[email protected]>
---
 backends/ChangeLog        |    5 +++++
 backends/aarch64_retval.c |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/backends/ChangeLog b/backends/ChangeLog
index a2df83b..c590ed6 100644
--- a/backends/ChangeLog
+++ b/backends/ChangeLog
@@ -1,3 +1,8 @@
+2014-07-04  Mark Wielaard  <[email protected]>
+
+       * aarch64_retval.c (aarch64_return_value_location): Handle
+       DW_ATE_boolean.
+
 2014-06-18  Mark Wielaard  <[email protected]>
 
        * libebl_CPU.h (dwarf_peel_type): Remove DW_TAG_mutable_type
diff --git a/backends/aarch64_retval.c b/backends/aarch64_retval.c
index 0ed7d56..68de307 100644
--- a/backends/aarch64_retval.c
+++ b/backends/aarch64_retval.c
@@ -357,6 +357,7 @@ aarch64_return_value_location (Dwarf_Die *functypedie, 
const Dwarf_Op **locp)
                 size of the argument is less than or equal to 8 bytes
                 [...] the argument is copied to the least significant
                 bits in x[NGRN].  */
+           case DW_ATE_boolean:
            case DW_ATE_signed:
            case DW_ATE_unsigned:
            case DW_ATE_unsigned_char:
-- 
1.7.1

Reply via email to