platform/upstream/glibc.git
18 years ago * sysdeps/alpha/strncmp.S: Don't read too much data when pointers
Richard Henderson [Sun, 27 Nov 2005 06:05:33 +0000 (06:05 +0000)]
    * sysdeps/alpha/strncmp.S: Don't read too much data when pointers
        are co-aligned, and count is aligned with the end of the word.

18 years ago * sysdeps/unix/sysv/linux/alpha/fxstatat.c (__fxstatat): Fix typo.
Richard Henderson [Sat, 26 Nov 2005 00:52:45 +0000 (00:52 +0000)]
    * sysdeps/unix/sysv/linux/alpha/fxstatat.c (__fxstatat): Fix typo.
        (__fxstatat64): Alias from __fxstatat; remove other cnp errors.
        * sysdeps/unix/sysv/linux/alpha/sigaction.c: Include sys/cdefs.h
        and stddef.h.
        * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MREMAP_FIXED): Define.

18 years ago2005-11-18 Paul Brook <paul@codesourcery.com>
Roland McGrath [Fri, 18 Nov 2005 22:46:31 +0000 (22:46 +0000)]
2005-11-18  Paul Brook  <paul@codesourcery.com>

* sysdeps/unix/sysv/linux/m68k/bits/mman.h (MREMAP_FIXED): New macro.

18 years agoDefine SHM_NORESERVE.
Ulrich Drepper [Fri, 18 Nov 2005 02:40:36 +0000 (02:40 +0000)]
Define SHM_NORESERVE.

18 years ago * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h,
Daniel Jacobowitz [Wed, 16 Nov 2005 19:22:59 +0000 (19:22 +0000)]
* sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h,
sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c,
sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c,
sysdeps/unix/sysv/linux/arm/nptl/unwind.h,
sysdeps/arm/unwind-dw2-fde-glibc.c,
sysdeps/arm/unwind-pe.c, sysdeps/arm/framestate.c: New files.

18 years ago * sysdeps/arm/bits/setjmp.h, sysdeps/arm/fpu/bits/setjmp.h: Update
Daniel Jacobowitz [Wed, 16 Nov 2005 19:03:42 +0000 (19:03 +0000)]
* sysdeps/arm/bits/setjmp.h, sysdeps/arm/fpu/bits/setjmp.h: Update
include guards.

* sysdeps/unix/arm/sysdep.S (syscall_error): Handle USE___THREAD and
RTLD_PRIVATE_ERRNO.

* sysdeps/unix/sysv/linux/arm/clone.S (__clone): Handle RESET_PID.
Handle new arguments.
* sysdeps/unix/sysv/linux/arm/vfork.S (__vfork): Use SAVE_PID and
RESTORE_PID.  Use the right syscall error handler.

* sysdeps/unix/sysv/linux/arm/eabi/sigrestorer.S
(__default_sa_restorer, __default_rt_sa_restorer): Add unwind
information.

* sysdeps/unix/sysv/linux/arm/eabi/socket.S: Update formatting.
Add unwind information.  Correct stack alignment typo.

* sysdeps/unix/sysv/linux/arm/eabi/sysdep.h
(INTERNAL_SYSCALL_NCS): Define.

* sysdeps/unix/sysv/linux/arm/sigaction.c
(__libc_sigaction): Remove never-valid handling for SA_ONSTACK.

* sysdeps/unix/sysv/linux/arm/socket.S: Whitespace cleanup.

* sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER): Handle
RTLD_PRIVATE_ERRNO.
(INTERNAL_SYSCALL_NCS): Implement.

* sysdeps/arm/nptl/Makefile, sysdeps/arm/nptl/jmpbuf-unwind.h,
sysdeps/arm/nptl/pthread_spin_lock.S,
sysdeps/arm/nptl/pthread_spin_trylock.S,
sysdeps/arm/nptl/pthreaddef.h, sysdeps/arm/nptl/tcb-offsets.sym,
sysdeps/arm/nptl/tls.h, sysdeps/unix/sysv/linux/arm/eabi/Makefile,
sysdeps/unix/sysv/linux/arm/eabi/nptl/Makefile,
sysdeps/unix/sysv/linux/arm/eabi/nptl/configure,
sysdeps/unix/sysv/linux/arm/eabi/nptl/configure.in,
sysdeps/unix/sysv/linux/arm/eabi/nptl/nptl-aeabi_unwind_cpp_pr1.c,
sysdeps/unix/sysv/linux/arm/eabi/nptl/rt-aeabi_unwind_cpp_pr1.c,
sysdeps/unix/sysv/linux/arm/eabi/nptl/sysdep-cancel.h,
sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind-forcedunwind.c,
sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind-resume.c,
sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind.h,
sysdeps/unix/sysv/linux/arm/nptl/Versions,
sysdeps/unix/sysv/linux/arm/nptl/bits/atomic.h,
sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h,
sysdeps/unix/sysv/linux/arm/nptl/clone.S,
sysdeps/unix/sysv/linux/arm/nptl/createthread.c,
sysdeps/unix/sysv/linux/arm/nptl/fork.c,
sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c,
sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h,
sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S,
sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c,
sysdeps/unix/sysv/linux/arm/nptl/vfork.S: New files.

