diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-04 00:51:49 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-04 00:51:49 +0000 |
commit | b445ebef4e451bc7fe7435bacc58100578fa324a (patch) | |
tree | 74c736c4b15d5974282927247b57419305a0550f /include/link.h | |
parent | 7285da14ed731d5bdb310bd8f4018c07c8a83e5c (diff) |
integrate frv link.h
Diffstat (limited to 'include/link.h')
-rw-r--r-- | include/link.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/link.h b/include/link.h index 1dd1c4c46..afff90d99 100644 --- a/include/link.h +++ b/include/link.h @@ -78,6 +78,10 @@ extern struct r_debug _r_debug; */ extern ElfW(Dyn) _DYNAMIC[]; +#ifdef __FRV_FDPIC__ +# include <bits/elf-fdpic.h> +#endif + /* Structure describing a loaded shared object. The `l_next' and `l_prev' members form a chain of all the shared objects loaded at startup. @@ -89,7 +93,11 @@ struct link_map /* These first few members are part of the protocol with the debugger. This is the same format used in SVR4. */ +#ifdef __FRV_FDPIC__ + struct elf32_fdpic_loadaddr l_addr; +#else ElfW(Addr) l_addr; /* Base address shared object is loaded at. */ +#endif char *l_name; /* Absolute file name object was found in. */ ElfW(Dyn) *l_ld; /* Dynamic section of the shared object. */ struct link_map *l_next, *l_prev; /* Chain of loaded objects. */ @@ -123,7 +131,11 @@ struct link_map struct dl_phdr_info { +#ifdef __FRV_FDPIC__ + struct elf32_fdpic_loadaddr dlpi_addr; +#else ElfW(Addr) dlpi_addr; +#endif const char *dlpi_name; const ElfW(Phdr) *dlpi_phdr; ElfW(Half) dlpi_phnum; |