]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: avoid using %ebx on i386.
authorShenghou Ma <minux.ma@gmail.com>
Sun, 24 Feb 2013 14:45:53 +0000 (22:45 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Sun, 24 Feb 2013 14:45:53 +0000 (22:45 +0800)
commit89ec3a610d2a1c9887fe9ee0bd622f3ab14c6750
tree43c168d69358654deda40b2776f1872e6443fd60
parentc5f5df4d986b37a9bbbc340a6348dc26997da5c1
cmd/dist: avoid using %ebx on i386.
Or gcc (-fPIC) will complain:
cmd/dist/unix.c: In function ‘cansse2’
cmd/dist/unix.c:774: error: can't find a register in class ‘BREG’ while reloading ‘asm’
cmd/dist/unix.c:774: error: ‘asm’ operand has impossible constraints

This affects bootstrapping on native Darwin/386 where all code is
compiled with -fPIC.

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/7394047
src/cmd/dist/unix.c