kopensolaris-gnu/glibc.git
14 years agoMove sysdeps/rs6000 off to ports.
roland [Wed, 1 Mar 2006 07:33:08 +0000 (07:33 +0000)]
Move sysdeps/rs6000 off to ports.

14 years ago. fedora-glibc-20060301T0647
roland [Wed, 1 Mar 2006 06:38:57 +0000 (06:38 +0000)]
.

14 years ago2006-03-01 Kaz Kojima <kkojima@rr.iij4u.or.jp>
roland [Wed, 1 Mar 2006 06:38:49 +0000 (06:38 +0000)]
2006-03-01  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/sh/pread.c: Copy in mips pread.c.
* sysdeps/unix/sysv/linux/sh/pwrite.c: Copy in mips pwrite.c.
* sysdeps/unix/sysv/linux/sh/pread64.c: Copy in mips pread64.c.
* sysdeps/unix/sysv/linux/sh/pwrite64.c: Copy in mips pwrite64.c.

14 years ago.
roland [Wed, 1 Mar 2006 06:18:49 +0000 (06:18 +0000)]
.

14 years ago2006-02-28 Roland McGrath <roland@redhat.com>
roland [Wed, 1 Mar 2006 06:18:33 +0000 (06:18 +0000)]
2006-02-28  Roland McGrath  <roland@redhat.com>

* elf/dl-tls.c (_dl_tls_get_addr_soft): New function.
* sysdeps/generic/ldsodefs.h: Declare it.
* elf/Versions (ld: GLIBC_PRIVATE): Add it.
* elf/link.h (struct dl_phdr_info): New members dlpi_tls_modid,
dlpi_tls_data.
* elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill them in.

14 years ago2006-02-28 Roland McGrath <roland@redhat.com>
roland [Wed, 1 Mar 2006 06:18:30 +0000 (06:18 +0000)]
2006-02-28  Roland McGrath  <roland@redhat.com>

* include/link.h: Don't copy contents from elf/link.h.
Instead, #include it while #define'ing around link_map.
* elf/dl-debug.c (_dl_debug_initialize): Add a cast.
Add bogus extern decl to verify link_map members.
* elf/loadtest.c (MAPS): New macro, cast _r_debug._r_map.
(OUT, main): Use it in place of _r_debug._r_map.
* elf/unload.c: Likewise.
* elf/unload2.c: Likewise.
* elf/neededtest.c (check_loaded_objects): Likewise.
* elf/neededtest2.c (check_loaded_objects): Likewise.
* elf/neededtest3.c (check_loaded_objects): Likewise.
* elf/neededtest4.c (check_loaded_objects): Likewise.
* elf/circleload1.c (check_loaded_objects): Likewise.

14 years ago2006-02-28 Roland McGrath <roland@redhat.com>
roland [Wed, 1 Mar 2006 06:18:28 +0000 (06:18 +0000)]
2006-02-28  Roland McGrath  <roland@redhat.com>

* dlfcn/dlfcn.h (RTLD_DI_PROFILENAME, RTLD_DI_PROFILEOUT): New enum
values, reserve unsupported requested names used on Solaris.
(RTLD_DI_TLS_MODID, RTLD_DI_TLS_DATA): New enum values.
(RTLD_DI_MAX): Likewise.
* dlfcn/dlinfo.c (dlinfo_doit): Handle RTLD_DI_TLS_MODID and
RTLD_DI_TLS_DATA.

14 years ago2006-02-28 Roland McGrath <roland@redhat.com>
roland [Wed, 1 Mar 2006 06:18:26 +0000 (06:18 +0000)]
2006-02-28  Roland McGrath  <roland@redhat.com>

* elf/tst-tls-dlinfo.c: New file.
* elf/Makefile (tests): Add it.
($(objpfx)tst-tls-dlinfo): Depend on $(libdl).
($(objpfx)tst-tls-dlinfo.out): Depend on $(objpfx)tst-tlsmod2.so.

14 years ago2006-02-28 Roland McGrath <roland@redhat.com>
roland [Wed, 1 Mar 2006 06:18:22 +0000 (06:18 +0000)]
2006-02-28  Roland McGrath  <roland@redhat.com>

* elf/dl-tls.c (_dl_tls_get_addr_soft): New function.
* sysdeps/generic/ldsodefs.h: Declare it.
* elf/Versions (ld: GLIBC_PRIVATE): Add it.
* elf/link.h (struct dl_phdr_info): New members dlpi_tls_modid,
dlpi_tls_data.
* elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill them in.
* include/link.h: Don't copy contents from elf/link.h.
Instead, #include it while #define'ing around link_map.
* elf/dl-debug.c (_dl_debug_initialize): Add a cast.
Add bogus extern decl to verify link_map members.
* elf/loadtest.c (MAPS): New macro, cast _r_debug._r_map.
(OUT, main): Use it in place of _r_debug._r_map.
* elf/unload.c: Likewise.
* elf/unload2.c: Likewise.
* elf/neededtest.c (check_loaded_objects): Likewise.
* elf/neededtest2.c (check_loaded_objects): Likewise.
* elf/neededtest3.c (check_loaded_objects): Likewise.
* elf/neededtest4.c (check_loaded_objects): Likewise.
* elf/circleload1.c (check_loaded_objects): Likewise.

14 years ago.
roland [Wed, 1 Mar 2006 05:39:10 +0000 (05:39 +0000)]
.

14 years ago2006-02-28 Roland McGrath <roland@redhat.com>
roland [Wed, 1 Mar 2006 05:39:03 +0000 (05:39 +0000)]
2006-02-28  Roland McGrath  <roland@redhat.com>

