[Mirmince-commits] {mirmince} branch master updated. 8f712c541f05400b008cff201137c861aedc9072
tg at freewrt.org
tg at freewrt.org
Sun Jan 13 20:31:14 UTC 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Main git repository for FreeWRT project mirmince".
The branch, master has been updated
via 8f712c541f05400b008cff201137c861aedc9072 (commit)
from 5a3da144cc64f70dce82d769e7585a3915f1f7a3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8f712c541f05400b008cff201137c861aedc9072
Author: Thorsten Glaser <tg at mirbsd.org>
Date: Sun Jan 13 20:30:37 2013 +0000
add _ALIGN_DATA macro (argument is natural alignment of the type)
we currently do not use it *at all* on i386 (whyever…) but as an
example, stubbed out natural alignment is given
m68k will use 「#define _ALIGN_DATA(x) .balign 2,0」 later on
-----------------------------------------------------------------------
Summary of changes:
include/mirmince/asm.h | 4 ++++
md/i386/asm.h | 5 +++++
2 files changed, 9 insertions(+)
diff --git a/include/mirmince/asm.h b/include/mirmince/asm.h
index 7cae754..67eb4ef 100644
--- a/include/mirmince/asm.h
+++ b/include/mirmince/asm.h
@@ -42,6 +42,10 @@
#endif
#endif
+#ifndef _ALIGN_DATA
+#define _ALIGN_DATA(x) /* nothing */
+#endif
+
#ifndef _ALIGN_TEXT
#define _ALIGN_TEXT /* nothing */
#endif
diff --git a/md/i386/asm.h b/md/i386/asm.h
index 1e8990b..554473b 100644
--- a/md/i386/asm.h
+++ b/md/i386/asm.h
@@ -9,4 +9,9 @@
#define _ALIGN_TEXT .p2align 2,0x90
#endif
+#ifdef notdef
+/* we do not need this, reallt, on x86 */
+#define _ALIGN_DATA(x) .balign x,0
+#endif
+
#endif
hooks/post-receive
--
Main git repository for FreeWRT project mirmince
(FreeWRT project mirmince repository mirmince)
More information about the Mirmince-commits
mailing list