18 years ago * sysdeps/arm/dl-machine.h (CLEAR_CACHE): Use INTERNAL_SYSCALL_ARM.
Daniel Jacobowitz [Wed, 16 Nov 2005 18:08:53 +0000 (18:08 +0000)]
* sysdeps/arm/dl-machine.h (CLEAR_CACHE): Use INTERNAL_SYSCALL_ARM.
* sysdeps/unix/sysv/linux/arm/brk.c (__brk): Use INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/arm/clone.S (__clone): Use DO_CALL.
* sysdeps/unix/sysv/linux/arm/eabi/configure.in: Bump
arch_minimum_kernel.
* sysdeps/unix/sysv/linux/arm/eabi/configure: Regenerated.
* sysdeps/unix/sysv/linux/arm/eabi/epoll_ctl.c,
sysdeps/unix/sysv/linux/arm/eabi/epoll_wait.c,
sysdeps/unix/sysv/linux/arm/eabi/fcntl.c,
sysdeps/unix/sysv/linux/arm/eabi/fstatfs64.c,
sysdeps/unix/sysv/linux/arm/eabi/ftruncate64.c,
sysdeps/unix/sysv/linux/arm/eabi/fxstat64.c,
sysdeps/unix/sysv/linux/arm/eabi/kernel_epoll.h,
sysdeps/unix/sysv/linux/arm/eabi/kernel_stat.h,
sysdeps/unix/sysv/linux/arm/eabi/lockf64.c,
sysdeps/unix/sysv/linux/arm/eabi/lxstat64.c,
sysdeps/unix/sysv/linux/arm/eabi/semop.c,
sysdeps/unix/sysv/linux/arm/eabi/semtimedop.c,
sysdeps/unix/sysv/linux/arm/eabi/statfs64.c,
sysdeps/unix/sysv/linux/arm/eabi/syscalls.list,
sysdeps/unix/sysv/linux/arm/eabi/uname.c,
sysdeps/unix/sysv/linux/arm/eabi/xstat64.c,
sysdeps/unix/sysv/linux/arm/eabi/xstatconv.c,
sysdeps/unix/sysv/linux/arm/eabi/xstatconv.h: Removed.
* sysdeps/unix/sysv/linux/arm/eabi/linuxthreads/sysdep-cancel.h,
sysdeps/unix/sysv/linux/arm/eabi/mmap64.S,
sysdeps/unix/sysv/linux/arm/eabi/pread.c,
sysdeps/unix/sysv/linux/arm/eabi/pread64.c,
sysdeps/unix/sysv/linux/arm/eabi/pwrite.c,
sysdeps/unix/sysv/linux/arm/eabi/pwrite64.c,
sysdeps/unix/sysv/linux/arm/eabi/readahead.c,
sysdeps/unix/sysv/linux/arm/eabi/sigrestorer.S,
sysdeps/unix/sysv/linux/arm/eabi/socket.S,
sysdeps/unix/sysv/linux/arm/eabi/syscall.S,
sysdeps/unix/sysv/linux/arm/eabi/sysdep.h,
sysdeps/unix/sysv/linux/arm/eabi/truncate64.c: New files.
* sysdeps/unix/sysv/linux/arm/linuxthreads/sysdep-cancel.h
(SINGLE_THREAD_P_INT, SINGLE_THREAD_P_PIC): Removed.
(SINGLE_THREAD_P): Rewritten to use only ip.
* sysdeps/unix/sysv/linux/arm/linuxthreads/vfork.S (__vfork): Use
DO_CALL.
* sysdeps/unix/sysv/linux/arm/mmap.S (__mmap): Use DO_CALL.
* sysdeps/unix/sysv/linux/arm/mmap64.S (__mmap64): Use DO_CALL.
Don't handle EABI here.
* sysdeps/unix/sysv/linux/arm/socket.S (__socket): Use
SINGLE_THREAD_P.
* sysdeps/unix/sysv/linux/arm/vfork.S (__vfork): Use DO_CALL.

18 years agoLinux/m68k fchownat implementation.
Ulrich Drepper [Fri, 11 Nov 2005 19:42:24 +0000 (19:42 +0000)]
Linux/m68k fchownat implementation.

18 years agoLinux/m68k fxstatat implementation.
Ulrich Drepper [Fri, 11 Nov 2005 19:17:50 +0000 (19:17 +0000)]
Linux/m68k fxstatat implementation.

18 years agoLinux/Alpha fxstatat implementation.
Ulrich Drepper [Fri, 11 Nov 2005 19:15:37 +0000 (19:15 +0000)]
Linux/Alpha fxstatat implementation.

18 years ago.
Roland McGrath [Thu, 10 Nov 2005 00:57:19 +0000 (00:57 +0000)]
.

18 years ago2005-10-11 Steven Munroe <sjmunroe@us.ibm.com>
Roland McGrath [Thu, 10 Nov 2005 00:56:23 +0000 (00:56 +0000)]
2005-10-11  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/nofpu/fesetround.c: Add libm_hidden_def.

18 years agoRemove use of HAVE_GNU_LD.
Ulrich Drepper [Sun, 6 Nov 2005 02:05:16 +0000 (02:05 +0000)]
Remove use of HAVE_GNU_LD.

18 years ago * sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S: Add LGPL exception.
Daniel Jacobowitz [Thu, 3 Nov 2005 14:42:00 +0000 (14:42 +0000)]
* sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S: Add LGPL exception.

18 years ago * sysdeps/arm/eabi/aeabi_lcsts.c, sysdeps/arm/eabi/aeabi_math.c,
Daniel Jacobowitz [Mon, 31 Oct 2005 21:05:09 +0000 (21:05 +0000)]
* sysdeps/arm/eabi/aeabi_lcsts.c, sysdeps/arm/eabi/aeabi_math.c,
sysdeps/arm/eabi/aeabi_sighandlers.S: Add LGPL exception.

18 years ago * sysdeps/arm/eabi/Makefile (static-only-routines): Remove
Daniel Jacobowitz [Mon, 31 Oct 2005 20:49:25 +0000 (20:49 +0000)]
* sysdeps/arm/eabi/Makefile (static-only-routines): Remove
$(aeabi_routines).
* sysdeps/arm/eabi/Versions (GLIBC_2.4): Add ARM EABI portability
routines.
* sysdeps/arm/eabi/aeabi_assert.c, sysdeps/arm/eabi/aeabi_atexit.c,
sysdeps/arm/eabi/aeabi_errno_addr.c,
sysdeps/arm/eabi/aeabi_localeconv.c,
sysdeps/arm/eabi/aeabi_mb_cur_max.c, sysdeps/arm/eabi/aeabi_memclr.c,
sysdeps/arm/eabi/aeabi_memcpy.c, sysdeps/arm/eabi/aeabi_memmove.c,
sysdeps/arm/eabi/aeabi_memset.c: Remove attribute_hidden.

