summaryrefslogtreecommitdiff
path: root/libbsd
diff options
context:
space:
mode:
authorPeng Fan <van.freenix@gmail.com>2013-09-05 10:32:00 +0800
committerPeng Fan <van.freenix@gmail.com>2013-09-05 13:47:39 +0800
commitd605b623c94cc8c97fa9c831845a83a0b67735bc (patch)
treef6e134b310674074d613dd647d54fd3ec2e0a8e5 /libbsd
parenta48d508e21d4baa3e7c395218a3bce5ad2359d96 (diff)
Add rpath support
Signed-off-by: Peng Fan <van.freenix@gmail.com>
Diffstat (limited to 'libbsd')
-rw-r--r--libbsd/include/link_elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbsd/include/link_elf.h b/libbsd/include/link_elf.h
index 679d8e1..6419561 100644
--- a/libbsd/include/link_elf.h
+++ b/libbsd/include/link_elf.h
@@ -39,6 +39,8 @@ struct link_map {
uint32_t sec_num; /**< The count of section. */
section_detail* sec_detail; /**< The section details. */
uint32_t* sec_addr[rap_secs]; /**< The RAP section addr. */
+ uint32_t rpathlen; /**< The length of the path. */
+ char* rpath; /**< The path of object files. */
struct link_map* l_next; /**< Linked list of mapped libs. */
struct link_map* l_prev;
};