diff options
author | Carlos O'Donell <carlos@redhat.com> | 2013-05-22 23:22:36 -0400 |
---|---|---|
committer | Carlos O'Donell <carlos@redhat.com> | 2013-05-22 23:22:36 -0400 |
commit | 13e23af76e64efc055103344bd56d553ceee8512 (patch) | |
tree | 46ea93986dadb55cdef965785508d2783342cf7d /elf/dl-hwcaps.c | |
parent | 351fe550871f522a19b60f66aa75b96426d67f2f (diff) | |
download | glibc-13e23af76e64efc055103344bd56d553ceee8512.tar.gz glibc-13e23af76e64efc055103344bd56d553ceee8512.tar.xz glibc-13e23af76e64efc055103344bd56d553ceee8512.zip |
Update comments in ldconfig.c and dl-hwcaps.c.
In dl-hwcaps.c the comment read that rounding was done to ElfW(Addr), but it's actually rounded to ElfW(Word). In ldconfig.c we make each comment a sentence and mention that the "tls" pseudo-hwcap is just for legacy installations where TLS was optional. --- 2013-05-22 Carlos O'Donell <carlos@redhat.com> * elf/ldconfig.c (is_hwcap_platform): Make comments full setences. (main): Mention "tls" pseudo-hwcap is legacy. * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
Diffstat (limited to 'elf/dl-hwcaps.c')
-rw-r--r-- | elf/dl-hwcaps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-hwcaps.c b/elf/dl-hwcaps.c index 1b7fe52a6a..94cbf6cc2d 100644 --- a/elf/dl-hwcaps.c +++ b/elf/dl-hwcaps.c @@ -68,9 +68,9 @@ _dl_important_hwcaps (const char *platform, size_t platform_len, size_t *sz, + GLRO(dl_sysinfo_map)->l_addr); /* The standard ELF note layout is exactly as the anonymous struct. The next element is a variable length vendor name of length - VENDORLEN (with a real length rounded to ElfW(Addr)), followed + VENDORLEN (with a real length rounded to ElfW(Word)), followed by the data of length DATALEN (with a real length rounded to - ElfW(Addr)). */ + ElfW(Word)). */ const struct { ElfW(Word) vendorlen; |