fix some bugs when COFF is used and some configure bugs.

This commit is contained in:
okuji committed 1999-09-18 16:23:07 +00:00
1 parent c58d9a073e
commit dc267a70d2
10 files changed
+220 -131

No files matched your search

+2 -2
View File
@@ -31,7 +31,7 @@
#define ABS(x) (x-_start+0x7c00)
/* Print message string */
#define MSG(x) movw $x, %si; call message
#define MSG(x) movw $ABS(x), %si; call message
.file "stage1_lba.S"
@@ -99,7 +99,7 @@ after_BPB:
/*
* Check if we have a forced disk reference here
*/
movb firstlist, %al
movb ABS(firstlist), %al
cmpb $0xff, %al
je 1f
movb %al, %dl