1. 26 Aug, 2009 6 commits
  2. 25 Aug, 2009 8 commits
  3. 24 Aug, 2009 13 commits
    • Russ Cox's avatar
      first attempt at real FFI support. · 8c253bca
      Russ Cox authored
      in a .6 file, an export line
      
      	//ffi T localfib remotefib remote.so
      
      means the dynamic linker should initialize
      localfib, always a pointer, to the address of
      remotefib, either text (T) or data (D) after
      loading remote.so.
      
      the C compiler will generate an export section
      when given the pragmas
      
      	#pragma package fib
      	#pragma ffi T localfib remotefib remote.so
      
      needing #pragma package is a bit of a kludge
      and hopefully could go away later.
      
      this is just the 6 tool chain support.
      other architectures will happen once 6 settles down.
      
      code using this to do FFI is in a later CL.
      
      R=r
      DELTA=161  (141 added, 14 deleted, 6 changed)
      OCL=33783
      CL=33795
      8c253bca
    • Rob Pike's avatar
      fix duplicated word · 0262f883
      Rob Pike authored
      R=rsc
      DELTA=1  (0 added, 0 deleted, 1 changed)
      OCL=33788
      CL=33791
      0262f883
    • Ian Lance Taylor's avatar
      Match gccgo error messages. · 92ac4bff
      Ian Lance Taylor authored
      bug192.go:11:5: error: redefinition of ‘fmt’
      bug192.go:9:8: note: previous definition of ‘fmt’ was here
      
      R=r
      DELTA=2  (0 added, 0 deleted, 2 changed)
      OCL=33780
      CL=33790
      92ac4bff
    • Robert Griesemer's avatar
      - fix for multiple fields at same depth error · c36fbdf7
      Robert Griesemer authored
      R=rsc
      DELTA=9  (5 added, 0 deleted, 4 changed)
      OCL=33768
      CL=33785
      c36fbdf7
    • Russ Cox's avatar
      gc: handle iface == nil in back end · 89f69bb3
      Russ Cox authored
      R=ken
      OCL=33778
      CL=33781
      89f69bb3
    • Kai Backman's avatar
      64bit literal RSH · c6fd23ce
      Kai Backman authored
      R=rsc
      APPROVED=rsc
      DELTA=85  (35 added, 0 deleted, 50 changed)
      OCL=33761
      CL=33767
      c6fd23ce
    • 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
  4. 23 Aug, 2009 1 commit
  5. 22 Aug, 2009 9 commits
  6. 21 Aug, 2009 3 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