1. 09 Feb, 2015 1 commit
    • Rob Pike's avatar
      [dev.cc] cmd/asm: rewrite to work with new obj API · cb19a201
      Rob Pike authored
      Considerable rewriting of the parser and assembler (code generator)
      but it's simpler and shorter now. The internal Addr type is gone; so
      is the package that held it. Parsing of operands goes directly into
      obj.Addrs now.
      
      There is a horrible hack regarding register pairs. It uses the Class
      field to store the second register since it needs _some_ place to
      put it but none is provided in the API. An alternative would be nice
      but this works for now.
      
      Once again creates identical .6 and .8 files as the old assembler.
      
      Change-Id: I8207d6dfdfdb5bbed0bd870cb34ee0fe61c2fbfd
      Reviewed-on: https://go-review.googlesource.com/4062Reviewed-by: default avatarRuss Cox <rsc@golang.org>
      cb19a201
  2. 05 Feb, 2015 1 commit
    • Russ Cox's avatar
      [dev.cc] cmd/internal/obj: reconvert from liblink · 1fc330d8
      Russ Cox authored
      cmd/internal/obj reconverted using rsc.io/c2go rev 2a95256.
      
      - Brings in new, more regular Prog, Addr definitions
      
      - Add Prog* argument to oclass in liblink/asm[68].c, for c2go conversion.
      - Update objwriter for change in TEXT size encoding.
      - Merge 5a, 6a, 8a, 9a changes into new5a, new6a, new8a, new9a (by hand).
      
      - Add +build ignore to cmd/asm/internal/{addr,arch,asm}, cmd/asm.
        They need to be updated for the changes.
      
      - Reenable verifyAsm in cmd/go.
      - Reenable GOOBJ=2 mode by default in liblink.
      
      All architectures build successfully again.
      
      Change-Id: I2c845c5d365aa484b570476898171bee657b626d
      Reviewed-on: https://go-review.googlesource.com/3963Reviewed-by: default avatarRob Pike <r@golang.org>
      1fc330d8
  3. 04 Feb, 2015 22 commits
  4. 03 Feb, 2015 16 commits