[Darwin-ppc, build] Fixes for clang build.
authorIain Sandoe <iain@codesourcery.com>
Thu, 26 May 2016 08:00:00 +0000 (09:00 +0100)
committerIain Sandoe <iain@codesourcery.com>
Thu, 26 May 2016 08:06:35 +0000 (09:06 +0100)
commit52fbd12dca1bddf0b135a24e7136f10af79a06bd
tree13e9e3486e15a577f00706355bb70d5dce31127a
parent92810b4bc101fccead2234b7385d4fa5e7a3e56a
[Darwin-ppc, build] Fixes for clang build.

clang is experimental on powerpc-darwin, but the changes are appropriate to cctools as as well.

Use the 'official' simplified cmpwi insn, rather than the implied one accepted by cctools.
Do not re-use a set value.
src/powerpc/darwin_closure.S