This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/elf ldconfig.c
- From: roland at sourceware dot org
- To: glibc-cvs at sources dot redhat dot com
- Date: 7 Apr 2005 20:56:56 -0000
- Subject: libc/elf ldconfig.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sources.redhat.com 2005-04-07 20:56:56
Modified files:
elf : ldconfig.c
Log message:
2005-03-22 Roland McGrath <roland@redhat.com>
* sysdeps/generic/ldsodefs.h (struct rtld_global_ro):
Add _dl_sysinfo_map.
* elf/rtld.c (dl_main): Don't call _dl_init_paths early in the
rtld_is_main case. Call it unconditionally later.
Move GLRO(dl_sysinfo_dso) handling earlier, before _dl_init_paths call.
Initialize GLRO(dl_sysinfo_map).
* elf/dl-load.c (open_path): Bail out if _dl_init_paths wasn't called.
* sysdeps/generic/dl-sysdep.c (_DL_FIRST_EXTRA): New macro.
(_dl_important_hwcaps)
[(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
GLRO(dl_sysinfo_map) for PT_NOTE giving synthetic hwcap names
and bit values.
* elf/ldconfig.c (_DL_FIRST_EXTRA): New macro.
(hwcap_extra): New static variable.
(is_hwcap_platform): Check hwcap_extra for a matching name.
Remove tls special case.
(path_hwcap): Likewise.
(parse_conf): Parse "hwcap" directive to define synthetic hwcap bits
and their names, stored in hwcap_extra.
(main) [USE_TLS]: Initialize final synthetic hwcap bit as "tls".
* elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic.
* elf/ldconfig.c (search_dir): Likewise.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/elf/ldconfig.c.diff?cvsroot=glibc&r1=1.48&r2=1.49