Russ Cox
af12feb8d5
6l, 8l: clean up ELF code, fix NaCl
...
R=r
CC=golang-dev
https://golang.org/cl/2221042
2010-09-19 22:10:34 -04:00
Russ Cox
000ab98df6
5l, 6l, 8l, runtime: make -s binaries work
...
5l, 6l, 8l: change ELF header so that strip doesn't destroy binary
Fixes #261 .
R=iant, r
CC=golang-dev
https://golang.org/cl/994044
2010-04-27 22:40:26 -07:00
Ian Lance Taylor
9e0ae94e72
Add support for #pragma dynexport.
...
R=rsc
CC=golang-dev
https://golang.org/cl/661043
2010-03-23 06:46:30 -07:00
Russ Cox
da9bc7ae7d
runtime: add demo running Go on raw (emulated) hw
...
8l: add GOOS=pchw, stop spelling out all the elf numbers.
R=r
CC=golang-dev
https://golang.org/cl/186144
2010-01-13 19:51:59 -08:00
Russ Cox
91cf0af181
ld: move interpreter string into first block of ELF file
...
necessary on freebsd.
R=r, dho
CC=golang-dev
https://golang.org/cl/157069
2009-11-18 13:51:05 -08:00
Russ Cox
96ea081c04
6l -e: emit external ELF symbol table.
...
enough to make nm and oprofile work.
R=r
http://go/go-review/1017016
2009-11-03 14:20:37 -08:00
Russ Cox
c2874976e4
factor portable object+library bits out of 5l/6l/8l into ld
...
R=r
DELTA=3214 (904 added, 2260 deleted, 50 changed)
OCL=35425
CL=35427
2009-10-07 00:11:59 -07:00
Russ Cox
0c71ead9e6
convert 8l to new ELF code.
...
mostly cut and paste from 6l.
R=r
DELTA=930 (525 added, 182 deleted, 223 changed)
OCL=34976
CL=34976
2009-09-24 12:53:35 -07:00
Russ Cox
0e25c1dc6d
linker work
...
* remove now-unused D_SBIG (was for typestrings)
* rename elf64.[ch] to elf.[ch]
* pull in elf headers from FreeBSD instead of writing our own
* emit non-header ELF data in data section
* stub out a few more ELF sections needed for dynamic loading
R=r
DELTA=1928 (1237 added, 635 deleted, 56 changed)
OCL=33642
CL=33658
2009-08-21 13:08:11 -07:00