An error occurred fetching the project authors.
  1. 10 Sep, 2016 1 commit
  2. 09 Sep, 2016 2 commits
  3. 29 Aug, 2016 1 commit
  4. 21 Aug, 2016 1 commit
  5. 19 Aug, 2016 1 commit
  6. 02 May, 2016 1 commit
  7. 07 Apr, 2016 1 commit
    • Matthew Dempsky's avatar
      cmd: add new common architecture representation · c6e11fe0
      Matthew Dempsky authored
      Information about CPU architectures (e.g., name, family, byte
      ordering, pointer and register size) is currently redundantly
      scattered around the source tree. Instead consolidate the basic
      information into a single new package cmd/internal/sys.
      
      Also, introduce new sys.I386, sys.AMD64, etc. names for the constants
      '8', '6', etc. and replace most uses of the latter. The notable
      exceptions are a couple of error messages that still refer to the old
      char-based toolchain names and function reltype in cmd/link.
      
      Passes toolstash/buildall.
      
      Change-Id: I8a6f0cbd49577ec1672a98addebc45f767e36461
      Reviewed-on: https://go-review.googlesource.com/21623Reviewed-by: default avatarMichael Hudson-Doyle <michael.hudson@canonical.com>
      Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      Run-TryBot: Matthew Dempsky <mdempsky@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      c6e11fe0
  8. 31 Mar, 2016 1 commit
    • Matthew Dempsky's avatar
      cmd/link: remove -H elf flag · 71ab3c1c
      Matthew Dempsky authored
      We create appropriate ELF files automatically based on GOOS. There's
      no point in supporting -H elf flag, particularly since we need to emit
      different flavors of ELF depending on GOOS anyway.
      
      If that weren't reason enough, -H elf appears to be broken since at
      least Go 1.4. At least I wasn't able to find a way to make use of it.
      
      As best I can tell digging through commit history, -H elf is just an
      artifact leftover from Plan 9's 6l linker.
      
      Change-Id: I7393caaadbc60107bbd6bc99b976a4f4fe6b5451
      Reviewed-on: https://go-review.googlesource.com/21343
      Run-TryBot: Matthew Dempsky <mdempsky@google.com>
      Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      71ab3c1c
  9. 28 Mar, 2016 1 commit
  10. 21 Mar, 2016 2 commits
  11. 17 Mar, 2016 1 commit
    • Michael Hudson-Doyle's avatar
      cmd/link: do not add duplicate symbols to Allsym · 956e9e6c
      Michael Hudson-Doyle authored
      When building shared libraries, all symbols on Allsym are marked reachable.
      What I didn't realize was that this includes the ".dup" symbols created when
      "dupok" symbols are read from multiple package files. This breaks now because
      deadcode makes some assumptions that fail for these ".dup" symbols, but in any
      case was a bad idea -- I suspect this change makes libstd.so a bunch smaller,
      but creating it was broken before this CL so I can't be sure.
      
      This change simply stops adding these symbols to Allsym, which might make some
      of the many iterations over Allsym the linker does a touch quicker, although
      that's not the motivation here.
      
      Add a test that no symbols called ".dup" makes it into the runtime shared
      library.
      
      Fixes #14841
      
      Change-Id: I65dd6e88d150a770db2d01b75cfe5db5fd4f8d25
      Reviewed-on: https://go-review.googlesource.com/20780
      Run-TryBot: Michael Hudson-Doyle <michael.hudson@canonical.com>
      Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      956e9e6c
  12. 12 Mar, 2016 1 commit
  13. 02 Mar, 2016 1 commit
  14. 29 Feb, 2016 2 commits
  15. 18 Feb, 2016 1 commit
  16. 11 Nov, 2015 1 commit
  17. 28 Oct, 2015 1 commit
    • Hyang-Ah Hana Kim's avatar
      runtime, cmd: TLS setup for android/amd64. · dfc86498
      Hyang-Ah Hana Kim authored
      Android linker does not handle TLS for us. We set up the TLS slot
      for g, as darwin/386,amd64 handle instead. This is disgusting and
      fragile. We will eventually fix this ugly hack by taking advantage
      of the recent TLS IE model implementation. (Instead of referencing
      an GOT entry, make the code sequence look into the TLS variable that
      holds the offset.)
      
      The TLS slot for g in android/amd64 assumes a fixed offset from %fs.
      See runtime/cgo/gcc_android_amd64.c for details.
      
      For golang/go#10743
      
      Change-Id: I1a3fc207946c665515f79026a56ea19134ede2dd
      Reviewed-on: https://go-review.googlesource.com/15991Reviewed-by: default avatarDavid Crawshaw <crawshaw@golang.org>
      dfc86498
  18. 08 Sep, 2015 1 commit
  19. 01 Sep, 2015 1 commit
  20. 21 May, 2015 1 commit
  21. 20 Apr, 2015 2 commits
  22. 16 Apr, 2015 1 commit
  23. 01 Apr, 2015 1 commit
  24. 14 Mar, 2015 1 commit
  25. 05 Mar, 2015 1 commit
  26. 02 Mar, 2015 1 commit
    • Russ Cox's avatar
      cmd/5g etc: mechanical cleanup · 79f727a7
      Russ Cox authored
      Run rsc.io/grind rev a26569f on C->Go conversions.
      
      The new change in grind is the inlining of goto targets.
      If code says 'goto x' and the block starting at label x is unreachable
      except through that goto and the code can be moved to where
      the goto is without changing the meaning of its variable names,
      grind does that move. Simlarly, a goto to a plain return statement
      turns into that return statement (even if there are other paths to
      the return statement).
      
      Combined, these remove many long-distance gotos, which in turn
      makes it possible to reduce the scope of more variable declarations.
      (Because gotos can't jump across declarations, the gotos were
      keeping the declarations from moving.)
      
      Checked bit-for-bit compatibility with toolstash + buildall.
      
      Reduces compiler runtime in html/template by about 12%.
      
      Change-Id: Id727c0bd7763a61aa22f3daa00aeb8fccbc057a3
      Reviewed-on: https://go-review.googlesource.com/6472Reviewed-by: default avatarAram Hăvărneanu <aram@mgk.ro>
      Reviewed-by: default avatarDmitry Vyukov <dvyukov@google.com>
      79f727a7
  27. 01 Mar, 2015 1 commit
  28. 23 Feb, 2015 2 commits
  29. 20 Feb, 2015 1 commit
  30. 17 Feb, 2015 1 commit
  31. 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
  32. 21 Jan, 2015 2 commits