1
0
mirror of https://github.com/golang/go synced 2024-09-30 22:18:32 -06:00
go/include
Austin Clements ac5a1ac318 cmd/ld: support for relocation variants
Most ppc64 relocations come in six or more variants where the basic
relocation formula is the same, but which bits of the computed value
are installed where changes.  Introduce the concept of "variants" for
internal relocations to support this.  Since this applies to
architecture-independent relocation types like R_PCREL, we do this in
relocsym.

Currently there is only an identity variant.  A later CL that adds
support for ppc64 ELF relocations will introduce more.

Change-Id: I0c5f0e7dbe5beece79cd24fe36267d37c52f1a0c
Reviewed-on: https://go-review.googlesource.com/2005
Reviewed-by: Russ Cox <rsc@golang.org>
2015-01-07 20:35:37 +00:00
..
plan9 include/plan9: make mklibc.rc compatible with 9atom 2014-04-19 09:55:09 +02:00
ar.h gopack: change archive file name length back to 16 2011-11-01 00:29:16 -04:00
bio.h build: annotations and modifications for c2go 2014-07-02 15:41:29 -04:00
fmt.h convert C runtime to 32-bit runes; 2009-08-31 16:38:50 -07:00
libc.h include: remove unnecessary stuff on windows 2015-01-02 03:36:11 +00:00
link.h cmd/ld: support for relocation variants 2015-01-07 20:35:37 +00:00
README include: add a README file 2013-05-22 18:51:15 +08:00
u.h include/u.h: define _DEFAULT_SOURCE for new glibc 2014-07-25 08:54:09 -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.