• Russ Cox's avatar
    cmd/link: implement and test automatic symbols · 7cecac3c
    Russ Cox authored
    Related changes included in this CL:
    
     - Add explicit start symbol to Prog.
     - Add omitRuntime bool to Prog.
     - Introduce p.Packages[""] to hold automatic symbols
     - Add SymOrder to Prog to preserve symbol order.
     - Add layout test (and fix bug that was putting everything in text section).
    
    R=iant
    CC=golang-codereviews
    https://golang.org/cl/51260045
    7cecac3c
auto_test.go 1.92 KB