]> Cypherpunks repositories - gostls13.git/commit
[dev.cc] asm: fix handling of statics (data<>) and symbols
authorRob Pike <r@golang.org>
Tue, 3 Feb 2015 18:41:16 +0000 (10:41 -0800)
committerRob Pike <r@golang.org>
Tue, 3 Feb 2015 20:43:37 +0000 (20:43 +0000)
commiteeebcd9db30219d41ddb8a17d2bba3e72c894dd5
treee48512d23108699a1e256bb376793bbba94996b8
parent975c82fd9b58b5ff4cab4fff2327308e1fcaf427
[dev.cc] asm: fix handling of statics (data<>) and symbols

A typo limited the number of center-dot substitutions to one. Fixed.

With these changes, plus a recent fix to 6a, the are no differences,
down to the bit level, in object code for any assembly files in std
between asm and 6a. (Runtime has not been checked yet, but I
expect no errors.)

Change-Id: I0e8045b4414223d937e7f8919c8768860554b7d5
Reviewed-on: https://go-review.googlesource.com/3820
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/asm/internal/asm/asm.go
src/cmd/asm/internal/lex/input.go
src/cmd/asm/internal/lex/lex.go