Commit graph

4 commits

Author SHA1 Message Date
Roland McGrath ab1d521db3 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion)
[(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
	GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version,
	we can skip the uname call if it's there.
	* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use
	DL_SYSDEP_OSCHECK here.
	* elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead.

	* 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".

	* sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Use uint64_t for
	_dl_hwcap and _dl_hwcap_mask.
	* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Cast a_val for
	AT_HWCAP to unsigned long int.
	* elf/dl-support.c (_dl_aux_init): Likewise.
	(_dl_hwcap): Update defn.

	* elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic.
	* elf/ldconfig.c (search_dir): Likewise.
2005-04-07 20:57:41 +00:00
Ulrich Drepper a334319f65 (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
Jakub Jelinek 0ecb606cb6 2.5-18.1 2007-07-12 18:26:36 +00:00
Ulrich Drepper 7eb7fdda7e Update.
2004-04-17  Ulrich Drepper  <drepper@redhat.com>

	* locales/kk_KZ: New file.
	* charmaps/PT154: New file.
	* charmaps/RK1048: New file.

	* locales/af_ZA: Make sure yesexpr and noexpr regex
	* locales/ar_TN: Likewise.
	* locales/ar_YE: Likewise.
	* locales/bn_BD: Likewise.
	* locales/br_FR: Likewise.
	* locales/ca_ES: Likewise.
	* locales/cy_GB: Likewise.
	* locales/gd_GB: Likewise.
	* locales/gv_GB: Likewise.
	* locales/hy_AM: Likewise.
	* locales/id_ID: Likewise.
	* locales/ka_GE: Likewise.
	* locales/kw_GB: Likewise.
	* locales/lg_UG: Likewise.
	* locales/mk_MK: Likewise.
	* locales/oc_FR: Likewise.
	* locales/ru_UA: Likewise.
	* locales/sk_SK: Likewise.
	* locales/sr_YU: Likewise.
	* locales/sr_YU@cyrillic: Likewise.
	* locales/uk_UA: Likewise.
	* locales/ur_PK: Likewise.
	* locales/wa_BE: Likewise.
	* locales/fa_IR: Fix yesexpr and noexpr.
2004-04-17 22:34:18 +00:00