• Dave Cheney's avatar
    cmd/link/internal/ld: remove C style gotos from ldelf · d728be70
    Dave Cheney authored
    ld.ldelf contained a mixture of normal and C style, goto bad, error
    handling. The use of goto requires many variables to be declared well
    before their use which inhibited further refactoring to this method.
    
    This CL removes the gotos in this function. Future CLs will address
    remainder of the C style function scoped declarations in this function.
    
    Change-Id: Ib9def495209a2f8deb11dcf30ee954bca95390c6
    Reviewed-on: https://go-review.googlesource.com/41172
    Run-TryBot: Dave Cheney <dave@cheney.net>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    d728be70
Name
Last commit
Last update
..
internal Loading commit data...
doc.go Loading commit data...
dwarf_test.go Loading commit data...
link_test.go Loading commit data...
linkbig_test.go Loading commit data...
main.go Loading commit data...