From: Jan Kratochvil Date: Sat, 2 Feb 2013 09:29:17 +0000 (+0100) Subject: Improve link_map.l_addr comment. X-Git-Tag: upstream/2.30~9566 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=542f94662e8235d9917b0783df70bcdf9d729503;p=external%2Fglibc.git Improve link_map.l_addr comment. --- diff --git a/ChangeLog b/ChangeLog index 6125b47..74b9a59 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-02-02 Jan Kratochvil + + * elf/link.h (struct link_map): Extend the l_addr comment. + * include/link.h (struct link_map): Likewise. + 2013-02-01 Joseph Myers [BZ #13550] diff --git a/elf/link.h b/elf/link.h index 500871f..a50ba83 100644 --- a/elf/link.h +++ b/elf/link.h @@ -86,7 +86,8 @@ struct link_map /* These first few members are part of the protocol with the debugger. This is the same format used in SVR4. */ - ElfW(Addr) l_addr; /* Base address shared object is loaded at. */ + ElfW(Addr) l_addr; /* Difference between the address in the ELF + file and the addresses in memory. */ 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. */ diff --git a/include/link.h b/include/link.h index 12dcf03..230e95d 100644 --- a/include/link.h +++ b/include/link.h @@ -87,7 +87,8 @@ struct link_map /* These first few members are part of the protocol with the debugger. This is the same format used in SVR4. */ - ElfW(Addr) l_addr; /* Base address shared object is loaded at. */ + ElfW(Addr) l_addr; /* Difference between the address in the ELF + file and the addresses in memory. */ 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. */