summaryrefslogtreecommitdiff
path: root/src/module.h
diff options
context:
space:
mode:
authorparai <[email protected]>2017-08-20 20:24:07 +0800
committerparai <[email protected]>2017-08-20 20:24:07 +0800
commit2957cf6f52f54fe06325d0595b3f535477cf2262 (patch)
treeeb8e5489db07f76e9a2a01fd4e97ac8e1ee7ae89 /src/module.h
parent0cd49a20ad0c8cbb40e200d25595e345e56ce735 (diff)
x86: bring up share object module on i386 machine
1. upddate kernel module to support i386 2. update libdl to support open *.so by absolute path 3. new test case bsp/x86/src/hello.c to test i386 module feature Signed-off-by: parai <[email protected]>
Diffstat (limited to 'src/module.h')
-rw-r--r--src/module.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/module.h b/src/module.h
index 1ae9eedbec..90d4dc9524 100644
--- a/src/module.h
+++ b/src/module.h
@@ -208,6 +208,13 @@ typedef struct
#define R_ARM_THM_JUMP24 30
#define R_ARM_V4BX 40
+/*
+ * Relocation type for arm
+ */
+#define R_386_GLOB_DAT 6
+#define R_386_JUMP_SLOT 7
+#define R_386_RELATIVE 8
+
/* Program Header */
typedef struct
{