diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-02-02 10:29:17 +0100 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-02-02 10:29:17 +0100 |
commit | 542f94662e8235d9917b0783df70bcdf9d729503 (patch) | |
tree | 8ef3e59d0452462d8e6e292e32398cdfea634bcd | |
parent | 40b8fc40860b90aab1b2f88d9f4f45627fd7cb24 (diff) | |
download | glibc-542f94662e8235d9917b0783df70bcdf9d729503.zip glibc-542f94662e8235d9917b0783df70bcdf9d729503.tar.gz glibc-542f94662e8235d9917b0783df70bcdf9d729503.tar.bz2 |
Improve link_map.l_addr comment.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | elf/link.h | 3 | ||||
-rw-r--r-- | include/link.h | 3 |
3 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com> + + * elf/link.h (struct link_map): Extend the l_addr comment. + * include/link.h (struct link_map): Likewise. + 2013-02-01 Joseph Myers <joseph@codesourcery.com> [BZ #13550] @@ -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. */ |