1
0
mirror of https://github.com/golang/go synced 2024-09-29 14:24:32 -06:00
go/include
Dmitriy Vyukov 79dca0327e libbio, all cmd: consistently use BGETC/BPUTC instead of Bgetc/Bputc
Also introduce BGET2/4, BPUT2/4 as they are widely used.
Slightly improve BGETC/BPUTC implementation.
This gives ~5% CPU time improvement on go install -a -p1 std.
Before:
real		user		sys
0m23.561s	0m16.625s	0m5.848s
0m23.766s	0m16.624s	0m5.846s
0m23.742s	0m16.621s	0m5.868s
after:
0m22.999s	0m15.841s	0m5.889s
0m22.845s	0m15.808s	0m5.850s
0m22.889s	0m15.832s	0m5.848s

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/12745047
2013-08-30 15:46:12 +04:00
..
plan9 include/plan9: define size_t to fix build breakage 2013-06-28 12:16:33 -07:00
ar.h gopack: change archive file name length back to 16 2011-11-01 00:29:16 -04:00
bio.h libbio, all cmd: consistently use BGETC/BPUTC instead of Bgetc/Bputc 2013-08-30 15:46:12 +04:00
bootexec.h
fmt.h
libc.h cmd/dist, cmd/ld: GO_EXTLINK_ENABLED=0 defaults to -linkmode=internal 2013-03-29 16:33:35 -07:00
mach.h libmach: support reading symbols from Windows .exe for nm 2011-08-29 14:25:43 -04:00
README include: add a README file 2013-05-22 18:51:15 +08:00
u.h build: define getcallerpc in u.h (fix for Plan 9 build) 2011-07-25 13:45:44 -04:00
ureg_amd64.h
ureg_arm.h
ureg_x86.h
utf.h

The header files under this directory are strictly internal to the gc
toolchain, so please don't copy them to the system include file
directory (/usr/include, /usr/local/include, etc.)

Also note that they must be kept as is in $GOROOT/include, or cmd/dist
will malfunction.