<pre class="notranslate">What steps will reproduce the problem?
1. <a href="http://play.golang.org/p/lV4Ag-Fw_7" rel="nofollow">http://play.golang.org/p/lV4Ag-Fw_7</a>
2.
3.

What is the expected output?
program should terminate normally

What do you see instead?
deadlock

Which compiler are you using (5g, 6g, 8g, gccgo)?
6g

Which operating system are you using?
linux

Which version are you using?  (run 'go version')
1.0.3

Please provide any additional information below.</pre>
<p dir="auto">In CL 20489, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/crawshaw/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/crawshaw">@crawshaw</a> observed that he was able to change the cmd/internal/obj's objfile writing code and cmd/link/internal/ld's objfile reading code, but no tests failed to indicate that cmd/internal/goobj should be updated too.</p>
<p dir="auto">cmd/internal/goobj used to be used by cmd/newlink, but that was deleted in CL 20380 (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/golang/go/commit/fb880b8a03f33b6a1809d76e7673717875c74606/hovercard" href="https://github.com/golang/go/commit/fb880b8a03f33b6a1809d76e7673717875c74606"><tt>fb880b8</tt></a>).</p>
<p dir="auto">It's also still used in cmd/internal/objfile/goobj.go, but that file isn't otherwise used either.</p>
<p dir="auto">I imagine that because of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="134645661" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/14386" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/14386/hovercard" href="https://github.com/golang/go/issues/14386">#14386</a>, we might as well just remove the dead code.</p>
<p dir="auto">/cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rsc/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rsc">@rsc</a></p>