aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2018-12-12 23:26:58 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2018-12-12 23:26:58 +0000
commite7db55f636486e101b2d812dda6f9768e1a6b419 (patch)
tree7485f3ec6b04eea472c73e5a4f1c01a4b6bf985c /libgo
parent7a289b7d0ac7f26a7f5e8d27608ce5e67317cc37 (diff)
downloadgcc-e7db55f636486e101b2d812dda6f9768e1a6b419.zip
gcc-e7db55f636486e101b2d812dda6f9768e1a6b419.tar.gz
gcc-e7db55f636486e101b2d812dda6f9768e1a6b419.tar.bz2
runtime: handle DW_EH_PE_absptr in type table encoding
The type table encoding can be DW_EH_PE_absptr, but this case was missing, which was causing abort on ARM32 EABI. Add the missing case. Reviewed-on: https://go-review.googlesource.com/c/153857 From-SVN: r267070
Diffstat (limited to 'libgo')
-rw-r--r--libgo/runtime/go-unwind.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/runtime/go-unwind.c b/libgo/runtime/go-unwind.c
index c44755f..f4bbfb6 100644
--- a/libgo/runtime/go-unwind.c
+++ b/libgo/runtime/go-unwind.c
@@ -318,6 +318,8 @@ value_size (uint8_t encoding)
case DW_EH_PE_sdata8:
case DW_EH_PE_udata8:
return 8;
+ case DW_EH_PE_absptr:
+ return sizeof(uintptr);
default:
break;
}