Skip to content
Commit b2fed34a authored by Gustavo Romero's avatar Gustavo Romero Committed by Michael Ellerman
Browse files

selftests/powerpc: Adjust wild_bctr to build with old binutils



Currently the selftest wild_bctr can fail to build when an old gcc is
used, notably on gcc using a binutils version <= 2.27, because the
assembler does not support the integer suffix UL.

This patch adjusts the wild_bctr test so the REG_POISON value is still
treated as an unsigned long for the shifts on compilation but the UL
suffix is absent on the stringification, so the inline asm code
generated has no UL suffixes.

Signed-off-by: default avatarGustavo Romero <gromero@linux.vnet.ibm.com>
[mpe: Wrap long line]
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 66f93c5a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment