aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2011-08-29libmach: support reading symbols from Windows .exe for nmMateusz CzapliƄski
Fixes #979. R=rsc, alex.brainman CC=golang-dev, vcc.163 https://golang.org/cl/4894051
2011-08-29fix windows/amd64 build with newest mingw-w64Hector Chu
R=alex.brainman, golang-dev CC=golang-dev https://golang.org/cl/4968048
2011-07-25build: define getcallerpc in u.h (fix for Plan 9 build)Lucio De Re
. By defining getcallerpc(x) as __builtin_return_address(0) here, it becomes possible to use the Plan 9 compatible form when compiling using GCC. The alternative is to add conditional compilation based on the compiler identity in "cmd/8g/gsubr.c" to distinguish between the two cases. R=golang-dev CC=golang-dev, rsc https://golang.org/cl/4800048
2011-07-25build: fixes for mingw-w64Wei Guangjing
R=rsc CC=golang-dev https://golang.org/cl/4742042
2011-06-14build: fix header files for Plan 9Lucio De Re
The "elf.h" header changes involve only comments, the released Plan 9 C preprocessing function does not cope with multiline comments following the #define keyword. All multiline comments have been moved to the line above the associated definition. Sigh! Fixing the Plan 9 compiler is not an option. <time.h> does not exist in the Plan 9 Native library. I have moved it from src/cmd/ld/pe.h to include/u.h. RSC correctly points out that this copy of <u.h> is not the one used to compile the Go release on Plan 9 platforms. R=golang-dev CC=golang-dev, rsc https://golang.org/cl/4574042
2011-02-08windows: replace remaining __MINGW32__ instances with _WIN32Joe Poirier
R=rsc, brainman CC=golang-dev https://golang.org/cl/4146041
2010-07-30cov and prof: implement windows version (just function stubs and build mods)Joe Poirier
R=brainman, rsc CC=golang-dev https://golang.org/cl/1676054
2010-07-28gc: fix SIGBUSRuss Cox
R=ken2 CC=golang-dev https://golang.org/cl/1906042
2010-02-08Fix *l/*c -V flag segfaultDean Prichard
*l/*c -V will segfault on macos without this trivial fix. R=adg CC=golang-dev https://golang.org/cl/205042
2010-01-19libc: add goos, goarch, goroot. fixes buildRuss Cox
TBR=r CC=golang-dev https://golang.org/cl/190059
2009-11-30Ports of lib9, libbio and libmach to Windows.Hector Chu
R=rsc https://golang.org/cl/157159
2009-10-19support for 5.out filesRuss Cox
R=kaib DELTA=1262 (1247 added, 7 deleted, 8 changed) OCL=35907 CL=35909
2009-08-31convert C runtime to 32-bit runes;Russ Cox
rune now unsigned. R=r DELTA=10 (1 added, 0 deleted, 9 changed) OCL=34140 CL=34146
2009-08-14rename libmach_amd64 libmachRob Pike
R=rsc OCL=33273 CL=33276
2009-08-12change gotype in symbol table fromRuss Cox
character string to machine address. not filled in, just carved out. R=austin DELTA=77 (11 added, 34 deleted, 32 changed) OCL=33122 CL=33124
2009-04-15fix gotest by fixing nm -s to print in file order by storing a sequence numberRob Pike
as the .6 file is read. now tests will be run in file order. R=rsc DELTA=9 (6 added, 1 deleted, 2 changed) OCL=27542 CL=27544
2009-02-03libmach:Russ Cox
* heuristic to go farther during stack traces. * significantly improved Linux thread handing. acid: * update to new libmach interface. prof: * use new libmach interface. * multiple thread support (derived from Rob's copy). * first steps toward pprof-like graphs: keep counters indexed by pc,callerpc pairs. R=r DELTA=909 (576 added, 123 deleted, 210 changed) OCL=24240 CL=24259
2008-11-20symbol table changesRuss Cox
* add gotype string to symbol table * fill in gotype in 6l for known funcs/vars * print gotype with nm -t * load symbol and pc/ln tables into memory at magic address 0x99<<32. * add sys.symdat() to retrieve raw bytes of symbol table and pc/ln table. most of this should be considered experimental and subject to change. R=r DELTA=157 (128 added, 0 deleted, 29 changed) OCL=19746 CL=19750
2008-10-206l:Russ Cox
use libbio instead of maintaining own buffer libbio: always use vlong offsets; die if off_t is too small R=r DELTA=163 (23 added, 63 deleted, 77 changed) OCL=17508 CL=17512
2008-10-206g:Russ Cox
make sure methods end up immediately following the struct they are methods on. ar: eliminate duplicate definitions from __.PKGDEF. check that multiple .6 do not give different defs for same exported type/var/func/const. increase ar header name size from 16 to 64 bytes R=r DELTA=379 (333 added, 18 deleted, 28 changed) OCL=17477 CL=17481
2008-09-16acid fixes etc. still not perfect.Russ Cox
R=r DELTA=764 (694 added, 38 deleted, 32 changed) OCL=15285 CL=15395
2008-08-04fix go buildRuss Cox
these files were missing from the acid change (include/mach_amd64.h in particular) R=r OCL=13858 CL=13858
2008-08-03make 6a, 6c, 6g, 6l, libmach_amd64 build on 64-bit gcc.Russ Cox
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-12Add 6dbRob Pike
SVN=122505
2008-06-12adding ar.h for source-level compatibility in 6l.Rob Pike
binary compatibility is ok SVN=122489
2008-06-12add missing include fileRob Pike
SVN=122485
2008-06-12import the plan 9 libraries libc (lib9) and libbio into the tree.Rob Pike
remove the dependency on /home/r. SVN=122482