1. 06 Jan, 2013 2 commits
    • Russ Cox's avatar
      cmd/5l, cmd/6l, cmd/8l, cmd/cc, cmd/gc: new flag parsing · cbbc6a10
      Russ Cox authored
      This CL adds a flag parser that matches the semantics of Go's
      package flag. It also changes the linkers and compilers to use
      the new flag parser.
      
      Command lines that used to work, like
              8c -FVw
              6c -Dfoo
              5g -I/foo/bar
      now need to be split into separate arguments:
              8c -F -V -w
              6c -D foo
              5g -I /foo/bar
      The new spacing will work with both old and new tools.
      
      The new parser also allows = for arguments, as in
              6c -D=foo
              5g -I=/foo/bar
      but that syntax will not work with the old tools.
      
      In addition to matching standard Go binary flag parsing,
      the new flag parser generates more detailed usage messages
      and opens the door to long flag names.
      
      The recently added gc flag -= has been renamed -complete.
      
      R=remyoudompheng, daniel.morsing, minux.ma, iant
      CC=golang-dev
      https://golang.org/cl/7035043
      cbbc6a10
    • Russ Cox's avatar
      cmd/ld: move symtab, ELF generation to portable code · d37c572a
      Russ Cox authored
      More cleanup in preparation for fixing issue 4069.
      
      This CL replaces the three nearly identical copies of the
      asmb ELF code with a single asmbelf function in elf.c.
      
      In addition to the ELF code movement, remove the elfstr
      array in favor of a simpler lookup, and identify sections by
      name throughout instead of computing fragile indices.
      
      The CL also replaces the three nearly identical copies of the
      genasmsym code with a single genasmsym function in lib.c.
      
      The ARM linker still compiles and generates binaries,
      but I haven't tested the binaries. They may not work.
      
      R=ken2
      CC=golang-dev
      https://golang.org/cl/7062047
      d37c572a
  2. 05 Jan, 2013 1 commit
  3. 04 Jan, 2013 7 commits
  4. 03 Jan, 2013 5 commits
  5. 02 Jan, 2013 18 commits
  6. 01 Jan, 2013 2 commits
  7. 30 Dec, 2012 3 commits
  8. 29 Dec, 2012 2 commits