summaryrefslogtreecommitdiff
path: root/rtl-obj.h
diff options
context:
space:
mode:
authorPeng Fan <van.freenix@gmail.com>2013-09-05 13:05:17 +0800
committerPeng Fan <van.freenix@gmail.com>2013-09-05 13:47:39 +0800
commita48d508e21d4baa3e7c395218a3bce5ad2359d96 (patch)
tree1c23d06a17c09fe5db4f9d1d82ff6a6694ae3ad9 /rtl-obj.h
parent65096e5cf330be0eaed449c5ec44afb50225e41f (diff)
file details and debug support
This patch contains the file details part and linkmap support. In order to save space, the linkmap part and file details part are merged into one implementation. Both use the same pointer, obj->detail. Signed-off-by: Peng Fan <van.freenix@gmail.com>
Diffstat (limited to 'rtl-obj.h')
-rw-r--r--rtl-obj.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/rtl-obj.h b/rtl-obj.h
index 5396a6c..2f7c403 100644
--- a/rtl-obj.h
+++ b/rtl-obj.h
@@ -163,6 +163,13 @@ struct rtems_rtl_obj_s
void* entry; /**< The entry point of the module. */
uint32_t checksum; /**< The checksum of the text sections. A
* zero means do not checksum. */
+ void* detail; /**< The file details. It contains the elf file
+ * detail, mainly including elf file name,
+ * section offset, section size, which
+ * elf this section belongs to.*/
+ uint32_t* sec_num; /**< The sec nums of each obj. */
+ uint32_t obj_num; /**< The count of elf files in an rtl obj. */
+ struct link_map* linkmap; /**< For GDB. */
};
/**