An error occurred fetching the project authors.
  1. 22 Dec, 2013 1 commit
  2. 04 Sep, 2013 1 commit
  3. 25 Mar, 2013 1 commit
    • Russ Cox's avatar
      runtime: pass setmg function to cgo_init · 6a70f9d0
      Russ Cox authored
      This keeps the logic about how to set the thread-local variables
      m and g in code compiled and linked by the gc toolchain,
      an important property for upcoming cgo changes.
      
      It's also just a nice cleanup: one less place to update when
      these details change.
      
      R=golang-dev, r
      CC=golang-dev
      https://golang.org/cl/7560048
      6a70f9d0
  4. 28 Feb, 2013 2 commits
    • Russ Cox's avatar
      runtime/cgo: move common symbol overrides into 6c-compiled code · 5bffa3b8
      Russ Cox authored
      There are some function pointers declared by 6c in
      package runtime without initialization and then also
      declared in package runtime/cgo with initialization,
      so that if runtime/cgo is linked in, the function pointers
      are non-nil, and otherwise they are nil. We depend on
      this property for implementing non-essential cgo hooks
      in package runtime.
      
      The declarations in package runtime are 6c-compiled
      and end up in .6 files. The declarations in package runtime/cgo
      are gcc-compiled and end up in .o files. Since 6l links the .6
      and .o files together, this all works.
      
      However, when we switch to "external linking" mode,
      6l will not see the .o files, and it would be up to the host linker
      to resolve the two into a single initialized symbol.
      Not all host linkers will do this (in particular OS X gcc will not).
      
      To fix this, move the cgo declarations into 6c-compiled code,
      so that they end up in .6 files, so that 6l gets them no matter what.
      
      R=golang-dev
      CC=golang-dev
      https://golang.org/cl/7440045
      5bffa3b8
    • Russ Cox's avatar
      runtime/cgo: make symbol naming consistent · f8d49b50
      Russ Cox authored
      The naming in this package is a disaster.
      Make it all consistent.
      
      Remove some 'static' from functions that will
      be referred to from other files soon.
      
      This CL is purely renames using global search and replace.
      
      Submitting separately so that real changes will not
      be drowned out by these renames in future CLs.
      
      TBR=iant
      CC=golang-dev
      https://golang.org/cl/7416046
      f8d49b50
  5. 15 Nov, 2012 1 commit
  6. 22 Feb, 2012 1 commit
  7. 20 Dec, 2011 1 commit
  8. 09 Nov, 2011 1 commit
  9. 28 Jun, 2011 1 commit
  10. 15 Dec, 2010 1 commit
  11. 08 Dec, 2010 2 commits
  12. 19 Nov, 2009 1 commit
  13. 18 Nov, 2009 1 commit
  14. 03 Oct, 2009 1 commit
    • Russ Cox's avatar
      8c, 8l dynamic loading support. · 133a158b
      Russ Cox authored
      better mach binaries.
      cgo working on darwin+linux amd64+386.
      eliminated context switches - pi is 30x faster.
      add libcgo to build.
      
      on snow leopard:
        - non-cgo binaries work; all tests pass.
        - cgo binaries work on amd64 but not 386.
      
      R=r
      DELTA=2031  (1316 added, 626 deleted, 89 changed)
      OCL=35264
      CL=35304
      133a158b