summaryrefslogtreecommitdiff
path: root/src/module.h
diff options
context:
space:
mode:
authorqiuyiuestc <[email protected]>2010-10-19 09:25:00 +0000
committerqiuyiuestc <[email protected]>2010-10-19 09:25:00 +0000
commit9403fd7fc5130549b13b9260d8613687041f3c13 (patch)
treea8259fd0eebfd1cc01aba632c06ad8bfb7d00dcb /src/module.h
parent87c7e890b272f7bd668da2a70f2c8eaa0e77e3e3 (diff)
support kernel symbol link in module system
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1022 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/module.h')
-rw-r--r--src/module.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/module.h b/src/module.h
index c28aae0bee..105124c561 100644
--- a/src/module.h
+++ b/src/module.h
@@ -17,6 +17,7 @@ typedef rt_uint16_t Elf32_Half; /* Unsigned medium integer */
#define ELFMAG2 'L' /* e_ident[EI_MAG2] */
#define ELFMAG3 'F' /* e_ident[EI_MAG3] */
#define RTMMAG "\177RTM" /* magic */
+#define ELFMAG "\177ELF" /* magic */
#define SELFMAG 4 /* size of magic */
#define EI_CLASS 4 /* file class */