summaryrefslogtreecommitdiff
path: root/src/cmd/6c
AgeCommit message (Collapse)AuthorFilesLines
2015-01-15Imported Upstream version 1.4upstream/1.4Tianon Gravi6-40/+73
2014-06-19Imported Upstream version 1.3upstream/1.3Michael Stapelberg7-732/+119
2013-12-03Imported Upstream version 1.2upstream/1.2Michael Stapelberg7-70/+64
2013-05-14Imported Upstream version 1.1upstream/1.1Michael Stapelberg1-1/+1
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg10-93/+311
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý5-48/+73
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý13-0/+8543
2011-09-13Imported Upstream version 60Ondřej Surý13-8546/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý2-1/+2
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý2-4/+6
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-1/+1
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý10-56/+66
2010-03-26fix spelling of alignRob Pike1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/778041
2010-03-23Add support for #pragma dynexport.Ian Lance Taylor1-2/+5
R=rsc CC=golang-dev http://codereview.appspot.com/661043
2010-03-22Rename dynld to dynimport throughout.Ian Lance Taylor1-4/+4
Cgo users will need to rerun cgo. R=rsc CC=golang-dev http://codereview.appspot.com/692041
2010-03-19issue 608Ken Thompson1-0/+1
error compiling if(long long) in 6c compiler R=rsc CC=golang-dev http://codereview.appspot.com/657042
2010-03-04cc: disallow ... argument unless NOSPLIT is set.Russ Cox1-2/+6
check that NOSPLIT functions don't use too much stack. correct some missing NOSPLITs in the runtime library. Fixes bug reported in https://groups.google.com/group/golang-nuts/t/efff68b73941eccf R=ken2 CC=golang-dev http://codereview.appspot.com/236041
2010-01-27change print print buffer sizeKen Thompson1-3/+3
to go with the full path names R=rsc CC=golang-dev http://codereview.appspot.com/195079
2009-12-09Continuation of issue 221 fix. When 8g or 6g or 5g are called with aCharles L. Dorian1-1/+1
UTF-8 string, Yconv() converts it into an octal sequence. If the string converted to more than 30 bytes, the str buffer would overflow. For example, 4 Greek runes became 32 bytes, 3 Hiragana runes became 36 bytes, and 2 Gothic runes became 32 bytes. In 8l, 6l and 5l the function is Sconv(). For some reason, only 5l uses the constant STRINGSZ (defined as 200) for the buffer size. R=rsc http://codereview.appspot.com/168045 Committer: Russ Cox <rsc@golang.org>
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia1-2/+2
the bash scripts and makefiles for building go didn't take into account the fact $GOROOT / $GOBIN could both be directories containing whitespaces, and was not possible to build it in such a situation. this commit adjusts the various makefiles/scripts to make it aware of that possibility, and now it builds successfully when using a path with whitespaces as well. Fixes issue 115. R=rsc, dsymonds1 http://codereview.appspot.com/157067 Committer: Russ Cox <rsc@golang.org>
2009-11-09tweak documentation of commandsRuss Cox1-1/+1
so that first sentence is better for cmd page. live at http://r45:3456/cmd/ R=gri, r http://go/go-review/1024034
2009-11-03First steps at command documentation: C compilers and linkers.Rob Pike1-0/+14
Each command gets a doc.go file for godoc to analyze. Its main element is a package comment. R=rsc CC=go-dev http://go/go-review/1018029
2009-10-03clean moreRuss Cox1-1/+1
R=r DELTA=40 (9 added, 3 deleted, 28 changed) OCL=35277 CL=35305
2009-08-24ffi -> dynld.Russ Cox1-10/+8
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/+13
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-08-13fix buildRob Pike1-1/+1
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=33174 CL=33174
2009-08-12silence gcc warningRuss Cox1-0/+1
R=ken OCL=33144 CL=33144
2009-07-28Support use of $GOBINDIR to override $HOME/binPhil Pennock1-2/+1
R=r,gri,rsc APPROVED=rsc DELTA=53 (12 added, 6 deleted, 35 changed) OCL=31822 CL=32282
2009-07-13compilers were inconsistent aboutRuss Cox3-12/+14
whether no register argument was REGARG == 0 or REGARG < 0. use REGARG < 0 because arm needs 0 for R0. R=ken OCL=31562 CL=31566
2009-07-07move 6c/pgen.c, 6c/pswt.c into ccRuss Cox6-759/+21
and make 5c, 8c use them. centralizes reachability analysis and switch generation. now 8c doesn't have spurious warnings in pkg/runtime. R=ken OCL=31266 CL=31266
2009-04-10bug in stack size used inKen Thompson1-1/+1
extending segmented stack R=r OCL=27319 CL=27319
2009-01-29optimizer bug w STOstringKen Thompson1-3/+19
R=r OCL=23820 CL=23820
2009-01-27pragma textflagKen Thompson1-1/+3
fixes latent bugs in go and defer R=r OCL=23613 CL=23613
2008-11-116c bug with large constantsKen Thompson1-0/+11
R=r OCL=19056 CL=19056
2008-10-20fix compiler warningsRuss Cox1-1/+1
R=r DELTA=44 (10 added, 9 deleted, 25 changed) OCL=17502 CL=17502
2008-08-03Use a single Make.conf for setting CC, etc.Russ Cox1-4/+2
This makes it easy to build with other flags (like -ggdb) or other compilers (like cc64). R=r DELTA=45 (6 added, 22 deleted, 17 changed) OCL=13790 CL=13793
2008-08-03make 6a, 6c, 6g, 6l, libmach_amd64 build on 64-bit gcc.Russ Cox9-144/+144
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-07-12morestack magic numberKen Thompson2-7/+60
automatically generated in 6g and 6c, manually set in 6a. format is TEXT a(SB),, $a-b where a is auto size and b is parameter size SVN=126946
2008-06-12import the plan 9 libraries libc (lib9) and libbio into the tree.Rob Pike1-2/+2
remove the dependency on /home/r. SVN=122482
2008-06-11tweaks in clean rules and dependenciesRob Pike1-1/+1
SVN=122274
2008-06-11convert from mk to makeRob Pike2-2/+45
phew. SVN=122266
2008-06-05goos and goarchKen Thompson1-1/+1
SVN=121349
2008-06-04Add compiler source to new directory structureRob Pike13-0/+9113
SVN=121164