18 years ago * sysdeps/unix/sysv/linux/arm/bits/mman.h (MREMAP_FIXED): Define.
Daniel Jacobowitz [Mon, 31 Oct 2005 20:41:32 +0000 (20:41 +0000)]
* sysdeps/unix/sysv/linux/arm/bits/mman.h (MREMAP_FIXED): Define.

18 years ago * sysdeps/unix/sysv/linux/arm/socket.S: Honor NO_WEAK_ALIAS.
Daniel Jacobowitz [Thu, 27 Oct 2005 18:50:12 +0000 (18:50 +0000)]
* sysdeps/unix/sysv/linux/arm/socket.S: Honor NO_WEAK_ALIAS.

18 years agoReturn the correct result when the same dividend and divisor are provided,
Ulrich Drepper [Thu, 20 Oct 2005 05:24:59 +0000 (05:24 +0000)]
Return the correct result when the same dividend and divisor are provided,
and they're negative numbers.

18 years agoCorrect attribution goof.
Daniel Jacobowitz [Mon, 10 Oct 2005 15:36:01 +0000 (15:36 +0000)]
Correct attribution goof.

18 years agoAdd ARM EABI port.
Daniel Jacobowitz [Mon, 10 Oct 2005 15:29:32 +0000 (15:29 +0000)]
Add ARM EABI port.

18 years ago2005-10-10 Philip Blundell <philb@gnu.org>
Phil Blundell [Mon, 10 Oct 2005 15:09:14 +0000 (15:09 +0000)]
2005-10-10  Philip Blundell  <philb@gnu.org>

* sysdeps/arm/Makefile, sysdeps/arm/machine-gmon.h,
sysdeps/arm/_mcount.S: Revert previous bogus changes.

18 years ago * sysdeps/arm/memset.S (memset): Correct handling of negative
Daniel Jacobowitz [Mon, 10 Oct 2005 15:00:47 +0000 (15:00 +0000)]
* sysdeps/arm/memset.S (memset): Correct handling of negative
arguments.

18 years ago2005-10-10 Philip Blundell <philb@gnu.org>
Phil Blundell [Mon, 10 Oct 2005 14:51:13 +0000 (14:51 +0000)]
2005-10-10  Philip Blundell  <philb@gnu.org>

* sysdeps/arm/_mcount.S: Suppress profiling when building this
file.

18 years ago2005-10-09 Phil Blundell <pb@reciva.com>
Phil Blundell [Sun, 9 Oct 2005 18:29:25 +0000 (18:29 +0000)]
2005-10-09  Phil Blundell  <pb@reciva.com>

* sysdeps/arm/Makefile [subdir=gmon] (sysdep_routines): Add
_mcount.
* sysdeps/arm/machine-gmon.h (MCOUNT): Replace with empty
definition.
(_MCOUNT_DECL): Make linkage global.
* sysdeps/arm/_mcount.S: New file.

18 years ago2005-10-09 Phil Blundell <pb@reciva.com>
Phil Blundell [Sun, 9 Oct 2005 18:24:09 +0000 (18:24 +0000)]
2005-10-09  Phil Blundell  <pb@reciva.com>

* sysdeps/arm/dl-trampoline.S: [PROF] (_dl_runtime_profile):
Don't compile.  Correct cut'n'paste error with .size.

18 years ago * sysdeps/unix/sysv/linux/arm/posix_fadvise.c,
Daniel Jacobowitz [Wed, 5 Oct 2005 20:17:08 +0000 (20:17 +0000)]
* sysdeps/unix/sysv/linux/arm/posix_fadvise.c,
sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: New files.

18 years ago * sysdeps/arm/dl-machine.h: Include <tls.h>.
Daniel Jacobowitz [Wed, 5 Oct 2005 20:15:22 +0000 (20:15 +0000)]
* sysdeps/arm/dl-machine.h: Include <tls.h>.
(elf_machine_type_class, elf_machine_rel, elf_machine_rela): Handle
TLS relocations.
* sysdeps/unix/sysv/linux/arm/Makefile: Build __aeabi_read_tp.
* sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL_RAW): Renamed
from INTERNAL_SYSCALL.
(INTERNAL_SYSCALL, INTERNAL_SYSCALL_ARM): New macros.
* sysdeps/arm/dl-tls.h, sysdeps/arm/elf/configure.in,
sysdeps/arm/elf/configure, sysdeps/arm/libc-tls.c,
sysdeps/arm/linuxthreads/tls.h, sysdeps/arm/tls-macros.h,
sysdeps/unix/sysv/linux/arm/aeabi_read_tp.S,
sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: New files.

18 years ago * sysdeps/arm/atomicity.h: Delete.
Daniel Jacobowitz [Wed, 5 Oct 2005 20:14:10 +0000 (20:14 +0000)]
* sysdeps/arm/atomicity.h: Delete.
* sysdeps/arm/bits/atomic.h: New file.

