• 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
..
ar.go Loading commit data...
config.go Loading commit data...
data.go Loading commit data...
deadcode.go Loading commit data...
decodesym.go Loading commit data...
dwarf.go Loading commit data...
dwarf_test.go Loading commit data...
elf.go Loading commit data...
go.go Loading commit data...
ld.go Loading commit data...
ldelf.go Loading commit data...
ldmacho.go Loading commit data...
ldpe.go Loading commit data...
lib.go Loading commit data...
link.go Loading commit data...
macho.go Loading commit data...
macho_combine_dwarf.go Loading commit data...
main.go Loading commit data...
objfile.go Loading commit data...
pcln.go Loading commit data...
pe.go Loading commit data...
sym.go Loading commit data...
symbols.go Loading commit data...
symtab.go Loading commit data...
typelink.go Loading commit data...
util.go Loading commit data...