cmd/go: pass -funwind-tables when compiling C code
commitc5bd988821c3f0bc3ae7beded65d359929d18ba6
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Aug 2017 04:40:42 +0000 (18 04:40 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Aug 2017 04:40:42 +0000 (18 04:40 +0000)
tree4c2d75f13fdcf566821f79ee14f2bce76066f9a0
parent419a98a928266777e1f4c7676e7c882bdca3afc1
cmd/go: pass -funwind-tables when compiling C code

    Using -funwind-tables is necessary to permit Go code to correctly
    throw a panic through C code.  This hasn't been necessary in the past
    as -funwind-tables is the default on x86.  However, it is not the
    default for PPC AIX.

    Reviewed-on: https://go-review.googlesource.com/56650

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251179 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/go/cmd/go/build.go