summaryrefslogtreecommitdiff
path: root/src/module.h
diff options
context:
space:
mode:
authorqiuyiuestc <[email protected]>2010-05-29 14:19:56 +0000
committerqiuyiuestc <[email protected]>2010-05-29 14:19:56 +0000
commit8b8dba661f5e29e1592cc9df92ef219099809330 (patch)
tree31451ddff2d979d338cc0e9fc25b74bda5117632 /src/module.h
parent1fb4d848370a33e176b2a3bf7fb532e7ed8e7823 (diff)
module developing
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@742 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/module.h')
-rw-r--r--src/module.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/module.h b/src/module.h
index ae2e8b83a8..486e956b4f 100644
--- a/src/module.h
+++ b/src/module.h
@@ -155,11 +155,12 @@ typedef struct {
* Relocation type for arm
*/
#define R_ARM_NONE 0
-#define R_ARM_PC24 1
+#define R_ARM_PC24 1
#define R_ARM_ABS32 2
#define R_ARM_PLT32 27
-#define R_ARM_CALL 28
-#define R_ARM_JUMP24 29
+#define R_ARM_CALL 28
+#define R_ARM_JUMP24 29
+#define R_ARM_V4BX 40
/* Program Header */
typedef struct {
@@ -202,4 +203,6 @@ typedef struct {
/* Symbol table index */
#define STN_UNDEF 0 /* undefined */
+typedef rt_err_t (*elf_entry)( const void * env, struct rt_module_info **module_info;);
+
#endif