PR go/78978
commitf7b28005c6bea3d4c4002b2df187bb2bf28d2bc5
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Jan 2017 16:04:01 +0000 (6 16:04 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 6 Jan 2017 16:04:01 +0000 (6 16:04 +0000)
tree10d4a7092944ea178088d808d553d35c8b6effe1
parent34e0967df228dbc7c400734477a26b31d72516be
PR go/78978
    libgo: build with -Wa,-nH if possible on Solaris

    By default the Solaris assembler records the required hardware
    capability in the object file.  This means that the AES hashing code
    breaks on systems that do not support AES, even though the code uses a
    runtime check to only actually invoke the AES instructions on systems
    that support it.  An earlier fix for the problem only fixed the shared
    library, not the static libgo.a.  Fix the problem for real by using an
    assembler option to not record the hardware capability.

    For GCC PR 78978.

    Patch by Rainer Orth.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244165 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/Makefile.am
libgo/Makefile.in
libgo/configure
libgo/configure.ac
libgo/testsuite/Makefile.in