Commit Graph

3470 Commits

Author SHA1 Message Date
Daniel Jacobowitz 56cf6cc523 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MREMAP_FIXED): Define. 2005-10-31 20:41:32 +00:00
Daniel Jacobowitz e7837483d3 * sysdeps/unix/sysv/linux/arm/socket.S: Honor NO_WEAK_ALIAS. 2005-10-27 18:50:12 +00:00
Ulrich Drepper 011363465f Return the correct result when the same dividend and divisor are provided,
and they're negative numbers.
2005-10-20 05:24:59 +00:00
Daniel Jacobowitz eb34460f46 Correct attribution goof. 2005-10-10 15:36:01 +00:00
Daniel Jacobowitz f10eff5832 Add ARM EABI port. 2005-10-10 15:29:32 +00:00
Phil Blundell 4ce0c8e4c8 2005-10-10 Philip Blundell <philb@gnu.org>
* sysdeps/arm/Makefile, sysdeps/arm/machine-gmon.h,
	sysdeps/arm/_mcount.S: Revert previous bogus changes.
2005-10-10 15:09:14 +00:00
Daniel Jacobowitz a7ed1adbec * sysdeps/arm/memset.S (memset): Correct handling of negative
arguments.
2005-10-10 15:00:47 +00:00
Phil Blundell b033155aa9 2005-10-10 Philip Blundell <philb@gnu.org>
* sysdeps/arm/_mcount.S: Suppress profiling when building this
	file.
2005-10-10 14:51:13 +00:00
Phil Blundell 5f7c48c17f 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.
2005-10-09 18:29:25 +00:00
Phil Blundell 609908d770 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.
2005-10-09 18:24:09 +00:00
Daniel Jacobowitz ecaa5eab07 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c,
sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: New files.
2005-10-05 20:17:08 +00:00
Daniel Jacobowitz 485a9bb9f0 * 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.
2005-10-05 20:15:22 +00:00
Daniel Jacobowitz b4900b98dc * sysdeps/arm/atomicity.h: Delete.
* sysdeps/arm/bits/atomic.h: New file.
2005-10-05 20:14:10 +00:00
Daniel Jacobowitz 867700cb74 * sysdeps/arm/dl-machine.h (ARCH_LA_PLTENTER,
ARCH_LA_PLTEXIT): Define.
	* sysdeps/arm/ldsodefs.h, sysdeps/arm/tst-audit.h: New files.
2005-10-05 20:13:03 +00:00
Richard Henderson dc5ca5d1f6 [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.
2005-09-20 05:35:42 +00:00
Richard Henderson 228f398a30 * sysdeps/alpha/ldiv.S (lldiv): Add alias. 2005-09-20 05:35:13 +00:00
Andreas Jaeger 32e1823eb3 [BZ #1047]
* sysdeps/unix/sysv/linux/mips/getpagesize.c: New file.
2005-09-16 13:12:44 +00:00
Andreas Jaeger ea78d8fa65 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.
2005-09-16 12:20:48 +00:00
Ulrich Drepper eb4e0abb40 (FUTEX_WAKE_OP, FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
(lll_futex_wake_unlock): Define.
2005-09-08 17:39:04 +00:00
Ulrich Drepper e582e2ddcf (pthread_rwlock_t): Make sure __flags are located at offset 48 from the
start of the structure.
2005-07-11 15:48:29 +00:00
Ulrich Drepper 15aff3c956 Add libm_hidden_def. 2005-07-08 18:52:47 +00:00
Roland McGrath eb699c14c2 2005-07-08 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/hppa/setjmp.S (__sigsetjmp): Use %r1 not %r19.
2005-07-08 06:11:21 +00:00
Roland McGrath e4782a5688 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.
2005-07-08 06:10:13 +00:00
Ulrich Drepper baee7540a4 (RLIMIT_RTPRIO): Fix typo. 2005-06-21 18:38:49 +00:00
Ulrich Drepper 5e74293199 (RLIMIT_NICE, RLIMIT_RTPRIO): Add.
(RLIMIT_NLIMITS): Adjust.
2005-06-20 15:07:34 +00:00
Phil Blundell 3bdeb53ad6 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.
2005-06-13 10:11:47 +00:00
Phil Blundell 19f2e4ebef 2005-06-11 Phil Blundell <pb@reciva.com>
* sysdeps/arm/init-first.c: Deleted.
	* sysdeps/unix/sysv/linux/arm/linuxthreads/fork.c: New file.
2005-06-11 10:15:27 +00:00
Phil Blundell 51ae9dc83d 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>.
2005-06-10 18:10:47 +00:00
Phil Blundell 849e84dde3 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.
2005-06-10 11:33:52 +00:00
Phil Blundell efaef362b3 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.
2005-06-10 11:12:09 +00:00
Phil Blundell 7051b72105 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.
2005-06-09 21:48:16 +00:00
Richard Henderson 685896ef5a * 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.
2005-05-28 23:40:09 +00:00
Ulrich Drepper 3597225d0f (O_DIRECT): Fix value. 2005-05-26 18:49:14 +00:00
Ulrich Drepper 8796ce2127 Add space inf weak_alias use. 2005-05-26 14:30:48 +00:00
Roland McGrath 3a980ecbe3 . 2005-05-24 06:13:06 +00:00
Roland McGrath fc49094260 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.
2005-05-24 06:13:03 +00:00
Roland McGrath 39f0b3ca13 * 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.
2005-05-24 06:12:39 +00:00
Roland McGrath ef0ae0f57e 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.
2005-04-28 22:28:50 +00:00
Andreas Jaeger 60bb0e6188 MIPS NPTL specific pthreadtypes.h 2005-03-29 19:56:26 +00:00
Roland McGrath 5116422529 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.
2005-03-28 20:42:43 +00:00
Andreas Jaeger e9eb4f5779 Protect against multiple inclusion. 2005-03-28 09:32:27 +00:00
Andreas Jaeger 305fae3b19 (elf_machine_rel): Add TLS relocations. 2005-03-28 09:32:04 +00:00
Andreas Jaeger 2568b67466 MIPS NPTL support 2005-03-28 09:21:52 +00:00
Andreas Jaeger e36da2da8f Add MIPS NPTL support 2005-03-28 09:19:38 +00:00
Andreas Jaeger 27aae96e5b (SIGEV_THREAD, SIGEV_CALLBACK, SIGEV_THREAD_ID): Update to match the kernel. 2005-03-28 09:17:43 +00:00
Andreas Jaeger e1ae85a58e (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.
2005-03-28 09:17:26 +00:00
Andreas Jaeger 08650996ea Add NPTL and five-argument clone support. 2005-03-28 09:17:06 +00:00
Andreas Jaeger 4abf7dea27 Linux/MIPS vfork implementation. 2005-03-28 09:16:12 +00:00
Andreas Jaeger 638418213e New file. 2005-03-28 09:15:45 +00:00
Andreas Jaeger 0af5154802 New files for MIPS TLS support. 2005-03-28 09:14:59 +00:00