* nscd/nscd_helper.c: Include <time.h> for `time' declaration.

14 years ago.
roland [Wed, 1 Mar 2006 05:32:59 +0000 (05:32 +0000)]
.

14 years ago2006-02-28 Roland McGrath <roland@redhat.com>
roland [Wed, 1 Mar 2006 05:32:48 +0000 (05:32 +0000)]
2006-02-28  Roland McGrath  <roland@redhat.com>

* libio/genops.c: Include <sched.h> for __sched_yield decl.

14 years ago2006-02-28 Roland McGrath <roland@redhat.com>
roland [Wed, 1 Mar 2006 05:32:41 +0000 (05:32 +0000)]
2006-02-28  Roland McGrath  <roland@redhat.com>

* include/fcntl.h: Declare __openat, __open64.  Use libc_hidden_proto.
* io/openat.c (__openat): Define instead of openat.
Use libc_hidden_def.  Define openat with weak_alias.
* io/openat64.c (__openat64): Define instead of openat64.
Use libc_hidden_def.  Define openat64 with weak_alias.
* sysdeps/unix/sysv/linux/openat.c: Likewise.

14 years ago.
roland [Wed, 1 Mar 2006 04:20:27 +0000 (04:20 +0000)]
.

14 years ago2006-02-28 Roland McGrath <roland@redhat.com>
roland [Wed, 1 Mar 2006 04:20:13 +0000 (04:20 +0000)]
2006-02-28  Roland McGrath  <roland@redhat.com>

* Makerules ($(common-objpfx)%.make): Use -DASSEMBLER.

14 years ago2006-02-28 Roland McGrath <roland@redhat.com>
roland [Wed, 1 Mar 2006 04:20:10 +0000 (04:20 +0000)]
2006-02-28  Roland McGrath  <roland@redhat.com>

* Makeconfig (+includes): Add back $(includes)
after $(+sysdep-includes).

14 years ago.
roland [Wed, 1 Mar 2006 03:37:59 +0000 (03:37 +0000)]
.

14 years ago2006-02-28 H.J. Lu <hongjiu.lu@intel.com>
roland [Wed, 1 Mar 2006 03:37:48 +0000 (03:37 +0000)]
2006-02-28  H.J. Lu  <hongjiu.lu@intel.com>

* sysdeps/unix/sysv/linux/ia64/clone2.S: Include <clone2.S>
instead of <clone.S>.

14 years ago.
roland [Tue, 28 Feb 2006 19:11:33 +0000 (19:11 +0000)]
.

14 years ago2006-02-28 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 28 Feb 2006 19:11:24 +0000 (19:11 +0000)]
2006-02-28  Jakub Jelinek  <jakub@redhat.com>

* posix/sys/types.h [!__GNUC_PREREQ (2, 7)] (int64_t, u_int64_t):
typedef to long int resp. unsigned long int on 64-bit arches.

14 years ago.
roland [Tue, 28 Feb 2006 19:07:44 +0000 (19:07 +0000)]
.

14 years ago2006-02-28 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 28 Feb 2006 19:07:32 +0000 (19:07 +0000)]
2006-02-28  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Include x86_64
umount.c rather than hppa umount.c.
* sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Include sh chown.c
rather than m68k chown.c.
* sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include sh
fchownat.c rather than m68k fchownat.c.
* sysdeps/unix/sysv/linux/sh/chown.c: Copy over from m68k chown.c.
* sysdeps/unix/sysv/linux/sh/fchownat.c: Copy over from m68k
fchownat.c.
* sysdeps/unix/sysv/linux/x86_64/brk.c: Copy over from hppa brk.c.
* sysdeps/unix/sysv/linux/x86_64/umount.c: Copy over from hppa
umount.c.

14 years ago.
roland [Tue, 28 Feb 2006 10:18:39 +0000 (10:18 +0000)]
.

14 years agoMoved to ports repository
roland [Tue, 28 Feb 2006 10:18:16 +0000 (10:18 +0000)]
Moved to ports repository

14 years agoMoved to ports repository
roland [Tue, 28 Feb 2006 10:17:45 +0000 (10:17 +0000)]
Moved to ports repository

14 years ago2006-02-28 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 10:17:18 +0000 (10:17 +0000)]
2006-02-28  Roland McGrath  <roland@redhat.com>

* sysdeps/hppa: Directory removed, saved in ports repository.
* sysdeps/mach/hppa: Likewise.
* sysdeps/mach/hurd/hppa: Likewise.
* sysdeps/unix/sysv/linux/hppa: Likewise.
* configure.in (machine): Remove hppa* cases.
* configure: Regenerated.
* shlib-versions: Remove hppa cases.

14 years ago2006-02-28 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 10:17:16 +0000 (10:17 +0000)]
2006-02-28  Roland McGrath  <roland@redhat.com>

* sysdeps/hppa: Directory removed, saved in ports repository.
* sysdeps/mach/hppa: Likewise.
* sysdeps/mach/hurd/hppa: Likewise.
* sysdeps/unix/sysv/linux/hppa: Likewise.
* configure.in (machine): Remove hppa* cases.
* configure: Regenerated.
* shlib-versions: Remove hppa cases.
* sysdeps/m68k: Directory removed, saved in ports repository.
* sysdeps/unix/bsd/m68k: Likewise.
* sysdeps/unix/sysv/linux/m68k: Likewise.
* configure.in (machine): Remove m68* cases.
* configure: Regenerated.

14 years ago.
roland [Tue, 28 Feb 2006 09:57:07 +0000 (09:57 +0000)]
.

14 years ago2006-02-28 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 09:57:01 +0000 (09:57 +0000)]
2006-02-28  Roland McGrath  <roland@redhat.com>

* elf/rtld-Rules (subdir-args): New variable.
(rtld-subdir-make): Use it.

14 years ago.
roland [Tue, 28 Feb 2006 09:36:13 +0000 (09:36 +0000)]
.

14 years ago2006-02-27 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 28 Feb 2006 09:36:05 +0000 (09:36 +0000)]
2006-02-27  Jakub Jelinek  <jakub@redhat.com>

* Makefile (libpthread-routines): Add
pthread_mutexattr_[sg]etprotocol, pthread_mutexattr_[sg]etprioceiling
and pthread_mutex_[sg]etprioceiling.
* Versions (GLIBC_2.4): Export pthread_mutexattr_getprotocol,
pthread_mutexattr_setprotocol, pthread_mutexattr_getprioceiling,
pthread_mutexattr_setprioceiling, pthread_mutex_getprioceiling and
pthread_mutex_setprioceiling.
* sysdeps/pthread/pthread.h (PTHREAD_PRIO_NONE, PTHREAD_PRIO_INHERIT,
PTHREAD_PRIO_PROTECT): New enum values.
(pthread_mutexattr_getprotocol, pthread_mutexattr_setprotocol,
pthread_mutexattr_getprioceiling, pthread_mutexattr_setprioceiling,
pthread_mutex_getprioceiling, pthread_mutex_setprioceiling): New
prototypes.
* pthreadP.h (PTHREAD_MUTEX_PRIO_INHERIT_PRIVATE_NP,
PTHREAD_MUTEX_PRIO_PROTECT_PRIVATE_NP): New enum values.
(PTHREAD_MUTEX_PRIO_CEILING_SHIFT, PTHREAD_MUTEX_PRIO_CEILING_MASK):
Define.
(PTHREAD_MUTEXATTR_PROTOCOL_SHIFT, PTHREAD_MUTEXATTR_PROTOCOL_MASK,
PTHREAD_MUTEXATTR_PRIO_CEILING_SHIFT,
PTHREAD_MUTEXATTR_PRIO_CEILING_MASK): Define.
(PTHREAD_MUTEXATTR_FLAG_BITS): Or in PTHREAD_MUTEXATTR_PROTOCOL_MASK
and PTHREAD_MUTEXATTR_PRIO_CEILING_MASK.
* pthread_mutex_init.c (__pthread_mutex_init): For the time being
return ENOTSUP for PTHREAD_PRIO_INHERIT or PTHREAD_PRIO_PROTECT
protocol mutexes.
* pthread_mutex_getprioceiling.c: New file.
* pthread_mutex_setprioceiling.c: New file.
* pthread_mutexattr_getprioceiling.c: New file.
* pthread_mutexattr_setprioceiling.c: New file.
* pthread_mutexattr_getprotocol.c: New file.
* pthread_mutexattr_setprotocol.c: New file.

14 years ago.
roland [Tue, 28 Feb 2006 09:34:41 +0000 (09:34 +0000)]
.

14 years ago2006-02-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
roland [Tue, 28 Feb 2006 09:34:34 +0000 (09:34 +0000)]
2006-02-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
(DO_CALL): Add support for 6 system call parameters.
(DECLARGS_6, ASMFMT_6): Define.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.

14 years ago.
roland [Tue, 28 Feb 2006 08:39:43 +0000 (08:39 +0000)]
.

14 years ago2006-02-28 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 08:39:34 +0000 (08:39 +0000)]
2006-02-28  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Copy in i386/bits/fcntl.h.

14 years ago.
roland [Tue, 28 Feb 2006 07:54:15 +0000 (07:54 +0000)]
.

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:54:05 +0000 (07:54 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* scripts/config.guess: Update from master, timestamp='2006-02-27'.
* scripts/config.sub: Update from master, timestamp='2006-02-27'.

14 years ago.
roland [Tue, 28 Feb 2006 07:16:32 +0000 (07:16 +0000)]
.

14 years ago2006-02-27 Daniel Jacobowitz <dan@codesourcery.com>
roland [Tue, 28 Feb 2006 07:16:14 +0000 (07:16 +0000)]
2006-02-27  Daniel Jacobowitz  <dan@codesourcery.com>

* sysdeps/unix/sysv/linux/aio_misc.h: Include <limits.h>.

14 years ago.
roland [Tue, 28 Feb 2006 07:11:03 +0000 (07:11 +0000)]
.

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:09:55 +0000 (07:09 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* Makefile: Use $(sysdirs) in vpath directive.

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:09:52 +0000 (07:09 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* Makeconfig (includes): Variable removed.

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:09:49 +0000 (07:09 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* sysdeps/pthread/Subdirs: List nptl here too.
* configure (libc_add_on_canonical): New variable.

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:09:46 +0000 (07:09 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/sleep.c: Use #include_next after #include of
self to get main source tree's file.
* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
* sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
* sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:09:43 +0000 (07:09 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Use #include_next.

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:09:41 +0000 (07:09 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* sysdeps/pthread/Makefile (CFLAGS-libc-start.c): Variable removed.
(CPPFLAGS-timer_routines.c): Likewise.

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:08:21 +0000 (07:08 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* Makefile: Use $(..) in place of ../.
* configure.in (libc_add_on_canonical, libc_add_on_subdirs): Set them.
* configure: Regenerated.

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:06:04 +0000 (07:06 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* stdlib/gen-mpn-copy: File removed.
* stdlib/Makefile (distribute): Remove it.
* configure.in: Don't grok --with-gmp.
* configure: Regenerated.

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:06:02 +0000 (07:06 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* Makefile (subdir-target-args): New variable.
($(all-subdirs-targets)): Use it in place of -C option.
* Rules: Use $(..) instead of ../ if it's already defined.
* Makeconfig (subdir-srcdirs): New variable.
* csu/Makefile (all-Banner-files): Use it.
* configure.in (--enable-add-ons): Set to "yes" by default.
Handle absolute add-on directory names when looking for configure
fragments.  Also look for sysdeps/*/preconfigure fragments in add-ons.
Require add-on configure to set $libc_add_on_canonical, use
that in $add_ons_sfx.  Substitute add_on_subdirs with computed list
of subdir names each add-on configure set in libc_add_on_subdirs.
* configure: Regenerated.
* Makefile (%/preconfigure: %/preconfigure.in): New pattern rule.
* config.make.in (add-on-subdirs): New substituted variable.
* Makeconfig (all-subdirs): Include $(add-on-subdirs).
Remove $(add-ons), $(sysdep-subdirs).
Don't filter out $(sysdep-inhibit-subdirs).
($(common-objpfx)sysd-dirs): Target removed.  Don't include it.
($(common-objpfx)sysd-sorted): Rewritten to feed Depend and Subdirs
files together to gen-sorted.awk, and $(subdirs) via -v.
(subdirs): Remove magic reordering for mach and hurd.
* scripts/gen-sorted.awk: Use subdirs from command line.
Process Subdirs and Depend files directly.
Let Subdirs files use "first dir" and "inhibit dir".
Always move elf to the end of the list.
* hurd/Depend: New file.
* sysdeps/mach/Subdirs: Use "first mach".
* Makerules ($(common-objpfx)Versions.v.i): Use $(subdirs),
not $(all-subdirs).
(sysdep-makefiles): Use $(sysdirs).
(sysdirs): Remove export.
($(+sysdir_pfx)sysd-rules): Handle absolute directory names in
$(config-sysdirs).
(+sysdir_pfx): Variable removed.
(sysd-rules): Use $(common-objpfx) in place of it.
(sysdirs): Variable moved to ...
* Makeconfig (sysdirs): ... here.
Handle absolute directory names in $(config-sysdirs).
(full_config_sysdirs): Variable removed.
* csu/Makefile: Use $(sysdirs) in vpath directive.
* math/Makefile (ulps-file): Use $(sysdirs).
* sysdeps/gnu/Makefile (errlist-c): Likewise.
($(objpfx)errlist-compat.c): Likewise.
* Makeconfig (all-Subdirs-files): Likewise.
($(common-objpfx)config.status): Likewise.
* configure.in (sysnames): Handle absolute add-on directory names.
(sysdeps_add_ons): New variable, AC_SUBST it.
Compute which add-ons contributed sysdeps directories.
* configure: Regenerated.
* config.make.in (sysdeps-add-ons): New substituted variable.
* Makerules (+sysdep_dirs, +sysdep-includes): Variables moved ...
* Makeconfig: ... to here.
(+sysdep_dirs): Append $(sysdeps-add-ons) here.
(+includes): Remove $(objpfx) include, already in $(+sysdep_dirs).
Remove $(includes).
(sysdep-makeconfigs): Use $(+sysdep_dirs).
($(common-objpfx)shlib-versions.v.i): Likewise.
* Makeconfig: Remove hair to set Makeconfig-add-on.

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:06:00 +0000 (07:06 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* Makefile (subdir-target-args): New variable.
($(all-subdirs-targets)): Use it in place of -C option.
* Rules: Use $(..) instead of ../ if it's already defined.
* Makeconfig (subdir-srcdirs): New variable.
* csu/Makefile (all-Banner-files): Use it.
* Makerules ($(common-objpfx)Versions.v.i): Use $(subdirs),
not $(all-subdirs).
(sysdep-makefiles): Use $(sysdirs).
(sysdirs): Remove export.
($(+sysdir_pfx)sysd-rules): Handle absolute directory names in
$(config-sysdirs).
(+sysdir_pfx): Variable removed.
(sysd-rules): Use $(common-objpfx) in place of it.
(sysdirs): Variable moved to ...
* Makeconfig (sysdirs): ... here.
Handle absolute directory names in $(config-sysdirs).
(full_config_sysdirs): Variable removed.
* csu/Makefile: Use $(sysdirs) in vpath directive.
* math/Makefile (ulps-file): Use $(sysdirs).
* sysdeps/gnu/Makefile (errlist-c): Likewise.
($(objpfx)errlist-compat.c): Likewise.
* Makeconfig (all-Subdirs-files): Likewise.
($(common-objpfx)config.status): Likewise.

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:05:57 +0000 (07:05 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* configure.in (--enable-add-ons): Set to "yes" by default.
Handle absolute add-on directory names when looking for configure
fragments.  Also look for sysdeps/*/preconfigure fragments in add-ons.
Require add-on configure to set $libc_add_on_canonical, use
that in $add_ons_sfx.  Substitute add_on_subdirs with computed list
of subdir names each add-on configure set in libc_add_on_subdirs.
* configure: Regenerated.
* Makefile (%/preconfigure: %/preconfigure.in): New pattern rule.
* config.make.in (add-on-subdirs): New substituted variable.
* Makeconfig (all-subdirs): Include $(add-on-subdirs).
Remove $(add-ons), $(sysdep-subdirs).
Don't filter out $(sysdep-inhibit-subdirs).
($(common-objpfx)sysd-dirs): Target removed.  Don't include it.
($(common-objpfx)sysd-sorted): Rewritten to feed Depend and Subdirs
files together to gen-sorted.awk, and $(subdirs) via -v.
(subdirs): Remove magic reordering for mach and hurd.
* scripts/gen-sorted.awk: Use subdirs from command line.
Process Subdirs and Depend files directly.
Let Subdirs files use "first dir" and "inhibit dir".
Always move elf to the end of the list.
* hurd/Depend: New file.
* sysdeps/mach/Subdirs: Use "first mach".

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:05:54 +0000 (07:05 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* configure.in (--enable-add-ons): Set to "yes" by default.
Handle absolute add-on directory names when looking for configure
fragments.  Also look for sysdeps/*/preconfigure fragments in add-ons.
Require add-on configure to set $libc_add_on_canonical, use
that in $add_ons_sfx.  Substitute add_on_subdirs with computed list
of subdir names each add-on configure set in libc_add_on_subdirs.
* configure: Regenerated.
* Makefile (%/preconfigure: %/preconfigure.in): New pattern rule.
* config.make.in (add-on-subdirs): New substituted variable.
* Makeconfig (all-subdirs): Include $(add-on-subdirs).
Remove $(add-ons), $(sysdep-subdirs).
Don't filter out $(sysdep-inhibit-subdirs).
($(common-objpfx)sysd-dirs): Target removed.  Don't include it.
($(common-objpfx)sysd-sorted): Rewritten to feed Depend and Subdirs
files together to gen-sorted.awk, and $(subdirs) via -v.
(subdirs): Remove magic reordering for mach and hurd.
* scripts/gen-sorted.awk: Use subdirs from command line.
Process Subdirs and Depend files directly.
Let Subdirs files use "first dir" and "inhibit dir".
Always move elf to the end of the list.
* hurd/Depend: New file.
* sysdeps/mach/Subdirs: Use "first mach".
* configure.in (sysnames): Handle absolute add-on directory names.
(sysdeps_add_ons): New variable, AC_SUBST it.
Compute which add-ons contributed sysdeps directories.
* configure: Regenerated.
* config.make.in (sysdeps-add-ons): New substituted variable.
* Makerules (+sysdep_dirs, +sysdep-includes): Variables moved ...
* Makeconfig: ... to here.
(+sysdep_dirs): Append $(sysdeps-add-ons) here.
(+includes): Remove $(objpfx) include, already in $(+sysdep_dirs).
Remove $(includes).
(sysdep-makeconfigs): Use $(+sysdep_dirs).
($(common-objpfx)shlib-versions.v.i): Likewise.
* stdlib/gen-mpn-copy: File removed.
* stdlib/Makefile (distribute): Remove it.
* configure.in: Don't grok --with-gmp.
* configure: Regenerated.
* configure.in (libc_cv_idn): Don't check it; libidn/configure does it.
* configure: Regenerated.

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:05:50 +0000 (07:05 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* Makefile (subdir-target-args): New variable.
($(all-subdirs-targets)): Use it in place of -C option.
* Rules: Use $(..) instead of ../ if it's already defined.
* Makeconfig (subdir-srcdirs): New variable.
* csu/Makefile (all-Banner-files): Use it.
* configure.in (--enable-add-ons): Set to "yes" by default.
Handle absolute add-on directory names when looking for configure
fragments.  Also look for sysdeps/*/preconfigure fragments in add-ons.
Require add-on configure to set $libc_add_on_canonical, use
that in $add_ons_sfx.  Substitute add_on_subdirs with computed list
of subdir names each add-on configure set in libc_add_on_subdirs.
* configure: Regenerated.
* Makefile (%/preconfigure: %/preconfigure.in): New pattern rule.
* config.make.in (add-on-subdirs): New substituted variable.
* Makeconfig (all-subdirs): Include $(add-on-subdirs).
Remove $(add-ons), $(sysdep-subdirs).
Don't filter out $(sysdep-inhibit-subdirs).
($(common-objpfx)sysd-dirs): Target removed.  Don't include it.
($(common-objpfx)sysd-sorted): Rewritten to feed Depend and Subdirs
files together to gen-sorted.awk, and $(subdirs) via -v.
(subdirs): Remove magic reordering for mach and hurd.
* scripts/gen-sorted.awk: Use subdirs from command line.
Process Subdirs and Depend files directly.
Let Subdirs files use "first dir" and "inhibit dir".
Always move elf to the end of the list.
* hurd/Depend: New file.
* sysdeps/mach/Subdirs: Use "first mach".
* Makefile (dist-separate): Remove linuxthreads.
(dist-separate-linuxthreads): Variable removed.
(glibc-%.tar rule): Use $(sysdeps-add-ons).

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:05:48 +0000 (07:05 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* Makefile (subdir-target-args): New variable.
($(all-subdirs-targets)): Use it in place of -C option.
* Rules: Use $(..) instead of ../ if it's already defined.
* Makeconfig (subdir-srcdirs): New variable.
* csu/Makefile (all-Banner-files): Use it.

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:05:45 +0000 (07:05 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* Makerules ($(common-objpfx)Versions.v.i): Use $(subdirs),
not $(all-subdirs).
(sysdep-makefiles): Use $(sysdirs).
(sysdirs): Remove export.
($(+sysdir_pfx)sysd-rules): Handle absolute directory names in
$(config-sysdirs).
(+sysdir_pfx): Variable removed.
(sysd-rules): Use $(common-objpfx) in place of it.
(sysdirs): Variable moved to ...
* Makeconfig (sysdirs): ... here.
Handle absolute directory names in $(config-sysdirs).
(full_config_sysdirs): Variable removed.
* csu/Makefile: Use $(sysdirs) in vpath directive.
* math/Makefile (ulps-file): Use $(sysdirs).
* sysdeps/gnu/Makefile (errlist-c): Likewise.
($(objpfx)errlist-compat.c): Likewise.
* Makeconfig (all-Subdirs-files): Likewise.
($(common-objpfx)config.status): Likewise.

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:05:43 +0000 (07:05 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* configure.in (libc_cv_idn): Don't check it; libidn/configure does it.
* configure: Regenerated.

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:05:40 +0000 (07:05 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/Makefile (sysdirs): Remove export.
(asm_CPP): Variable removed.
($(common-objpfx)sysd-syscalls): Pass them directly for the script.

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:05:38 +0000 (07:05 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* configure.in (--enable-add-ons): Set to "yes" by default.
Handle absolute add-on directory names when looking for configure
fragments.  Also look for sysdeps/*/preconfigure fragments in add-ons.
Require add-on configure to set $libc_add_on_canonical, use
that in $add_ons_sfx.  Substitute add_on_subdirs with computed list
of subdir names each add-on configure set in libc_add_on_subdirs.
* configure: Regenerated.
* Makefile (%/preconfigure: %/preconfigure.in): New pattern rule.
* config.make.in (add-on-subdirs): New substituted variable.
* Makeconfig (all-subdirs): Include $(add-on-subdirs).
Remove $(add-ons), $(sysdep-subdirs).
Don't filter out $(sysdep-inhibit-subdirs).
($(common-objpfx)sysd-dirs): Target removed.  Don't include it.
($(common-objpfx)sysd-sorted): Rewritten to feed Depend and Subdirs
files together to gen-sorted.awk, and $(subdirs) via -v.
(subdirs): Remove magic reordering for mach and hurd.
* scripts/gen-sorted.awk: Use subdirs from command line.
Process Subdirs and Depend files directly.
Let Subdirs files use "first dir" and "inhibit dir".
Always move elf to the end of the list.
* hurd/Depend: New file.
* sysdeps/mach/Subdirs: Use "first mach".
* configure.in (sysnames): Handle absolute add-on directory names.
(sysdeps_add_ons): New variable, AC_SUBST it.
Compute which add-ons contributed sysdeps directories.
* configure: Regenerated.
* config.make.in (sysdeps-add-ons): New substituted variable.
* Makerules (+sysdep_dirs, +sysdep-includes): Variables moved ...
* Makeconfig: ... to here.
(+sysdep_dirs): Append $(sysdeps-add-ons) here.
(+includes): Remove $(objpfx) include, already in $(+sysdep_dirs).
Remove $(includes).
(sysdep-makeconfigs): Use $(+sysdep_dirs).
($(common-objpfx)shlib-versions.v.i): Likewise.

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:05:36 +0000 (07:05 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* Makerules ($(common-objpfx)Versions.v.i): Use $(subdirs),
not $(all-subdirs).
(sysdep-makefiles): Use $(sysdirs).
(sysdirs): Remove export.
($(+sysdir_pfx)sysd-rules): Handle absolute directory names in
$(config-sysdirs).
(+sysdir_pfx): Variable removed.
(sysd-rules): Use $(common-objpfx) in place of it.
(sysdirs): Variable moved to ...
* Makeconfig (sysdirs): ... here.
Handle absolute directory names in $(config-sysdirs).
(full_config_sysdirs): Variable removed.
* csu/Makefile: Use $(sysdirs) in vpath directive.
* math/Makefile (ulps-file): Use $(sysdirs).
* sysdeps/gnu/Makefile (errlist-c): Likewise.
($(objpfx)errlist-compat.c): Likewise.
* Makeconfig (all-Subdirs-files): Likewise.
($(common-objpfx)config.status): Likewise.
* configure.in (sysnames): Handle absolute add-on directory names.
(sysdeps_add_ons): New variable, AC_SUBST it.
Compute which add-ons contributed sysdeps directories.
* configure: Regenerated.
* config.make.in (sysdeps-add-ons): New substituted variable.
* Makerules (+sysdep_dirs, +sysdep-includes): Variables moved ...
* Makeconfig: ... to here.
(+sysdep_dirs): Append $(sysdeps-add-ons) here.
(+includes): Remove $(objpfx) include, already in $(+sysdep_dirs).
Remove $(includes).
(sysdep-makeconfigs): Use $(+sysdep_dirs).
($(common-objpfx)shlib-versions.v.i): Likewise.
* sysdeps/posix/Makefile: New file.
* Makerules (L_tmpnam, TMP_MAX, L_ctermid, L_cuserid): Set non-posix
values here with ?=.

14 years ago2006-02-27 Roland McGrath <roland@redhat.com>
roland [Tue, 28 Feb 2006 07:05:34 +0000 (07:05 +0000)]
2006-02-27  Roland McGrath  <roland@redhat.com>

* sysdeps/posix/Makefile: New file.
* Makerules (L_tmpnam, TMP_MAX, L_ctermid, L_cuserid): Set non-posix
values here with ?=.

14 years ago.
drepper [Mon, 27 Feb 2006 21:45:10 +0000 (21:45 +0000)]
.

14 years ago(linkat): Allow flags to be set when syscall is used.
drepper [Mon, 27 Feb 2006 21:43:02 +0000 (21:43 +0000)]
(linkat): Allow flags to be set when syscall is used.

14 years ago(AT_SYMLINK_FOLLOW): Define.
drepper [Mon, 27 Feb 2006 21:38:55 +0000 (21:38 +0000)]
(AT_SYMLINK_FOLLOW): Define.

14 years agoMove bare/ to ports repository.
roland [Mon, 27 Feb 2006 07:42:22 +0000 (07:42 +0000)]
Move bare/ to ports repository.

14 years agoAdd fifth parameter to linkat.
drepper [Mon, 27 Feb 2006 05:44:25 +0000 (05:44 +0000)]
Add fifth parameter to linkat.

14 years ago.
drepper [Mon, 27 Feb 2006 01:00:40 +0000 (01:00 +0000)]
.

14 years ago(do_test): Pass new parameter to linkat.
drepper [Mon, 27 Feb 2006 00:59:21 +0000 (00:59 +0000)]
(do_test): Pass new parameter to linkat.

14 years ago.
roland [Mon, 27 Feb 2006 00:58:34 +0000 (00:58 +0000)]
.

14 years ago2006-02-26 Roland McGrath <roland@redhat.com>
roland [Mon, 27 Feb 2006 00:58:29 +0000 (00:58 +0000)]
2006-02-26  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/pt-raise.c: Moved to ...
* pt-raise.c: ... here.
* sysdeps/generic/lowlevellock.h: Moved to ...
* lowlevellock.h: ... here.

14 years ago..
drepper [Mon, 27 Feb 2006 00:56:56 +0000 (00:56 +0000)]
..

14 years agoAdd fifth parameter to linkat.
drepper [Mon, 27 Feb 2006 00:52:57 +0000 (00:52 +0000)]
Add fifth parameter to linkat.

14 years ago.
roland [Sun, 26 Feb 2006 23:57:29 +0000 (23:57 +0000)]
.

14 years ago * sysdeps/unix/common/Makefile: File removed.
roland [Sun, 26 Feb 2006 23:57:15 +0000 (23:57 +0000)]
* sysdeps/unix/common/Makefile: File removed.
* sysdeps/unix/common/glue-ctype.c: File removed.
* sysdeps/unix/common/configure.in: File removed.
* sysdeps/unix/common/configure: File removed.

14 years ago * sysdeps/unix/configure.in: File removed.
roland [Sun, 26 Feb 2006 23:57:13 +0000 (23:57 +0000)]
* sysdeps/unix/configure.in: File removed.
* sysdeps/unix/configure: File removed.
* sysdeps/unix/make_errlist.c: File removed.
* sysdeps/unix/Makefile ($(objpfx)errlist.c, $(objpfx)make_errlist):
Rules removed.

14 years ago.
roland [Sun, 26 Feb 2006 23:56:23 +0000 (23:56 +0000)]
.

14 years ago2006-02-26 Roland McGrath <roland@redhat.com>
roland [Sun, 26 Feb 2006 23:41:20 +0000 (23:41 +0000)]
2006-02-26  Roland McGrath  <roland@redhat.com>

* timezone/africa: Update from tzdata2006b (comment changes only).
* timezone/antarctica: Likewise.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/etcetera: Likewise.
* timezone/europe: Likewise.
* timezone/factory: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/leapseconds: Likewise.
* timezone/northamerica: Likewise.
* timezone/pacificnew: Likewise.
* timezone/solar87: Likewise.
* timezone/solar88: Likewise.
* timezone/solar89: Likewise.
* timezone/southamerica: Likewise.
* timezone/systemv: Likewise.
* timezone/zone.tab: Likewise.

14 years ago.
roland [Sun, 26 Feb 2006 23:39:43 +0000 (23:39 +0000)]
.

14 years ago2006-02-26 Roland McGrath <roland@redhat.com>
roland [Sun, 26 Feb 2006 23:39:30 +0000 (23:39 +0000)]
2006-02-26  Roland McGrath  <roland@redhat.com>

* timezone/antarctica: Update from tzdata2006b (comment changes only).
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/etcetera: Likewise.
* timezone/europe: Likewise.
* timezone/factory: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/leapseconds: Likewise.
* timezone/northamerica: Likewise.
* timezone/pacificnew: Likewise.
* timezone/solar87: Likewise.
* timezone/solar88: Likewise.
* timezone/solar89: Likewise.
* timezone/southamerica: Likewise.
* timezone/systemv: Likewise.
* timezone/zone.tab: Likewise.

14 years ago.
drepper [Sun, 26 Feb 2006 20:50:52 +0000 (20:50 +0000)]
.

14 years ago(do_lookup_x): No need to compare SKIP to NULL before comparison with MAP.
drepper [Sun, 26 Feb 2006 20:49:35 +0000 (20:49 +0000)]
(do_lookup_x): No need to compare SKIP to NULL before comparison with MAP.

14 years agoUpdate copyright.
drepper [Sun, 26 Feb 2006 20:48:48 +0000 (20:48 +0000)]
Update copyright.

14 years ago(do_sym): For RTLD_NEXT, pass MATCH for dl_lookup_symbol_x, not L.
drepper [Sun, 26 Feb 2006 20:45:55 +0000 (20:45 +0000)]
(do_sym): For RTLD_NEXT, pass MATCH for dl_lookup_symbol_x, not L.

14 years ago.
roland [Sat, 25 Feb 2006 11:11:15 +0000 (11:11 +0000)]
.

14 years ago2006-02-25 Roland McGrath <roland@redhat.com>
roland [Sat, 25 Feb 2006 11:11:07 +0000 (11:11 +0000)]
2006-02-25  Roland McGrath  <roland@redhat.com>

* configure.in: New file.
* configure: Replaced with generated file.
* sysdeps/unix/configure: File removed.

14 years ago.
roland [Sat, 25 Feb 2006 10:30:38 +0000 (10:30 +0000)]
.

14 years ago2006-02-24 Mike Frysinger <vapier@gentoo.org>
roland [Sat, 25 Feb 2006 10:30:21 +0000 (10:30 +0000)]
2006-02-24  Mike Frysinger  <vapier@gentoo.org>

* sysdeps/gnu/net/if.h (IFF_DYNAMIC): New macro.

14 years ago.
roland [Sat, 25 Feb 2006 03:37:24 +0000 (03:37 +0000)]
.

14 years ago2006-02-24 David S. Miller <davem@sunset.davemloft.net>
roland [Sat, 25 Feb 2006 03:37:12 +0000 (03:37 +0000)]
2006-02-24  David S. Miller  <davem@sunset.davemloft.net>

* configure.in: Use sparc/sparc32/sparcv9/sparcv9b in place
of sparc/sparc32/sparcv9b.
* configure: Regenerated.
* sysdeps/sparc/sparc32/sparcv9b/Implies: File removed.
* sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: File removed.

14 years agoTypo fix.
roland [Sat, 25 Feb 2006 03:36:58 +0000 (03:36 +0000)]
Typo fix.

14 years ago.
roland [Sat, 25 Feb 2006 01:57:49 +0000 (01:57 +0000)]
.

14 years ago2006-02-24 Roland McGrath <roland@redhat.com>
roland [Sat, 25 Feb 2006 01:57:44 +0000 (01:57 +0000)]
2006-02-24  Roland McGrath  <roland@redhat.com>

* elf/elf.h (HWCAP_SPARC_BLKINIT): New macro.
* sysdeps/sparc/dl-procinfo.h (HWCAP_IMPORTANT): Add it.
(_DL_HWCAP_COUNT): Increase to 7.
* sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add "v9v".
From David S. Miller <davem@sunset.davemloft.net>.

14 years agoTypo fix.
roland [Sat, 25 Feb 2006 01:52:14 +0000 (01:52 +0000)]
Typo fix.

14 years agoFix typo in last change.
roland [Sat, 25 Feb 2006 01:52:02 +0000 (01:52 +0000)]
Fix typo in last change.

14 years agoFix trivia in last commit.
roland [Sat, 25 Feb 2006 01:33:51 +0000 (01:33 +0000)]
Fix trivia in last commit.

14 years agoFix trivia in last commit.
roland [Sat, 25 Feb 2006 01:31:23 +0000 (01:31 +0000)]
Fix trivia in last commit.

14 years ago.
roland [Sat, 25 Feb 2006 01:29:59 +0000 (01:29 +0000)]
.

14 years ago2006-02-24 Roland McGrath <roland@redhat.com>
roland [Sat, 25 Feb 2006 01:29:46 +0000 (01:29 +0000)]
2006-02-24  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c: Moved to ...
* sysdeps/sparc/dl-procinfo.c: ... here, new file.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Moved to ...
* sysdeps/sparc/dl-procinfo.h: ... here, new file.
(HWCAP_IMPORTANT): Include HWCAP_SPARC_V9 when [__WORDSIZE__ != 64].
* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c: File removed.
* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: File removed.

14 years ago2006-02-18 Joseph S. Myers <joseph@codesourcery.com>
roland [Sat, 25 Feb 2006 01:26:21 +0000 (01:26 +0000)]
2006-02-18  Joseph S. Myers  <joseph@codesourcery.com>

* soft-fp/single.h (SFtype): Define.
(union _FP_UNION_S): Use it.
* soft-fp/double.h (DFtype): Define.
(union _FP_UNION_D): Use it.
* soft-fp/extended.h (XFtype): Define.
(union _FP_UNION_E): Use it.
* soft-fp/quad.h (TFtype): Define.
(union _FP_UNION_Q): Use it.
* soft-fp/soft-fp.h: Add _LIBC conditionals.
(SI_BITS, DI_BITS): Define.
* soft-fp/op-common.h (_FP_DECL): Add __attribute__((unused)) for
X##_c.
(_FP_CMP_EQ): Use parentheses for && inside ||.
(_FP_TO_INT): Use statement expressions in conditional controlling
constant shift.
(_FP_FROM_INT): Likewise.  Take unsigned type as argument.
* soft-fp/op-2.h (_FP_FRAC_SLL_2, _FP_FRAC_SRL_2, _FP_FRAC_SRST_2,
_FP_FRAC_SRS_2, _FP_FRAC_ASSEMBLE_2): Use statement expressions in
conditional controlling possibly constant shift.
(_FP_FRAC_SRST_2, _FP_FRAC_SRS_2): Avoid left shift by exactly
_FP_W_TYPE_SIZE.
(_FP_FRAC_GT_2, _FP_FRAC_GE_2): Use parentheses for && inside ||.
* soft-fp/op-4.h (_FP_FRAC_SRST_4): Avoid left shift by exactly
_FP_W_TYPE_SIZE.
(__FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3,
__FP_FRAC_SUB_4): Use _FP_W_TYPE for carry flags.
* soft-fp/op-8.h (_FP_FRAC_SRS_8): Avoid left shift by exactly
_FP_W_TYPE_SIZE.
* soft-fp/floatdidf.c: Pass unsigned type and macro for type size.
* soft-fp/floatdisf.c: Likewise.
* soft-fp/floatditf.c: Likewise.
* soft-fp/floatsidf.c: Likewise.
* soft-fp/floatsisf.c: Likewise.
* soft-fp/floatsitf.c: Likewise.
* soft-fp/floatundidf.c: Likewise.
* soft-fp/floatundisf.c: Likewise.
* soft-fp/floatunditf.c: Likewise.
* soft-fp/floatunsidf.c: Likewise.
* soft-fp/floatunsisf.c: Likewise.
* soft-fp/floatunsitf.c: Likewise.
* soft-fp/fixdfdi.c: Pass macro for type size.
* soft-fp/fixdfsi.c: Likewise.
* soft-fp/fixsfdi.c: Likewise.
* soft-fp/fixsfsi.c: Likewise.
* soft-fp/fixtfdi.c: Likewise.
* soft-fp/fixtfsi.c: Likewise.
* soft-fp/fixunsdfdi.c: Likewise.
* soft-fp/fixunsdfsi.c: Likewise.
* soft-fp/fixunssfdi.c: Likewise.
* soft-fp/fixunssfsi.c: Likewise.
* soft-fp/fixunstfdi.c: Likewise.
* soft-fp/fixunstfsi.c: Likewise.
* sysdeps/alpha/soft-fp/ots_cvtqux.c: Pass unsigned type.
* sysdeps/alpha/soft-fp/ots_cvtqx.c: Likewise.
* sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Likewise.
* soft-fp/adddf3.c: Use typedefs for argument and return types.
        * soft-fp/addsf3.c: Likewise.
        * soft-fp/addtf3.c: Likewise.
        * soft-fp/divdf3.c: Likewise.
        * soft-fp/divsf3.c: Likewise.
        * soft-fp/divtf3.c: Likewise.
        * soft-fp/eqdf2.c: Likewise.
        * soft-fp/eqsf2.c: Likewise.
        * soft-fp/eqtf2.c: Likewise.
        * soft-fp/extenddftf2.c: Likewise.
        * soft-fp/extendsfdf2.c: Likewise.
        * soft-fp/extendsftf2.c: Likewise.
        * soft-fp/fixdfdi.c: Likewise.
        * soft-fp/fixdfsi.c: Likewise.
        * soft-fp/fixsfdi.c: Likewise.
        * soft-fp/fixsfsi.c: Likewise.
        * soft-fp/fixtfdi.c: Likewise.
        * soft-fp/fixtfsi.c: Likewise.
        * soft-fp/fixunsdfdi.c: Likewise.
        * soft-fp/fixunsdfsi.c: Likewise.
        * soft-fp/fixunssfdi.c: Likewise.
        * soft-fp/fixunssfsi.c: Likewise.
        * soft-fp/fixunstfdi.c: Likewise.
        * soft-fp/fixunstfsi.c: Likewise.
        * soft-fp/floatdidf.c: Likewise.
        * soft-fp/floatdisf.c: Likewise.
        * soft-fp/floatditf.c: Likewise.
        * soft-fp/floatsidf.c: Likewise.
        * soft-fp/floatsisf.c: Likewise.
        * soft-fp/floatsitf.c: Likewise.
        * soft-fp/floatundidf.c: Likewise.
        * soft-fp/floatundisf.c: Likewise.
        * soft-fp/floatunditf.c: Likewise.
        * soft-fp/floatunsidf.c: Likewise.
        * soft-fp/floatunsisf.c: Likewise.
        * soft-fp/floatunsitf.c: Likewise.
        * soft-fp/gedf2.c: Likewise.
        * soft-fp/gesf2.c: Likewise.
        * soft-fp/getf2.c: Likewise.
        * soft-fp/ledf2.c: Likewise.
        * soft-fp/lesf2.c: Likewise.
        * soft-fp/letf2.c: Likewise.
        * soft-fp/muldf3.c: Likewise.
        * soft-fp/mulsf3.c: Likewise.
        * soft-fp/multf3.c: Likewise.
        * soft-fp/negdf2.c: Likewise.
        * soft-fp/negsf2.c: Likewise.
        * soft-fp/negtf2.c: Likewise.
        * soft-fp/sqrtdf2.c: Likewise.
        * soft-fp/sqrtsf2.c: Likewise.
        * soft-fp/sqrttf2.c: Likewise.
        * soft-fp/subdf3.c: Likewise.
        * soft-fp/subsf3.c: Likewise.
        * soft-fp/subtf3.c: Likewise.
        * soft-fp/truncdfsf2.c: Likewise.
        * soft-fp/trunctfdf2.c: Likewise.
        * soft-fp/trunctfsf2.c: Likewise.
        * soft-fp/unorddf2.c: Likewise.
        * soft-fp/unordsf2.c: Likewise.
        * soft-fp/unordtf2.c: Likewise.

14 years ago2006-02-09 Joseph S. Myers <joseph@codesourcery.com>
roland [Sat, 25 Feb 2006 01:24:57 +0000 (01:24 +0000)]
2006-02-09  Joseph S. Myers  <joseph@codesourcery.com>

* soft-fp/op-common.h (_FP_UNPACK_SEMIRAW): Define.
(_FP_OVERFLOW_SEMIRAW): Likewise.
(_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
(_FP_CHOOSENAN_SEMIRAW): Likewise.
(_FP_EXP_NORMAL): Likewise.
(_FP_PACK_SEMIRAW): Likewise.
(_FP_ADD_INTERNAL): Rewrite to operate on semi-raw value.
(_FP_SUB): Likewise.
(_FP_TO_INT): Rewrite to operate on raw values.  Don't set INVALID
exception for conversions where most negative representable
integer is correct truncated value, but do set INEXACT for such
conversions where appropriate.  Don't always left-shift for
converting to a wider integer.
(_FP_FROM_INT): Rewrite to yield raw value.  Correct shift for
integers with one more bits than (mantissa + guard) bits for the
floating point format.  Don't use __FP_FRAC_SRS_1 for shifting
integers that may be wider than _FP_W_TYPE_SIZE.
(FP_CONV): Don't define.
(FP_EXTEND): Define.
(FP_TRUNC): Likewise.
* soft-fp/op-1.h (_FP_FRAC_SRST_1, __FP_FRAC_SRST_1): Define.
(_FP_FRAC_CONV_1_1): Don't define.
(_FP_FRAC_COPY_1_1): Define.
* soft-fp/op-2.h (_FP_FRAC_SRST_2): Define.
(_FP_FRAC_CONV_1_2, _FP_FRAC_CONV_2_1): Don't define.
(_FP_FRAC_COPY_1_2, _FP_FRAC_COPY_2_1): Define.
* soft-fp/op-4.h (_FP_FRAC_SRST_4): Define.
(_FP_FRAC_SRS_4): Define based on _FP_FRAC_SRST_4.
(_FP_FRAC_CONV_1_4, _FP_FRAC_CONV_2_4): Don't define.
(_FP_FRAC_COPY_1_4, _FP_FRAC_COPY_2_4): Define.
(_FP_FRAC_CONV_4_1, _FP_FRAC_CONV_4_2): Don't define.
(_FP_FRAC_COPY_4_1, _FP_FRAC_COPY_4_2): Define.
* soft-fp/single.h (_FP_FRACTBITS_S): Define.
(_FP_FRACXBITS_S): Define in terms of _FP_FRACXBITS_S.
(_FP_WFRACXBITS_S): Likewise.
(_FP_QNANBIT_SH_S, _FP_IMPLBIT_SH_S): Define.
(FP_UNPACK_SEMIRAW_S, FP_UNPACK_SEMIRAW_SP): Define.
(FP_PACK_SEMIRAW_S, FP_PACK_SEMIRAW_SP): Define.
* soft-fp/double.h (_FP_QNANBIT_SH_D, _FP_IMPLBIT_SH_D): Define.
(FP_UNPACK_SEMIRAW_D, FP_UNPACK_SEMIRAW_D): Define
(FP_PACK_SEMIRAW_D, FP_PACK_SEMIRAW_DP): Define.
* soft-fp/extended.h (_FP_QNANBIT_SH_E, _FP_IMPLBIT_SH_E): Define.
(FP_UNPACK_EP): Correct typo.
(FP_UNPACK_SEMIRAW_E, FP_UNPACK_SEMIRAW_EP): Define.
(FP_PACK_SEMIRAW_E, FP_PACK_SEMIRAW_EP): Define.
* soft-fp/quad.h (_FP_QNANBIT_SH_Q, _FP_IMPLBIT_SH_Q): Define.
(FP_UNPACK_SEMIRAW_Q, FP_UNPACK_SEMIRAW_QP): Define.
(FP_PACK_SEMIRAW_Q, FP_PACK_SEMIRAW_QP): Define.
* soft-fp/fixdfdi.c: Use unsigned type for result of conversion.
* soft-fp/fixdfsi.c: Likewise.
* soft-fp/fixsfdi.c: Likewise.
* soft-fp/fixsfsi.c: Likewise.
* soft-fp/fixtfdi.c: Likewise.
* soft-fp/fixtfsi.c: Likewise.
* sysdeps/alpha/soft-fp/ots_cvtxq.c: Likewise.
* sysdeps/alpha/soft-fp/ots_nintxq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
* soft-fp/adddf3.c: Update for changed soft-fp interfaces.
* soft-fp/addsf3.c: Likewise.
* soft-fp/addtf3.c: Likewise.
* soft-fp/extenddftf2.c: Likewise.
* soft-fp/extendsfdf2.c: Likewise.
* soft-fp/extendsftf2.c: Likewise.
* soft-fp/fixdfdi.c: Likewise.
* soft-fp/fixdfsi.c: Likewise.
* soft-fp/fixsfdi.c: Likewise.
* soft-fp/fixsfsi.c: Likewise.
* soft-fp/fixtfdi.c: Likewise.
* soft-fp/fixtfsi.c: Likewise.
* soft-fp/fixunsdfdi.c: Likewise.
* soft-fp/fixunsdfsi.c: Likewise.
* soft-fp/fixunssfdi.c: Likewise.
* soft-fp/fixunssfsi.c: Likewise.
* soft-fp/fixunstfdi.c: Likewise.
* soft-fp/fixunstfsi.c: Likewise.
* soft-fp/floatdidf.c: Likewise.
* soft-fp/floatdisf.c: Likewise.
* soft-fp/floatditf.c: Likewise.
* soft-fp/floatsidf.c: Likewise.
* soft-fp/floatsisf.c: Likewise.
* soft-fp/floatsitf.c: Likewise.
* soft-fp/floatundidf.c: Likewise.
* soft-fp/floatundisf.c: Likewise.
* soft-fp/floatunditf.c: Likewise.
* soft-fp/floatunsidf.c: Likewise.
* soft-fp/floatunsisf.c: Likewise.
* soft-fp/floatunsitf.c: Likewise.
* soft-fp/subdf3.c: Likewise.
* soft-fp/subsf3.c: Likewise.
* soft-fp/subtf3.c: Likewise.
* soft-fp/truncdfsf2.c: Likewise.
* soft-fp/trunctfdf2.c: Likewise.
* soft-fp/trunctfsf2.c: Likewise.
* sysdeps/alpha/soft-fp/ots_add.c: Likewise.
* sysdeps/alpha/soft-fp/ots_cvtqux.c: Likewise.
* sysdeps/alpha/soft-fp/ots_cvtqx.c: Likewise.
* sysdeps/alpha/soft-fp/ots_cvttx.c: Likewise.
* sysdeps/alpha/soft-fp/ots_cvtxq.c: Likewise.
* sysdeps/alpha/soft-fp/ots_cvtxt.c: Likewise.
* sysdeps/alpha/soft-fp/ots_nintxq.c: Likewise.
* sysdeps/alpha/soft-fp/ots_sub.c: Likewise.
* sysdeps/powerpc/soft-fp/q_add.c: Likewise.
* sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
* sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
* sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
* sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
* sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_add.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_sub.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Likewise.
* sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Likewise.