summaryrefslogtreecommitdiff
path: root/src/cmd/8l/l.h
AgeCommit message (Collapse)AuthorFilesLines
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-25/+2
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-0/+3
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-2/+2
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-67/+69
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-04-22runtime: closures, defer bug fix for Native ClientRuss Cox1-0/+1
Enable package tests for Native Client build. R=r CC=golang-dev http://codereview.appspot.com/957042
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-01nacl: fix build, finally fixed 8l convergence bugRuss Cox1-0/+1
R=r CC=golang-dev http://codereview.appspot.com/199042
2009-11-05same speedup as 6lKen Thompson1-3/+6
R=rsc http://go/go-review/1016050
2009-10-07factor portable object+library bits out of 5l/6l/8l into ldRuss Cox1-40/+6
R=r DELTA=3214 (904 added, 2260 deleted, 50 changed) OCL=35425 CL=35427
2009-10-05allow multiple -L optionsRob Pike1-1/+0
R=rsc DELTA=31 (15 added, 3 deleted, 13 changed) OCL=35364 CL=35364
2009-10-038c, 8l dynamic loading support.Russ Cox1-0/+4
better mach binaries. cgo working on darwin+linux amd64+386. eliminated context switches - pi is 30x faster. add libcgo to build. on snow leopard: - non-cgo binaries work; all tests pass. - cgo binaries work on amd64 but not 386. R=r DELTA=2031 (1316 added, 626 deleted, 89 changed) OCL=35264 CL=35304
2009-09-30step toward darwin ffi: factor out macho codeRuss Cox1-0/+1
R=r DELTA=771 (374 added, 287 deleted, 110 changed) OCL=35187 CL=35187
2009-09-24convert 8l to new ELF code.Russ Cox1-1/+19
mostly cut and paste from 6l. R=r DELTA=930 (525 added, 182 deleted, 223 changed) OCL=34976 CL=34976
2009-09-22nacl:Russ Cox1-0/+1
add jmp to constant pc. generate HLT for INT $3 do not insert NOPs between REP/REPN and subsequent instruction. allow very long time for convergence. R=ken OCL=34879 CL=34879
2009-09-21accept CALL $(constant) to call absolute PCRuss Cox1-0/+1
R=ken OCL=34845 CL=34845
2009-09-188l: step toward native client.Russ Cox1-1/+1
- ELF header bits and addresses - do not let instructions span 32-byte boundary - align CALLs so return is to 32-byte boundary - align indirect jump targets to 32-byte boundary (only possible indirect jumps are function entries) still to do: - replace indirect jump, indirect call, and ret with nacl-approved instruction sequences - switch to GS segment for m-local storage R=ken OCL=34818 CL=34818
2009-08-24ffi -> dynld.Russ Cox1-4/+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/+4
* 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-1/+2
R=rsc DELTA=41 (20 added, 2 deleted, 19 changed) OCL=33412 CL=33415
2009-08-13debugging symbols for 8g.Russ Cox1-1/+2
backtraces don't work, but they didn't work when i started either. R=ken OCL=33230 CL=33230
2009-08-136g/6l: add go type information to symbol table.Russ Cox1-0/+1
archive size +70% binary size +30% old wreck.mtv=; ls -l /Users/rsc/bin/{godoc,gofmt} -rwxr-xr-x 1 rsc eng 1487922 Aug 13 13:21 /Users/rsc/bin/godoc -rwxr-xr-x 1 rsc eng 995995 Aug 13 13:21 /Users/rsc/bin/gofmt wreck.mtv=; du -sh $GOROOT/pkg/ 9.5M /home/rsc/go/pkg/ wreck.mtv=; new wreck.mtv=; ls -l /Users/rsc/bin/{godoc,gofmt} -rwxr-xr-x 1 rsc eng 2014390 Aug 13 14:25 /Users/rsc/bin/godoc -rwxr-xr-x 1 rsc eng 1268705 Aug 13 14:25 /Users/rsc/bin/gofmt wreck.mtv=; du -sh $GOROOT/pkg 16M /home/rsc/go/pkg wreck.mtv=; R=ken OCL=33217 CL=33220
2009-08-12change gotype in symbol table fromRuss Cox1-1/+1
character string to machine address. not filled in, just carved out. R=austin DELTA=77 (11 added, 34 deleted, 32 changed) OCL=33122 CL=33124
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-028l fixes, cut and paste from 6l.Russ Cox1-0/+1
move PtrSize value into 6l/8l files. R=r DELTA=78 (47 added, 15 deleted, 16 changed) OCL=29729 CL=29798
2009-03-31* move go-specific loader codeRuss Cox1-1/+22
into gc directory, where it gets included as ../gc/ldbody this is similar to the assemblers including ../cc/lexbody and ../cc/macbody. * hook go-specific loader code into 8l. * make current 8.out.h and 6.out.h backward compatible with plan 9's versions. i had added some constants in the middle of enums and have now moved them to the end. this keeps us from invalidating old .8 and .6 files. not sure how much it really matters, but easy to do. R=r DELTA=1314 (667 added, 623 deleted, 24 changed) OCL=26938 CL=26941
2009-03-20update 8a, 8c, 8l to use new object format.Russ Cox1-2/+3
add "extern register" support to 8c. extern register means allocate in the FS-relative segment. make 8l generate segmented stack checks. R=ken OCL=26600 CL=26606
2009-03-20make 8l generate Darwin Mach-O and Linux ELF binariesRuss Cox1-1/+9
R=ken OCL=26584 CL=26589
2009-01-06make 8a, 8c, 8l build in go environment.Russ Cox1-48/+46
,s/int32/long/g in 8a, 8c, 8l. delete dead code. move enam.c, 8.out.h, mkenam from 8c to 8l. R=r DELTA=1850 (581 added, 983 deleted, 286 changed) OCL=22119 CL=22129
2009-01-068a, 8c, and 8l from inferno distributionRuss Cox1-0/+379
R=r DELTA=19539 (19539 added, 0 deleted, 0 changed) OCL=22109 CL=22109