summaryrefslogtreecommitdiff
path: root/src/cmd/5l/l.h
AgeCommit message (Collapse)AuthorFilesLines
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-25/+0
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-0/+1
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-17/+2
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-0/+5
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-0/+1
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-1/+1
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-83/+60
2010-04-275l, 6l, 8l, runtime: make -s binaries workRuss Cox1-0/+4
5l, 6l, 8l: change ELF header so that strip doesn't destroy binary Fixes issue 261. R=iant, r CC=golang-dev http://codereview.appspot.com/994044
2010-03-23Add support for #pragma dynexport.Ian Lance Taylor1-0/+1
R=rsc CC=golang-dev http://codereview.appspot.com/661043
2010-03-22Rename dynld to dynimport throughout.Ian Lance Taylor1-2/+2
Cgo users will need to rerun cgo. R=rsc CC=golang-dev http://codereview.appspot.com/692041
2010-02-26Add -r option to 6l/8l/5l.Ian Lance Taylor1-0/+1
This permits more flexibility with cgo and swig in cases where the program is run on a machine other than the one on which it is built. Rather than storing the absolute path to the shared library in the DT_NEEDED entry, we can store just the name, and let the dynamic linker find it using DT_RUNPATH or the LD_LIBRARY_PATH environment variable. R=rsc CC=golang-dev http://codereview.appspot.com/223068
2010-02-10arm: fix build on androidRuss Cox1-8/+16
R=kaib CC=golang-dev http://codereview.appspot.com/206059
2010-01-22eliminate the package global name space assumption in object filesRuss Cox1-7/+0
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 http://codereview.appspot.com/186263 Committer: Russ Cox <rsc@golang.org>
2009-12-17 first stub for softfloats, intercepts float instructions and skipsKai Backman1-0/+1
them in the stream. R=rsc http://codereview.appspot.com/174052
2009-10-08dupok, gcc compile fix, sync and syscall asm fixKai Backman1-0/+1
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 Cox1-26/+6
R=r DELTA=3214 (904 added, 2260 deleted, 50 changed) OCL=35425 CL=35427
2009-08-24ffi -> dynld.Russ Cox1-3/+2
move out of export data into its own section R=r DELTA=222 (71 added, 99 deleted, 52 changed) OCL=33801 CL=33808
2009-08-24linker workRuss Cox1-0/+3
* use //ffi comments in package import data to generate relocation entries and library loads. * call initffi in rt0.s if present R=r DELTA=117 (91 added, 3 deleted, 23 changed) OCL=33739 CL=33750
2009-08-17inline lib9.hRob Pike1-4/+5
R=rsc DELTA=41 (20 added, 2 deleted, 19 changed) OCL=33412 CL=33415
2009-07-07the ld-supplied typestrings are now obsoleteRuss Cox1-2/+0
R=r DELTA=167 (0 added, 167 deleted, 0 changed) OCL=31304 CL=31316
2009-06-26Adding more debug output when 5l encounters a bad opKai Backman1-0/+1
combination. R=rsc APPROVED=rsc DELTA=69 (68 added, 0 deleted, 1 changed) OCL=30798 CL=30801
2009-06-24Fix compile warnings in 5l.Kai Backman1-8/+8
R=rsc APPROVED=rsc DELTA=8 (0 added, 0 deleted, 8 changed) OCL=30692 CL=30695
2009-06-16grab bag of changes aimed at getting stack splitting to work:Kai Backman1-0/+1
- morestack support for 5l and arm runtime - argsize support in 5c, 5l, ar and nm. assembly code from 5a will break in interesting ways unless NOSPLIT is specified - explicit cond execution constants - fix 5l output to use %d instead of %ld so that negative values show. - added a lot of code to arm/asm.s. runtime entry code almost working currently aborts at gogo not implemented R=rsc APPROVED=rsc DELTA=305 (125 added, 29 deleted, 151 changed) OCL=30246 CL=30347
2009-06-09Added ld/go.c functionality into 5l, primarily dead codeKai Backman1-0/+9
removal and typesigs and strings. Also added new header support to 5c/5a/5l. R=rsc APPROVED=rsc DELTA=98 (66 added, 10 deleted, 22 changed) OCL=30103 CL=30123
2009-06-08initial morestack support for 5l. still disabled, doesn't work.Kai Backman1-1/+12
R=rsc APPROVED=rsc DELTA=245 (167 added, 63 deleted, 15 changed) OCL=30039 CL=30081
2009-05-28Change 5l to use Biobufs for IO.Kai Backman1-1/+1
R=rsc APPROVED=rsc DELTA=132 (16 added, 45 deleted, 71 changed) OCL=29468 CL=29497
2009-04-10Adding ARM elf support to the 5l linker.Kai Backman1-0/+10
R=rsc APPROVED=rsc DELTA=312 (312 added, 0 deleted, 0 changed) OCL=27133 CL=27326
2009-03-25This is really two changes in one but given interdependenciesKai Backman1-57/+57
and expected review latency I needed to combine the CLs. 1. Made the 5* toolpath build using the go build system. Hooked the subdirectories to clean.bash but added a separate make5.bash for now. Minor massage to make the code more similar to the current structure of 6c/6a/6l. 2. Change all references from long to int32 in line with similar change for the other toolchains. The end result is that 5c, 5a and 5l can now be compiled and the executables start up properly. Haven't thrown any input at them yet. R=rsc APPROVED=rsc DELTA=1052 (392 added, 328 deleted, 332 changed) OCL=26757 CL=26761
2009-03-135a 5c 5l from inferno distributionKai Backman1-0/+474
R=rsc APPROVED=rsc DELTA=19042 (19042 added, 0 deleted, 0 changed) OCL=26268 CL=26270