1
0
mirror of https://github.com/golang/go synced 2024-11-13 19:20:31 -07:00
go/include
Lucio De Re eb3f2083f9 build: define getcallerpc in u.h (fix for Plan 9 build)
. 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-25 13:45:44 -04:00
..
ar.h 6g: 2008-10-20 13:53:56 -07: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 build: fixes for mingw-w64 2011-07-25 13:39:01 -04:00
mach.h rename libmach_amd64 libmach 2009-08-14 10:46:04 -07: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