summaryrefslogtreecommitdiff
path: root/src/cmd/5g/gobj.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+623
2011-09-13Imported Upstream version 60Ondřej Surý1-623/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-0/+4
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-143/+43
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-3/+3
2010-06-20gc: better error messages for interface failures, conversionsRuss Cox1-1/+1
x.go:13: cannot use t (type T) as type Reader in assignment: T does not implement Reader (Read method requires pointer receiver) x.go:19: cannot use q (type Q) as type Reader in assignment: Q does not implement Reader (missing Read method) have read() want Read() x.go:22: cannot use z (type int) as type Reader in assignment: int does not implement Reader (missing Read method) x.go:24: too many arguments to conversion to complex: complex(1, 3) R=ken2 CC=golang-dev http://codereview.appspot.com/1736041
2010-03-23arm: fix buildDean Prichard1-2/+2
R=kaib, rsc CC=golang-dev http://codereview.appspot.com/627045 Committer: Russ Cox <rsc@golang.org>
2010-03-20issue 682Ken Thompson1-0/+21
complex DATA statement fo initialization of complex variables. R=rsc CC=golang-dev http://codereview.appspot.com/634045
2010-01-22eliminate the package global name space assumption in object filesRuss Cox1-2/+2
5g/6g/8g: add import statements to export metadata, mapping package path to package name. recognize "" as the path of the package in export metadata. use "" as the path of the package in object symbol names. 5c/6c/8c, 5a/6a/8a: rewrite leading . to "". so that ·Sin means Sin in this package. 5l/6l/8l: rewrite "" in symbol names as object files are read. gotest: handle new symbol names. gopack: handle new import lines in export metadata. Collectively, these changes eliminate the assumption of a global name space in the object file formats. Higher level pieces such as reflect and the computation of type hashes still depend on the assumption; we're not done yet. R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/186263 Committer: Russ Cox <rsc@golang.org>
2010-01-19cleanup toward eliminating package global name spaceRuss Cox1-8/+1
* switch to real dot (.) instead of center dot (·) everywhere in object files. before it was half and half depending on where in the name it appeared. * in 6c/6a/etc identifiers, · can still be used but turns into . immediately. * in export metadata, replace package identifiers with quoted strings (still package names, not paths). R=ken2, r CC=golang-dev http://codereview.appspot.com/190076
2009-09-18changed 5c calling convention to use stack exclusively for inKai Backman1-0/+4
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
2009-09-18revert setting of name from type. already set correctly.Kai Backman1-1/+0
R=rsc APPROVED=rsc DELTA=1 (0 added, 1 deleted, 0 changed) OCL=34799 CL=34801
2009-09-17fixing width bug in DATA output. some logging to make fixingKai Backman1-3/+4
similar issues easier in the future. R=rsc APPROVED=rsc DELTA=6 (1 added, 0 deleted, 5 changed) OCL=34771 CL=34773
2009-09-17floating point constants and symbol export fix.Kai Backman1-16/+15
R=rsc APPROVED=rsc DELTA=16 (0 added, 1 deleted, 15 changed) OCL=34753 CL=34769
2009-09-17move static init code from 6g into gc.Russ Cox1-0/+38
hook up to 8g and 5g too. R=ken OCL=34768 CL=34768
2009-09-15patch in proper branch address in zaddr outputKai Backman1-1/+11
R=rsc APPROVED=rsc DELTA=12 (11 added, 1 deleted, 0 changed) OCL=34658 CL=34664
2009-08-21mostly 64 bit support.Kai Backman1-0/+4
- 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
2009-08-19more work on adding in pieces. fixed my bad assumptions aboutKai Backman1-4/+4
signed and unsigned integer conversions. R=rsc APPROVED=rsc DELTA=398 (40 added, 230 deleted, 128 changed) OCL=33546 CL=33569
2009-08-19genembedtramp for armKai Backman1-104/+71
R=rsc APPROVED=rsc DELTA=104 (0 added, 33 deleted, 71 changed) OCL=33531 CL=33535
2009-08-18slashed warningsKai Backman1-13/+14
R=rsc APPROVED=rsc DELTA=35 (2 added, 1 deleted, 32 changed) OCL=33436 CL=33453
2009-08-18fix runtime and compile regressionKai Backman1-4/+4
R=rsc APPROVED=rsc DELTA=6 (0 added, 0 deleted, 6 changed) OCL=33434 CL=33452
2009-07-13added missing pieces required by reflectionKai Backman1-18/+40
R=rsc APPROVED=rsc DELTA=61 (40 added, 18 deleted, 3 changed) OCL=31502 CL=31580
2009-07-06cleaned up data generation in 5g, reverted 5l handling of D_ADDR.Kai Backman1-13/+12
R=rsc APPROVED=rsc DELTA=46 (0 added, 5 deleted, 41 changed) OCL=31241 CL=31243
2009-07-06agen, sgen, cgen_callret, cgen_asop, D_ADDR handling, gmoveKai Backman1-36/+36
8bit and 16bit, some optoas, replaced Addr.index with Addr.name empty function compiles, mutex compiles R=rsc APPROVED=rsc DELTA=908 (83 added, 41 deleted, 784 changed) OCL=31127 CL=31188
2009-06-26more changes to make 5g code generation arm compatible.Kai Backman1-5/+5
R=rsc APPROVED=rsc DELTA=72 (12 added, 52 deleted, 8 changed) OCL=30748 CL=30793
2009-06-25fixes to 5g object file generation. arm specific regalloc.Kai Backman1-32/+51
R=rsc APPROVED=rsc DELTA=976 (164 added, 237 deleted, 575 changed) OCL=30705 CL=30743
2009-06-09make 5g use 1 byte per binary asm statement.Kai Backman1-4/+0
R=rsc APPROVED=rsc DELTA=4 (0 added, 4 deleted, 0 changed) OCL=30110 CL=30112
2009-05-28Rebooted 5g effort from 6g. Tons of minor fixes and tweaks toKai Backman1-0/+646
get the code going. R=rsc APPROVED=rsc DELTA=4752 (1723 added, 948 deleted, 2081 changed) OCL=29403 CL=29530