summaryrefslogtreecommitdiff
path: root/src/cmd/cc/lexbody
AgeCommit message (Collapse)AuthorFilesLines
2014-06-19Imported Upstream version 1.3upstream/1.3Michael Stapelberg1-71/+5
2013-12-03Imported Upstream version 1.2upstream/1.2Michael Stapelberg1-7/+7
2013-05-14Imported Upstream version 1.1upstream/1.1Michael Stapelberg1-1/+1
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg1-9/+8
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý1-0/+7
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+769
2011-09-13Imported Upstream version 60Ondřej Surý1-769/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-3/+3
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-29/+14
2010-03-23Add support for #pragma dynexport.Ian Lance Taylor1-0/+7
R=rsc CC=golang-dev http://codereview.appspot.com/661043
2010-03-22Rename dynld to dynimport throughout.Ian Lance Taylor1-1/+1
Cgo users will need to rerun cgo. R=rsc CC=golang-dev http://codereview.appspot.com/692041
2010-02-055a/6a/8a/5c/6c/8c: remove fixed-size arrays for -I and -D optionsDean Prichard1-5/+4
R=rsc CC=golang-dev http://codereview.appspot.com/198044 Committer: Russ Cox <rsc@golang.org>
2010-01-28avoid overflow of symb buffer in 5a/6a/8a/5c/6c/8cDean Prichard1-2/+18
R=rsc CC=golang-dev http://codereview.appspot.com/194099 Committer: Russ Cox <rsc@golang.org>
2010-01-25cc: correct handling of leading ·Russ Cox1-6/+7
R=ken2 CC=golang-dev http://codereview.appspot.com/193081 Committer: Russ Cox <rsc@golang.org>
2010-01-22eliminate the package global name space assumption in object filesRuss Cox1-1/+7
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-0/+11
* 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-11-23two more if(h<0) that gcc 4.3 -O2 miscompilesRuss Cox1-2/+1
R=r http://codereview.appspot.com/160044
2009-08-24ffi -> dynld.Russ Cox1-8/+1
move out of export data into its own section R=r DELTA=222 (71 added, 99 deleted, 52 changed) OCL=33801 CL=33808
2009-08-24first attempt at real FFI support.Russ Cox1-0/+14
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
2009-03-20move pragtextflag into lexbodyRuss Cox1-0/+7
R=ken OCL=26581 CL=26587
2009-01-05fix 6a line number bug -Russ Cox1-3/+1
was incrementing lineno twice for the \n after a // comment. R=r DELTA=3 (0 added, 2 deleted, 1 changed) OCL=21984 CL=22021
2008-08-03make 6a, 6c, 6g, 6l, libmach_amd64 build on 64-bit gcc.Russ Cox1-7/+7
these guys really really want long to be 32-bits, so ,s/long/int32/ (and then manual fixup). still passes all tests. (i started out looking for just those longs that needed to be int32 instead, and it was just too hard to track them down one by one.) the longs were rare enough that i don't think it will cause integration problems. R=ken OCL=13787 CL=13789
2008-06-24middle dot as alpha package separatorKen Thompson1-3/+13
SVN=124419
2008-06-04Add compiler source to new directory structureRob Pike1-0/+723
SVN=121164