1. 24 Aug, 2009 7 commits
    • Austin Clements's avatar
      Make it only necessary to exit blocks, not scopes. Allow · 9a36b808
      Austin Clements authored
      variables to be given initial values in some cases, to make
      building global scopes more convenient.
      
      R=rsc
      APPROVED=rsc
      DELTA=29  (17 added, 0 deleted, 12 changed)
      OCL=33760
      CL=33766
      9a36b808
    • Russ Cox's avatar
      bug197 · 14be733a
      Russ Cox authored
      R=ken
      OCL=33765
      CL=33765
      14be733a
    • Russ Cox's avatar
      avoid duplicate field names, so that bug132 can be fixed · 9feee91d
      Russ Cox authored
      also fix echo bug that just surfaced in mkerrors.sh
      
      R=r
      DELTA=67  (11 added, 19 deleted, 37 changed)
      OCL=33743
      CL=33757
      9feee91d
    • Russ Cox's avatar
      linker work · 1f177cd8
      Russ Cox authored
        * use //ffi comments in package import data
          to generate relocation entries and library loads.
        * call initffi in rt0.s if present
      
      R=r
      DELTA=117  (91 added, 3 deleted, 23 changed)
      OCL=33739
      CL=33750
      1f177cd8
    • Russ Cox's avatar
      bug189 · ef3e6810
      Russ Cox authored
      R=ken
      OCL=33745
      CL=33745
      ef3e6810
    • Russ Cox's avatar
      half of bug193 · ac9d833c
      Russ Cox authored
      R=ken
      OCL=33730
      CL=33730
      ac9d833c
    • Russ Cox's avatar
      linker work · fd6cdbd8
      Russ Cox authored
        * more elf constants from FreeBSD
        * simple relocation demo
      
      R=r
      DELTA=410  (354 added, 49 deleted, 7 changed)
      OCL=33689
      CL=33729
      fd6cdbd8
  2. 23 Aug, 2009 1 commit
  3. 22 Aug, 2009 9 commits
  4. 21 Aug, 2009 11 commits
    • Kai Backman's avatar
      mostly 64 bit support. · f50e7b15
      Kai Backman authored
      - fixed a number of places where we tried to allocate 64bit
        regs. added honeypot in regalloc to catch these in the future.
      - implemented quad copying in sgen
      - cgen64.c, add, mul
      - clearfat done
      - D_REGREG output from 5g (linker already knew about them)
      - gmove done
      - optoas almost done, last bit probably not needed
      - D_SHIFT support in list.c
      
      R=rsc
      APPROVED=rsc
      DELTA=963  (711 added, 112 deleted, 140 changed)
      OCL=33619
      CL=33688
      f50e7b15
    • Ian Lance Taylor's avatar
      Test composite literals with undeclared types. This crashed · 1f1551f1
      Ian Lance Taylor authored
      gccgo in a few different places, and crashes 6g as of this
      writing.  Note that the index in a composite literal must be
      looked up in a different namespace if the composite literal
      type turns out to be a struct.
      
      R=rsc
      DELTA=36  (36 added, 0 deleted, 0 changed)
      OCL=33681
      CL=33685
      1f1551f1
    • Austin Clements's avatar
      Make stop causes pointers so users outside the package can · 1068bcab
      Austin Clements authored
      type switch on them despite their private fields.  Add some
      tracing stuff.
      
      R=rsc
      APPROVED=rsc
      DELTA=18  (7 added, 0 deleted, 11 changed)
      OCL=33678
      CL=33683
      1068bcab
    • Ian Lance Taylor's avatar
      Enable these tests. Fix divconst.go and modconst.go to · 8bbe748b
      Ian Lance Taylor authored
      compile with the current compiler.  Adjust expected error
      message in method1.go to match 6g output.
      
      R=rsc
      DELTA=9  (2 added, 5 deleted, 2 changed)
      OCL=33674
      CL=33682
      8bbe748b
    • Rob Pike's avatar
      rewrite type rules for expressions and add shift examples · 83cbca56
      Rob Pike authored
      DELTA=48  (22 added, 0 deleted, 26 changed)
      OCL=33657
      CL=33668
      83cbca56
    • Robert Griesemer's avatar
      unexpected shift conversion behavior · cfa52e5e
      Robert Griesemer authored
      R=r
      DELTA=20  (20 added, 0 deleted, 0 changed)
      OCL=33646
      CL=33667
      cfa52e5e
    • Russ Cox's avatar
      linker work · 0e25c1dc
      Russ Cox authored
       * remove now-unused D_SBIG (was for typestrings)
       * rename elf64.[ch] to elf.[ch]
       * pull in elf headers from FreeBSD instead of writing our own
       * emit non-header ELF data in data section
       * stub out a few more ELF sections needed for dynamic loading
      
      R=r
      DELTA=1928  (1237 added, 635 deleted, 56 changed)
      OCL=33642
      CL=33658
      0e25c1dc
    • Robert Griesemer's avatar
      - unifying rules for var decls, short var decls, and assignments · ef45e64a
      Robert Griesemer authored
      DELTA=39  (4 added, 15 deleted, 20 changed)
      OCL=33639
      CL=33649
      ef45e64a
    • Kai Backman's avatar
      fix 386/arm builds · 005509e3
      Kai Backman authored
      R=rsc
      APPROVED=rsc
      DELTA=2  (2 added, 0 deleted, 0 changed)
      OCL=33640
      CL=33645
      005509e3
    • Russ Cox's avatar
      fix build · e107afdd
      Russ Cox authored
      TBR=r
      OCL=33623
      CL=33623
      e107afdd
    • Russ Cox's avatar
      symbol bugs. · 7b29dbb8
      Russ Cox authored
      do not emit unreachable data symbols.
      
      R=austin
      DELTA=103  (71 added, 4 deleted, 28 changed)
      OCL=33325
      CL=33622
      7b29dbb8
  5. 20 Aug, 2009 12 commits
    • Russ Cox's avatar
      FFI step 2: can ask for libc.so.6. · bd4161fc
      Russ Cox authored
      introduced explicit "data" symbol instead of etext
      to mark beginning of data, so that using larger
      alignment (i.e. 4MB like GNU loader) doesn't
      confuse garbage collector.
      
      split dodata into dodata and dobss in preparation
      for putting the dynamic data + headers in the data
      segment instead of stuffed at the beginning of the binary.
      
      R=r
      DELTA=52  (37 added, 3 deleted, 12 changed)
      OCL=33610
      CL=33618
      bd4161fc
    • Russ Cox's avatar
      add #include for time and ctime · 5bd266d1
      Russ Cox authored
      R=r
      DELTA=1  (1 added, 0 deleted, 0 changed)
      OCL=33615
      CL=33617
      5bd266d1
    • Nigel Tao's avatar
      Fix inflate.go's decompressing of a fixed Huffman block that has · b58ecb11
      Nigel Tao authored
      length-distance pairs.
      
      The new test data was generated by "gzip shesells.txt", which is
      presumably what you (rsc) did before, for the other test cases in
      gunzip_test.go.
      
      R=rsc
      APPROVED=rsc
      DELTA=21  (17 added, 2 deleted, 2 changed)
      OCL=33582
      CL=33616
      b58ecb11
    • Rob Pike's avatar
      names · f0ccd407
      Rob Pike authored
      R=rsc
      DELTA=96  (25 added, 5 deleted, 66 changed)
      OCL=33607
      CL=33612
      f0ccd407
    • Russ Cox's avatar
      len and cap on chans · 8a45917f
      Russ Cox authored
      R=ken
      OCL=33599
      CL=33599
      8a45917f
    • Russ Cox's avatar
      introduce meaningful section names, so that · 7c4f7cc7
      Russ Cox authored
      	go_spec.html#Return_statements
      
      can be used to link to spec sections.  passes hlint.
      renamed final section to simply "Implementation differences"
      to shorten the name, but otherwise no non-formatting changes
      
      R=gri
      DELTA=230  (10 added, 0 deleted, 220 changed)
      OCL=33598
      CL=33598
      7c4f7cc7
    • Russ Cox's avatar
      clean up multifile package section. · fe537954
      Russ Cox authored
      remove ASCII digit comment that isn't true.
      
      R=gri
      DELTA=41  (1 added, 25 deleted, 15 changed)
      OCL=33594
      CL=33596
      fe537954
    • Russ Cox's avatar
      simplifications. · 16b95ba6
      Russ Cox authored
      mark multifile section with TODO only
      because that is a bigger change.
      
      R=gri
      DELTA=45  (9 added, 22 deleted, 14 changed)
      OCL=33565
      CL=33593
      16b95ba6
    • Russ Cox's avatar
      naming cleanup. · 52cf67a6
      Russ Cox authored
      gzip.GzipInflater -> gzip.Inflater
      gzip.NewGzipInflater -> gzip.NewInflater
      zlib.NewZlibInflater -> zlib.NewInflater
      
      io.ByteReader deleted in favor of bytes.Buffer
      io.NewByteReader -> bytes.NewBuffer
      
      R=r
      DELTA=52  (3 added, 0 deleted, 49 changed)
      OCL=33589
      CL=33592
      52cf67a6
    • Russ Cox's avatar
      exclude _test from godoc as well as _obj. · 364301ef
      Russ Cox authored
      R=gri
      DELTA=1  (0 added, 0 deleted, 1 changed)
      OCL=33586
      CL=33590
      364301ef
    • Kai Backman's avatar
      more work on adding in pieces. fixed my bad assumptions about · 88118965
      Kai Backman authored
      signed and unsigned integer conversions.
      
      R=rsc
      APPROVED=rsc
      DELTA=398  (40 added, 230 deleted, 128 changed)
      OCL=33546
      CL=33569
      88118965
    • Kai Backman's avatar
      change from using /tmp to local directory · 40b07863
      Kai Backman authored
      R=rsc
      APPROVED=rsc
      DELTA=3  (0 added, 0 deleted, 3 changed)
      OCL=33534
      CL=33567
      40b07863