summaryrefslogtreecommitdiffstats
path: root/src/build/buildpnor
diff options
context:
space:
mode:
authorJoel Stanley <joel.stanley@au1.ibm.com>2017-06-27 18:00:09 +0930
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-06-27 23:48:17 -0400
commitf2250d8720223ea8fde4a7c0b6819eaebf070915 (patch)
tree2c550613bd3cd44f652cb80d7fac0c7dbededaa3 /src/build/buildpnor
parent0ffbb55230683d680c3a4dbc6ba40b4af5c61572 (diff)
downloadtalos-hostboot-f2250d8720223ea8fde4a7c0b6819eaebf070915.tar.gz
talos-hostboot-f2250d8720223ea8fde4a7c0b6819eaebf070915.zip
kernel: Fix cmp in shutdown.S for modern binutils
This is a further fix that was missed in 10983d35f568 ("Convert cmpi to cmpwi to fix build for modern binutils"). In the past binutils would assume 'cmp' meant 'cmpw'. Modern binutils require the explict use of cmpw or cmpd. The first two instances are dealing with SPRs, which are 32-bit, so cmpw is correct. It is not clear what to do in the third use of cmp, but given old toolchains have generated cmpw lets assume that we should maintain the behaviour. Change-Id: Iee5dd5903dcd7ac4028bab0176e08ce3db23b2d5 Signed-off-by: Joel Stanley <joel.stanley@au1.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42476 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/build/buildpnor')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud