Module Name: src Committed By: rin Date: Fri Apr 29 06:42:58 UTC 2022
Modified Files: src/sys/arch/amiga/stand/bootblock/boot: bbstart.s Log Message: Fix boot.amiga when relocation table is located beyond 0x8000. In this case, we cannot load reltab directly into %a2 by movw: For m68k, movw is actually synonym for different instructions when its destination is data or address register, respectively. (1) For data register, it is for move.w, which loads source into lower half word with upper wharf word being kept untouched. (2) For address register, it is movea.w, which loads source with *sign extension*. XXX We should really stop using movw, and use move.w or movea.w explicitly. However, this will end up with BIG diff... Thanks ryo@ and isaki@ for comments offlist. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/amiga/stand/bootblock/boot/bbstart.s Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.