Ulrich Drepper [Fri, 31 Mar 2000 04:17:54 +0000 (04:17 +0000)]
Update.
2000-03-30 Andreas Jaeger <aj@suse.de>
* misc/sys/cdefs.h: Remove K&R support.
Ulrich Drepper [Fri, 31 Mar 2000 04:10:36 +0000 (04:10 +0000)]
Update.
2000-03-30 Ulrich Drepper <drepper@redhat.com>
* iconv/skeleton.c: Avoid compiling unaligned versions in some
with size of dynamic sectionmore cases.
* iconv/loop.c: Likewise.
Ulrich Drepper [Fri, 31 Mar 2000 03:44:44 +0000 (03:44 +0000)]
Update.
2000-03-29 Bruno Haible <haible@clisp.cons.org>
* iconv/loop.c (put16): Remove __const. Fix access index.
(put32): Remove __const. Use uint32_t instead of uint16_t.
* iconv/skeleton.c: Likewise.
Ulrich Drepper [Fri, 31 Mar 2000 03:43:13 +0000 (03:43 +0000)]
(put16): Remove __const. Fix access index. (put32): Remove __const. Use uint32_t instead of uint16_t.
Roland McGrath [Thu, 30 Mar 2000 19:26:59 +0000 (19:26 +0000)]
* mach/Versions (libc: GLIBC_2.0)
[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
__vm_allocate on this.
[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
mutex- and spinlock-related symbols on this.
[!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
New version set. Lock-related symbols go here instead in this case.
* sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
_cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
cthread_getspecific, cthread_setspecific, __libc_getspecific.
* hurd/Versions
[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
Put them here instead.
[!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
New version set. Those cthreads symbols go here instead in this case.
* Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
Roland McGrath [Thu, 30 Mar 2000 19:26:35 +0000 (19:26 +0000)]
2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
* mach/Versions (libc: GLIBC_2.0)
[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
__vm_allocate on this.
[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
mutex- and spinlock-related symbols on this.
[!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
New version set. Lock-related symbols go here instead in this case.
* sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
_cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
cthread_getspecific, cthread_setspecific, __libc_getspecific.
* hurd/Versions
[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
Put them here instead.
[!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
New version set. Those cthreads symbols go here instead in this case.
* Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
Ulrich Drepper [Thu, 30 Mar 2000 17:59:33 +0000 (17:59 +0000)]
Update.
* elf/dl-init.c (_dl_init): We don't need to call constructors
recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
Ulrich Drepper [Thu, 30 Mar 2000 16:30:49 +0000 (16:30 +0000)]
Update.
2000-03-30 Ulrich Drepper <drepper@redhat.com>
Implement dynamic determination of constructor/destructor order in
the dynamic linker.
* elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
(GLIBC_2.2): Add _dl_init.
* elf/dl-close.c: Also call all destructors in FINI_ARRAY.
r_duplist is not anymore allocated separately. l_initfini is and
therefore free it if necessary.
* elf/dl-deps.c: If a searchlist has to be allocated, put all in one
malloc block. Otherwise allocate l_initfini list only.
Put dependencies for the object in l_initfini list.
Sort dependencies for the object to be loaded topologically.
* elf/dl-fini.c: Before running the destructors sort the topologically.
* elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
call constructors instead of iterating over the pointers. Get list of
objects for which to run constructors from l_initfini element. Accept
argc, argv, and env as parameters and pass them to the constructors.
* elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
with size of dynamic section.
* elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
_dl_init_next and calling constructors ourself.
* elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
Take argc, argv, and env as parameters and pass them to the
constructors. Rewrite to call all constructors and not iterate over
the pointers.
* elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
precompute l_initcount and l_preinitcount.
* elf/link.h (struct link_map): Add l_ldnum member.
Make l_phdr_allocated part of the bitfield. Remove l_runcount,
l_initcount, and l_preinitcount. Add l_initfini.
* sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
one for _dl_init.
* sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
function interface.
* sysdeps/unix/sysv/linux/init-first.h: Removed.
* sysdeps/unix/sysv/linux/Dist: Delete file here as well.
* sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
conventions now match.
* sysdeps/generic/libc-start.c: Calling __libc_init_first has no
effect for shared objects. Don't emit message and call only for
static library.
Ulrich Drepper [Wed, 29 Mar 2000 16:06:35 +0000 (16:06 +0000)]
Update.
2000-03-29 Ulrich Drepper <drepper@redhat.com>
* iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
CSA_Z243.4-1985-1..UCS2.
* iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
ISO-8859-10..UCS2.
Ulrich Drepper [Wed, 29 Mar 2000 16:03:05 +0000 (16:03 +0000)]
Renamed to CSA_Z243.4-1985-1..UCS-2BE.
Andreas Jaeger [Wed, 29 Mar 2000 14:18:16 +0000 (14:18 +0000)]
Remove wildcards from entry for sysdeps/i386/fpu/bits/mathinline.h.
(__inline_mathcodeNP): New macro without prototype
(__inline_mathcodeNP2): Likewise.
(__inline_mathcodeNP3): Likewise.
(__inline_mathcodeNP_): Likewise.
(__inline_mathcodeNP2_): Likewise.
(__inline_mathcodeNP3_): Likewise.
(__inline_mathopNP): Likewise.
(__inline_mathop_declNP): Likewise.
(__inline_mathop_declNP_): Likewise.
(fabsf): Likewise.
(fabsl): Likewise.
(__fabsl): Likewise.
Andreas Jaeger [Wed, 29 Mar 2000 13:07:51 +0000 (13:07 +0000)]
Update.
* include/unistd.h: Remove duplicate entry for __rmdir.
Remove declaration of __mkdir since __mkdir is declared in
sys/stat.h.
Andreas Jaeger [Wed, 29 Mar 2000 12:54:35 +0000 (12:54 +0000)]
Update.
* manual/creature.texi (Feature Test Macros): Fix typo, reported
by Michael Deutschmann <michael@talamasca.ocis.net>.
Andreas Jaeger [Wed, 29 Mar 2000 11:19:06 +0000 (11:19 +0000)]
Update.
2000-03-29 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
* sysdeps/mips/fpu/fegetenv.c: Likewise.
* sysdeps/mips/fpu/fesetenv.c: Likewise.
* sysdeps/mips/fpu/feupdateenv.c: Likewise.
* sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
Andreas Jaeger [Wed, 29 Mar 2000 11:18:48 +0000 (11:18 +0000)]
2000-03-29 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
* sysdeps/mips/fpu/fegetenv.c: Likewise.
* sysdeps/mips/fpu/fesetenv.c: Likewise.
* sysdeps/mips/fpu/feupdateenv.c: Likewise.
* sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
Ulrich Drepper [Wed, 29 Mar 2000 03:46:07 +0000 (03:46 +0000)]
Update.
2000-03-28 Andreas Jaeger <aj@suse.de>
* sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
declaration, the prototype is defined via bits/mathcalls.h.
(__sincosf): Likewise.
(__sincosl): Likewise.
(ldexp): Likewise.
(ldexpf): Likewise.
(ldexpl): Likewise.
(__finite): Likewise.
(__inline_mathcode*NP*): New macros without prototype
declarations.
(__inline_mathop*NP*): Likewise.
(__inline_mathcode_): Use __inline_mathcodeNP_.
(__inline_mathcode2_): Use __inline_mathcodeNP2_.
(__inline_mathcode3_): Use __inline_mathcodeNP3_.
(__inline_mathop_decl_): Use __inline_mathop_declNP__.
(__expm1l): Don't define prototype, the prototype is defined via
bits/mathcalls.h.
(exp): Likewise.
(__expl): Likewise.
(tan): Likewise.
(atan2): Likewise.
(__atan2l): Likewise.
(fmod): Likewise.
(pow): Likewise.
(*fabs*): Likewise.
(asin): Likewise.
(acos): Likewise.
(sinh): Likewise.
(cosh): Likewise.
(tanh): Likewise.
(floor): Likewise.
(ceil): Likewise.
(expm1): Likewise.
(log1p): Likewise.
(asinh): Likewise.
(acosh): Likewise.
(atanh): Likewise.
(hypot): Likewise.
(logb): Likewise.
(fma): Likewise.
(drem): Likewise.
(sqrt): Likewise.
(__sqrtl): Likewise.
(sin): Likewise.
(cos): Likewise.
(atan): Likewise.
(log): Likewise.
(log10): Likewise.
(asinh): Likewise.
(log2): Likewise.
(rint): Likewise.
Ulrich Drepper [Wed, 29 Mar 2000 01:29:24 +0000 (01:29 +0000)]
Update.
* Makerules: If make variable md5 is defined to yes after
generating dependencies generate MD5 sum for the object.
Ulrich Drepper [Tue, 28 Mar 2000 17:54:26 +0000 (17:54 +0000)]
Update.
* iconv/gconv_builtin.h: Fix length in transformation definition
for UNICODEBIG.
Ulrich Drepper [Tue, 28 Mar 2000 17:33:37 +0000 (17:33 +0000)]
Update.
2000-03-28 Ulrich Drepper <drepper@redhat.com>
* iconvdata/TESTS: Use UCS-2BE instead of UCS2.
* iconv/loop.c: Define get16, get32, put16, and put32 macros to
allow as well reading from/writing to unaligned addresses on machines
which don't support this in hardware. Use FCTNAME macro to define
function name. Include the file a second time for platforms which
need special unaligned handling.
* iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
to access potentially unaligned addresses. These macros are intended
to be used only outside the loops.
(unaligned): New definition. In case the machine can handle unaligned
access define as zero. Otherwise as a variable which is initialized
as nonzero in case the buffer passed in at runtime is unaligned with
respect to the character set encoding involved.
Call aligned or unaligned looop functions according to unaligned
variable.
* iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
of direct casting pointer to potentially handle unaligned memory
accesses.
* iconvdata/8bit-generic.c: Likewise.
* iconvdata/ansi_x3.110.c: Likewise.
* iconvdata/big5.c: Likewise.
* iconvdata/euc-cn.c: Likewise.
* iconvdata/euc-jp.c: Likewise.
* iconvdata/euc-kr.c: Likewise.
* iconvdata/euc-tw.c: Likewise.
* iconvdata/gbk.c: Likewise.
* iconvdata/iso-2022-cn.c: Likewise.
* iconvdata/iso-2022-jp.c: Likewise.
* iconvdata/iso-2022-kr.c: Likewise.
* iconvdata/iso646.c: Likewise.
* iconvdata/iso_6937-2.c: Likewise.
* iconvdata/iso_6937.c: Likewise.
* iconvdata/johab.c: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/t.61.c: Likewise.
* iconvdata/uhc.c: Likewise.
* iconvdata/unicode.c: Likewise.
* iconvdata/utf-16.c: Likewise.
* locale/programs/simple-hash.c: Little optimizations. Remove K&R
prototypes.
* malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
* malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
public.
* malloc/mcheck.h (mcheck_check_all): Declare.
* stdio-common/Makefile (tests): Add tst-obprintf.
Ulrich Drepper [Tue, 28 Mar 2000 17:18:18 +0000 (17:18 +0000)]
Define get16, get32, put16, and put32 macros to allow as well reading from/writing to unaligned addresses on machines which don't support this in hardware. Use FCTNAME macro to define function name. Include the file a second time for platforms which need special unaligned handling.
Roland McGrath [Tue, 28 Mar 2000 07:06:08 +0000 (07:06 +0000)]
* sysdeps/generic/bits/sigthread.h: Clean up conditionals.
Declare pthread_sigmask.
* csu/version.c: Add 2000 to copyright years.
Remove Emacs local variables section.
Roland McGrath [Tue, 28 Mar 2000 07:05:51 +0000 (07:05 +0000)]
2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
* csu/version.c: Add 2000 to copyright years.
Remove Emacs local variables section.
Ulrich Drepper [Tue, 28 Mar 2000 05:05:42 +0000 (05:05 +0000)]
Update.
2000-03-23 Bruno Haible <haible@clisp.cons.org>
* iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
__gconv_transform_internal_ucs2little): Remove declarations.
* iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
__gconv_transform_internal_ucs2): Never need to bswap_16.
(__gconv_transform_ucs2reverse_internal,
__gconv_transform_internal_ucs2reverse): Always need to bswap_16.
Ulrich Drepper [Tue, 28 Mar 2000 00:58:22 +0000 (00:58 +0000)]
Recognize ia64 platform. Recognize SGI's compiler.
Roland McGrath [Mon, 27 Mar 2000 23:57:43 +0000 (23:57 +0000)]
* include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
obsoleting version not being defined at all, in which case the
result is always true.
Roland McGrath [Mon, 27 Mar 2000 19:43:54 +0000 (19:43 +0000)]
* Makeconfig (preprocess-versions): New canned sequence for running
cpp on shlib-versions and the like.
(soversions.i): Use it.
* Makerules (Versions.all, sysd-versions): Use it to preprocess the
Versions.def and Versions files.
Roland McGrath [Mon, 27 Mar 2000 19:42:09 +0000 (19:42 +0000)]
2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
* Makeconfig (preprocess-versions): New canned sequence for running
cpp on shlib-versions and the like.
(soversions.i): Use it.
* Makerules (Versions.all, sysd-versions): Use it to preprocess the
Versions.def and Versions files.
Ulrich Drepper [Mon, 27 Mar 2000 18:36:21 +0000 (18:36 +0000)]
Update.
* stdio-common/tst-obprintf.c (main): Add another check to see
obstack_printf handling all possible beginnings of the block
inside an obstack chunk.
Ulrich Drepper [Mon, 27 Mar 2000 18:06:35 +0000 (18:06 +0000)]
Update.
2000-03-27 Ulrich Drepper <drepper@redhat.com>
* locale/programs/localedef.c: Use __malloc_initialize_hook to
install mcheck handler.
* libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
handling problem.
Ulrich Drepper [Mon, 27 Mar 2000 18:03:07 +0000 (18:03 +0000)]
(_IO_obstack_vprintf): Fix one more memory handling problem.
Roland McGrath [Mon, 27 Mar 2000 16:51:19 +0000 (16:51 +0000)]
* stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
Roland McGrath [Mon, 27 Mar 2000 15:08:19 +0000 (15:08 +0000)]
* include/shlib-compat.h: Conditionalize <abi-versions.h> include
on [HAVE_ELF && DO_VERSIONING].
Roland McGrath [Mon, 27 Mar 2000 15:07:53 +0000 (15:07 +0000)]
2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
* include/shlib-compat.h: Conditionalize <abi-versions.h> include
on [HAVE_ELF && DO_VERSIONING].
Ulrich Drepper [Mon, 27 Mar 2000 08:42:51 +0000 (08:42 +0000)]
(main): Make a bit more exciting.
Ulrich Drepper [Mon, 27 Mar 2000 08:30:50 +0000 (08:30 +0000)]
Update.
2000-03-27 Ulrich Drepper <drepper@redhat.com>
* stdio-common/tst-obprintf.c: New file.
Ulrich Drepper [Mon, 27 Mar 2000 07:36:16 +0000 (07:36 +0000)]
Update.
* libio/genops.c (_IO_default_xsputn): Little optimization. Call
_IO_OVERFLOW directly instead through __overflow.
Ulrich Drepper [Mon, 27 Mar 2000 06:37:56 +0000 (06:37 +0000)]
Update.
* locale/programs/localedef.c (construct_output_path): If path
contains a / compute the end of the directory name correctly.
Ulrich Drepper [Mon, 27 Mar 2000 05:36:34 +0000 (05:36 +0000)]
Update.
2000-03-26 Ulrich Drepper <drepper@redhat.com>
* include/features.h: Undef and document __USE_XOPEN2K.
* malloc/mcheck.c: Implement pedantic checking of all allocated blocks
whenever a function is called. Initiated by calling mcheck_pedantic
instead of mcheck.
* malloc/mcheck.h: Declare mcheck_pedantic.
* malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
* locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
for now.
Ulrich Drepper [Mon, 27 Mar 2000 05:31:53 +0000 (05:31 +0000)]
* semaphore.c (sem_timedwait): New function.
Patch by Carl Mailloux <carlm@oricom.ca>.
* semaphore.h: Declare sem_timedwait.
Ulrich Drepper [Mon, 27 Mar 2000 05:30:59 +0000 (05:30 +0000)]
Undef and document __USE_XOPEN2K.
Roland McGrath [Mon, 27 Mar 2000 05:18:47 +0000 (05:18 +0000)]
* dlfcn/dlopen.c: Use <shlib-compat.h> macros.
* dlfcn/dlopenold.c: Likewise.
* nss/getXXbyYY_r.c: Likewise.
* nss/getXXent_r.c: Likewise.
* hurd/hurdinit.c: Likewise.
* hurd/compat-20.c: Likewise.
* libio/oldiofopen.c: Likewise.
* libio/oldiofclose.c: Likewise.
* libio/oldiofdopen.c: Likewise.
* libio/oldfileops.c: Likewise.
* libio/oldstdfiles.c: Likewise.
* libio/oldiofsetpos.c: Likewise.
* libio/oldiofgetpos.c: Likewise.
* libio/oldiofgetpos64.c: Likewise.
* libio/oldiofsetpos64.c: Likewise.
* libio/oldiopopen.c: Likewise.
* libio/oldpclose.c: Likewise.
* libio/oldtmpfile.c: Likewise.
* libio/freopen.c (freopen): Likewise.
* libio/iofclose.c (_IO_new_fclose): Likewise.
Roland McGrath [Mon, 27 Mar 2000 04:09:19 +0000 (04:09 +0000)]
* sysdeps/mach/sys/reboot.h: Include <features.h>.
(reboot): Declare it.
Roland McGrath [Mon, 27 Mar 2000 03:57:46 +0000 (03:57 +0000)]
* libio/Makefile (headers): Add bits/stdio-lock.h here.
* sysdeps/mach/hurd/bits/stdio-lock.h: New file.
Roland McGrath [Mon, 27 Mar 2000 01:09:25 +0000 (01:09 +0000)]
* include/shlib-compat.h: Include <abi-versions.h> unconditionally.
Roland McGrath [Mon, 27 Mar 2000 01:09:18 +0000 (01:09 +0000)]
2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
* include/shlib-compat.h: Include <abi-versions.h> unconditionally.
Ulrich Drepper [Sun, 26 Mar 2000 21:24:46 +0000 (21:24 +0000)]
Update.
2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
* posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
__USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
We need this for the sbrk decl, which can be included without Unix98.
Ulrich Drepper [Sun, 26 Mar 2000 20:35:45 +0000 (20:35 +0000)]
Update.
2000-03-20 Richard Henderson <rth@cygnus.com>
* nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
argument to yperr2nss is an int, not size_t.
* posix/regex.c (print_partial_compiled_pattern): Cast all
ptrdiff_t to long for printing.
(print_compiled_pattern): Use Z for printing size_t.
* posix/testfnm.c (tests): Avoid trigraphs.
* sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
Use a C comment, not an assembly comment.
* sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
of __ASSUME_32BITUIDS.
Ulrich Drepper [Sun, 26 Mar 2000 19:56:39 +0000 (19:56 +0000)]
Update.
2000-03-26 Ulrich Drepper <drepper@redhat.com>
* libio/iofopncook.c: Remove K&R prototypes.
Ulrich Drepper [Sun, 26 Mar 2000 19:56:04 +0000 (19:56 +0000)]
Remove K&R prototypes.
Roland McGrath [Sun, 26 Mar 2000 19:17:23 +0000 (19:17 +0000)]
* hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
an initial value of 1024 instead of RLIM_INFINITY.
* Versions.def (libmachuser, libhurduser): Remove these sections,
since these libraries do not presently use symbol versions.
* sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
is RLIM_INFINITY, return -1 instead.
Roland McGrath [Sun, 26 Mar 2000 19:16:56 +0000 (19:16 +0000)]
2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
an initial value of 1024 instead of RLIM_INFINITY.
Ulrich Drepper [Sun, 26 Mar 2000 18:48:26 +0000 (18:48 +0000)]
Update.
2000-03-24 Andreas Jaeger <aj@suse.de>
* Makefile (postclean): Added soversions.i.
2000-03-24 Scott Bambrough <scottb@netwinder.org>
* sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
_FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
and _FPU_IEEE. Change _FPU_RESERVED.
2000-03-24 Scott Bambrough <scottb@netwinder.org>
* sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
(gaih_inet): Remove unused duplicate variable.
* inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
Don't use __libc_sa_len, which only exists for Linux. Just handle
AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
only flavors supported by this function anyway.
2000-03-24 Geoff Clare <gwc@unisoft.com>
* stdlib/strfmon.c: corrected problems with missing signs and
missing or extra spaces; allow for sign strings longer than
one character; add padding to ensure positive and negative
formats are aligned when a left precision is used.
2000-03-26 Ulrich Drepper <drepper@redhat.com>
* stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
Patch by John Mizel <John.Mizel@msdw.com>.
Ulrich Drepper [Sun, 26 Mar 2000 06:05:37 +0000 (06:05 +0000)]
Update.
2000-03-25 Ulrich Drepper <drepper@redhat.com>
* manual/install.texi: Remove references to crypt add-on.
Ulrich Drepper [Sun, 26 Mar 2000 06:03:42 +0000 (06:03 +0000)]
Remove references to crypt add-on.
Roland McGrath [Sat, 25 Mar 2000 20:20:44 +0000 (20:20 +0000)]
* sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
section while taking the _hurd_rlimit_lock.
* sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
Roland McGrath [Fri, 24 Mar 2000 21:41:15 +0000 (21:41 +0000)]
* Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
using $(LN_S).
Roland McGrath [Fri, 24 Mar 2000 20:59:00 +0000 (20:59 +0000)]
* sysdeps/mach/hurd/if_index.c: New file.
* sysdeps/unix/sysv/linux/net/if.h: Moved to ...
* sysdeps/gnu/net/if.h: here.
(_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
* sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
* sysdeps/generic/net/if.h: New file. Declares just the standard
functions and `struct if_nameindex' type.
* socket/Makefile (headers): Add net/if.h here.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
* sysdeps/mach/hurd/Dist: Remove it here.
* sysdeps/unix/sysv/linux/Dist: And here.
* sysdeps/generic/if_index.c: Include <net/if.h>.
Roland McGrath [Fri, 24 Mar 2000 19:11:18 +0000 (19:11 +0000)]
(Interface Naming): Fix typo: IFNAMSIZE -> IFNAMSIZ
Andreas Jaeger [Fri, 24 Mar 2000 15:27:52 +0000 (15:27 +0000)]
Update.
2000-03-24 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
access relocated entries in l_info.
(elf_machine_got_rel): Likewise.
(elf_machine_runtime_setup): Likewise.
* sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
(elf_machine_runtime_setup): Likewise.
(__dl_runtime_resolve): Likewise.
Andreas Jaeger [Fri, 24 Mar 2000 15:27:37 +0000 (15:27 +0000)]
2000-03-24 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
access relocated entries in l_info.
(elf_machine_got_rel): Likewise.
(elf_machine_runtime_setup): Likewise.
* sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
(elf_machine_runtime_setup): Likewise.
(__dl_runtime_resolve): Likewise.
Ulrich Drepper [Thu, 23 Mar 2000 22:46:19 +0000 (22:46 +0000)]
Correct path for ldsodefs.h file.
Ulrich Drepper [Thu, 23 Mar 2000 22:16:37 +0000 (22:16 +0000)]
Update.
2000-03-23 Ulrich Drepper <drepper@redhat.com>
* resolv/netdb.h (SCOPE_DELIMITER): New definitions.
* inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
according to RFC 2553.
* sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
* inet/getnameinfo.c: Likewise.
Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
Ulrich Drepper [Thu, 23 Mar 2000 21:34:58 +0000 (21:34 +0000)]
Update.
2000-03-23 Bruno Haible <haible@clisp.cons.org>
* iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
Remove no-op pointer increment.
Ulrich Drepper [Thu, 23 Mar 2000 20:42:34 +0000 (20:42 +0000)]
Update.
* stdio-common/tst-cookie.c (cookieseek): Change prototype to
follow change for libio.h from 2000-03-10.
2000-03-23 Andreas Jaeger <aj@suse.de>
Ulrich Drepper [Thu, 23 Mar 2000 20:31:46 +0000 (20:31 +0000)]
Update.
2000-03-23 Andreas Jaeger <aj@suse.de>
* elf/dl-addr.c: Adjust include paths for ldsodefs location
change.
* elf/dl-debug.c: Likewise.
* elf/dl-deps.c: Likewise.
* elf/dl-error.c: Likewise.
* elf/dl-fini.c: Likewise.
* elf/dl-init.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/dl-minimal.c: Likewise.
* elf/dl-object.c: Likewise.
* elf/dl-open.c: Likewise.
* elf/dl-preinit.c: Likewise.
* elf/dl-profile.c: Likewise.
* elf/dl-profstub.c: Likewise.
* elf/dl-reloc.c: Likewise.
* elf/dl-runtime.c: Likewise.
* elf/dl-support.c: Likewise.
* elf/dl-symbol.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/rtld.c: Likewise.
* elf/sprof.c: Likewise.
* sysdeps/generic/dl-cache.c: Likewise.
* sysdeps/generic/dl-origin.c: Likewise.
* sysdeps/generic/dl-sysdep.c: Likewise.
* sysdeps/generic/elf/backtracesyms.c: Likewise.
* sysdeps/generic/elf/backtracesymsfd.c: Likewise.
* sysdeps/generic/libc-start.c: Likewise.
* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
* sysdeps/powerpc/dl-machine.c: Likewise.
* sysdeps/powerpc/elf/libc-start.c: Likewise.
* sysdeps/sparc/sparc32/dl-machine.h: Likewise.
* sysdeps/sparc/sparc64/dl-machine.h: Likewise.
* sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
* elf/ldsodefs.h: Move file to ...
* sysdeps/generic/ldsodefs.h: ... here.
* sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
* sysdeps/mips/elf/ldsodefs.h: New file.
* elf/dl-version.c (match_symbol): Use D_PTR to access relocated
entries in l_info.
(_dl_check_map_versions): Likewise.
* elf/dl-reloc.c (_dl_relocate_object): Likewise.
* elf/dl-load.c (_dl_init_paths): Likewise.
(_dl_map_object): Likewise.
* elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
(elf_get_dynamic_info): Likewise.
* elf/do-lookup.h (FCT): Likewise.
* elf/do-rel.h (elf_dynamic_do_rel): Likewise.
* elf/dl-deps.c (_dl_map_object_deps): Likewise.
* elf/dl-addr.c (_dl_addr): Likewise.
* elf/dl-runtime.c (profile_fixup): Likewise.
(fixup): Likewise.
* elf/dl-init.c (_dl_init_next): Likewise.
* sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h
(DISTINGUISH_LIB_VERSIONS): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
(elf_machine_rel): Likewise.
* elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
for writable dynamic section.
Ulrich Drepper [Wed, 22 Mar 2000 18:14:48 +0000 (18:14 +0000)]
Update.
2000-03-22 Ulrich Drepper <drepper@redhat.com>
* inet/getnameinfo.c (getnameinfo): Check that addrlen value is
large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
2000-03-22 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
from latest Linux kernel.
Ulrich Drepper [Wed, 22 Mar 2000 18:10:19 +0000 (18:10 +0000)]
(MADV_*): Add flags from latest Linux kernel.
Andreas Jaeger [Wed, 22 Mar 2000 09:59:15 +0000 (09:59 +0000)]
2000-03-21 Andreas Jaeger <aj@suse.de>
* Versions.def: Add version 2.1.4.
2000-03-21 Andreas Jaeger <aj@suse.de>
* Versions.def: Add version 2.1.4.
Ulrich Drepper [Wed, 22 Mar 2000 08:01:35 +0000 (08:01 +0000)]
Update.
* sysdeps/unix/sysv/linux/errlist.c: Likewise.
Ulrich Drepper [Wed, 22 Mar 2000 07:22:01 +0000 (07:22 +0000)]
Update.
2000-03-21 Ulrich Drepper <drepper@redhat.com>
* libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
* libio/oldiofopen.c: Likewise.
* libio/oldiofclose.c: Likewise.
Ulrich Drepper [Wed, 22 Mar 2000 07:17:28 +0000 (07:17 +0000)]
Update for new SHLIB_COMPAT definition.
Roland McGrath [Wed, 22 Mar 2000 06:04:32 +0000 (06:04 +0000)]
(compat_symbol): New macro.
* sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
compat_symbol macro.
Roland McGrath [Wed, 22 Mar 2000 05:44:35 +0000 (05:44 +0000)]
* include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
indicating the first version set to obsolete the conditionalized code.
* scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
rhs be the ABI_* macro for the subsuming version. Assign increasing
integer values to the ABI_* macros for supported versions.
Roland McGrath [Wed, 22 Mar 2000 05:43:53 +0000 (05:43 +0000)]
2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
* include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
indicating the first version set to obsolete the conditionalized code.
* scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
rhs be the ABI_* macro for the subsuming version. Assign increasing
integer values to the ABI_* macros for supported versions.
Ulrich Drepper [Wed, 22 Mar 2000 01:03:25 +0000 (01:03 +0000)]
(Hook Functions): Correct prototypes for reader and writer.
Ulrich Drepper [Wed, 22 Mar 2000 00:36:57 +0000 (00:36 +0000)]
Update.
* nscd/connections.c (nscd_run): Pretty print.
* elf/dl-runtime.c: Include stdlib.h for alloca prototype.
Ulrich Drepper [Wed, 22 Mar 2000 00:10:30 +0000 (00:10 +0000)]
Update.
* manual/charset.texi: Fix typos. Rephrase.
* manual/process.texi: Likewise.
* manual/signal.texi: Likewise.
Patches by Mike Coleman <mkc@kc.net>.
Ulrich Drepper [Tue, 21 Mar 2000 23:09:29 +0000 (23:09 +0000)]
Update.
* libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
versions.
* libio/iofdopen.c: Likewise.
* libio/iofgetpos.c: Likewise.
* libio/iofgetpos64.c: Likewise.
* libio/iofopen.c: Likewise.
* libio/iofsetpos.c: Likewise.
* libio/iofsetpos64.c: Likewise.
* libio/iopopen.c: Likewise.
* libio/oldiofopen.c: Likewise.
* libio/pclose.c: Likewise.
* sysdeps/gnu/siglist.c: Likewise.
* sysdeps/unix/sysv/linux/errlist.c: Likewise.
Ulrich Drepper [Tue, 21 Mar 2000 22:09:40 +0000 (22:09 +0000)]
Update.
Patch by Roland McGrath <roland@frob.com>.
Ulrich Drepper [Tue, 21 Mar 2000 22:09:17 +0000 (22:09 +0000)]
Update.
Patch by Roland MyGrath <roland@from.com>.
Ulrich Drepper [Tue, 21 Mar 2000 22:08:26 +0000 (22:08 +0000)]
Update.
* libio/fileops.c: Use new macros from shlib-compat.h to define
versions.
* libio/iofclose.c: Likewise.
* libio/oldiofclose.c: Likewise.
Ulrich Drepper [Tue, 21 Mar 2000 22:03:48 +0000 (22:03 +0000)]
Update.
2000-03-21 Ulrich Drepper <drepper@redhat.com>
* include/shlib-compat.h (versioned_symbol): Give preprocessor the
chance to expand VERSION_##lib##_##version.
Ulrich Drepper [Tue, 21 Mar 2000 21:07:30 +0000 (21:07 +0000)]
Update.
2000-03-21 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
Lay out struct sigcontext according to what really gets passed on
the stack.
* sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
(elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
(prgregset_t, prfpregset_t): Define to elf_* types.
* sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
Define to correct value.
* sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
sigcontext.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
Ulrich Drepper [Tue, 21 Mar 2000 21:05:19 +0000 (21:05 +0000)]
Clean up namespace. Lay out struct sigcontext according to what really gets passed on the stack.
Roland McGrath [Tue, 21 Mar 2000 20:37:33 +0000 (20:37 +0000)]
* scripts/firstversions.awk: Allow multiple version sets in the
"earliest version" specification, meaning that version sets in the
gaps between listed versions should be folded into the earliest later
version that is explicitly listed.
* shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
Roland McGrath [Tue, 21 Mar 2000 20:36:53 +0000 (20:36 +0000)]
2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
* scripts/firstversions.awk: Allow multiple version sets in the
"earliest version" specification, meaning that version sets in the
gaps between listed versions should be folded into the earliest later
version that is explicitly listed.
* shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
Ulrich Drepper [Tue, 21 Mar 2000 20:26:13 +0000 (20:26 +0000)]
Remove non-ASCII.
* sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
Ulrich Drepper [Tue, 21 Mar 2000 20:18:34 +0000 (20:18 +0000)]
Update.
* iconv/gconv_builtin.c: Include <endian.h>.
* iconv/gconv_builtin.h: Add UCS-BE aliases.
Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
according to current platform.
* iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
__gconv_transform_internal_ucs2reverse, and
__gconv_transform_internal_ucs4le.
* iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
__gconv_transform_ucs2reverse_internal and
__gconv_transform_internal_ucs2reverse.
* iconvdata/Makefile (modules): Add UNICODE.
(distribute): Add unicode.c.
* iconvdata/gconv-modules: Add definitions for UNICODE module.
* iconvdata/unicode.c: New file.
* iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
determine byte order of input and convert accordingly.
Ulrich Drepper [Tue, 21 Mar 2000 08:08:35 +0000 (08:08 +0000)]
Update.
2000-03-21 Ulrich Drepper <drepper@redhat.com>
* iconvdata/utf-16.c (gconv_init): Fix typo.
Ulrich Drepper [Tue, 21 Mar 2000 06:00:43 +0000 (06:00 +0000)]
Update.
* iconvdata/gconv-modules: Fix typo.
Ulrich Drepper [Tue, 21 Mar 2000 05:41:11 +0000 (05:41 +0000)]
Update.
* sysdeps/unix/sysv/linux/configure.in: Remove `crypt´ from one
more messages.
Ulrich Drepper [Tue, 21 Mar 2000 01:29:48 +0000 (01:29 +0000)]
Update.
2000-03-20 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
Ulrich Drepper [Mon, 20 Mar 2000 22:56:08 +0000 (22:56 +0000)]
Update.
2000-03-16 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
Ulrich Drepper [Mon, 20 Mar 2000 22:54:01 +0000 (22:54 +0000)]
Update.
* misc/Makefile (routines): Add mincore.
2000-03-20 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/mincore.c: New stub file.
* sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
from latest Linux kernel.
2000-03-20 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Mon, 20 Mar 2000 22:24:28 +0000 (22:24 +0000)]
Update.
2000-03-20 Ulrich Drepper <drepper@redhat.com>
* grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
_SC_GETPW_R_SIZE_MAX.
* sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
Richard Henderson [Mon, 20 Mar 2000 22:08:26 +0000 (22:08 +0000)]
* sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase in GLIBC_2.1.4.
* sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
in GLIBC_2.1.4.
2000-03-20 Richard Henderson <rth@cygnus.com>
Ulrich Drepper [Mon, 20 Mar 2000 22:06:17 +0000 (22:06 +0000)]
Add syscall for setrlimit on version 2.0.
Richard Henderson [Mon, 20 Mar 2000 20:32:11 +0000 (20:32 +0000)]
* sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead of arithmetic instructions.
* sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
with the fpcr. Protect from INV exception.
* sysdeps/alpha/fpu/s_ceilf.c: Likewise.
* sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
* sysdeps/alpha/fpu/s_floorf.c: Likewise.
* sysdeps/alpha/fpu/s_copysign.c: New.
* sysdeps/alpha/fpu/s_copysignf.c: New.
* sysdeps/alpha/fpu/s_fabs.c: New.
* sysdeps/alpha/fpu/s_fabsf.c: New.
* sysdeps/alpha/fpu/s_rint.c: New.
* sysdeps/alpha/fpu/s_rintf.c: New.
* sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
of arithmetic instructions.
* sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
with the fpcr. Protect from INV exception.
* sysdeps/alpha/fpu/s_ceilf.c: Likewise.
* sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
* sysdeps/alpha/fpu/s_floorf.c: Likewise.
* sysdeps/alpha/fpu/s_copysign.c: New.
* sysdeps/alpha/fpu/s_copysignf.c: New.
* sysdeps/alpha/fpu/s_fabs.c: New.
* sysdeps/alpha/fpu/s_fabsf.c: New.
* sysdeps/alpha/fpu/s_rint.c: New.
* sysdeps/alpha/fpu/s_rintf.c: New.
Richard Henderson [Mon, 20 Mar 2000 20:24:41 +0000 (20:24 +0000)]
* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
Richard Henderson [Mon, 20 Mar 2000 20:23:05 +0000 (20:23 +0000)]
* sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Kill sethae. * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase. * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants): Use physical addresses not KSEG addresses. (io_system): Add PYXIS. (io): Remove hae.reg, sys, hae_shift. (stb_mb, stw_mb, stl_mb, __sethae): New. (inline_outb, inline_outw, inline_outl): Don't set hae. (inline_inb, inline_inw, inline_inl): Likewise. (dense_sethae): New null function. (struct cpuinfo_data): New. (process_cpuinfo): Use local and stack variables, not static. Move readlink check here from init_iosys. (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS. (_iopl): Simplify. (_hae_shift): Calculate it here. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae, add pciconfig_iobase.
2000-03-20 Richard Henderson <rth@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
Kill sethae.
* sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
* sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
Use physical addresses not KSEG addresses.
(io_system): Add PYXIS.
(io): Remove hae.reg, sys, hae_shift.
(stb_mb, stw_mb, stl_mb, __sethae): New.
(inline_outb, inline_outw, inline_outl): Don't set hae.
(inline_inb, inline_inw, inline_inl): Likewise.
(dense_sethae): New null function.
(struct cpuinfo_data): New.
(process_cpuinfo): Use local and stack variables, not static.
Move readlink check here from init_iosys.
(init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
(_iopl): Simplify.
(_hae_shift): Calculate it here.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
add pciconfig_iobase.