On Tue, Sep 12, 2017 at 6:01 AM, Rainer Orth
<r...@cebitec.uni-bielefeld.de> wrote:
> A couple of gotools tests were FAILing on 32-bit Solaris/SPARC like
> this:
>
> FAIL: TestCgoHandlesWlORIGIN
>         go_test.go:267: running testgo [build origin]
>         go_test.go:286: standard error:
>         go_test.go:287: # origin
>                 cannot load DWARF output from $WORK/origin/_obj//_cgo_.o: 
> applyRelocations: not implemented
>
>         go_test.go:296: go [build origin] failed unexpectedly: exit status 2
>
> The following patch fixes this by implementing applyRelocationsSPARC.
> It's a straightforward derivative of applyRelocationsSPARC64.  The only
> point of not is support for the SPARC V8Plus ABI, which is the default
> on Solaris these days.  The testcase above PASSes now, a couple of
> others still FAIL for different reasons.
>
>         Rainer
>
> --
> -----------------------------------------------------------------------------
> Rainer Orth, Center for Biotechnology, Bielefeld University
>
>
> 2017-09-11  Rainer Orth  <r...@cebitec.uni-bielefeld.de>
>
>         * go/debug/elf/file.go (applyRelocations): Handle 32-bit SPARC.
>         (applyRelocationsSPARC): New function.


Thanks.  Committed.

Ian

Reply via email to