]> Cypherpunks repositories - gostls13.git/log
gostls13.git
16 years agoexport sys.exit
Rob Pike [Fri, 27 Jun 2008 21:15:06 +0000 (14:15 -0700)]
export sys.exit
update tests to use exit rather than return
ignore return value from main (actually done in prior CL)

SVN=125173

16 years agoupdate darwin for segmented stacks
Rob Pike [Fri, 27 Jun 2008 20:10:56 +0000 (13:10 -0700)]
update darwin for segmented stacks

SVN=125154

16 years agosegmented stack
Ken Thompson [Fri, 27 Jun 2008 20:03:19 +0000 (13:03 -0700)]
segmented stack

SVN=125151

16 years agoadd a test
Rob Pike [Fri, 27 Jun 2008 18:36:40 +0000 (11:36 -0700)]
add a test
fix make.bash for runtime - sysfile.6 depends on OS so simplest thing is to build just our own version

SVN=125130

16 years agofix a few spelling mistakes in messages
Rob Pike [Fri, 27 Jun 2008 17:29:02 +0000 (10:29 -0700)]
fix a few spelling mistakes in messages

SVN=125108

16 years ago- added calc cmd
Robert Griesemer [Fri, 27 Jun 2008 01:35:22 +0000 (18:35 -0700)]
- added calc cmd

SVN=125025

16 years agobetter line numbers
Ken Thompson [Fri, 27 Jun 2008 00:54:44 +0000 (17:54 -0700)]
better line numbers

SVN=125018

16 years agoadd readfile test
Rob Pike [Fri, 27 Jun 2008 00:08:39 +0000 (17:08 -0700)]
add readfile test
update golden

SVN=125006

16 years ago- moved integer code into src/pkg
Robert Griesemer [Thu, 26 Jun 2008 23:52:15 +0000 (16:52 -0700)]
- moved integer code into src/pkg

SVN=125003

16 years agosimultaneous assignment test
Ken Thompson [Thu, 26 Jun 2008 23:21:51 +0000 (16:21 -0700)]
simultaneous assignment test

SVN=124994

16 years ago- a couple of fixes for integer.go
Robert Griesemer [Thu, 26 Jun 2008 23:15:43 +0000 (16:15 -0700)]
- a couple of fixes for integer.go
- added pkg dir

SVN=124991

16 years agorepair struct definition
Rob Pike [Thu, 26 Jun 2008 22:35:43 +0000 (15:35 -0700)]
repair struct definition

SVN=124985

16 years agoslight change to file names
Rob Pike [Thu, 26 Jun 2008 22:27:21 +0000 (15:27 -0700)]
slight change to file names

SVN=124982

16 years agomake readfile work on darwin
Rob Pike [Thu, 26 Jun 2008 22:26:27 +0000 (15:26 -0700)]
make readfile work on darwin
parameterize the system interface a bit

SVN=124981

16 years ago- added bug against maps
Robert Griesemer [Thu, 26 Jun 2008 22:15:38 +0000 (15:15 -0700)]
- added bug against maps

SVN=124977

16 years agoadd pointer to val type of maps
Ken Thompson [Thu, 26 Jun 2008 21:58:23 +0000 (14:58 -0700)]
add pointer to val type of maps

SVN=124971

16 years agoadd sys.readfile()
Rob Pike [Thu, 26 Jun 2008 21:09:26 +0000 (14:09 -0700)]
add sys.readfile()
add args to linux runtime

SVN=124961

16 years ago- filed a bug against len()
Robert Griesemer [Thu, 26 Jun 2008 18:56:17 +0000 (11:56 -0700)]
- filed a bug against len()

SVN=124926

16 years agoruntime needs runtime.c
Rob Pike [Thu, 26 Jun 2008 04:31:17 +0000 (21:31 -0700)]
runtime needs runtime.c
6l needs to know that there is no rt_amd64.6

SVN=124766

16 years agomaybe now $O is right
Rob Pike [Thu, 26 Jun 2008 04:24:14 +0000 (21:24 -0700)]
maybe now $O is right

SVN=124764

16 years agoO=6 not O=o
Rob Pike [Thu, 26 Jun 2008 04:23:14 +0000 (21:23 -0700)]
O=6 not O=o

