[syslinux:firmware] The assembler directive in memdump/code16. h is fixed for x86_64 build.

syslinux-bot for chandramouli narayanan mouli at linux.intel.com
Fri Nov 9 09:06:22 PST 2012


Commit-ID:  357d40435e62ee1e8b3a96107375282fdc1dd6e6
Gitweb:     http://www.syslinux.org/commit/357d40435e62ee1e8b3a96107375282fdc1dd6e6
Author:     chandramouli narayanan <mouli at linux.intel.com>
AuthorDate: Mon, 25 Jun 2012 12:48:34 -0700
Committer:  chandramouli narayanan <mouli at linux.intel.com>
CommitDate: Mon, 25 Jun 2012 12:48:34 -0700

The assembler directive in memdump/code16.h is fixed for x86_64 build.

Remanants of the unused old i386-only files, if any, need to be pruned.

---
 memdump/code16.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/memdump/code16.h b/memdump/code16.h
index ca76565..ebf5ff4 100644
--- a/memdump/code16.h
+++ b/memdump/code16.h
@@ -1,6 +1,8 @@
 /* Must be included first of all */
+#if __SIZEOF_POINTER__ == 4
 #ifdef __ASSEMBLY__
 	.code16
 #else
 __asm__ (".code16gcc");
 #endif
+#endif


More information about the Syslinux-commits mailing list