summaryrefslogtreecommitdiff
path: root/src/cmd/5l/asm.c
AgeCommit message (Collapse)AuthorFilesLines
2014-06-19Imported Upstream version 1.3upstream/1.3Michael Stapelberg1-1412/+130
2013-12-03Imported Upstream version 1.2upstream/1.2Michael Stapelberg1-42/+117
2013-05-14Imported Upstream version 1.1upstream/1.1Michael Stapelberg1-26/+31
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg1-505/+550
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý1-13/+41
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+1878
2011-09-13Imported Upstream version 60Ondřej Surý1-1883/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-23/+8
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-223/+88
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-0/+5
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý1-15/+34
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý1-28/+16
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-2/+11
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-903/+407
2010-06-11Pad Go symbol table out to page boundary when linking dynamically.Ian Lance Taylor1-2/+4
This avoids a crash when using cgo where glibc's malloc thinks that it can use some of the memory following the symbol table. This fails because the symbol table is mapped read-only, which affects the whole page. R=rsc CC=golang-dev http://codereview.appspot.com/1616042
2010-04-275l, 6l, 8l, runtime: make -s binaries workRuss Cox1-13/+50
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-05runtime: various arm fixesRuss Cox1-1/+5
* correct symbol table size * do not reorder functions in output * traceback * signal handling * use same code for go + defer * handle leaf functions in symbol table R=kaib, dpx CC=golang-dev http://codereview.appspot.com/884041
2010-03-23Add support for #pragma dynexport.Ian Lance Taylor1-33/+63
R=rsc CC=golang-dev http://codereview.appspot.com/661043
2010-03-22Rename dynld to dynimport throughout.Ian Lance Taylor1-5/+5
Cgo users will need to rerun cgo. R=rsc CC=golang-dev http://codereview.appspot.com/692041
2010-03-08arm: cleanup build warningsDean Prichard1-2/+2
trivial stuff lex.c: these prototypes are in a.h asm.c: unused variables arm-pass.txt deal w/ sieve.go rename and addition of sieve2.go R=kaib, rsc CC=golang-dev http://codereview.appspot.com/244041 Committer: Russ Cox <rsc@golang.org>
2010-02-26Add -r option to 6l/8l/5l.Ian Lance Taylor1-0/+2
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-242/+515
R=kaib CC=golang-dev http://codereview.appspot.com/206059
2010-02-046l: move mapped symbol table lower in memoryAndrew Gerrand1-1/+1
Allows binary to run on some Linux system. Fix for issue 365. R=rsc CC=golang-dev http://codereview.appspot.com/199096
2010-01-25salvaging 183105 from dead clientKai Backman1-5/+6
a number of fixes for arm elf generation in 5l. -T now works as advertised, -D now works properly. R=rsc CC=golang-dev http://codereview.appspot.com/194076
2009-10-19support for 5.out filesRuss Cox1-1/+4
R=kaib DELTA=1262 (1247 added, 7 deleted, 8 changed) OCL=35907 CL=35909
2009-10-14LDREX and STREXKai Backman1-0/+19
R=rsc APPROVED=rsc DELTA=30 (30 added, 0 deleted, 0 changed) OCL=35751 CL=35756
2009-10-07factor portable object+library bits out of 5l/6l/8l into ldRuss Cox1-0/+1
R=r DELTA=3214 (904 added, 2260 deleted, 50 changed) OCL=35425 CL=35427
2009-08-30fix line numbers, again.Russ Cox1-0/+3
if first function in file was dead code, it was being discarded along with the file name information for that file. leave the functions in the master function list longer: let xfol take the dead code out of the code list, and let span skip the unreachable functions during output. before throw: sys·mapaccess1: key not in map panic PC=0x2e7b20 throw+0x33 /Users/rsc/go/src/pkg/runtime/runtime.c:65 throw(0x5834f, 0x0) sys·mapaccess1+0x73 /Users/rsc/go/src/pkg/runtime/hashmap.c:769 sys·mapaccess1(0x2b9bd0, 0x0) gob·*Encoder·Encode+0x16b /Users/rsc/go/src/pkg/fmt/print.go:2926 gob·*Encoder·Encode(0x2bb440, 0x0, 0x558b0, 0x0, 0x2e4be0, ...) main·walk+0x331 :1603 main·walk(0x33a480, 0x0) main·walk+0x271 :1596 main·walk(0x300640, 0x0) main·walk+0x271 :1596 main·walk(0x300520, 0x0) main·walk+0x271 :1596 main·walk(0x300240, 0x0) main·walk+0x271 :1596 main·walk(0x678f8, 0x0) main·main+0x22 :1610 main·main() after throw: sys·mapaccess1: key not in map panic PC=0x2e7b20 throw+0x33 /Users/rsc/go/src/pkg/runtime/runtime.c:65 throw(0x5834f, 0x0) sys·mapaccess1+0x73 /Users/rsc/go/src/pkg/runtime/hashmap.c:769 sys·mapaccess1(0x2b9bd0, 0x0) gob·*Encoder·Encode+0x16b /Users/rsc/go/src/pkg/gob/encoder.go:319 gob·*Encoder·Encode(0x2bb3c0, 0x0, 0x558b0, 0x0, 0x2e4be0, ...) main·walk+0x331 /Users/rsc/dir.go:121 main·walk(0x2f6ab0, 0x0) main·walk+0x271 /Users/rsc/dir.go:114 main·walk(0x301640, 0x0) main·walk+0x271 /Users/rsc/dir.go:114 main·walk(0x301520, 0x0) main·walk+0x271 /Users/rsc/dir.go:114 main·walk(0x301240, 0x0) main·walk+0x271 /Users/rsc/dir.go:114 main·walk(0x678f8, 0x0) main·main+0x22 /Users/rsc/dir.go:128 main·main() mainstart+0xe /Users/rsc/go/src/pkg/runtime/amd64/asm.s:55 mainstart() goexit /Users/rsc/go/src/pkg/runtime/proc.c:133 goexit() R=r DELTA=46 (20 added, 25 deleted, 1 changed) OCL=34094 CL=34103
2009-06-09Added ld/go.c functionality into 5l, primarily dead codeKai Backman1-5/+15
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-04-10Adding ARM elf support to the 5l linker.Kai Backman1-0/+292
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-45/+45
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/+1831
R=rsc APPROVED=rsc DELTA=19042 (19042 added, 0 deleted, 0 changed) OCL=26268 CL=26270