From: ian Date: Wed, 12 Dec 2018 23:26:58 +0000 (+0000) Subject: runtime: handle DW_EH_PE_absptr in type table encoding X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=11de78ee0ea63081b3eb7824f5c557ba30f63124;p=thirdparty%2Fgcc.git 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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267070 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 2f678352d9fc..8b1ca485571f 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -be6dbbdbe29f39d6d2ec0d5574ced398cb6e250a +16a48dbc1c69075321b388d235651b59abcb58ce The first line of this file holds the git revision number of the last merge done from the gofrontend repository. diff --git a/libgo/runtime/go-unwind.c b/libgo/runtime/go-unwind.c index c44755f971c5..f4bbfb60ec8e 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; }