x86: replace '||' usage in the linker script
authorRoger Pau Monné <roger.pau@citrix.com>
Thu, 12 Jul 2018 08:48:18 +0000 (10:48 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 12 Jul 2018 08:48:18 +0000 (10:48 +0200)
commite21ba44f771226a5f6f0ce269aabcfb019eae539
treeab2a033d35cfae3f6b56b8ec2e086e8064304b33
parent94c7b060c072794d9f21755db24db1ac502ceb4b
x86: replace '||' usage in the linker script

With '|'. The result is the same, and the later works with lld. Fixes
the following error when building Xen with lld:

ld    -melf_x86_64_fbsd  -T xen.lds -N prelink.o --build-id=sha1 \
    /root/src/xen/xen/common/symbols-dummy.o -o /root/src/xen/xen/.xen-syms.0
ld: error: xen.lds:260: malformed number: |
>>> ASSERT(__image_base__ > (((((((((261 >> 8) * 0xffff000000000000) | (261 << 39))) + ((1 << 39) / 2)) + (64 << 30)) + (1 << 30)) + (1 << 30))) ||
>>>                                                                                                                                               ^

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/xen.lds.S