• 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
..
amd64 Loading commit data...
arm Loading commit data...
arm64 Loading commit data...
ld Loading commit data...
mips Loading commit data...
mips64 Loading commit data...
ppc64 Loading commit data...
s390x Loading commit data...
x86 Loading commit data...