1. 22 Sep, 2009 8 commits
  2. 21 Sep, 2009 8 commits
  3. 19 Sep, 2009 7 commits
  4. 18 Sep, 2009 17 commits
    • Kai Backman's avatar
      changed 5c calling convention to use stack exclusively for in · 46e392e0
      Kai Backman authored
      params. a number of fixes to assembly routines that assumed R0
      had the first arg. one stack offset fix, arm pushes the link
      register on stack top.
      
      go/test: passes 65% (235/364) tests
      
      R=rsc
      APPROVED=rsc
      DELTA=20  (11 added, 0 deleted, 9 changed)
      OCL=34809
      CL=34812
      46e392e0
    • Russ Cox's avatar
      fix build again; this time for sure. sigh · 2e5a5887
      Russ Cox authored
      TBR=r
      OCL=34803
      CL=34803
      2e5a5887
    • Kai Backman's avatar
      fix 5g -S and -g output · 2c7ec3d8
      Kai Backman authored
      R=rsc
      APPROVED=rsc
      DELTA=115  (93 added, 14 deleted, 8 changed)
      OCL=34798
      CL=34802
      2c7ec3d8
    • Kai Backman's avatar
      revert setting of name from type. already set correctly. · 020dbcd4
      Kai Backman authored
      R=rsc
      APPROVED=rsc
      DELTA=1  (0 added, 1 deleted, 0 changed)
      OCL=34799
      CL=34801
      020dbcd4
    • Russ Cox's avatar
      fix build - missing file · 99f54911
      Russ Cox authored
      TBR=r
      OCL=34800
      CL=34800
      99f54911
    • Robert Griesemer's avatar
      - added heading to operator precedence section so it's easy to find · d36d191e
      Robert Griesemer authored
      - fixed broken link to function literals section
      - minor adjustments
      
      R=r
      DELTA=20  (1 added, 3 deleted, 16 changed)
      OCL=34792
      CL=34794
      d36d191e
    • Russ Cox's avatar
      cgo: can look up C identifier kind (type or value) and type · 6a2602de
      Russ Cox authored
      gmp.go:197:4:  type mpz_t          C type  mpz_t
      gmp.go:205:2:  call mpz_init       C value func(mpz_ptr) void
      gmp.go:206:2:  call mpz_set        C value func(mpz_ptr, mpz_srcptr) void
      gmp.go:221:2:  call mpz_init       C value func(mpz_ptr) void
      gmp.go:227:7:  call size_t         C type  size_t
      gmp.go:228:2:  call mpz_export     C value func(*void, *size_t, int, size_t, int, size_t, mpz_srcptr) *void
      gmp.go:235:13: call mpz_sizeinbase C value func(mpz_srcptr, int) size_t
      gmp.go:241:2:  call mpz_set        C value func(mpz_ptr, mpz_srcptr) void
      gmp.go:252:3:  call mpz_import     C value func(mpz_ptr, size_t, int, size_t, int, size_t, *const void) void
      gmp.go:261:2:  call mpz_set_si     C value func(mpz_ptr, long int) void
      gmp.go:273:5:  call mpz_set_str    C value func(mpz_ptr, *const char, int) int
      gmp.go:282:9:  call mpz_get_str    C value func(*char, int, mpz_srcptr) *char
      gmp.go:287:3:  call mpz_clear      C value func(mpz_ptr) void
      gmp.go:302:2:  call mpz_add        C value func(mpz_ptr, mpz_srcptr, mpz_srcptr) void
      gmp.go:311:2:  call mpz_sub        C value func(mpz_ptr, mpz_srcptr, mpz_srcptr) void
      gmp.go:320:2:  call mpz_mul        C value func(mpz_ptr, mpz_srcptr, mpz_srcptr) void
      gmp.go:329:2:  call mpz_tdiv_q     C value func(mpz_ptr, mpz_srcptr, mpz_srcptr) void
      gmp.go:339:2:  call mpz_tdiv_r     C value func(mpz_ptr, mpz_srcptr, mpz_srcptr) void
      gmp.go:348:2:  call mpz_mul_2exp   C value func(mpz_ptr, mpz_srcptr, long unsigned int) void
      gmp.go:356:2:  call mpz_div_2exp   C value func(mpz_ptr, mpz_srcptr, long unsigned int) void
      gmp.go:367:3:  call mpz_pow_ui     C value func(mpz_ptr, mpz_srcptr, long unsigned int) void
      gmp.go:369:3:  call mpz_powm       C value func(mpz_ptr, mpz_srcptr, mpz_srcptr, mpz_srcptr) void
      gmp.go:378:2:  call mpz_neg        C value func(mpz_ptr, mpz_srcptr) void
      gmp.go:386:2:  call mpz_abs        C value func(mpz_ptr, mpz_srcptr) void
      gmp.go:404:9:  call mpz_cmp        C value func(mpz_srcptr, mpz_srcptr) int
      gmp.go:413:2:  call mpz_tdiv_qr    C value func(mpz_ptr, mpz_ptr, mpz_srcptr, mpz_srcptr) void
      gmp.go:426:2:  call mpz_gcdext     C value func(mpz_ptr, mpz_ptr, mpz_ptr, mpz_srcptr, mpz_srcptr) void
      
      R=r
      DELTA=938  (628 added, 308 deleted, 2 changed)
      OCL=34733
      CL=34791
      6a2602de
    • Russ Cox's avatar
      add DWARF method to elf.File. · 92f773dc
      Russ Cox authored
      test both ELF and Mach-O in dwarf package.
      
      R=r
      DELTA=83  (44 added, 10 deleted, 29 changed)
      OCL=34717
      CL=34790
      92f773dc
    • Russ Cox's avatar
      Mach-O file reading · bf690258
      Russ Cox authored
      R=r
      DELTA=784  (784 added, 0 deleted, 0 changed)
      OCL=34715
      CL=34788
      bf690258
    • Austin Clements's avatar
      Rudimentary command shell for Ogle. Hack to prevent linker · ad9c6f77
      Austin Clements authored
      from inlining newprocreadylocked.  Fix type bridge's handling
      of basic types.  Include interpreter's Thread in bridged
      native function calls.
      
      ; load . "6.out"
      Started 6.out
      ; BpSet("main·merge")
      ; ContWait()
      breakpoint at 0x400800
      =>   400800 main·merge /home/austin/src-go1/usr/austin/ptrace/test/sort.go:19
      ; bt
      =>   400800 main·merge /home/austin/src-go1/usr/austin/ptrace/test/sort.go:19
           400b6a main·mergeSort+0x1be /home/austin/src-go1/usr/austin/ptrace/test/sort.go:34
           448313 goexit /home/austin/src-go1/src/pkg/runtime/proc.c:133
      ; main.merge.a
      {1}
      
      ; load . "pid:25753"
      Attached to 25753
      ; bt
      =>   479ddf syscall·Syscall+0x24 /home/austin/src-go1/src/pkg/syscall/asm_linux_amd64.s:24
           47c011 syscall·Read+0x5d /home/austin/src-go1/src/pkg/syscall/zsyscall_linux_amd64.go:368
           4119e5 os·*File·Read+0x5f /home/austin/src-go1/src/pkg/os/file.go:122
           427bf3 bufio·*Reader·fill+0x116 /home/austin/src-go1/src/pkg/bufio/bufio.go:105
           428361 bufio·*Reader·ReadSlice+0x195 /home/austin/src-go1/src/pkg/bufio/bufio.go:244
           40204a ogle·Main+0x94 /home/austin/src-go1/usr/austin/ogle/cmd.go:226
           40080f main·main+0xf /home/austin/src-go1/usr/austin/ogle/main.go:6
           41c4b8 mainstart+0xf /home/austin/src-go1/src/pkg/runtime/amd64/asm.s:55
           41531f goexit /home/austin/src-go1/src/pkg/runtime/proc.c:133
      
      R=rsc
      APPROVED=rsc
      DELTA=433  (420 added, 2 deleted, 11 changed)
      OCL=34410
      CL=34782
      ad9c6f77
    • Austin Clements's avatar
      Implement remote variables · 20583b58
      Austin Clements authored
      R=rsc
      APPROVED=rsc
      DELTA=282  (281 added, 0 deleted, 1 changed)
      OCL=34407
      CL=34781
      20583b58
    • Rob Pike's avatar
      use buf.String() instead of string(buf.Bytes()) · 7be77007
      Rob Pike authored
      use strings.Buffer instead of bytes.Buffer in some places
      
      R=rsc
      DELTA=40  (0 added, 3 deleted, 37 changed)
      OCL=34770
      CL=34775
      7be77007
    • Kai Backman's avatar
      fixing width bug in DATA output. some logging to make fixing · a0a965fb
      Kai Backman authored
      similar issues easier in the future.
      
      R=rsc
      APPROVED=rsc
      DELTA=6  (1 added, 0 deleted, 5 changed)
      OCL=34771
      CL=34773
      a0a965fb
    • Kai Backman's avatar
      fix code generation of CMP to use registers properly. also fix · 6b0bd43f
      Kai Backman authored
      one case of uninitialized memory and some output.
      
      R=rsc
      APPROVED=rsc
      DELTA=73  (43 added, 1 deleted, 29 changed)
      OCL=34743
      CL=34772
      6b0bd43f
    • Kai Backman's avatar
      floating point constants and symbol export fix. · 803a73c4
      Kai Backman authored
      R=rsc
      APPROVED=rsc
      DELTA=16  (0 added, 1 deleted, 15 changed)
      OCL=34753
      CL=34769
      803a73c4
    • Russ Cox's avatar
      move static init code from 6g into gc. · cb49a999
      Russ Cox authored
      hook up to 8g and 5g too.
      
      R=ken
      OCL=34768
      CL=34768
      cb49a999
    • Rob Pike's avatar
      check in the generated html for the tutorial so godoc can serve it · 44b0f591
      Rob Pike authored
      DELTA=1444  (1444 added, 0 deleted, 0 changed)
      OCL=34760
      CL=34762
      44b0f591