- 21 Oct, 2010 12 commits
-
-
Robert Griesemer authored
Fixes #1170. R=rsc CC=golang-dev https://golang.org/cl/2622041
-
Russ Cox authored
Load the entire archive file instead. Reduces I/O by avoiding additional passes through libraries to resolve symbols. Go packages always need all the files anyway (most often, all 1 of them). R=ken2 CC=golang-dev https://golang.org/cl/2613042
-
Russ Cox authored
Giving them specific types has the benefit that binary.BigEndian.Uint32(b) is now a direct call, not an indirect via a mutable interface value, so it can potentially be inlined. Recent changes to the spec relaxed the rules for comparison, so this code is still valid: func isLittle(o binary.ByteOrder) { return o == binary.LittleEndian } The change does break this potential idiom: o := binary.BigEndian if foo { o = binary.LittleEndian } That must rewrite to give o an explicit binary.ByteOrder type. On balance I think the benefit from the direct call and inlining outweigh the cost of breaking that idiom. R=r, r2 CC=golang-dev https://golang.org/cl/2427042
-
David Symonds authored
R=rsc CC=golang-dev https://golang.org/cl/2639041
-
Russ Cox authored
Just enough to make mov instructions work, which in turn is enough to make strconv work when it avoids any floating point calculations. That makes a bunch of other packages pass their tests. Should suffice until hardware floating point is available. Enable package tests that now pass (some due to earlier fixes). Looks like there is a new integer math bug exposed in the fmt and json tests. R=ken2 CC=golang-dev https://golang.org/cl/2638041
-
Andrew Gerrand authored
(Hopefully this changeset will notice my +x to googlecode_upload.py) Fixes #1217. R=rsc CC=golang-dev https://golang.org/cl/2634041
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/2637041
-
Andrew Gerrand authored
Fixes #1211. R=r, r2 CC=golang-dev https://golang.org/cl/2635041
-
Fumitoshi Ukai authored
Fixes #1145. R=rsc CC=golang-dev https://golang.org/cl/2302042
-
Rob Pike authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/2631041
-
Andrew Gerrand authored
R=r CC=golang-dev https://golang.org/cl/2624042
-
Andrew Gerrand authored
R=r, rsc CC=golang-dev https://golang.org/cl/2629041
-
- 20 Oct, 2010 17 commits
-
-
Fazlul Shahriar authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/2585043
-
Andrew Gerrand authored
gobuilder: fix build to work with new log package R=rsc CC=golang-dev https://golang.org/cl/2592041
-
Yasuhiro Matsumoto authored
R=rsc, brainman CC=golang-dev https://golang.org/cl/2598041
-
Russ Cox authored
An ARM expert could probably phrase the comparison in fewer instructions, but this works. R=ken2 CC=golang-dev https://golang.org/cl/2620041
-
Russ Cox authored
Thanks to avadh4all for spotting it. Fixes #1214. R=r, r2 CC=golang-dev https://golang.org/cl/2616041
-
Russ Cox authored
Fixes #1172. R=ken2 CC=golang-dev https://golang.org/cl/2615041
-
Ken Thompson authored
includes array[i]++ and slice[i]++ R=rsc CC=golang-dev https://golang.org/cl/2614041
-
Russ Cox authored
Fixes #1209. R=ken2 CC=golang-dev https://golang.org/cl/2612041
-
Russ Cox authored
R=kaib CC=golang-dev https://golang.org/cl/2608041
-
Russ Cox authored
The frame that gets allocated is for both the args and the autos. If together they exceed the default frame size, we need to tell morestack about both so that it allocates a large enough frame. Sanity check stack pointer in morestack to catch similar bugs. R=ken2 CC=golang-dev https://golang.org/cl/2609041
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/2606041
-
Russ Cox authored
Thanks to kaib for the tip. R=ken2 CC=golang-dev https://golang.org/cl/2596043
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/2566042
-
Rob Pike authored
value (through unsafe means) without having a reflect.Type of type *interface{} (pointer to interface). This is needed to make gob able to handle interface values by a method analogous to the way it handles maps. R=rsc CC=golang-dev https://golang.org/cl/2597041
-
Rob Pike authored
R=adg, r2 CC=golang-dev https://golang.org/cl/2596041
-
Russ Cox authored
Fixes #671. R=adg, cw CC=golang-dev https://golang.org/cl/2431042
-
Alex Brainman authored
R=rsc CC=golang-dev https://golang.org/cl/2595041
-
- 19 Oct, 2010 7 commits
-
-
Yasuhiro Matsumoto authored
R=brainman, vcc, Joe Poirier, rsc CC=golang-dev https://golang.org/cl/2530041
-
Nigel Tao authored
R=adg CC=golang-dev https://golang.org/cl/2470045
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/2588041
-
Russ Cox authored
That is, move the pc/ln table and the symbol table into the read-only data segment. This eliminates the need for a special load command to map the symbol table into memory, which makes the information available on systems that couldn't handle the magic load to 0x99000000, like NaCl and ARM QEMU and Linux without config_highmem=y. It also eliminates an #ifdef and some clumsy code to find the symbol table on Windows. The bad news is that the binary appears to be bigger than it used to be. This is not actually the case, though: the same amount of data is being mapped into memory as before, and the tables are still read-only, so they're still shared across multiple instances of the binary as they were before. The difference is just that the tables aren't squirreled away in some section that "size" doesn't know to look at. This is a checkpoint. It probably breaks Windows and breaks NaCl more than it used to be broken, but those will be fixed. The logic involving -s needs to be revisited too. Fixes #871. R=ken2 CC=golang-dev https://golang.org/cl/2587041
-
Russ Cox authored
Lay out code before data. R=ken2 CC=golang-dev https://golang.org/cl/2490043
-
Luuk van Dijk authored
R=rsc CC=golang-dev https://golang.org/cl/2512042
-
Yasuhiro Matsumoto authored
Fixes #1204. R=golang-dev, brainman, Joe Poirier, alex.brainman, adg CC=golang-dev, math-nuts https://golang.org/cl/2532041
-
- 18 Oct, 2010 4 commits
-
-
Andrew Gerrand authored
R=r, r2 CC=golang-dev https://golang.org/cl/2543044
-
Rob Pike authored
R=adg CC=golang-dev https://golang.org/cl/2486043
-
Andrew Gerrand authored
R=rsc, r2, r CC=golang-dev https://golang.org/cl/2550041
-
Rob Pike authored
Fixes #1151. R=rsc CC=golang-dev https://golang.org/cl/2469043
-