libgo: break dependence on libgcc unwind-pe.h
commitbeed22e5ef77fb8032f3855bb0c16e608fc1da7a
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 May 2018 21:53:30 +0000 (2 21:53 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 May 2018 21:53:30 +0000 (2 21:53 +0000)
treeb635fa4c3ee82a3c372d5ef01531c276fd59559f
parentb63a0dff6b13f1ae7fa8a2e2232da850be462be8
libgo: break dependence on libgcc unwind-pe.h

    The C portion of the Go runtime includes the header "unwind-pe.h" from
    libgcc, which contains some constants and a few small routines for
    decoding pointer values within unwind info. This patch gets rid of
    that include and instead adds a re-implementation of that
    functionality in the single file that uses it. The intent is to allow
    the C runtime portion of libgo to be built without a companion GCC
    installation.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259861 138bc75d-0d04-0410-961f-82ee72b054a4
libgo/runtime/go-unwind.c