aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchandramouli narayanan <mouli@linux.intel.com>2012-06-25 12:48:34 -0700
committerchandramouli narayanan <mouli@linux.intel.com>2012-06-25 12:48:34 -0700
commit357d40435e62ee1e8b3a96107375282fdc1dd6e6 (patch)
treec6f7fb78fe08cad14e22a4bbdef7482f58f0556d
parent6dcc24c818de73fcf54e1cae57f560cb5f01f125 (diff)
downloadsyslinux-357d40435e62ee1e8b3a96107375282fdc1dd6e6.tar.gz
syslinux-357d40435e62ee1e8b3a96107375282fdc1dd6e6.tar.xz
syslinux-357d40435e62ee1e8b3a96107375282fdc1dd6e6.zip
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.
-rw-r--r--memdump/code16.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/memdump/code16.h b/memdump/code16.h
index ca765651..ebf5ff49 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