diff options
author | Scott Wood <oss@buserror.net> | 2016-07-09 11:22:39 +0300 |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2016-07-09 11:26:53 +0300 |
commit | 9f595fd8b54809fed13fc30906ef1e90a3fcfbc9 (patch) | |
tree | 63aa2f03d42682e99e06239327e15e8c25ecda7a /arch/powerpc/Kconfig | |
parent | 62f64b49d04dc70687cd713c804fecd80216b2d6 (diff) | |
download | linux-9f595fd8b54809fed13fc30906ef1e90a3fcfbc9.tar.xz |
powerpc/8xx: Force VIRT_IMMR_BASE to be a positive number
The asm-offsets mechanism generates signed numbers, even if the
input value is explicitly unsigned. This causes a problem with
older binutils (e.g. 2.23), which sign-extend a negative number
when @h is applied. Thus, this instruction:
cmpli cr0, r11, VIRT_IMMR_BASE@h
resulted in this:
Error: operand out of range (0xfffffff0 is not between 0x00000000 and
0x0000ffff)
By casting to a larger type, we can force the output to be expressed
as a positive number.
Signed-off-by: Scott Wood <oss@buserror.net>
Cc: Christophe Leroy <christophe.leroy@c-s.fr>
Diffstat (limited to 'arch/powerpc/Kconfig')
0 files changed, 0 insertions, 0 deletions