1. 09 Mar, 2013 2 commits
    • Russ Cox's avatar
      cmd/ld: external linking fixes for linux/386 · cd94caba
      Russ Cox authored
      The sticking point on 386 has been the "PC relative" relocations
      used to point the garbage collection metadata at the type info.
      These aren't in the code segment, and I don't trust that the linker
      isn't doing something special that would be okay in code but
      not when interpreting the pointers as data (for example, a PLT
      jump table would be terrible).
      
      Solve the problem in two steps:
      
      1. Handle "PC relative" relocations within a section internally,
      so that the external linker never sees them.
      
      2. Move the gcdata and gcbss tables into the rodata section,
      where the type information lives, so that the relocations can
      be handled internally.
      
      (To answer the obvious question, we make the gc->type
      references relative so that they need not be relocated
      individually when generating a shared object file.)
      
      R=golang-dev, iant
      CC=golang-dev
      https://golang.org/cl/7629043
      cd94caba
    • Rob Pike's avatar
      text/template: revert minor change to Name method · 0406c63e
      Rob Pike authored
      For  better printing, I recently changed Name to return "<unnamed>" for templates
      with empty names, but this causes trouble for the many packages that used "" as
      the template name, so restore the old behavior.
      It's usually printed as a quoted string anyway, so it should be fine.
      
      R=golang-dev, dsymonds
      CC=golang-dev
      https://golang.org/cl/7577044
      0406c63e
  2. 08 Mar, 2013 11 commits
  3. 07 Mar, 2013 19 commits
  4. 06 Mar, 2013 8 commits