summaryrefslogtreecommitdiff
path: root/src/cmd/8l
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý12-0/+6332
2011-09-13Imported Upstream version 60Ondřej Surý12-6360/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý6-63/+26
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý4-41/+58
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý4-7/+41
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý3-38/+20
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý7-100/+103
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý4-78/+79
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý6-12/+28
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý11-2698/+1817
2010-06-30cgo: use slash-free relative paths for .so referencesRuss Cox1-0/+2
The Makefile and cgo now rewrite / to _ when creating the path. The .so for gosqlite.googlecode.com/hg/sqlite is named cgo_gosqlite.googlecode.com_hg_sqlite.so, and then 6l and 8l both include a default rpath of $GOROOT/pkg/$GOOS_$GOARCH. This should make it easier to move binaries from one system to another. Fixes issue 857. R=iant, r CC=golang-dev http://codereview.appspot.com/1700048
2010-06-21ld: add -u flag to check safe bits; discard old -u, -x flagsRuss Cox1-10/+0
R=r, r2 CC=golang-dev http://codereview.appspot.com/1707043
2010-06-118l: correct test for sp == top of stack in 8l -K codeRuss Cox1-1/+1
R=ken2 CC=golang-dev http://codereview.appspot.com/1627042
2010-06-11Pad Go symbol table out to page boundary when linking dynamically.Ian Lance Taylor1-3/+3
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-06-07runtime: finish pchw -> tiny, added gettime for tinyDaniel Theophanes1-1/+1
R=rsc CC=golang-dev http://codereview.appspot.com/1514041 Committer: Russ Cox <rsc@golang.org>
2010-05-03fix nacl buildRuss Cox1-1/+1
TBR=r CC=golang-dev http://codereview.appspot.com/1063042
2010-04-29rename GOOS=mingw to GOOS=windowsAlex Brainman1-1/+1
R=rsc, Joe Poirier CC=golang-dev http://codereview.appspot.com/1015043 Committer: Russ Cox <rsc@golang.org>
2010-04-275l, 6l, 8l, runtime: make -s binaries workRuss Cox4-13/+66
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 Cox4-13/+45
Enable package tests for Native Client build. R=r CC=golang-dev http://codereview.appspot.com/957042
2010-04-206l, 8l: include ELF header in PT_LOAD mapping for text segmentRuss Cox1-5/+5
Due to page boundary rounding, the header would have been loaded as part of the text segment already, but this change placates the "paxctl" tool on so-called hardened Linux distributions (as if normal distributions weren't already hard enough to use). R=r CC=golang-dev http://codereview.appspot.com/954041
2010-03-23Add support for #pragma dynexport.Ian Lance Taylor2-30/+46
R=rsc CC=golang-dev http://codereview.appspot.com/661043
2010-03-22Rename dynld to dynimport throughout.Ian Lance Taylor2-7/+7
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 Taylor4-1/+8
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-188a/8l: Added FCMOVcc instructionsEvan Shaw2-0/+24
Thanks to Charles Dorian for the help. R=rsc CC=Charlie Dorian, golang-dev http://codereview.appspot.com/207049 Committer: Russ Cox <rsc@golang.org>
2010-02-098a/8l: Added CMOVcc instructionsEvan Shaw2-0/+67
R=rsc CC=golang-dev http://codereview.appspot.com/204067 Committer: Russ Cox <rsc@golang.org>
2010-02-08*l/*c: add -V flag to display version numberAndrew Gerrand2-0/+5
R=rsc CC=golang-dev http://codereview.appspot.com/204044
2010-02-03search for runtime.a in the package path instead of hardcodingKai Backman1-5/+4
the location. remove last remnants of broken -l flag. R=rsc CC=golang-dev http://codereview.appspot.com/201042
2010-02-03ld: include main and runtime in the library loopRuss Cox1-1/+1
Fixes issue 585. R=r CC=golang-dev http://codereview.appspot.com/195075
2010-02-01nacl: fix build, finally fixed 8l convergence bugRuss Cox2-4/+10
R=r CC=golang-dev http://codereview.appspot.com/199042
2010-01-27change print print buffer sizeKen Thompson1-3/+3
to go with the full path names R=rsc CC=golang-dev http://codereview.appspot.com/195079
2010-01-255l, 6l, 8l: accept only one object fileRuss Cox1-5/+4
(package main; others are pulled in automatically) R=ken2 CC=golang-dev http://codereview.appspot.com/194069
2010-01-25ld: do not load the same object file multiple times.Russ Cox1-0/+6
eliminates spurious multiple initialization errors. give more information in the multiple init errors that remain. Fixes issue 87. R=r CC=golang-dev http://codereview.appspot.com/194052
2010-01-22eliminate the package global name space assumption in object filesRuss Cox1-4/+8
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>
2010-01-19cleanup toward eliminating package global name spaceRuss Cox1-2/+2
* switch to real dot (.) instead of center dot (·) everywhere in object files. before it was half and half depending on where in the name it appeared. * in 6c/6a/etc identifiers, · can still be used but turns into . immediately. * in export metadata, replace package identifiers with quoted strings (still package names, not paths). R=ken2, r CC=golang-dev http://codereview.appspot.com/190076
2010-01-13runtime: add demo running Go on raw (emulated) hwRuss Cox2-12/+26
8l: add GOOS=pchw, stop spelling out all the elf numbers. R=r CC=golang-dev http://codereview.appspot.com/186144
2010-01-058a, 8l: Add FCOMI, FCOMIP, FUCOMI, FUCOMIP instructionsEvan Shaw2-1/+9
Fixes issue 447 R=rsc CC=golang-dev http://codereview.appspot.com/183047 Committer: Russ Cox <rsc@golang.org>
2009-12-138l: add support for PE output.Hector Chu4-7/+77
R=rsc http://codereview.appspot.com/166080 Committer: Russ Cox <rsc@golang.org>
2009-12-076l, 8l: make string buffer big enough for 8 chars (and then some)Russ Cox1-1/+1
Fixes issue 221. R=ken2 http://codereview.appspot.com/165086
2009-12-038l: fix print line number format, buffer overflowRuss Cox1-4/+4
R=ken2 http://codereview.appspot.com/165059
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia1-2/+2
the bash scripts and makefiles for building go didn't take into account the fact $GOROOT / $GOBIN could both be directories containing whitespaces, and was not possible to build it in such a situation. this commit adjusts the various makefiles/scripts to make it aware of that possibility, and now it builds successfully when using a path with whitespaces as well. Fixes issue 115. R=rsc, dsymonds1 http://codereview.appspot.com/157067 Committer: Russ Cox <rsc@golang.org>
2009-11-18More FreeBSD-touchups. Thundercats are GOOOOO!Devon H. O'Dell1-7/+3
R=rsc CC=golang-dev http://codereview.appspot.com/157074 Committer: Russ Cox <rsc@golang.org>
2009-11-186l, 8l: add trivial hash table for dynamic symbolsRuss Cox1-18/+21
R=r http://codereview.appspot.com/156085
2009-11-18ld: move interpreter string into first block of ELF fileRuss Cox1-12/+10
necessary on freebsd. R=r, dho CC=golang-dev http://codereview.appspot.com/157069
2009-11-17FreeBSD/i386 workDevon H. O'Dell2-4/+32
This patchset gets Go to pretty much the same state that FreeBSD/amd64 is in. R=rsc http://codereview.appspot.com/157055 Committer: Russ Cox <rsc@golang.org>
2009-11-09tweak documentation of commandsRuss Cox1-1/+1
so that first sentence is better for cmd page. live at http://r45:3456/cmd/ R=gri, r http://go/go-review/1024034
2009-11-05gofmt'ed 6l 8l cgoRobert Griesemer1-1/+1
R=r http://go/go-review/1020002
2009-11-05forgot a piece of debuggingKen Thompson1-18/+2
in previous change R=rsc http://go/go-review/1017052
2009-11-05same speedup as 6lKen Thompson5-71/+170
R=rsc http://go/go-review/1016050
2009-11-03document the gc go compilers.Rob Pike1-0/+2
fix the usage message. R=rsc CC=go-dev http://go/go-review/1016033
2009-11-03more command documentation, including nm and profRob Pike1-1/+1
R=rsc http://go/go-review/1017022