]> Cypherpunks repositories - gostls13.git/commit
liblink: remove arch-specific constants from file format
authorRuss Cox <rsc@golang.org>
Mon, 14 Apr 2014 19:54:20 +0000 (15:54 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 14 Apr 2014 19:54:20 +0000 (15:54 -0400)
commit8d39e55c6516be5ee3267b8ce101b324a4f09986
treeacc342d354cf6456d4cf9b60afea3fc0a0547979
parentb53bb2cae512ce4abbc1587a903171a9da6201cf
liblink: remove arch-specific constants from file format

The relocation and automatic variable types were using
arch-specific numbers. Introduce portable enumerations
instead.

To the best of my knowledge, these are the only arch-specific
bits left in the new object file format.

Remove now, before Go 1.3, because file formats are forever.

LGTM=iant
R=iant
CC=golang-codereviews
https://golang.org/cl/87670044
28 files changed:
include/link.h
src/cmd/5l/5.out.h
src/cmd/5l/asm.c
src/cmd/6l/6.out.h
src/cmd/6l/asm.c
src/cmd/8l/8.out.h
src/cmd/8l/asm.c
src/cmd/ld/data.c
src/cmd/ld/dwarf.c
src/cmd/ld/ldmacho.c
src/cmd/ld/ldpe.c
src/cmd/ld/lib.c
src/cmd/link/load.go
src/cmd/link/pclntab.go
src/cmd/link/testdata/autosection.6
src/cmd/link/testdata/autoweak.6
src/cmd/link/testdata/dead.6
src/cmd/link/testdata/hello.6
src/cmd/link/testdata/layout.6
src/cmd/link/testdata/pclntab.6
src/liblink/asm5.c
src/liblink/asm6.c
src/liblink/asm8.c
src/liblink/data.c
src/liblink/obj5.c
src/liblink/obj6.c
src/liblink/obj8.c
src/liblink/objfile.c