[2215] 2009-05-14 Christian Franke <[email protected]>

Christian Franke <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2215
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2215
Author:   chrfranke
Date:     2009-05-14 21:56:46 +0000 (Thu, 14 May 2009)
Log Message:
-----------
2009-05-14  Christian Franke  <[email protected]>

	* commands/i386/pc/drivemap_int13h.S: Add missing EXT_C for symbols.
	This fixes build on Cygwin.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/commands/i386/pc/drivemap_int13h.S

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-05-14 13:43:13 UTC (rev 2214)
+++ trunk/grub2/ChangeLog	2009-05-14 21:56:46 UTC (rev 2215)
@@ -1,3 +1,8 @@
+2009-05-14  Christian Franke  <[email protected]>
+
+	* commands/i386/pc/drivemap_int13h.S: Add missing EXT_C for symbols.
+	This fixes build on Cygwin.
+
 2009-05-14  Pavel Roskin  <[email protected]>
 
 	* commands/i386/pc/drivemap_int13h.S: Eliminate unconditional

Modified: trunk/grub2/commands/i386/pc/drivemap_int13h.S
===================================================================
--- trunk/grub2/commands/i386/pc/drivemap_int13h.S	2009-05-14 13:43:13 UTC (rev 2214)
+++ trunk/grub2/commands/i386/pc/drivemap_int13h.S	2009-05-14 21:56:46 UTC (rev 2215)
@@ -19,7 +19,7 @@
 
 #include <grub/symbol.h>
 
-#define INT13H_OFFSET(x) ((x) - grub_drivemap_handler)
+#define INT13H_OFFSET(x) ((x) - EXT_C(grub_drivemap_handler))
 
 .code16
 
@@ -31,7 +31,7 @@
 	/* Map the drive number (always in DL).  */
 	push	%ax
 	push	%bx
-	movw	$INT13H_OFFSET(grub_drivemap_mapstart), %bx
+	movw	$INT13H_OFFSET(EXT_C(grub_drivemap_mapstart)), %bx
 
 more_remaining:
 	movw	%cs:(%bx), %ax
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.