1
0
mirror of https://github.com/golang/go synced 2024-11-22 09:54:40 -07:00
go/include
Anthony Martin 636169405c build: add intptr typedef for Plan 9
Revision 01810e5c68e9 added the following to src/pkg/runtime/stack.h:

        StackPreempt = (uintptr)(intptr)0xffffade,

The typedef for intptr is defined in two places:

        1. src/pkg/runtime/runtime.h for use by the runtime

        2. include/u.h for use by the compilers and linkers

On Plan 9, we don't use include/u.h but instead augment the host's
u.h with extra typedefs. These are in include/plan9/GOARCH/u.h.

We forgot to add intptr. It didn't cause a problem until now since
that typedef was never used outside the runtime.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/10023043
2013-06-04 16:21:04 -07:00
..
plan9 build: add intptr typedef for Plan 9 2013-06-04 16:21:04 -07:00
ar.h gopack: change archive file name length back to 16 2011-11-01 00:29:16 -04:00
bio.h 6l: 2008-10-20 17:33:51 -07:00
bootexec.h make 6a, 6c, 6g, 6l, libmach_amd64 build on 64-bit gcc. 2008-08-03 17:25:15 -07:00
fmt.h convert C runtime to 32-bit runes; 2009-08-31 16:38:50 -07:00
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 Add 6db 2008-06-12 14:50:25 -07:00
ureg_arm.h support for 5.out files 2009-10-19 22:33:56 -07:00
ureg_x86.h make 6a, 6c, 6g, 6l, libmach_amd64 build on 64-bit gcc. 2008-08-03 17:25:15 -07:00
utf.h add missing include file 2008-06-12 13:31:17 -07:00

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.