• 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
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...