aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/ld/lib.c
AgeCommit message (Collapse)Author
2010-09-126g, 6l, 8g, 8l: move read-only data to text segmentRuss Cox
Changing 5g and 5l too, but it doesn't work yet. R=ken2 CC=golang-dev https://golang.org/cl/2136047
2010-07-266l: more invalid input filesRuss Cox
Fixes #963. Fixes #964. R=r CC=golang-dev https://golang.org/cl/1874045
2010-07-21ld: various bug fixesRuss Cox
Fixes #937. Fixes #938. Fixes #939. Fixes #940. R=r CC=golang-dev https://golang.org/cl/1886043
2010-07-165l, 6l, 8l: reject invalid input filesRuss Cox
Fixes #925. Fixes #926. Fixes #927. Fixes #928. Fixes #929. Fixes #930. R=r CC=golang-dev https://golang.org/cl/1752044
2010-06-29ld: fix implementation of -uRuss Cox
R=r CC=golang-dev https://golang.org/cl/1678046
2010-04-308l: fix absolute path detection on WindowsRuss Cox
Fixes #755. R=ken2 CC=golang-dev https://golang.org/cl/965047
2010-04-275l, 6l, 8l, runtime: make -s binaries workRuss Cox
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-02-10ld: unused variableRuss Cox
R=adg CC=golang-dev https://golang.org/cl/207050
2010-02-03search for runtime.a in the package path instead of hardcodingKai Backman
the location. remove last remnants of broken -l flag. R=rsc CC=golang-dev https://golang.org/cl/201042
2010-02-03ld: include main and runtime in the library loopRuss Cox
Fixes #585. R=r CC=golang-dev https://golang.org/cl/195075
2010-01-25ld: do not load the same object file multiple times.Russ Cox
eliminates spurious multiple initialization errors. give more information in the multiple init errors that remain. Fixes #87. R=r CC=golang-dev https://golang.org/cl/194052
2010-01-22eliminate the package global name space assumption in object filesRuss Cox
5g/6g/8g: add import statements to export metadata, mapping package path to package name. recognize "" as the path of the package in export metadata. use "" as the path of the package in object symbol names. 5c/6c/8c, 5a/6a/8a: rewrite leading . to "". so that ·Sin means Sin in this package. 5l/6l/8l: rewrite "" in symbol names as object files are read. gotest: handle new symbol names. gopack: handle new import lines in export metadata. Collectively, these changes eliminate the assumption of a global name space in the object file formats. Higher level pieces such as reflect and the computation of type hashes still depend on the assumption; we're not done yet. R=ken2, r, ken3 CC=golang-dev https://golang.org/cl/186263
2010-01-19ld: unused variableRuss Cox
R=r CC=golang-dev https://golang.org/cl/186229
2010-01-18build: move GOOS, GOARCH, GOROOT lookup into central library.Russ Cox
bake default values in during build. R=r CC=golang-dev https://golang.org/cl/186173
2010-01-13ignore $GOARCH inside the compiler and linker.Rob Pike
by definition, they know what they are building for. makes it easier to switch architectures when testing. % 6g x.go % 6l x.6 % 6.out "Wed Jan 13 10:57:46 EST 2010" % 8g x.go % 8l x.8 % 8.out "Wed Jan 13 10:57:46 EST 2010" % echo $GOARCH % R=rsc CC=golang-dev https://golang.org/cl/186116
2009-11-15gc: five bug fixes, one better error.Russ Cox
* check for struct literal assignment to private fields. * record, fix crash involving parallel map assignment. * avoid infinite recursion in exportassignok. * make floating point bounds check precise. * avoid crash on invalid receiver. * add context to error about implicit assignment. Fixes #86. Fixes #88. Fixes #158. Fixes #174. Fixes #201. Fixes #204. R=ken2 https://golang.org/cl/154144
2009-11-12cc, ld: fix more gcc 4.3 -O2 compile bugsRuss Cox
same as https://golang.org/cl/152088 in more files. Fixes #83. R=r, r1 https://golang.org/cl/152091
2009-10-10reallocate library, libraryobj: 50 isn't nearly enoughRob Pike
R=rsc DELTA=7 (2 added, 0 deleted, 5 changed) OCL=35569 CL=35569
2009-10-08dupok, gcc compile fix, sync and syscall asm fixKai Backman
R=rsc APPROVED=rsc DELTA=27 (18 added, 0 deleted, 9 changed) OCL=35503 CL=35505
2009-10-07factor portable object+library bits out of 5l/6l/8l into ldRuss Cox
R=r DELTA=3214 (904 added, 2260 deleted, 50 changed) OCL=35425 CL=35427