]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: make function 'do_undefined' properly compiles for PowerPC
authorWHR <whr@rivoreo.one>
Tue, 30 Apr 2024 16:55:10 +0000 (00:55 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 13 May 2024 22:51:13 +0000 (16:51 -0600)
commite0112bc508b142786b919eb48c2dc8eca9f0361b
treeeb0ec4b30912ae321a2786a2dc7a5019a4783554
parent1466e065a94b3cd242f945f16c916a7f7da02985
sandbox: make function 'do_undefined' properly compiles for PowerPC

The 2 bytes 0xffff is too short for being a PowerPC instruction, resulting
in an error similar to:
    /tmp/ccW8yjie.s: Assembler messages:
    /tmp/ccW8yjie.s: Error: unaligned opcodes detected in executable segment
    /tmp/ccW8yjie.s:223: Error: instruction address is not a multiple of 4
    make[2]: *** [/tmp/ccyF4HIC.mk:17: /tmp/ccCKUFuF.ltrans5.ltrans.o] Error 1

Signed-off-by: WHR <msl0000023508@gmail.com>
cmd/sandbox/exception.c