SVN=124763

16 years agoput a makefile into runtime
Rob Pike [Thu, 26 Jun 2008 04:19:05 +0000 (21:19 -0700)]
put a makefile into runtime
make the runtime library an archive (rt0 is still separate)
update 6l to use the archive
add fakeobj.c, missing from prior change

SVN=124762

16 years agoadd plan 9 ar, which understands our symbol tables
Rob Pike [Thu, 26 Jun 2008 03:58:35 +0000 (20:58 -0700)]
add plan 9 ar, which understands our symbol tables

SVN=124761

16 years agoautolib (#pragma lib)
Ken Thompson [Thu, 26 Jun 2008 03:22:10 +0000 (20:22 -0700)]
autolib (#pragma lib)
added to 6g to autoload
the included import files.

SVN=124759

16 years ago- dump registers in case of signal (linux)
Robert Griesemer [Thu, 26 Jun 2008 00:07:22 +0000 (17:07 -0700)]
- dump registers in case of signal (linux)

SVN=124702

16 years agoimprove bug054.go
Rob Pike [Wed, 25 Jun 2008 22:22:27 +0000 (15:22 -0700)]
improve bug054.go
fix integer.ToString to return the proper, not-nul-terminated value

SVN=124654

16 years agoadd new bug: can't compile a, b := sys.frexp(1.0)
Rob Pike [Wed, 25 Jun 2008 21:05:38 +0000 (14:05 -0700)]
add new bug: can't compile a, b := sys.frexp(1.0)

SVN=124622

16 years agosimul assignment
Ken Thompson [Wed, 25 Jun 2008 18:35:06 +0000 (11:35 -0700)]
simul assignment

SVN=124591

16 years agoprevious change was a nit too aggressive - regular comparison should apply when comparing
Rob Pike [Wed, 25 Jun 2008 04:44:48 +0000 (21:44 -0700)]
previous change was a nit too aggressive - regular comparison should apply when comparing
internal symbol names

SVN=124461

16 years agoallow an underscore to match centered dot (rune 00B7), so people don't have to
Rob Pike [Wed, 25 Jun 2008 04:42:54 +0000 (21:42 -0700)]
allow an underscore to match centered dot (rune 00B7), so people don't have to
type a centered dot when debugging.

SVN=124460

16 years agobug in returning a fat function result
Ken Thompson [Wed, 25 Jun 2008 01:14:32 +0000 (18:14 -0700)]
bug in returning a fat function result

SVN=124436

16 years agocenter dots into argument code
Rob Pike [Wed, 25 Jun 2008 01:00:24 +0000 (18:00 -0700)]
center dots into argument code

SVN=124433

16 years agoput center dot into main_main
Rob Pike [Wed, 25 Jun 2008 00:58:18 +0000 (17:58 -0700)]
put center dot into main_main
restore smashed arg code, lost in incorrect resolve

SVN=124432

16 years agomiddle dot as alpha package separator
Ken Thompson [Wed, 25 Jun 2008 00:16:06 +0000 (17:16 -0700)]
middle dot as alpha package separator

SVN=124419

16 years ago- added access to thread state info from the signal handler
Robert Griesemer [Tue, 24 Jun 2008 23:48:54 +0000 (16:48 -0700)]
- added access to thread state info from the signal handler

SVN=124404

16 years agoarguments available
Rob Pike [Tue, 24 Jun 2008 22:31:03 +0000 (15:31 -0700)]
arguments available
argc, argv, envc, envv all in sys now
sys.argc() etc.

SVN=124398

16 years agostring nil same as string ""
Ken Thompson [Tue, 24 Jun 2008 21:11:20 +0000 (14:11 -0700)]
string nil same as string ""

SVN=124381

16 years agoremove explicit import of "sys"
Rob Pike [Tue, 24 Jun 2008 19:54:26 +0000 (12:54 -0700)]
remove explicit import of "sys"
add a boolean printer

SVN=124362

16 years agomap[int] bug
Ken Thompson [Tue, 24 Jun 2008 18:10:47 +0000 (11:10 -0700)]
map[int] bug

SVN=124332

16 years agobug miscalculating ullman
Ken Thompson [Tue, 24 Jun 2008 17:30:33 +0000 (10:30 -0700)]
bug miscalculating ullman
in CALLMETH/DOTMETH

SVN=124321

16 years agosafety checks, waiting for gri's real tracking of PC and SP
Rob Pike [Tue, 24 Jun 2008 03:12:39 +0000 (20:12 -0700)]
safety checks, waiting for gri's real tracking of PC and SP
extant code is too fragile

SVN=124223

16 years agoupdate some tests
Rob Pike [Tue, 24 Jun 2008 00:13:33 +0000 (17:13 -0700)]
update some tests

SVN=124196

16 years agoadd signal handling to mac runtime
Rob Pike [Mon, 23 Jun 2008 23:34:17 +0000 (16:34 -0700)]
add signal handling to mac runtime

SVN=124184

16 years agomaps
Ken Thompson [Mon, 23 Jun 2008 04:02:06 +0000 (21:02 -0700)]
maps

SVN=124030

16 years agomore nearly correct interface code for signals on linux
Rob Pike [Sun, 22 Jun 2008 00:28:37 +0000 (17:28 -0700)]
more nearly correct interface code for signals on linux

SVN=124021

16 years agoadd signal handling and traceback support therein.
Rob Pike [Sat, 21 Jun 2008 22:36:23 +0000 (15:36 -0700)]
add signal handling and traceback support therein.
factor the runtime into architecture-dependent and -independent pieces.
ditto for the OS dependence.

SVN=124020

16 years agoredeclarations of variables in the same block.
Ken Thompson [Sat, 21 Jun 2008 22:11:29 +0000 (15:11 -0700)]
redeclarations of variables in the same block.
half-step toward multivalued map indexing

SVN=124019

16 years agoremove receclarations from tests
Ken Thompson [Sat, 21 Jun 2008 22:08:04 +0000 (15:08 -0700)]
remove receclarations from tests
that are supposed to succeed

SVN=124018

16 years agodelete incorrect offset print
Rob Pike [Fri, 20 Jun 2008 17:55:53 +0000 (10:55 -0700)]
delete incorrect offset print

SVN=123857

16 years agoimproved formatting of traceback
Rob Pike [Thu, 19 Jun 2008 06:25:37 +0000 (23:25 -0700)]
improved formatting of traceback

SVN=123527

16 years agoprint rudimentary stack traceback after panic
Rob Pike [Thu, 19 Jun 2008 06:17:39 +0000 (23:17 -0700)]
print rudimentary stack traceback after panic

SVN=123524

16 years agostack offset
Ken Thompson [Thu, 19 Jun 2008 05:07:09 +0000 (22:07 -0700)]
stack offset

SVN=123521

16 years agostack offseet table marker
Ken Thompson [Thu, 19 Jun 2008 00:51:56 +0000 (17:51 -0700)]
stack offseet table marker
tacked above each TEXT entry

SVN=123496

16 years ago- added large integer arithmetic package and test cases
Robert Griesemer [Thu, 19 Jun 2008 00:09:20 +0000 (17:09 -0700)]
- added large integer arithmetic package and test cases

SVN=123486

16 years agoclean up ken/rob2.go to eliminate a few workarounds
Rob Pike [Wed, 18 Jun 2008 21:47:46 +0000 (14:47 -0700)]
clean up ken/rob2.go to eliminate a few workarounds

SVN=123442

16 years agoadd new test bug055
Rob Pike [Wed, 18 Jun 2008 21:17:24 +0000 (14:17 -0700)]
add new test bug055

SVN=123431

16 years agoa couple of bugs around nil are fixed
Rob Pike [Wed, 18 Jun 2008 20:53:51 +0000 (13:53 -0700)]
a couple of bugs around nil are fixed

SVN=123423

16 years agoforgot command line for bug054
Rob Pike [Wed, 18 Jun 2008 20:08:01 +0000 (13:08 -0700)]
forgot command line for bug054
update golden.out

SVN=123412

16 years ago'default' bug in switch statements is fixed
Rob Pike [Wed, 18 Jun 2008 20:06:09 +0000 (13:06 -0700)]
'default' bug in switch statements is fixed

SVN=123411

16 years agoadd a bug: method call doesn't compile
Rob Pike [Wed, 18 Jun 2008 18:51:21 +0000 (11:51 -0700)]
add a bug: method call doesn't compile

SVN=123403

16 years agobogus diagnostic with
Ken Thompson [Wed, 18 Jun 2008 18:43:50 +0000 (11:43 -0700)]
bogus diagnostic with
default as first case
in a switch

SVN=123398

16 years agomore maps
Ken Thompson [Wed, 18 Jun 2008 05:33:32 +0000 (22:33 -0700)]
more maps
more semi-colons
type assignment of constants

SVN=123278

16 years agoassign nil to interface
Ken Thompson [Wed, 18 Jun 2008 01:07:40 +0000 (18:07 -0700)]
assign nil to interface

SVN=123256

16 years agoSVN=123250
Ken Thompson [Wed, 18 Jun 2008 01:02:06 +0000 (18:02 -0700)]
SVN=123250

16 years agoSVN=123249
Ken Thompson [Wed, 18 Jun 2008 01:01:05 +0000 (18:01 -0700)]
SVN=123249

16 years agoyata
Ken Thompson [Wed, 18 Jun 2008 00:59:06 +0000 (17:59 -0700)]
yata

SVN=123246

16 years agooptional semi-colons
Ken Thompson [Wed, 18 Jun 2008 00:57:31 +0000 (17:57 -0700)]
optional semi-colons

SVN=123245

16 years ago- added another bug test ('len' shouldn't be a keyword)
Robert Griesemer [Tue, 17 Jun 2008 23:22:02 +0000 (16:22 -0700)]
- added another bug test ('len' shouldn't be a keyword)

SVN=123225

16 years ago- added 2 bug tests
Robert Griesemer [Tue, 17 Jun 2008 23:04:33 +0000 (16:04 -0700)]
- added 2 bug tests

SVN=123220

16 years agoadd two more tests
Rob Pike [Tue, 17 Jun 2008 17:56:28 +0000 (10:56 -0700)]
add two more tests

SVN=123143

16 years agomaps
Ken Thompson [Tue, 17 Jun 2008 05:34:50 +0000 (22:34 -0700)]
maps

SVN=123089

16 years agoadded and, or, xor opcodes
Ken Thompson [Tue, 17 Jun 2008 00:04:39 +0000 (17:04 -0700)]
added and, or, xor opcodes

SVN=123031

16 years agoprint pc on faults
Rob Pike [Tue, 17 Jun 2008 00:04:30 +0000 (17:04 -0700)]
print pc on faults

SVN=123030

16 years agoadded two new small tests
Rob Pike [Mon, 16 Jun 2008 22:18:10 +0000 (15:18 -0700)]
added two new small tests

SVN=123010

16 years agoupdate more tests to reflect tweaked grammar for if, switch
Rob Pike [Mon, 16 Jun 2008 19:16:11 +0000 (12:16 -0700)]
update more tests to reflect tweaked grammar for if, switch

SVN=122916

16 years agofix up grammar for optional elements in if and switch conditions
Rob Pike [Mon, 16 Jun 2008 19:02:27 +0000 (12:02 -0700)]
fix up grammar for optional elements in if and switch conditions

SVN=122915

16 years agoupdate test results
Rob Pike [Mon, 16 Jun 2008 18:36:23 +0000 (11:36 -0700)]
update test results

SVN=122912

16 years agonow checks for lvalue/rvalue context of
Ken Thompson [Mon, 16 Jun 2008 03:24:30 +0000 (20:24 -0700)]
now checks for lvalue/rvalue context of
     expressions.
start of generics for calling builtin
     functions
start of map type
'any' demoted from reserved word to type

SVN=122808

16 years agoadd support for debugging in MACH binaries
Rob Pike [Mon, 16 Jun 2008 00:22:57 +0000 (17:22 -0700)]
add support for debugging in MACH binaries
fix up libmach_amd64 to handle MACH binaries and symbols
db now works on mac and linux

SVN=122807

16 years agoerror messages now have colon after line number
Rob Pike [Sun, 15 Jun 2008 19:22:35 +0000 (12:22 -0700)]
error messages now have colon after line number

SVN=122803

16 years agoplan9 line numbers and line table
Ken Thompson [Sat, 14 Jun 2008 01:16:23 +0000 (18:16 -0700)]
plan9 line numbers and line table

SVN=122793

16 years agohack to find first instruction for decoding the pc/line table properly.
Rob Pike [Sat, 14 Jun 2008 01:15:30 +0000 (18:15 -0700)]
hack to find first instruction for decoding the pc/line table properly.

SVN=122792

16 years agosupport symbol tables and line numbers in 6.out executables
Rob Pike [Fri, 13 Jun 2008 19:55:37 +0000 (12:55 -0700)]
support symbol tables and line numbers in 6.out executables

SVN=122700

16 years agoadd symbol tables and line/pc information to 6.outs
Rob Pike [Fri, 13 Jun 2008 19:54:21 +0000 (12:54 -0700)]
add symbol tables and line/pc information to 6.outs

SVN=122699

16 years agoAdd nil test, with bug
Rob Pike [Fri, 13 Jun 2008 16:09:22 +0000 (09:09 -0700)]
Add nil test, with bug

SVN=122644

16 years agobetter import/export
Ken Thompson [Fri, 13 Jun 2008 04:48:56 +0000 (21:48 -0700)]
better import/export

SVN=122584

16 years agoBug fix. Without rounding, .shstrtab is written on top of data segment
Rob Pike [Fri, 13 Jun 2008 01:51:06 +0000 (18:51 -0700)]
Bug fix.  Without rounding, .shstrtab is written on top of data segment

SVN=122567

16 years agofix name of mach_amd64 library source dir
Rob Pike [Thu, 12 Jun 2008 21:52:41 +0000 (14:52 -0700)]
fix name of mach_amd64 library source dir

SVN=122506

16 years agoAdd 6db
Rob Pike [Thu, 12 Jun 2008 21:50:25 +0000 (14:50 -0700)]
Add 6db

SVN=122505

16 years agobetter version of op=
Ken Thompson [Thu, 12 Jun 2008 21:21:09 +0000 (14:21 -0700)]
better version of op=
fixed bugs in /= and %/

SVN=122493

16 years agoadding ar.h for source-level compatibility in 6l.
Rob Pike [Thu, 12 Jun 2008 20:46:23 +0000 (13:46 -0700)]
adding ar.h for source-level compatibility in 6l.
binary compatibility is ok

SVN=122489

16 years agomake paths explicit for easier installation
Rob Pike [Thu, 12 Jun 2008 20:43:47 +0000 (13:43 -0700)]
make paths explicit for easier installation

SVN=122488

16 years agoremove reference to 9ar
Rob Pike [Thu, 12 Jun 2008 20:38:54 +0000 (13:38 -0700)]
remove reference to 9ar

SVN=122487

16 years agoremove reference to 9ar
Rob Pike [Thu, 12 Jun 2008 20:37:54 +0000 (13:37 -0700)]
remove reference to 9ar

SVN=122486

16 years agoadd missing include file
Rob Pike [Thu, 12 Jun 2008 20:31:17 +0000 (13:31 -0700)]
add missing include file

SVN=122485

16 years agoimport the plan 9 libraries libc (lib9) and libbio into the tree.
Rob Pike [Thu, 12 Jun 2008 20:26:16 +0000 (13:26 -0700)]
import the plan 9 libraries libc (lib9) and libbio into the tree.
remove the dependency on /home/r.

SVN=122482

16 years ago- fixed minor issues in spec
Robert Griesemer [Thu, 12 Jun 2008 20:12:41 +0000 (13:12 -0700)]
- fixed minor issues in spec
- fixed a couple of bugs in the spec (pointed out by iant)

SVN=122479

16 years agoThis test now runs correctly, with no bugs commented out
Rob Pike [Thu, 12 Jun 2008 18:04:40 +0000 (11:04 -0700)]
This test now runs correctly, with no bugs commented out

SVN=122460

16 years agoimport/export
Ken Thompson [Thu, 12 Jun 2008 04:06:26 +0000 (21:06 -0700)]
import/export

SVN=122309

16 years agotweaks in clean rules and dependencies
Rob Pike [Thu, 12 Jun 2008 01:01:45 +0000 (18:01 -0700)]
tweaks in clean rules and dependencies

SVN=122274