[AD] [PATCH] fix assembler code in modexgfx.s for newer binutils |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Hi,
Here's a patch to fix compilation of misc/modexgfx.s with newer
binutils.
--- allegro-4.2.0/src/misc/modexgfx.s.binutils 2003-07-16 21:43:28.000000000 +0 200
+++ allegro-4.2.0/src/misc/modexgfx.s 2005-07-25 12:45:27.000000000 +0200
@@ -1230,7 +1230,8 @@
pushw %es
movl DEST, %edx /* load segment selector */
- movl BMP_SEG(%edx), %es
+ movl BMP_SEG(%edx), %eax
+ movl %eax, %es
_align_
x_blit_forward_y_loop:
@@ -1335,7 +1336,8 @@
addl %eax, DEST_X
movl DEST, %edx /* load segment selector */
- movl BMP_SEG(%edx), %es
+ movl BMP_SEG(%edx), %eax
+ movl %eax, %es
_align_
x_blit_backward_y_loop:
Regards
--
Olivier Blin
Mandriva
Mandrakesoft becomes Mandriva