Ulrich Drepper
88aa65dae8
(elf_machine_rela): Don't use INTUSE when calling _dl_signal_error.
...
(elf_machine_rel): Likewise.
2004-04-22 07:31:08 +00:00
Richard Henderson
154a5429ac
* math/Makefile (headers): Add bits/huge_valf.h, bits/huge_vall.h,
...
and bits/inf.h.
* math/math.h: Include them.
* sysdeps/alpha/fpu/bits/mathdef.h, sysdeps/arm/fpu/bits/mathdef.h,
sysdeps/generic/bits/mathdef.h, sysdeps/i386/fpu/bits/mathdef.h,
sysdeps/ia64/fpu/bits/mathdef.h, sysdeps/m68k/fpu/bits/mathdef.h,
sysdeps/mips/fpu/bits/mathdef.h, sysdeps/powerpc/fpu/bits/mathdef.h,
sysdeps/sh/sh4/fpu/bits/mathdef.h, sysdeps/sparc/fpu/bits/mathdef.h,
sysdeps/x86_64/fpu/bits/mathdef.h: Remove INFINITY.
* sysdeps/arm/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val.
(HUGE_VALF, HUGE_VALL): Remove.
* sysdeps/ieee754/bits/huge_val.h: Likewise.
* sysdeps/sh/bits/huge_val.h: Likewise.
* sysdeps/generic/bits/huge_val.h (HUGE_VAL): Use __builtin_huge_val.
* sysdeps/generic/bits/huge_valf.h: New file.
* sysdeps/generic/bits/huge_vall.h: New file.
* sysdeps/generic/bits/inf.h: New file.
* sysdeps/ieee754/bits/huge_valf.h: New file.
* sysdeps/ieee754/bits/inf.h: New file.
* sysdeps/i386/bits/huge_val.h: Remove file.
* sysdeps/i386/bits/huge_vall.h: New file.
* sysdeps/ia64/bits/huge_val.h: Remove file.
* sysdeps/ia64/bits/huge_vall.h: New file.
* sysdeps/ieee754/ldbl-128/bits/huge_vall.h: New file.
* sysdeps/m68k/bits/huge_val.h: Remove file.
* sysdeps/m68k/bits/huge_vall.h: New file.
* sysdeps/s390/bits/huge_val.h: Remove file.
* sysdeps/sh/sh4/fpu/bits/huge_val.h: Remove file.
* sysdeps/sparc/bits/huge_vall.h: New file.
* sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Remove file.
* sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Remove file.
* sysdeps/ieee754/bits/nan.h (NAN): Use __builtin_nanf.
* sysdeps/mips/bits/nan.h (NAN): Likewise.
2004-03-15 21:44:10 +00:00
Ulrich Drepper
cebbd6e78d
Use GLRO instead of GL where appropriate.
2004-03-05 10:22:54 +00:00
Ulrich Drepper
b82390a8da
(RTLD_START): Remove setting of __libc_stack_end.
2003-09-24 21:08:31 +00:00
Ulrich Drepper
644d82249f
(DO_RET): New.
2003-09-17 18:09:36 +00:00
Ulrich Drepper
12a15026b8
(CALL_ROUTINE): Deleted.
...
(BX): Define.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Optimise a little.
2003-09-17 18:09:25 +00:00
Ulrich Drepper
7e7d334885
Rewrite.
2003-09-14 19:53:42 +00:00
Ulrich Drepper
ab69220d3c
(PT_EI): Add __attribute__((always_inline)).
2003-07-31 19:15:42 +00:00
Alexandre Oliva
5027ae109a
* elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
...
elf_machine_rel_relative, elf_machine_rela_relative): Don't assume
reloc_addr is aligned.
* sysdeps/alpha/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative): Adjust.
* sysdeps/cris/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/hppa/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative): Adjust.
* sysdeps/ia64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/m68k/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/mips/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/powerpc/powerpc64/dl-machine.h
(elf_machine_rela_relative, elf_machine_rela): Adjust.
* sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative):
* sysdeps/sh/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/x86_64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
2003-07-31 06:33:52 +00:00
Ulrich Drepper
79b7c8634d
Add libc_hidden_builtin_def.
2003-04-29 22:47:20 +00:00
Roland McGrath
fad367110e
2003-03-23 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/alpha/fpu/libm-test-ulps: Update.
* sysdeps/arm/libm-test-ulps: Update.
* sysdeps/hppa/fpu/libm-test-ulps: Update.
* sysdeps/ia64/fpu/libm-test-ulps: Update.
* sysdeps/mips/fpu/libm-test-ulps: Update.
* sysdeps/powerpc/nofpu/libm-test-ulps: Update.
* sysdeps/powerpc/fpu/libm-test-ulps: Update.
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
* sysdeps/sh/sh4/fpu/libm-test-ulps: Update.
* sysdeps/s390/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Update.
2003-03-23 00:52:10 +00:00
Roland McGrath
4208b5c771
2003-03-21 Roland McGrath <roland@redhat.com>
...
* sysdeps/arm/sysdep.h (CALL_MCOUNT): Add trailing semicolon.
2003-03-21 20:51:59 +00:00
Ulrich Drepper
db16023193
Use libc_hidden_def(name) instead of strong_alias (name, __GI_name).
2002-12-31 20:37:32 +00:00
Ulrich Drepper
044758323b
Add __GI__setjmp alias.
2002-12-31 09:35:36 +00:00
Ulrich Drepper
a16ce997aa
(_start): Optimise a little. Push stack top as seventh arg to
...
__libc_start_main.
2002-12-21 18:36:32 +00:00
Roland McGrath
f8a26bed6f
2002-12-08 Roland McGrath <roland@redhat.com>
...
* elf/Makefile (tests): Uncomment tst-array[123].
* Makeconfig (CPPFLAGS-.oS): Add -DLIBC_NONSHARED=1.
* csu/elf-init.c: New file.
* csu/Makefile (routines, static-only-routines): Add elf-init.
* sysdeps/alpha/elf/start.S: Use __libc_csu_init in place of _init
and __libc_csu_fini in place of _fini.
* sysdeps/arm/elf/start.S: Likewise.
* sysdeps/cris/elf/start.S: Likewise.
* sysdeps/hppa/elf/start.S: Likewise.
* sysdeps/i386/elf/start.S: Likewise.
* sysdeps/ia64/elf/start.S: Likewise.
* sysdeps/m68k/elf/start.S: Likewise.
* sysdeps/mach/hurd/powerpc/static-start.S: Likewise.
* sysdeps/mips/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc64/elf/start.S: Likewise.
* sysdeps/s390/s390-32/elf/start.S: Likewise.
* sysdeps/s390/s390-64/elf/start.S: Likewise.
* sysdeps/sh/elf/start.S: Likewise.
* sysdeps/sparc/sparc32/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.
* sysdeps/x86_64/elf/start.S: Likewise.
2002-12-09 20:37:24 +00:00
Roland McGrath
d15c9a7856
2002-11-15 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY.
* sysdeps/arm/dl-machine.h (elf_machine_rela): Handle R_ARM_COPY.
2002-11-15 22:51:20 +00:00
Roland McGrath
a30e09230b
2002-09-28 Roland McGrath <roland@redhat.com>
...
* sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Use INTUSE for
_dl_signal_error.
* sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Likewise.
* sysdeps/powerpc/powerpc64/dl-machine.c
(_dl_reloc_overflow): Likewise.
* sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
(elf_machine_rela): Likewise.
2002-09-28 19:45:29 +00:00
Ulrich Drepper
f756cedbff
Not needed anymore.
2002-09-19 06:44:24 +00:00
Ulrich Drepper
280ad607c7
Add libm_hidden_ver.
2002-09-10 01:26:37 +00:00
Ulrich Drepper
bbb3856d85
Avoid unescaped newlines in string constants.
2002-08-28 21:26:20 +00:00
Ulrich Drepper
bc2a913308
Add bits/link.h.
2002-08-27 12:07:22 +00:00
Roland McGrath
f22dc06d3d
2002-08-26 Brian Youmans <3diff@gnu.org>
...
* crypt/crypt.c: Changed copying permission notice to Lesser GPL
from Library GPL.
* crypt/crypt_util.c: Likewise.
* crypt/ufc.c: Likewise.
* elf/dl-conflict.c: Likewise.
* elf/dl-iteratephdr.c: Likewise.
* iconv/iconvconfig.h: Likewise.
* linuxthreads/Examples/ex10.c: Likewise.
* linuxthreads/Examples/ex11.c: Likewise.
* linuxthreads/Examples/ex13.c: Likewise.
* linuxthreads/Examples/ex8.c: Likewise.
* linuxthreads/Examples/ex9.c: Likewise.
* linuxthreads/barrier.c: Likewise.
* linuxthreads/events.c: Likewise.
* linuxthreads/lockfile.c: Likewise.
* linuxthreads/no-tsd.c: Likewise.
* linuxthreads/pt-machine.c: Likewise.
* linuxthreads/ptclock_gettime.c: Likewise.
* linuxthreads/ptclock_settime.c: Likewise.
* linuxthreads/rwlock.c: Likewise.
* linuxthreads/sysdeps/alpha/pspinlock.c: Likewise.
* linuxthreads/sysdeps/alpha/pt-machine.h: Likewise.
* linuxthreads/sysdeps/arm/pspinlock.c: Likewise.
* linuxthreads/sysdeps/arm/pt-machine.h: Likewise.
* linuxthreads/sysdeps/cris/pspinlock.c: Likewise.
* linuxthreads/sysdeps/cris/pt-machine.h: Likewise.
* linuxthreads/sysdeps/hppa/pspinlock.c: Likewise.
* linuxthreads/sysdeps/hppa/pt-machine.h: Likewise.
* linuxthreads/sysdeps/i386/i686/pt-machine.h: Likewise.
* linuxthreads/sysdeps/i386/pspinlock.c: Likewise.
* linuxthreads/sysdeps/i386/pt-machine.h: Likewise.
* linuxthreads/sysdeps/i386/useldt.h: Likewise.
* linuxthreads/sysdeps/ia64/pspinlock.c: Likewise.
* linuxthreads/sysdeps/ia64/pt-machine.h: Likewise.
* linuxthreads/sysdeps/m68k/pspinlock.c: Likewise.
* linuxthreads/sysdeps/m68k/pt-machine.h: Likewise.
* linuxthreads/sysdeps/mips/pspinlock.c: Likewise.
* linuxthreads/sysdeps/mips/pt-machine.h: Likewise.
* linuxthreads/sysdeps/powerpc/pspinlock.c: Likewise.
* linuxthreads/sysdeps/powerpc/pt-machine.h: Likewise.
* linuxthreads/sysdeps/pthread/bits/initspin.h: Likewise.
* linuxthreads/sysdeps/pthread/bits/libc-lock.h: Likewise.
* linuxthreads/sysdeps/pthread/bits/libc-tsd.h: Likewise.
* linuxthreads/sysdeps/pthread/getcpuclockid.c: Likewise.
* linuxthreads/sysdeps/pthread/posix-timer.h: Likewise.
* linuxthreads/sysdeps/pthread/timer_create.c: Likewise.
* linuxthreads/sysdeps/pthread/timer_delete.c: Likewise.
* linuxthreads/sysdeps/pthread/timer_getoverr.c: Likewise.
* linuxthreads/sysdeps/pthread/timer_gettime.c: Likewise.
* linuxthreads/sysdeps/pthread/timer_routines.c: Likewise.
* linuxthreads/sysdeps/pthread/timer_settime.c: Likewise.
* linuxthreads/sysdeps/pthread/tst-timer.c: Likewise.
* linuxthreads/sysdeps/s390/pspinlock.c: Likewise.
* linuxthreads/sysdeps/s390/s390-32/pt-machine.h: Likewise.
* linuxthreads/sysdeps/s390/s390-64/pt-machine.h: Likewise.
* linuxthreads/sysdeps/sh/pspinlock.c: Likewise.
* linuxthreads/sysdeps/sh/pt-machine.h: Likewise.
* linuxthreads/sysdeps/sparc/sparc32/pspinlock.c: Likewise.
* linuxthreads/sysdeps/sparc/sparc32/pt-machine.h: Likewise.
* linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c: Likewise.
* linuxthreads/sysdeps/sparc/sparc64/pspinlock.c: Likewise.
* linuxthreads/sysdeps/sparc/sparc64/pt-machine.h: Likewise.
* linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h: Likewise.
* linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
* linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h: Likewise.
* linuxthreads/sysdeps/unix/sysv/linux/hppa/bits/initspin.h: Likewise.
* linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
* linuxthreads/tststack.c: Likewise.
* linuxthreads/unload.c: Likewise.
* linuxthreads/weaks.c: Likewise.
* linuxthreads/wrapsyscall.c: Likewise.
* malloc/arena.c: Likewise.
* malloc/hooks.c: Likewise.
* malloc/malloc.c: Likewise.
* posix/glob/Makefile.am: Likewise.
* posix/glob/Makefile.in: Likewise.
* stdlib/gmp-impl.h: Likewise.
* stdlib/gmp.h: Likewise.
* sysdeps/generic/dl-iteratephdr-static.c: Likewise.
* sysdeps/generic/strnlen.c: Likewise.
* sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise.
* sysdeps/mach/hurd/recvmsg.c: Likewise.
* sysdeps/mach/hurd/sendmsg.c: Likewise.
* sysdeps/mach/hurd/spawni.c: Likewise.
* sysdeps/mach/powerpc/machine-sp.h: Likewise.
* sysdeps/mach/powerpc/sysdep.h: Likewise.
* sysdeps/mach/powerpc/thread_state.h: Likewise.
* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: Likewise.
* sysdeps/x86_64/gmp-mparam.h: Likewise.
2002-08-26 22:39:52 +00:00
Ulrich Drepper
488003cd6b
Makefile for arm.
2002-08-12 19:36:38 +00:00
Ulrich Drepper
94c91a35d6
(FIRST_FRAME_POINTER): Define.
2002-07-15 02:08:46 +00:00
Ulrich Drepper
2aac58fcdf
(elf_machine_rel): Don't handle
...
R_ARM_RELATIVE if RTLD_BOOTSTRAP and HAVE_Z_COMBRELOC. Only check
for rtld map if neither RTLD_BOOTSTRAP nor HAVE_Z_COMBRELOC is defined.
(elf_machine_rela): Remove unused variable.
2002-07-15 02:07:00 +00:00
Ulrich Drepper
37296da75e
Protect against multiple inclusion.
2002-04-06 04:05:14 +00:00
Andreas Jaeger
d61bf26511
* sysdeps/i386/pt-machine.h: Add testandset and __compare_and_swap
...
prototpyes.
* sysdeps/alpha/pt-machine.h: Likewise.
* sysdeps/arm/pt-machine.h: Likewise.
* sysdeps/cris/pt-machine.h: Likewise.
* sysdeps/hppa/pt-machine.h: Likewise.
* sysdeps/i386/i686/pt-machine.h: Likewise.
* sysdeps/ia64/pt-machine.h: Likewise.
* sysdeps/m68k/pt-machine.h: Likewise.
* sysdeps/mips/pt-machine.h: Likewise.
* sysdeps/powerpc/pt-machine.h: Likewise.
* sysdeps/s390/s390-32/pt-machine.h: Likewise.
* sysdeps/s390/s390-64/pt-machine.h: Likewise.
* sysdeps/sh/pt-machine.h: Likewise.
* sysdeps/sparc/sparc32/pt-machine.h: Likewise.
* sysdeps/sparc/sparc64/pt-machine.h: Likewise.
* sysdeps/x86_64/pt-machine.h: Likewise.
* internals.h: Move testandset and __compare_and_swap prototypes
to pt-machine.h.
2002-03-17 12:09:54 +00:00
Ulrich Drepper
15a7702daa
(__libc_multiple_libcs): Define as hidden.
2002-03-13 03:49:52 +00:00
Ulrich Drepper
ceb7d0bbbe
Use rtld_progrname instead of _dl_argv[0].
2002-03-01 09:43:36 +00:00
Ulrich Drepper
dca9c7304b
Add HAVE_VISIBILITY_ATTRIBUTE and HAVE_SDATA_SECTION.
2002-02-28 22:36:33 +00:00
Ulrich Drepper
c577723005
(RTLD_START): Call _dl_init_internal instead of _dl_init.
2002-02-03 00:29:15 +00:00
Ulrich Drepper
f71d7f5726
Move global variables for SHARED code in struct _rtld_global. Export
...
this struct, remove all exports for the signal variables.
2002-02-01 01:32:06 +00:00
Andreas Jaeger
b6845b6741
(elf_machine_rela): Fix typo in last patch.
2001-12-12 09:02:09 +00:00
Ulrich Drepper
bcb5a520da
(elf_machine_runtime_setup): Save original content of .got[1].
...
(ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP.
(ELF_MACHINE_PLT_REL): Define.
(elf_machine_rela, elf_machine_rela_relative): New.
(elf_machine_lazy_rel): Reinitialize R_ARM_JUMP_SLOT address instead
of adjusting it if prelinked and prelinking cannot be used.
2001-12-12 00:11:47 +00:00
Ulrich Drepper
ef5f0af552
Arm specific additions to struct link.
2001-12-12 00:11:15 +00:00
Ulrich Drepper
ee448304d6
GCC frame description for Arm.
2001-11-16 01:07:20 +00:00
Ulrich Drepper
d4ef613a24
(elf_machine_rel): Fix thinko in usage of RESOLVE() (r_type, not
...
reloc->r_type).
2001-09-08 21:31:40 +00:00
Ulrich Drepper
09d4f65308
Fix usage of new _dl_signal_error() format.
2001-09-08 17:16:44 +00:00
Ulrich Drepper
5c6029e5c0
(elf_machine_lookup_noplt_p, elf_machine_lookup_noexec_p): Remove.
...
(elf_machine_type_class): Define.
2001-08-26 22:26:38 +00:00
Ulrich Drepper
85bdccdbd2
Define elf_machine_rel_relative. Minor optimizations.
2001-08-24 08:43:21 +00:00
Ulrich Drepper
cf9fe93f07
Use __getopt_clean_environment only if USE_NONOPTION_FLAGS is defined.
2001-08-11 20:31:07 +00:00
Ulrich Drepper
17f56d2f9c
(elf_machine_runtime_setup): Only set _dl_profile_map for the right object.
2001-08-11 08:54:29 +00:00
Andreas Jaeger
f01ec4673b
Put under LGPL v2.1.
2001-07-07 10:13:33 +00:00
Andreas Jaeger
3214b89b32
Update to LGPL v2.1.
2001-07-06 04:56:23 +00:00
Andreas Jaeger
791746df78
Use #function, not @function, for .type of _start.
2001-06-11 07:44:41 +00:00
Andreas Jaeger
13906e12b9
Add .type for the entry point.
2001-06-05 06:20:45 +00:00
Roland McGrath
60446d7a54
2001-06-01 Roland McGrath <roland@frob.com>
...
* sysdeps/alpha/fpu/fclrexcpt.c: #include <shlib-compat.h>
and use compat_symbol/versioned_symbol instead of plain
symbol_version/default_symbol_version.
* sysdeps/alpha/fpu/fegetenv.c: Likewise.
* sysdeps/alpha/fpu/fesetenv.c: Likewise.
* sysdeps/alpha/fpu/feupdateenv.c: Likewise.
* sysdeps/alpha/fpu/fgetexcptflg.c: Likewise.
* sysdeps/alpha/fpu/fraiseexcpt.c: Likewise.
* sysdeps/alpha/fpu/fsetexcptflg.c: Likewise.
* sysdeps/arm/fpu/fclrexcpt.c: Likewise.
* sysdeps/arm/fpu/fegetenv.c: Likewise.
* sysdeps/arm/fpu/fesetenv.c: Likewise.
* sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
* sysdeps/arm/fpu/fsetexcptflg.c: Likewise.
* sysdeps/i386/fpu/fclrexcpt.c: Likewise.
* sysdeps/i386/fpu/fegetenv.c: Likewise.
* sysdeps/i386/fpu/fesetenv.c: Likewise.
* sysdeps/i386/fpu/feupdateenv.c: Likewise.
* sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
* sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
* sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
* sysdeps/m68k/fpu/fclrexcpt.c: Likewise.
* sysdeps/m68k/fpu/fegetenv.c: Likewise.
* sysdeps/m68k/fpu/fesetenv.c: Likewise.
* sysdeps/m68k/fpu/feupdateenv.c: Likewise.
* sysdeps/m68k/fpu/fgetexcptflg.c: Likewise.
* sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
* sysdeps/m68k/fpu/fsetexcptflg.c: Likewise.
* sysdeps/powerpc/fclrexcpt.c: Likewise.
* sysdeps/powerpc/fpu/fegetenv.c: Likewise.
* sysdeps/powerpc/fpu/fesetenv.c: Likewise.
* sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
* sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
* sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
* sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
2001-06-02 05:58:29 +00:00
Ulrich Drepper
dd69124f25
fegetexcept implementation for Arm.
2001-04-22 14:32:20 +00:00
Ulrich Drepper
285e7aeefd
feenableexcept implementation for Arm.
2001-04-22 14:31:51 +00:00
Ulrich Drepper
984dfe1266
fedisableexcept implementation for Arm.
2001-04-22 14:31:25 +00:00
Ulrich Drepper
b0b7e44c75
Adjust for increased precision in result of several tests.
2001-04-17 18:59:43 +00:00
Ulrich Drepper
0a5b388e1f
Stack information for Arm.
2001-04-11 07:34:36 +00:00
Ulrich Drepper
773b640096
Replace use of old output functions with the new ones.
2001-02-28 06:35:24 +00:00
Ulrich Drepper
b8f7c6f761
(elf_machine_rel): Correct handling of PC24 relocs with negative value.
2001-02-05 05:59:49 +00:00
Andreas Jaeger
f77b82e81b
Include internals.h to get prototypes.
2000-12-27 17:17:14 +00:00
Andreas Jaeger
726d3efe36
* sysdeps/s390/pt-machine.h (testandset): Use long int as return
...
value.
* sysdeps/arm/pt-machine.h (testandset): Likewise.
* sysdeps/hppa/pt-machine.h (testandset): Likewise.
* sysdeps/m68k/pt-machine.h (testandset): Likewise.
* sysdeps/sh/pt-machine.h (testandset): Likewise.
* sysdeps/sparc/sparc32/pt-machine.h (testandset): Likewise.
* sysdeps/sparc/sparc64/pt-machine.h (testandset): Likewise.
2000-12-18 05:55:14 +00:00
Ulrich Drepper
e9a0b83c8f
Remove FLT_EVAL_METHOD and DECIMAL_DIG definitions.
2000-12-04 08:37:22 +00:00
Andreas Schwab
0abafb2042
* sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
...
* sysdeps/arm/setjmp.S: Likewise.
* sysdeps/arm/fpu/setjmp.S: Likewise.
* sysdeps/i386/setjmp.S: Likewise.
* sysdeps/i386/elf/setjmp.S: Likewise.
* sysdeps/s390/setjmp.S: Likewise.
* sysdeps/s390/elf/setjmp.S: Likewise.
* sysdeps/sh/sh3/setjmp.S: Likewise.
* sysdeps/sh/sh4/setjmp.S: Likewise.
* sysdeps/sparc/sparc32/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
2000-11-21 20:55:38 +00:00
Ulrich Drepper
ff86bfcd6b
Update after libm-test.inc change.
2000-10-26 17:23:46 +00:00
Ulrich Drepper
fbbf3667bf
Updated.
2000-10-25 16:56:34 +00:00
Ulrich Drepper
f1dba30859
(elf_machine_matches_host): Parameter is now pointer to ELF header.
2000-10-20 17:04:28 +00:00
Ulrich Drepper
d31dde9292
Make FP_ILOGB0 and FP_ILOGBNAN int values.
2000-09-01 06:32:15 +00:00
Ulrich Drepper
a27fd4306a
(fix_bad_pc24): New function.
...
(elf_machine_rel): Use it for out-of-range PC24 relocs.
2000-07-29 19:32:27 +00:00
Greg McGary
e6bd4dbf3a
* sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
...
* sysdeps/generic/frame.h: Likewise.
* sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
around return value.
(__backtrace): Qualify frame-pointer chain and return address
pointers as __unbounded. Wrap bounds around variable `current'.
* sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
around return value.
(catch_segfault): Qualify frame-pointer chain and return address
pointers as __unbounded. Wrap bounds around variable `current'.
* sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
(ADVANCE_STACK_FRAME): Wrap bounds around return value.
* sysdeps/powerpc/backtrace.c (struct layout): Make pointers __unbounded.
(__backtrace): Qualify frame-pointer chain and return address
pointers as __unbounded. Wrap bounds around variable `current'.
2000-07-29 08:09:56 +00:00
Ulrich Drepper
c92d72a8fe
Include <sysdeps/generic/memusage.h>.
2000-06-20 06:33:57 +00:00
Ulrich Drepper
949eb60694
Macro to allow memory usage tracking.
2000-06-20 06:29:45 +00:00
Ulrich Drepper
3f56045a39
Renamed to memusage.h.
2000-06-20 06:29:15 +00:00
Ulrich Drepper
a07cbd1894
(compare_and_swap): Return result.
2000-05-29 00:59:18 +00:00
Ulrich Drepper
438c135094
Linux/Arm spinlock implementation.
2000-05-25 05:28:08 +00:00
Andreas Jaeger
e4a8c0f332
2000-05-21 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
* sysdeps/i386/bits/huge_val.h: Likewise.
* sysdeps/ieee754/bits/huge_val.h: Likewise.
* sysdeps/m68k/bits/huge_val.h: Likewise.
* sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
* sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
2000-05-22 09:25:13 +00:00
Andreas Jaeger
5d1aa2e61b
2000-05-17 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
__extension__ to hexadecimal floating constant notation.
* sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
Likewise.
* sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
* sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
Likewise.
* sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
HUGE_VALL): Likewise.
* sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
HUGE_VALL): Likewise.
(HUGE_VALL): Set to HUGE_VAL on sparc32.
2000-05-17 17:18:49 +00:00
Ulrich Drepper
408c9db5d3
(elf_machine_fixup_plt): Change return valuie to lookup_t and return the value.
2000-05-05 07:12:09 +00:00
Ulrich Drepper
bc69099093
Arm specific error specification for math library.
2000-04-12 23:39:44 +00:00
Ulrich Drepper
7fdeecfb09
Definition for memprof functionality on Arm.
2000-04-12 20:58:59 +00:00
Ulrich Drepper
21d129104c
(RTLD_START): Rewrite for new init function interface.
2000-04-12 20:12:05 +00:00
Ulrich Drepper
776dbc6551
Atomic operations for Arm.
2000-04-03 18:06:38 +00:00
Ulrich Drepper
73a35fc451
Use SHARED instead of PIC.
2000-03-31 05:44:27 +00:00
Ulrich Drepper
7189e3b807
Use D_PTR to access relocated entries in l_info.
2000-03-31 05:16:19 +00:00
Ulrich Drepper
5fa399b6c1
Define _FPU_MASK_IM, _FPU_MASK_ZM, _FPU_MASK_OM, _FPU_MASK_UM,
...
_FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT, and _FPU_IEEE. Change
_FPU_RESERVED.
2000-03-26 18:40:17 +00:00
Ulrich Drepper
41841677b4
Change default version to GLIBC_2.2.
2000-02-26 01:09:38 +00:00
Ulrich Drepper
9dca440b10
(_FPU_DEFAULT): Set the AC bit.
2000-02-11 18:49:01 +00:00
Ulrich Drepper
16e4bf6fec
Correct return value according to the standard.
2000-01-31 07:56:49 +00:00
Ulrich Drepper
9b1eef96d2
(CLEAR_CACHE): System calls clobber R0.
...
(dl_platform_init): Allow _dl_platform to be NULL.
2000-01-10 01:42:43 +00:00
Ulrich Drepper
a60ba9f602
Arm specific stack layout description.
2000-01-06 00:02:54 +00:00
Ulrich Drepper
7aacf7acd5
(_HAVE_STRING_ARCH_mempcpy): Define.
2000-01-03 16:58:49 +00:00
Ulrich Drepper
f549254ade
Definitions for math on Arm.
2000-01-03 03:50:21 +00:00
Ulrich Drepper
2dfdce515f
(CLEAR_CACHE): Fix a2 value.
1999-12-21 17:50:04 +00:00
Ulrich Drepper
9d1306dd21
(CLEAR_CACHE): New macro to force a cache flush.
1999-12-18 23:40:50 +00:00
Ulrich Drepper
d1af493c6b
(elf_machine_rel): Fixup R_ARM_PC24 relocs if possible.
1999-12-08 07:35:32 +00:00
Ulrich Drepper
146bade74f
Return value and add alias.
1999-10-31 23:13:47 +00:00
Ulrich Drepper
6c555ab57e
Replace __USE_ISOC9X by __USE_ISOC99 and also recognize _ISOC99_SOURCE.
1999-10-31 17:31:25 +00:00
Ulrich Drepper
143751489c
Use hexadecimal floating-point constants for gcc >= 2.95.
1999-08-24 20:35:50 +00:00
Ulrich Drepper
26de9a821b
Define ARM specific versions of VALID_ELF_HEADER, VALID_ELF_OSABI,
...
VALID_ELF_ABIVERSION.
1999-08-10 05:10:14 +00:00
Roland McGrath
893f3d106f
1999-07-21 Roland McGrath <roland@baalperazim.frob.com>
...
* elf/dl-reloc.c (_dl_reloc_bad_type): New function.
* elf/ldsodefs.h: Declare it.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Use it
instead of assert.
(elf_machine_lazy_rel): Likewise. Take new arg MAP.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
(elf_machine_lazy_rel): Likewise.
* sysdeps/mips/dl-machine.h (elf_machine_rel): Likewise.
(elf_machine_lazy_rel): Likewise.
* sysdeps/mips/mips64/dl-machine.h (elf_machine_rel): Likewise.
(elf_machine_lazy_rel): Likewise.
* sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
(elf_machine_lazy_rel): Likewise.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
(elf_machine_lazy_rel): Likewise.
* sysdeps/generic/dl-machine.h (elf_machine_rel): Likewise.
* sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
(elf_machine_lazy_rel): Likewise.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
(elf_machine_lazy_rel): Likewise.
* sysdeps/powerpc/dl-machine.h (elf_machine_lazy_rel): Likewise.
* sysdeps/powerpc/dl-machine.c (__process_machine_rela): Use
_dl_reloc_bad_type instead of _dl_signal_error.
* elf/do-rel.h (elf_dynamic_do_rel): Pass MAP to elf_machine_lazy_rel.
1999-07-21 16:57:52 +00:00
Ulrich Drepper
e19b39916e
Add ieee754/flt-32 and ieee754/dbl-64.
1999-07-13 23:43:10 +00:00
Ulrich Drepper
e79468a241
(elf_machine_load_address): Fix problems with GOT addressing.
1999-06-06 09:20:55 +00:00
Ulrich Drepper
b28057ced4
Adapted for header file change.
1999-05-23 09:46:25 +00:00
Ulrich Drepper
d3cbb9807c
(fenv_t): Prepend __ to member names to protect from user's macro namespace.
1999-05-23 09:44:56 +00:00
Ulrich Drepper
7483ee1131
Removed since cmpxchg/no-cmpxchg doesn't exist anymore.
1999-04-16 14:19:10 +00:00
Ulrich Drepper
3b40f7d3d4
Support big endian operation.
1999-04-12 09:04:34 +00:00
Ulrich Drepper
3c3174b2ec
Delete inline implementations of strcpy and stpcpy.
1999-04-12 09:01:49 +00:00
Ulrich Drepper
a96af7b96e
(elf_machine_runtime_setup): DT_PLTGOT entry is already relocated.
1999-03-02 08:06:57 +00:00
Ulrich Drepper
df019d9428
(ucontext): Rename field uc_links to
...
uc_link which is the right name according to Unix98.
1999-03-01 07:20:35 +00:00
Ulrich Drepper
44bff56804
(elf_machine_rel): DT_STRTAB is already relocated.
1999-02-20 14:57:43 +00:00
Ulrich Drepper
c0e2368bfe
(dl_start_user): Incorrect address for _dl_main_searchlist passed to
...
_dl_init_next.
1998-12-04 20:57:00 +00:00
Ulrich Drepper
ccdf0819b4
(__FLOAT_WORD_ORDER): Define to big endian.
1998-11-27 11:34:17 +00:00
Ulrich Drepper
e7782e5ed6
Fix handling of weak undefined symbols during bootstrapping.
1998-11-27 10:01:37 +00:00
Ulrich Drepper
1173aab2d2
Remove __setfpucw declaration, it's an internal symbol.
1998-11-26 12:00:10 +00:00
Ulrich Drepper
f05b28e62f
(__JMP_BUF_SP): Correct value.
1998-11-13 14:47:31 +00:00
Ulrich Drepper
33b59efe6c
Define PT_EI as extern inline is not yet defined. Use PT_EI in extern
...
inline definitions.
1998-10-09 11:22:07 +00:00
Ulrich Drepper
604791b664
ARM specific hugeval definition.
1998-10-05 13:39:33 +00:00
Ulrich Drepper
f036f1a9bc
Fix typo in last change.
1998-10-05 13:39:21 +00:00
Ulrich Drepper
fa85821416
Cope with fussy assembler.
1998-10-01 14:30:44 +00:00
Ulrich Drepper
911c0aba69
Correct args to mcount().
1998-10-01 14:29:47 +00:00
Ulrich Drepper
344b4b4e23
(elf_machine_lazy_rel): Optimise a bit.
...
(RTLD_START): Keep in step with recent ld.so changes.
(elf_machine_runtime_setup): Correct behaviour when profiling.
1998-09-18 09:10:23 +00:00
Ulrich Drepper
efe4f49dc1
Moved one dir up.
1998-09-14 15:01:45 +00:00
Ulrich Drepper
aa64d54421
Extra objects for ARM.
1998-09-14 15:01:30 +00:00
Ulrich Drepper
68d11b268e
(elf_machine_lazy_rel): Change first parameter and use this value.
1998-08-28 22:54:12 +00:00
Ulrich Drepper
64082f3e9c
ARM specific optimized string functions.
1998-08-22 07:54:18 +00:00
Ulrich Drepper
c94b4338b5
Moved one directory up.
1998-08-20 17:35:44 +00:00
Ulrich Drepper
a35276bee2
(CALL_MCOUNT): Add missing semicolons.
1998-08-20 17:35:29 +00:00
Ulrich Drepper
b292f4b3ac
IEEE754 definitions for ARM.
1998-08-20 17:35:22 +00:00
Ulrich Drepper
333014b835
Set __libc_stack_end.
...
Fix problems with profiling code.
1998-08-20 17:34:16 +00:00
Ulrich Drepper
60438273e5
Use PLT for procedure call.
1998-08-20 17:33:57 +00:00
Ulrich Drepper
f176c9ee03
Put return value in correct register. Don't set the condition flags
...
unnecessarily.
Restore floating point registers correctly.
1998-08-20 17:33:32 +00:00
Ulrich Drepper
397e58bca8
Put return value in correct register. Don't set the condition flags
...
unnecessarily.
1998-08-20 17:33:18 +00:00
Ulrich Drepper
55e0df36d5
Correct value of R0 before calling sigjmp_save.
1998-08-15 02:39:03 +00:00
Ulrich Drepper
2ea19c152e
Not needed anymore.
1998-08-15 02:38:53 +00:00
Ulrich Drepper
230ba858b4
Arm with FPU specific files to distribute.
1998-07-29 15:14:10 +00:00
Ulrich Drepper
2f601732bd
Definitions for FPU control.
1998-07-27 17:52:34 +00:00
Ulrich Drepper
22a7aa47a3
(CALL_MCOUNT): Replace stub with real implementation.
1998-07-27 17:52:15 +00:00
Ulrich Drepper
7d39ca8849
Improved profiling for ARM.
1998-07-27 17:52:05 +00:00
Ulrich Drepper
67950c312e
Move to fpu/ subdir.
1998-07-27 17:51:54 +00:00
Ulrich Drepper
fd2791ba88
(elf_machine_rel): Delete redundant debugging code. Correct handling
...
of PC24 relocs.
1998-07-27 17:51:42 +00:00
Ulrich Drepper
56984f4648
Fix typo.
1998-07-20 17:18:32 +00:00
Ulrich Drepper
030d182c93
Don't define __libc_pid.
1998-06-29 12:43:07 +00:00
Ulrich Drepper
7021745518
Update for new draft ARM ELF ABI.
1998-06-09 15:13:18 +00:00
Ulrich Drepper
54f119d171
GMP support for ARMs.
1998-06-01 14:25:31 +00:00
Ulrich Drepper
43ce7f2e75
IEEE 754 float support for strange ARMs.
1998-06-01 14:24:49 +00:00
Ulrich Drepper
5d3912ddbc
Not needed anymore.
1998-06-01 14:23:55 +00:00
Ulrich Drepper
87386bad90
(FE_EXCEPTION_SHIFT): Rename to FE_EXCEPT_SHIFT.
1998-06-01 14:23:26 +00:00
Ulrich Drepper
6f43b79989
(__jmp_buf): Remove floating-point support.
...
(_JMPBUF_UNWINDS): Added.
1998-06-01 13:39:22 +00:00
Ulrich Drepper
6298404e7d
jmpbuf definition for ARM with FPU.
1998-06-01 13:38:56 +00:00
Ulrich Drepper
58e6626f7e
ARM implementation of feholdexcept.
1998-06-01 13:38:03 +00:00
Ulrich Drepper
e0ebc3b2ef
Use __ASSEMBLER__ test macro not ASSEMBLER.
1998-05-29 10:20:59 +00:00
Ulrich Drepper
38843cb976
Correctly renamed.
1998-05-25 11:27:09 +00:00
Ulrich Drepper
cad0799e92
Set exception bits in Arm FPU.
1998-05-24 18:41:41 +00:00
Ulrich Drepper
3a5ade59c9
Definitions for FPU handling header.
1998-05-21 15:39:52 +00:00
Ulrich Drepper
c34d3ba41f
FP CW and SW handling for Arm.
1998-05-21 15:39:28 +00:00