• Jim McGrath's avatar
    6l: work with OS X nm/otool · 8a1b2e59
    Jim McGrath authored
    6l was skipping emitting the (2 byte) symbol table if there were no imported or exported
    symbols. You can't just drop the symbol table entirely - the linker dies if you have
    a linkedit section but no table. You can omit the linkedit section or both the linkedit
    and the dlyd parts in the right circumstances, but that seems much more risky to me.
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/2421042
    8a1b2e59
macho.c 13 KB