• Russ Cox's avatar
    cmd/ld: move instruction selection + layout into compilers, assemblers · a9f6db58
    Russ Cox authored
    - new object file reader/writer (liblink/objfile.c)
    - remove old object file writing routines
    - add pcdata iterator
    - remove all trace of "line number stack" and "path fragments" from
      object files, linker (!!!)
    - dwarf now writes a single "compilation unit" instead of one per package
    
    This CL disables the check for chains of no-split functions that
    could overflow the stack red zone. A future CL will attack the problem
    of reenabling that check (issue 6931).
    
    This CL is just the liblink and cmd/ld changes.
    There are minor associated adjustments in CL 37030045.
    Each depends on the other.
    
    R=golang-dev, dave, iant
    CC=golang-dev
    https://golang.org/cl/39680043
    a9f6db58
asm6.c 74.6 KB