18 years ago * sysdeps/arm/dl-machine.h (ARCH_LA_PLTENTER,
Daniel Jacobowitz [Wed, 5 Oct 2005 20:13:03 +0000 (20:13 +0000)]
* sysdeps/arm/dl-machine.h (ARCH_LA_PLTENTER,
ARCH_LA_PLTEXIT): Define.
* sysdeps/arm/ldsodefs.h, sysdeps/arm/tst-audit.h: New files.

18 years ago [BZ #1358]
Richard Henderson [Tue, 20 Sep 2005 05:35:42 +0000 (05:35 +0000)]
    [BZ #1358]
        * sysdeps/unix/alpha/sysdep.h (inline_syscall1): Copy argument(s)
        to a temporary first.
        (inline_syscall2, inline_syscall3, inline_syscall4): Likewise.
        (inline_syscall5, inline_syscall6): Likewise.

18 years ago * sysdeps/alpha/ldiv.S (lldiv): Add alias.
Richard Henderson [Tue, 20 Sep 2005 05:35:13 +0000 (05:35 +0000)]
    * sysdeps/alpha/ldiv.S (lldiv): Add alias.

18 years ago [BZ #1047]
Andreas Jaeger [Fri, 16 Sep 2005 13:12:44 +0000 (13:12 +0000)]
[BZ #1047]
* sysdeps/unix/sysv/linux/mips/getpagesize.c: New file.

18 years ago2005-09-16 Maciej W. Rozycki <macro@linux-mips.org>
Andreas Jaeger [Fri, 16 Sep 2005 12:20:48 +0000 (12:20 +0000)]
2005-09-16  Maciej W. Rozycki  <macro@linux-mips.org>

[BZ #933]
* sysdeps/unix/sysv/linux/mips/brk.c (__brk): Load the number of
the syscall immediately before invocation.
* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise.

* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use
macros to handle GP.
* sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall):
Likewise.  Update inaccurate comments.

18 years ago(FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
Ulrich Drepper [Thu, 8 Sep 2005 17:39:04 +0000 (17:39 +0000)]
(FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
(lll_futex_wake_unlock): Define.

19 years ago(pthread_rwlock_t): Make sure __flags are located at offset 48 from the
Ulrich Drepper [Mon, 11 Jul 2005 15:48:29 +0000 (15:48 +0000)]
(pthread_rwlock_t): Make sure __flags are located at offset 48 from the
start of the structure.

19 years agoAdd libm_hidden_def.
Ulrich Drepper [Fri, 8 Jul 2005 18:52:47 +0000 (18:52 +0000)]
Add libm_hidden_def.

19 years ago2005-07-08 Carlos O'Donell <carlos@systemhalted.org>
Roland McGrath [Fri, 8 Jul 2005 06:11:21 +0000 (06:11 +0000)]
2005-07-08  Carlos O'Donell <carlos@systemhalted.org>

* sysdeps/hppa/setjmp.S (__sigsetjmp): Use %r1 not %r19.

19 years ago2005-07-08 Carlos O'Donell <carlos@systemhalted.org>
Roland McGrath [Fri, 8 Jul 2005 06:10:13 +0000 (06:10 +0000)]
2005-07-08  Carlos O'Donell <carlos@systemhalted.org>

* sysdeps/hppa/add_n.s (__mpn_add_n): Use sr0 or r0, not 0.
* sysdeps/hppa/lshift.s (__mpn_lshift): Likewise.
* sysdeps/hppa/rshift.s (__mpn_rshift): Likewise.
* sysdeps/hppa/sub_n.s (__mpn_sub_n): Likewise.
* sysdeps/hppa/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
* sysdeps/hppa/hppa1.1/udiv_qrnnd.s (__udiv_qrnnd): Likewise.

19 years ago(RLIMIT_RTPRIO): Fix typo.
Ulrich Drepper [Tue, 21 Jun 2005 18:38:49 +0000 (18:38 +0000)]
(RLIMIT_RTPRIO): Fix typo.

19 years ago(RLIMIT_NICE, RLIMIT_RTPRIO): Add.
Ulrich Drepper [Mon, 20 Jun 2005 15:07:34 +0000 (15:07 +0000)]
(RLIMIT_NICE, RLIMIT_RTPRIO): Add.
(RLIMIT_NLIMITS): Adjust.

19 years ago2005-06-13 Philip Blundell <philb@gnu.org>
Phil Blundell [Mon, 13 Jun 2005 10:11:47 +0000 (10:11 +0000)]
2005-06-13  Philip Blundell  <philb@gnu.org>

Patch from addsub@eyou.com:
* sysdeps/arm/ieee754.h: Deleted.
* sysdeps/arm/gmp-mparam.h: Support VFP and big endian.
* sysdeps/arm/bits/endian.h: Likewise.

19 years ago2005-06-11 Phil Blundell <pb@reciva.com>
Phil Blundell [Sat, 11 Jun 2005 10:15:27 +0000 (10:15 +0000)]
2005-06-11  Phil Blundell  <pb@reciva.com>

* sysdeps/arm/init-first.c: Deleted.
* sysdeps/unix/sysv/linux/arm/linuxthreads/fork.c: New file.

19 years ago2005-06-10 Phil Blundell <pb@reciva.com>
Phil Blundell [Fri, 10 Jun 2005 18:10:47 +0000 (18:10 +0000)]
2005-06-10  Phil Blundell  <pb@reciva.com>

Bug #957:
* sysdeps/unix/sysv/linux/arm/mmap64.S: Handle offset correctly on
big endian machines.  Reported by Sven Henkel <shenkel@gmail.com>.

19 years ago2005-05-09 Daniel Jacobowitz <dan@codesourcery.com>
Phil Blundell [Fri, 10 Jun 2005 11:33:52 +0000 (11:33 +0000)]
2005-05-09  Daniel Jacobowitz  <dan@codesourcery.com>
    Mark Mitchell  <mark@codesourcery.com>

     * sysdeps/arm/bits/link.h: New file.
* sysdeps/arm/dl-trampoline.S: New file.
* sysdeps/arm/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE.
(elf_machine_runtime_setup): Check dl_profile before calling
_dl_name_match_p.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Delete.
(elf_machine_rel, elf_machine_rela): Use RESOLVE_MAP.
(fix_bad_pc24): Use auto instead of static.

19 years ago2005-05-09 Daniel Jacobowitz <dan@codesourcery.com>
Phil Blundell [Fri, 10 Jun 2005 11:12:09 +0000 (11:12 +0000)]
2005-05-09  Daniel Jacobowitz  <dan@codesourcery.com>
    Mark Mitchell  <mark@codesourcery.com>

     * sysdeps/unix/sysv/linux/arm/ioperm.c (BUS_ISA): Define for new
kernel headers.

19 years ago2005-06-09 Phil Blundell <pb@reciva.com>
Phil Blundell [Thu, 9 Jun 2005 21:48:16 +0000 (21:48 +0000)]
2005-06-09  Phil Blundell  <pb@reciva.com>

* sysdeps/unix/arm/sysdep.h, sysdeps/unix/sysv/linux/arm/sysdep.h,
sysdeps/unix/sysv/linux/arm/sysdep.S: Correct paths to included
files.

19 years ago * elf/elf.h (DT_ALPHA_PLTRO, DT_ALPHA_NUM): New.
Richard Henderson [Sat, 28 May 2005 23:40:09 +0000 (23:40 +0000)]
    * elf/elf.h (DT_ALPHA_PLTRO, DT_ALPHA_NUM): New.
        * sysdeps/alpha/dl-dtprocnum.h: New file.
        * sysdeps/alpha/dl-machine.h (DT_ALPHA): New.
        (elf_machine_load_address): Simplify to rely on gprel relocations.
        (elf_machine_runtime_setup): Handle DT_ALPHA_PLTRO plt format.
        Remove thread safety workaround for binutils 2.6.
        (elf_machine_fixup_plt): Handle DT_ALPHA_PLTRO plt format.
        * sysdeps/alpha/dl-trampoline.S (_dl_runtime_resolve_new): New.
        (_dl_runtime_profile_new): New.
        (_dl_runtime_resolve_old): Rename from _dl_runtime_resolve.
        (_dl_runtime_profile_old): Rename from _dl_runtime_profile.  Fix
        typo in _dl_call_pltexit argument loading.

        * sysdeps/alpha/div_libc.h (funcnoplt): New.
        * sysdeps/alpha/divl.S, sysdeps/alpha/divq.S: Use it.
        * sysdeps/alpha/divqu.S, sysdeps/alpha/reml.S: Likewise.
        * sysdeps/alpha/remq.S, sysdeps/alpha/remqu.S: Likewise.

19 years ago(O_DIRECT): Fix value.
Ulrich Drepper [Thu, 26 May 2005 18:49:14 +0000 (18:49 +0000)]
(O_DIRECT): Fix value.

19 years agoAdd space inf weak_alias use.
Ulrich Drepper [Thu, 26 May 2005 14:30:48 +0000 (14:30 +0000)]
Add space inf weak_alias use.

19 years ago.
Roland McGrath [Tue, 24 May 2005 06:13:06 +0000 (06:13 +0000)]
.

19 years ago2005-03-22 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 24 May 2005 06:13:03 +0000 (06:13 +0000)]
2005-03-22  Roland McGrath  <roland@redhat.com>

* Makefile ($(distname).tar): Fail if sysdeps/.../configure files are
not all up to date.  Touch configure files after cvs export.
(glibc-port-%-$(dist-version).tar): Likewise.

19 years ago\f
Roland McGrath [Tue, 24 May 2005 06:12:39 +0000 (06:12 +0000)]
\f

* ChangeLog.arm: New file (this one).
* sysdeps/arm, sysdeps/unix/arm, sysdeps/unix/sysv/linux/arm:
Subdirectories moved here from main repository.
* sysdeps/arm/preconfigure: New file.
* sysdeps/arm/shlib-versions: New file.

19 years ago2005-04-28 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 28 Apr 2005 22:28:50 +0000 (22:28 +0000)]
2005-04-28  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/dl-sysdep.h: Remove multiple inclusion protection.
* sysdeps/alpha/dl-sysdep.h: Likewise.
Use #include_next instead of duplicating generic file's contents.
* sysdeps/ia64/dl-sysdep.h: Likewise.
* sysdeps/sparc/dl-sysdep.h: Likewise.

19 years agoMIPS NPTL specific pthreadtypes.h
Andreas Jaeger [Tue, 29 Mar 2005 19:56:26 +0000 (19:56 +0000)]
MIPS NPTL specific pthreadtypes.h

19 years ago2005-03-28 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 28 Mar 2005 20:42:43 +0000 (20:42 +0000)]
2005-03-28  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names.
Reported by Mark Mitchell <mark@codesourcery.com>.
* Versions.def (libm): Define GLIBC_2.4 set.
* math/Versions (libm: GLIBC_2.4): Add this set, with exp2l.
* sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l.
* sysdeps/ia64/Versions: Likewise.
* sysdeps/m68k/Versions: Likewise.
* sysdeps/sparc/sparc64/Versions: Likewise.
* sysdeps/x86_64/Versions: New file.
* sysdeps/mips/mips64/Versions: New file.

19 years agoProtect against multiple inclusion.
Andreas Jaeger [Mon, 28 Mar 2005 09:32:27 +0000 (09:32 +0000)]
Protect against multiple inclusion.

19 years ago(elf_machine_rel): Add TLS relocations.
Andreas Jaeger [Mon, 28 Mar 2005 09:32:04 +0000 (09:32 +0000)]
(elf_machine_rel): Add TLS relocations.

19 years agoMIPS NPTL support
Andreas Jaeger [Mon, 28 Mar 2005 09:21:52 +0000 (09:21 +0000)]
MIPS NPTL support

19 years agoAdd MIPS NPTL support
Andreas Jaeger [Mon, 28 Mar 2005 09:19:38 +0000 (09:19 +0000)]
Add MIPS NPTL support

19 years ago(SIGEV_THREAD, SIGEV_CALLBACK, SIGEV_THREAD_ID): Update to match the kernel.
Andreas Jaeger [Mon, 28 Mar 2005 09:17:43 +0000 (09:17 +0000)]
(SIGEV_THREAD, SIGEV_CALLBACK, SIGEV_THREAD_ID): Update to match the kernel.

19 years ago (INTERNAL_SYSCALL_NCS): New.
Andreas Jaeger [Mon, 28 Mar 2005 09:17:26 +0000 (09:17 +0000)]
(INTERNAL_SYSCALL_NCS): New.
(INTERNAL_SYSCALL, internal_syscall0, internal_syscall1,
internal_syscall2, internal_syscall3, internal_syscall4,
internal_syscall5, internal_syscall6, internal_syscall7): Update
for non-constant support.

19 years agoAdd NPTL and five-argument clone support.
Andreas Jaeger [Mon, 28 Mar 2005 09:17:06 +0000 (09:17 +0000)]
Add NPTL and five-argument clone support.

19 years agoLinux/MIPS vfork implementation.
Andreas Jaeger [Mon, 28 Mar 2005 09:16:12 +0000 (09:16 +0000)]
Linux/MIPS vfork implementation.

19 years agoNew file.
Andreas Jaeger [Mon, 28 Mar 2005 09:15:45 +0000 (09:15 +0000)]
New file.

19 years agoNew files for MIPS TLS support.
Andreas Jaeger [Mon, 28 Mar 2005 09:14:59 +0000 (09:14 +0000)]
New files for MIPS TLS support.

19 years agoRemove unused file.
Andreas Jaeger [Mon, 28 Mar 2005 08:59:05 +0000 (08:59 +0000)]
Remove unused file.

19 years agoRemove whitespace at eol
Andreas Jaeger [Mon, 28 Mar 2005 07:58:05 +0000 (07:58 +0000)]
Remove whitespace at eol

19 years ago (internal_syscall5): Use register operands instead of non-lvalue
Andreas Jaeger [Mon, 28 Mar 2005 07:48:26 +0000 (07:48 +0000)]
(internal_syscall5): Use register operands instead of non-lvalue
memory operands.
(internal_syscall6): Likewise.
(internal_syscall7): Likewise.

19 years ago (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
Andreas Jaeger [Mon, 28 Mar 2005 07:47:27 +0000 (07:47 +0000)]
(elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS,
ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c.
(RTLD_START): Align the stack before calling _dl_init_internal.
Use .ent for _dl_start_user.
(ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define.
(elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
(elf_machine_runtime_setup): Use "auto inline".
(elf_machine_rela, elf_machine_rela_relative): Provide empty versions.
(elf_machine_got_rel): Likewise.  Use RESOLVE_MAP.

19 years agoMIPS specific dl-trampoline.c.
Andreas Jaeger [Mon, 28 Mar 2005 07:44:17 +0000 (07:44 +0000)]
MIPS specific dl-trampoline.c.

19 years agoMIPS specific <bits/link.h>
Andreas Jaeger [Mon, 28 Mar 2005 07:43:51 +0000 (07:43 +0000)]
MIPS specific <bits/link.h>

19 years agoAdd __USE_MISC and __USE_XOPEN guards to match linux/bits/termios.h.
Ulrich Drepper [Sun, 20 Mar 2005 04:30:28 +0000 (04:30 +0000)]
Add __USE_MISC and __USE_XOPEN guards to match linux/bits/termios.h.
(CMSPAR): Define.

19 years agoFinish remove not committed properly
Roland McGrath [Thu, 17 Mar 2005 00:32:10 +0000 (00:32 +0000)]
Finish remove not committed properly

19 years ago2005-03-15 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Tue, 15 Mar 2005 22:57:26 +0000 (22:57 +0000)]
2005-03-15  Jakub Jelinek  <jakub@redhat.com>

* elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
Add inline keyword.
* sysdeps/alpha/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
attribute.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.  Change
static inline into auto inline.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
* sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
Likewise.
* sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
Likewise.

19 years ago2005-03-10 GOTO Masanori <gotom@debian.or.jp>
Roland McGrath [Sun, 13 Mar 2005 03:27:22 +0000 (03:27 +0000)]
2005-03-10  GOTO Masanori  <gotom@debian.or.jp>

* sysdeps/hppa/configure.in: Remove old Makefile leftovers.
* sysdeps/hppa/configure: Regenerated.

19 years ago(ELF_MACHINE_NO_RELA): Define unconditionally to defined RTLD_BOOTSTRAP.
Ulrich Drepper [Sun, 6 Mar 2005 00:07:58 +0000 (00:07 +0000)]
(ELF_MACHINE_NO_RELA): Define unconditionally to defined RTLD_BOOTSTRAP.

19 years ago2005-03-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 1 Mar 2005 20:34:40 +0000 (20:34 +0000)]
2005-03-01  Roland McGrath  <roland@redhat.com>

[BZ #721]
* sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
of [RESOLVE_MAP].

19 years ago2004-11-11 Richard Sandiford <rsandifo@redhat.com>
Andreas Jaeger [Fri, 25 Feb 2005 15:18:13 +0000 (15:18 +0000)]
2004-11-11  Richard Sandiford  <rsandifo@redhat.com>

[BZ #758]
* sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
like __NR_N32_open.  Just include <asm/unistd.h> otherwise.
* sysdeps/unix/sysv/linux/mips/configure: Regenerate.
* sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
standard __NR prefix.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
the output file is compatible with both pre-2.6 and 2.6 kernel headers.
Extract separate syscall lists for each ABI.

19 years ago2005-02-14 GOTO Masanori <gotom@debian.or.jp>
Roland McGrath [Tue, 15 Feb 2005 00:12:18 +0000 (00:12 +0000)]
2005-02-14  GOTO Masanori  <gotom@debian.or.jp>

* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
getpeername entry.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.

19 years ago(elf_machine_rela): Remove use of
Andreas Schwab [Tue, 8 Feb 2005 20:02:24 +0000 (20:02 +0000)]
(elf_machine_rela): Remove use of
RESOLVE.

19 years ago * math/math_private.h (__copysign): Define as builtin for gcc 4.
Richard Henderson [Tue, 8 Feb 2005 04:37:48 +0000 (04:37 +0000)]
    * math/math_private.h (__copysign): Define as builtin for gcc 4.
        (__copysignf, __copysignl): Likewise.
        * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
        for gcc 4.0.
        (copysignf, copysignl, fabsf, fabs): Likewise.
        (__copysign, __copysignf, __copysignl): Remove.
        (__fabs, __fabsf): Remove.

19 years ago * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
Richard Henderson [Mon, 7 Feb 2005 03:11:46 +0000 (03:11 +0000)]
    * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
        all the time.

19 years ago(__old_globfree): Also copy gl_offs.
Ulrich Drepper [Thu, 27 Jan 2005 20:52:04 +0000 (20:52 +0000)]
(__old_globfree): Also copy gl_offs.

19 years ago * sysdeps/alpha/dl-trampoline.S: New file.
Richard Henderson [Sun, 23 Jan 2005 08:02:38 +0000 (08:02 +0000)]
    * sysdeps/alpha/dl-trampoline.S: New file.
        * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
        Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
        (elf_machine_runtime_setup): Test for dl_profile non-null.
        (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
        * sysdeps/alpha/bits/link.h: New file.
        * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
        (struct audit_ifaces): Add alpha entries.
        * elf/tst-auditmod1.c: Add alpha entries.

19 years ago * sysdeps/m68k/dl-machine.h: Remove trampoline code. Define
Andreas Schwab [Sun, 16 Jan 2005 02:07:29 +0000 (02:07 +0000)]
* sysdeps/m68k/dl-machine.h: Remove trampoline code.  Define
ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
(elf_machine_runtime_setup): If profile != 0 does not anymore mean
GLRO(dl_profile) != NULL.
* sysdeps/m68k/dl-trampoline.S: New file.
* sysdeps/m68k/bits/link.h: New file.
* sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
variants.
* elf/tst-auditmod1.c: Add m68k support.

19 years ago(__tls_get_addr): Updated for dtv_t union.
Ulrich Drepper [Wed, 12 Jan 2005 02:41:50 +0000 (02:41 +0000)]
(__tls_get_addr): Updated for dtv_t union.

19 years ago * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
Ulrich Drepper [Thu, 6 Jan 2005 22:40:24 +0000 (22:40 +0000)]
* csu/elf-init.c (__libc_csu_fini): Don't do anything here.
* sysdeps/generic/libc-start.c: Don't register program destructor here.

* dlfcn/Makefile: Add rules to build dlfcn.c.
(LDFLAGS-dl.so): Removed.
* dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
table.
* dlfcn/dlmopen.c: Likewise for _dl_open.
* dlfcn/dlopen.c: Likewise.
* dlfcn/dlopenold.c: Likewise.
* elf/dl-libc.c: Likewise for _dl_open and _dl_close.
* elf/Makefile (routines): Remove dl-open and dl-close.
(dl-routines): Add dl-open, dl-close, and dl-trampoline.
Add rules to build and run tst-audit1.
* elf/tst-audit1.c: New file.
* elf/tst-auditmod1.c: New file.
* elf/Versions [libc]: Remove _dl_open and _dl_close.
* elf/dl-close.c: Change for use inside ld.so instead of libc.so.
* elf/dl-open.c: Likewise.
* elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
signaled by nonzero parameter.
* elf/dl-init.c: Fix use of r_state.
* elf/dl-load.c: Likewise.

* elf/dl-close.c: Add auditing checkpoints.
* elf/dl-open.c: Likewise.
* elf/dl-fini.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-sym.c: Likewise.
* sysdeps/generic/libc-start.c: Likewise.
* elf/dl-object.c: Allocate memory for auditing information.
* elf/dl-reloc.c: Remove RESOLV.  We now always need the map.
Correctly initialize slotinfo.
* elf/dynamic-link.h: Adjust after removal of RESOLV.
* sysdeps/hppa/dl-lookupcfg.h: Likewise.
* sysdeps/ia64/dl-lookupcfg.h: Likewise.
* sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
* elf/dl-runtime.c (_dl_fixup): Little cleanup.
(_dl_profile_fixup): New parameters to point to register struct and
variable for frame size.
Add auditing checkpoints.
(_dl_call_pltexit): New function.
Don't define trampoline code here.
* elf/rtld.c: Recognize LD_AUDIT.  Load modules on startup.
Remove all the functions from _rtld_global_ro which only _dl_open
and _dl_close needed.
Add auditing checkpoints.
* elf/link.h: Define symbols for auditing interfaces.
* include/link.h: Likewise.
* include/dlfcn.h: Define __RTLD_AUDIT.
Remove prototypes for _dl_open and _dl_close.
Adjust access to argc and argv in libdl.
* dlfcn/dlfcn.c: New file.
* sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
is gone.
* sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
* sysdeps/generic/unsecvars.h: Add LD_AUDIT.
* sysdeps/i386/dl-machine.h: Remove trampoline code here.
Adjust for removal of RESOLVE.
* sysdeps/x86_64/dl-machine.h: Likewise.
* sysdeps/generic/dl-trampoline.c: New file.
* sysdeps/i386/dl-trampoline.c: New file.
* sysdeps/x86_64/dl-trampoline.c: New file.

* sysdeps/generic/dl-tls.c: Cleanups.  Fixup for dtv_t change.
Fix updating of DTV.
* sysdeps/generic/libc-tls.c: Likewise.

* sysdeps/arm/bits/link.h: Renamed to ...
* sysdeps/arm/buts/linkmap.h: ...this.
* sysdeps/generic/bits/link.h: Renamed to...
* sysdeps/generic/bits/linkmap.h: ...this.
* sysdeps/hppa/bits/link.h: Renamed to...
* sysdeps/hppa/bits/linkmap.h: ...this.
* sysdeps/hppa/i386/link.h: Renamed to...
* sysdeps/hppa/i386/linkmap.h: ...this.
* sysdeps/hppa/ia64/link.h: Renamed to...
* sysdeps/hppa/ia64/linkmap.h: ...this.
* sysdeps/hppa/s390/link.h: Renamed to...
* sysdeps/hppa/s390/linkmap.h: ...this.
* sysdeps/hppa/sh/link.h: Renamed to...
* sysdeps/hppa/sh/linkmap.h: ...this.
* sysdeps/hppa/x86_64/link.h: Renamed to...
* sysdeps/hppa/x86_64/linkmap.h: ...this.

19 years ago2004-12-20 Jakub Jelinek <jakub@redhat.com>,
Andreas Jaeger [Mon, 20 Dec 2004 08:34:03 +0000 (08:34 +0000)]
2004-12-20  Jakub Jelinek  <jakub@redhat.com>,
    Jim Gifford  <giffordj@linkline.com>

[BZ #562]
* sysdeps/mips/Makefile (librt-sysdep_routines): Add.
* sysdeps/unix/mips/rt-sysdep.S: New file.

19 years ago * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Add support
Richard Henderson [Fri, 17 Dec 2004 10:11:44 +0000 (10:11 +0000)]
    * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Add support
        for NPTL where the PID is stored at userlevel and needs to be
        reset when CLONE_THREAD is not used.
nptl/
        * sysdeps/unix/sysv/linux/alpha/clone.S: New file.
        * sysdeps/alpha/tcb-offsets.sym (TID_OFFSET): New.

19 years agoAdjust for changed result.
Andreas Jaeger [Fri, 17 Dec 2004 06:49:58 +0000 (06:49 +0000)]
Adjust for changed result.

19 years ago2004-10-18 Maciej W. Rozycki <macro@mips.com>
Roland McGrath [Wed, 15 Dec 2004 01:00:56 +0000 (01:00 +0000)]
2004-10-18  Maciej W. Rozycki  <macro@mips.com>

* sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Use
__NTH instead of __THROW in the inline definition.
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise.

19 years ago2004-10-18 Maciej W. Rozycki <macro@mips.com>
Roland McGrath [Wed, 15 Dec 2004 01:00:51 +0000 (01:00 +0000)]
2004-10-18  Maciej W. Rozycki  <macro@mips.com>

* sysdeps/mips/bits/dlfcn.h (RTLD_DEEPBIND): New macro.

19 years ago2004-10-18 Maciej W. Rozycki <macro@mips.com>
Roland McGrath [Wed, 15 Dec 2004 01:00:48 +0000 (01:00 +0000)]
2004-10-18  Maciej W. Rozycki  <macro@mips.com>

* sysdeps/unix/sysv/linux/mips/bits/mman.h
(PROT_GROWSDOWN, PROT_GROWSUP): New macros.

19 years ago2004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
Roland McGrath [Sat, 4 Dec 2004 21:20:30 +0000 (21:20 +0000)]
2004-11-18  Daniel Jacobowitz  <dan@codesourcery.com>

* sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Update RETINSTR use.
* sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.

19 years ago2004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
Roland McGrath [Sat, 4 Dec 2004 21:20:17 +0000 (21:20 +0000)]
2004-11-18  Daniel Jacobowitz  <dan@codesourcery.com>

* sysdeps/arm/sysdep.h: Define __USE_BX__ if bx is available.
Use it instead of __THUMB_INTERWORK__.  Make RETINSTR take
only a condition and a register.
* sysdeps/arm/dl-machine.h: Use __USE_BX__ instead of
__THUMB_INTERWORK__.
(_dl_start_user): Use BX.
* sysdeps/arm/strlen.S: Use DO_RET.
* sysdeps/unix/arm/brk.S, sysdeps/unix/arm/fork.S,
sysdeps/unix/arm/sysdep.S, sysdeps/unix/arm/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/arm/clone.S,
sysdeps/unix/sysv/linux/arm/mmap.S,
sysdeps/unix/sysv/linux/arm/mmap64.S,
sysdeps/unix/sysv/linux/arm/socket.S,
sysdeps/unix/sysv/linux/arm/sysdep.h,
sysdeps/unix/sysv/linux/arm/vfork.S: Update uses of RETINSTR.

19 years agoInclude sgidefs.h only if NO_SGIDEFS_H isn't defined. Don't include
Ulrich Drepper [Sat, 27 Nov 2004 20:01:03 +0000 (20:01 +0000)]
Include sgidefs.h only if NO_SGIDEFS_H isn't defined.  Don't include
sgidefs.h twice.

19 years agoRegenerate.
Andreas Jaeger [Wed, 24 Nov 2004 04:42:45 +0000 (04:42 +0000)]
Regenerate.

19 years agoUse _ABIO32, _ABIN32 and _ABI64 for ABI selection in generated asm-unistd.h.
Andreas Jaeger [Wed, 24 Nov 2004 04:38:31 +0000 (04:38 +0000)]
Use _ABIO32, _ABIN32 and _ABI64 for ABI selection in generated asm-unistd.h.

19 years agoUse _ABIO32, _ABIN32 and _ABI64 for ABI selection in generated syscall-list.h
Andreas Jaeger [Wed, 24 Nov 2004 04:38:15 +0000 (04:38 +0000)]
Use _ABIO32, _ABIN32 and _ABI64 for ABI selection in generated syscall-list.h