summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* [BZ #1047] Andreas Jaeger2005-09-161-0/+1
| | | | | | | | * sysdeps/unix/sysv/linux/mips/getpagesize.c: New file. 2005-09-16 Andreas Jaeger <aj@suse.de> [BZ #1047] * sysdeps/unix/sysv/linux/mips/getpagesize.c: New file.
* [BZ #933]Andreas Jaeger2005-09-163-19/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 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.
* (__spawni): Automatically recognize some more cases when we can use vfork.Ulrich Drepper2005-09-131-2/+10
|
* 2005-09-08 Roland McGrath <roland@redhat.com>Roland McGrath2005-09-081-8/+17
| | | | | * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Decode DSOCAPS properly, first byte is bit number in mask. Skip disabled caps.
* [BZ #1061]Roland McGrath2005-09-081-2/+2
| | | | | | | 2005-07-11 Derek R. Price <derek@ximbiot.com> [BZ #1061] * sysdeps/generic/glob.c (glob): Only a 0 return from getlogin_r means success, according to POSIX 1003.2.
* * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Remove theUlrich Drepper2005-09-061-3/+3
| | | | exponent bias from the increment value for scaling by 2^60.
* * sysdeps/i386/bits/string.h: Removed.Ulrich Drepper2005-09-041-922/+0
|
* 2005-08-22 Robert Millan <robertmh@gnu.org>Roland McGrath2005-09-021-0/+0
| | | | | * sysdeps/mach/hurd/nfs/nfs.h: Move to ... * sysdeps/generic/nfs/nfs.h: ... here.
* * sysdeps/ieee754/flt-32/e_hypotf.c [!__STDC__]: Fix function name.Ulrich Drepper2005-08-303-3/+88
| | | | | | | | | | | | | | | 2005-08-01 Bob Wilson <bob.wilson@acm.org> Richard Sandiford <richard@codesourcery.com> * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Add missing exponent bias to the value for 2^126. 2005-08-30 Jakub Jelinek <jakub@redhat.com> Alan Modra <amodra@bigpond.net.au> * elf/dl-addr.c (_dl_addr): Use DL_ADDR_SYM_MATCH macro. * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): Define. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h: New file.
* * sysdeps/unix/sysv/linux/Versions: Export Inotify_* syscalls.Ulrich Drepper2005-08-231-0/+3
|
* * sysdeps/ia64/fpu/libm_error.c (__libm_error_support): Don't abort.Ulrich Drepper2005-08-204-6/+45
| | | | | | | | | | | | | | | | | | | | | | | 2005-08-17 Robert Love <rml@novell.com> * sysdeps/unix/sysv/linux/sys/inotify.h: Add IN_MOVE_SELF event. 2005-08-19 Bruno Haible <bruno@clisp.org> * intl/localealias.c (read_alias_file): In case of failure, close the file descriptor and sort the array before returning. 2005-08-19 Ulrich Drepper <drepper@redhat.com> * malloc/Makefile: Link libmemusage.so with ld.so. * malloc/memusage.c: Use atomic operations for all counter and size computations. Handle thread stacks. * sysdeps/generic/memusage.h: Define memusage_cntr_t and memusage_size_t. * sysdeps/i386/i686/memusage.h: New file. * include/atomic.h: Define atomic_max and atomic_min. * debug/tst-chk1.c: Add tests for mbstowcs and wcstombs.
* * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): AddUlrich Drepper2005-08-173-1/+86
| | | | | | sys/inotify.h. * sysdeps/unix/sysv/linux/sys/inotify.h: New file. * sysdeps/unix/sysv/linux/syscalls.list: Add inotify syscalls.
* * sysdeps/mach/hurd/mig-reply.c (reply_port): Don't use ?: as lvalue.Roland McGrath2005-08-051-2/+2
|
* [BZ #1137]Roland McGrath2005-08-042-4/+4
| | | | | | | | | | 2005-08-03 Dwayne Grant McConnell <dgm69@us.ibm.com> * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Use +=, not =, to append. Remove duplicate flags. * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s): Likewise. Fix comments. [BZ #1137]
* * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Restart systemUlrich Drepper2005-08-011-5/+10
| | | | call if it returned EINTR.
* helper variable into .data.rel.ro. Simplify the code. ExtendUlrich Drepper2005-07-311-7/+10
| | | | comment to explain prelinking.
* helper variable into .data.rel.ro. Remove unnecessary label.Ulrich Drepper2005-07-311-1/+1
|
* (elf_machine_load_address): Move helper variable into .data.rel.ro.Ulrich Drepper2005-07-311-1/+1
|
* * misc/bits/syslog.h: New file.Ulrich Drepper2005-07-301-16/+25
| | | | | | | | | | | | | * misc/sys/syslog.h: Include <bits/syslog.h> for fortification. * misc/Makefile (headers): Add bits/syslog.h. * include/sys/syslog.h: Add __vsyslog_chk prototype and hidden_proto. * sysdeps/generic/syslog.c: Change vsyslog function to __vsyslog_chk. Call __vfprintf_chk if necessary. Make vsyslog a wrapper. Add __syslog_chk. * misc/Versions: Export __syslog_chk and __vsyslog_chk. * nis/nis_xdr.c: Help gcc to avoid generating unnecessary wrapper functions.
* * sysdeps/sh/memset.S (memset): Correct 2nd argument handling.Roland McGrath2005-07-241-0/+1
|
* * sysdeps/x86_64/fpu/libm-test-ulps: Adjust expected atan2f results. cvs/fedora-glibc-20050721T0814Ulrich Drepper2005-07-203-27/+18
| | | | | | | * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. * sysdeps/s390/fpu/libm-test-ulps: Likewise. Darin Petkov <darin@tensilica.com>
* 2005-07-20 Bob Wilson <bob.wilson@acm.org>Ulrich Drepper2005-07-201-1/+1
| | | | | | Darin Petkov <darin@tensilica.com> * sysdeps/ieee754/flt-32/e_atan2f.c (pi_lo): Correct exponent value.
* * include/stdio.h (__fxprintf): Remove wfmt argument.Ulrich Drepper2005-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * stdio-common/fxprintf.c: Include assert.h, ctype.h and wchar.h. (__fxprintf): Remove wfmt argument, create wfmt format string on the fly from fmt. * argp/argp-fmtstream.c: Adjust all __fxprintf callers. * argp/argp-help.c: Likewise. * assert/assert-perr.c: Likewise. * assert/assert.c: Likewise. * gmon/gmon.c: Likewise. * inet/rcmd.c: Likewise. * malloc/obstack.c: Likewise. * misc/error.c: Likewise. * misc/getpass.c: Likewise. * posix/getopt.c: Likewise. * resolv/res_hconf.c: Likewise. * stdio-common/perror.c: Likewise. * stdio-common/psignal.c: Likewise. * stdlib/fmtmsg.c: Likewise. * sunrpc/auth_unix.c: Likewise. * sunrpc/clnt_perr.c: Likewise. * sunrpc/clnt_tcp.c: Likewise. * sunrpc/clnt_udp.c: Likewise. * sunrpc/clnt_unix.c: Likewise. * sunrpc/svc_simple.c: Likewise. * sunrpc/svc_tcp.c: Likewise. * sunrpc/svc_udp.c: Likewise. * sunrpc/svc_unix.c: Likewise. * sunrpc/xdr.c: Likewise. * sunrpc/xdr_array.c: Likewise. * sunrpc/xdr_rec.c: Likewise. * sunrpc/xdr_ref.c: Likewise. * sysdeps/generic/wordexp.c: Likewise.
* * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs,Ulrich Drepper2005-07-201-6/+1
| | | | | | | | | | | | | | | | wcsrtombs, mbsnrtowcs, and wcsnrtombs. * debug/Makefile (routines): Add wcrtomb_chk, mbsrtowcs_chk, wcsrtombs_chk, mbsnrtowcs_chk, and wcsnrtombs_chk. * debug/Versions: Add __wcrtomb_chk, __mbsrtowcs_chk, __wcsrtombs_chk, __mbsnrtowcs_chk, and __wcsnrtombs_chk. * debug/tst-chk1.c: Add tests for new functions. * debug/mbsnrtowcs_chk.c: New file. * debug/mbsrtowcs_chk.c: New file. * debug/wcrtomb_chk.c: New file. * debug/wcsnrtombs_chk.c: New file. * debug/wcsrtombs_chk.c: New file. * include/stdio.h: Add declaration for __fxprintf.
* * wcsmbs/bits/wchar2.h: New file.Ulrich Drepper2005-07-151-0/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/wchar2.h: New file. * wcsmbs/wchar.h: Include <bits/wchar2.h> if fortification is requested. * wcsmbs/wcsncpy.c: Add __wcsncpy alias. * string/bits/string3.h: Add fortified stpncpy definitions. * sysdeps/generic/stpncpy_chk.c: New file. * libio/vswprintf.c: Move _IO_wstrnfile definition to strfile.h. Export _IO_wstrn_jumps. * libio/strfile.h: Define _IO_wstrnfile and declare _IO_wstrn_jumps. * include/wchar.h: Declare __wcsncpy and __vswprintf_chk. * debug/fgetws_chk.c: New file. * debug/fgetws_u_chk.c: New file. * debug/fwprintf_chk.c: New file. * debug/swprintf_chk.c: New file. * debug/vfwprintf_chk.c: New file. * debug/vswprintf_chk.c: New file. * debug/vwprintf_chk.c: New file. * debug/wcpcpy_chk.c: New file. * debug/wcpncpy_chk.c: New file. * debug/wcscat_chk.c: New file. * debug/wcscpy_chk.c: New file. * debug/wcsncat_chk.c: New file. * debug/wcsncpy_chk.c: New file. * debug/wmemcpy_chk.c: New file. * debug/wmemmove_chk.c: New file. * debug/wmempcpy_chk.c: New file. * debug/wmemset_chk.c: New file. * debug/wprintf_chk.c: New file. * debug/tst-chk1.c: Add tests for new functions. * debug/Versions: Export new functions. * debug/Makefile (routines): Add new functions.
* * include/libc-symbols.h: Define macros for librt hidden symbols.Ulrich Drepper2005-07-132-1/+3
| | | | | | * include/time.h: Add librt_hidden_proto definition for clock_gettime. * sysdeps/generic/clock_gettime.c: Add librt_hidden_def. * sysdeps/unix/clock_gettime.c: Likewise.
* * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Include not-cancel.h.Ulrich Drepper2005-07-121-6/+6
| | | | | (has_cpuclock): Use open_not_cancel_2 instead of open, read_not_cancel instead of read and close_not_cancel_no_status instead of close.
* * sysdeps/s390/s390-64/bcopy.S (__bcopy): UseUlrich Drepper2005-07-121-9/+5
| | | | HIDDEN_BUILTIN_JUMPTARGET to jump to memmove.
* * sysdeps/x86_64/fpu/s_sincosl.S: Use retq not ret. RemoveUlrich Drepper2005-07-082-4/+64
| | | | | alignment. * sysdeps/x86_64/fpu/s_sincos.S: New file.
* * include/fenv.h: Add libm_hidden_proto for fesetround andUlrich Drepper2005-07-0820-21/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | feholdexcept. * sysdeps/alpha/fpu/feholdexcpt.c: Add libm_hidden_def. * sysdeps/alpha/fpu/fesetround.c: Likewise. * sysdeps/generic/feholdexcpt.c: Likewise. * sysdeps/generic/fesetround.c: Likewise. * sysdeps/i386/fpu/feholdexcpt.c: Likewise. * sysdeps/i386/fpu/fesetround.c: Likewise. * sysdeps/ia64/fpu/feholdexcpt.c: Likewise. * sysdeps/ia64/fpu/fesetround.c: Likewise. * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise. * sysdeps/powerpc/fpu/fesetround.c: Likewise. * sysdeps/s390/fpu/feholdexcpt.c: Likewise. * sysdeps/s390/fpu/fesetround.c: Likewise. * sysdeps/sh/sh4/fpu/feholdexcpt.c: Likewise. * sysdeps/sh/sh4/fpu/fesetround.c: Likewise. * sysdeps/sparc/fpu/feholdexcpt.c: Likewise. * sysdeps/sparc/fpu/fesetround.c: Likewise. * sysdeps/x86_64/fpu/feholdexcpt.c: Likewise. * sysdeps/x86_64/fpu/fesetround.c: Likewise. * sysdeps/generic/s_significand.c (__significand): Use __ilogb not ilogb. * sysdeps/generic/s_significandf.c (__significandf): Use __ilogbf not ilogbf.
* * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use __sin andUlrich Drepper2005-07-081-3/+3
| | | | __cos, not sin and cos.
* * sysdeps/hppa/setjmp.S (__sigsetjmp): Use %r1 not %r19.Roland McGrath2005-07-081-11/+11
|
* 2005-07-08 Carlos O'Donell <carlos@systemhalted.org>Roland McGrath2005-07-086-47/+47
| | | | | | | | | * 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.
* * sysdeps/generic/s_ctan.c (__ctan): Likewise.Ulrich Drepper2005-07-073-9/+41
| | | | | * sysdeps/generic/s_ctanf.c (__ctanf): Likewise. * sysdeps/generic/s_ctanl.c (__ctanl): Likewise.
* * sysdeps/generic/s_ctanh.c (__ctanh): Handle case of zero den better.Ulrich Drepper2005-07-072-6/+26
| | | | | * sysdeps/generic/s_ctanhf.c (__ctanhf): Likewise. * sysdeps/generic/s_ctanhl.c (__ctanhl): Likewise.
* (__ctanhl): Handle case of zero den better.Ulrich Drepper2005-07-071-3/+13
|
* [BZ #974]Ulrich Drepper2005-07-072-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-13 H.J. Lu <hongjiu.lu@intel.com> [BZ #974] * csu/elf-init.c (__preinit_array_start): Take int, char **, char **. (__preinit_array_end): Likewise. (__init_array_start): Likewise. (__init_array_end): Likewise. (__libc_csu_init): Take int argc, char **argv, char **envp. Call preinit_array and init_array with argc, argv, envp. * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Remove INIT_MAIN_ARGS. * sysdeps/powerpc/elf/libc-start.c (INIT_MAIN_ARGS): Removed. * elf/Makefile (distribute): Add tst-array5.c, tst-array5-static.c, tst-array5dep.c, and tst-array5.exp. (tests): Add tst-array5. (tests-static): Add tst-array5-static. ($(objpfx)tst-array5): New target. ($(objpfx)tst-array5.out): Likewise. ($(objpfx)tst-array5-static.out): Likewise. * elf/tst-array5-static.c: New file. * elf/tst-array5-static.exp: Likewise. * elf/tst-array5.c: Likewise. * elf/tst-array5.exp: Likewise. * elf/tst-array5dep.c: Likewise.
* * sysdeps/unix/sysv/linux/bits/sched.h: Adjust clone prototype.Ulrich Drepper2005-07-071-2/+2
|
* * elf/dl-reloc.c [PROF] (_dl_relocate_object): DefineUlrich Drepper2005-07-077-26/+37
| | | | | | | | | | | | | | | | | | | | consider_profiling always to zero. Don't count of compiler to remove unreached if block. * sysdeps/x86_64/dl-trampoline.S [PROF] (_dl_runtime_profile): Don't compile. * sysdeps/i386/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise. * sysdeps/ia64/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise. * sysdeps/s390/s390-64/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise. * sysdeps/s390/s390-32/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise. * sysdeps/powerpc/powerpc64/dl-trampoline.S [PROF] (_dl_profile_resolve): Likewise. * sysdeps/powerpc/powerpc32/dl-trampoline.S [PROF] (_dl_profile_resolve): Likewise. * gmon/Makefile: Add rules to build and run tst-profile-static. * gmon/tst-profile-static.c: New file. * Makeconfig (+link-static): Allow passing program-specific flags.
* * manual/install.texi (Installation): Don't mention linuxthreads.Roland McGrath2005-07-032-30/+12
| | | | | | | | | | | | | (Configuring and compiling): Don't use linuxthreads as example. * sysdeps/unix/sysv/linux/configure.in: Check for nptl add-on only, not linuxthreads. * sysdeps/unix/sysv/linux/configure: Regenerated. * resolv/Depend: Add nptl. * rt/Depend: Likewise. * linuxthreads, linuxthreads_db: Directories removed (preserved in ports repository).
* [BZ #1037]Roland McGrath2005-07-021-1/+1
| | | | | | | 2005-06-27 Jakub Jelinek <jj@ultra.linux.cz> [BZ #1037] * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: -mv8 is deprecated, use -mcpu=v8.
* [BZ #1016] cvs/fedora-glibc-20050627T0850Ulrich Drepper2005-06-261-3/+3
| | | | | | 2005-06-16 Jakub Jelinek <jakub@redhat.com> [BZ #1016] * sysdeps/ia64/strlen.S (strlen): Change l2 into a local label.
* * Versions.def (ld): Add GLIBC_2.4.Ulrich Drepper2005-06-264-12/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Add --enable-stackguard-randomization option. (ENABLE_STACKGUARD_RANDOMIZE): New define. * config.h.in (ENABLE_STACKGUARD_RANDOMIZE): Add. * sysdeps/unix/sysv/linux/dl-osinfo.h: Include stdint.h. (_dl_setup_stack_chk_guard): New inline function. * sysdeps/generic/dl-osinfo.h: Include stdint.h. (_dl_setup_stack_chk_guard): New inline function. * elf/rtld.c (__stack_chk_guard): New variable. (dl_main): Remove all traces of TLS_INIT_TP_EXPENSIVE. Set __stack_chk_guard to _dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined. * elf/Versions (ld): Export __stack_chk_guard@@GLIBC_2.4. * sysdeps/generic/libc-start.c (__stack_chk_guard): New variable. (__libc_start_main): Set __stack_chk_guard to _dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined. * sysdeps/generic/libc-tls.c (__libc_setup_tls): Remove all traces of TLS_INIT_TP_EXPENSIVE. * debug/Versions (libc): Export __stack_chk_fail@@GLIBC_2.4. * debug/Makefile (routines): Add stack_chk_fail. (static-only-routines): Add stack_chk_fail_local. * debug/stack_chk_fail_local.c: New file. * debug/stack_chk_fail.c: New file. * elf/Makefile: Add rules to build and run tst-stackguard1{,-static} tests. * elf/tst-stackguard1.c: New file. * elf/tst-stackguard1-static.c: New file. * elf/stackguard-macros.h: New file.
* * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTPRIO): Fix typo.Ulrich Drepper2005-06-213-3/+3
| | | | | * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
* * sysdeps/unix/sysv/linux/sys/quota.h: Add definitions and types forUlrich Drepper2005-06-201-10/+79
| | | | | _LINUX_QUOTA_VERSION >= 2. (_LINUX_QUOTA_VERSION): Define if not yet defined.
* * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_NICE,Ulrich Drepper2005-06-204-8/+52
| | | | | | | | | | | | | | RLIMIT_RTPRIO): Add. (RLIMIT_NLIMITS): Adjust. * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_NICE, RLIMIT_RTPRIO): Add. (RLIMIT_NLIMITS): Adjust. * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_NICE, RLIMIT_RTPRIO): Add. (RLIMIT_NLIMITS): Adjust. * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_NICE, RLIMIT_RTPRIO): Add. (RLIMIT_NLIMITS): Adjust.
* * time/mktime.c: Always include <string.h> for prototype ofUlrich Drepper2005-06-182-9/+9
| | | | | | | | | | implicitly used memcpy. * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c (truncate64): Use __truncate, not truncate. (__have_no_truncate64): Renamed from have_no_truncate64. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c (__have_no_truncate64): Renamed from have_no_truncate64.
* * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ulps for complexUlrich Drepper2005-06-181-12/+18
| | | | float functions for gcc 4.
* * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup):Ulrich Drepper2005-06-1734-75/+349
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle prelinked libraries and binaries with new style PLT. 2005-06-07 Jakub Jelinek <jakub@redhat.com> * elf/elf.h (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI, R_PPC_REL16_HA): Define. 2005-06-14 Alan Modra <amodra@bigpond.net.au> * config.h.in (HAVE_ASM_PPC_REL16): Add. * elf/elf.h (DT_PPC_GOT, DT_PPC_NUM): Define. * elf/tls-macros.h (PowerPC32): Include config.h. Add variants of TLS_IE, TLS_LD and TLS_GD for new PLT/GOT layout. * sysdeps/powerpc/powerpc32/configure.in: New file, * sysdeps/powerpc/powerpc32/dl-dtprocnum.h: New file. * sysdeps/powerpc/powerpc32/dl-machine.h (DT_PPC): Define. (ppc_got): New inline function. (elf_machine_dynamic): Use ppc_got. Add attribute const. (elf_machine_load_address): Add attribute const. Don't use int vars. Use bcl rather than bl to save trashing branch target stack. Use elf_machine_dynamic rather than duplicating code here. (elf_machine_runtime_setup): New inline function replacing define. Handle new PLT. (elf_machine_fixup_plt): Handle new PLT. (elf_machine_rela): Likewise. * sysdeps/powerpc/powerpc32/sysdep.h: Include config.h. (CALL_MCOUNT): Don't set up counter vars. * sysdeps/powerpc/powerpc32/ppc-mcount.S: Correct comment. * sysdeps/powerpc/powerpc32/elf/start.S (start_addressesp): Don't define when HAVE_ASM_PPC_REL16. (_start): Add HAVE_ASM_PPC_REL16 code. * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Don't bl into the GOT when HAVE_ASM_PPC_REL16. * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise. * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Ditto. * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Likewise. * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise. * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise. * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise. * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Likewise. * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise. * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise. * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise. * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise. * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise. * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise. * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S (__brk): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S (__getcontext): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S (__setcontext): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S (__swapcontext): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (stackblock): Comment. (__socket): Bomb if NARGS >= 7. Invoke CGOTSETUP and CGOTRESTORE. 2005-06-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/sigignore.c: Include <string.h> to tell the compiler to use __GI_memset. * sysdeps/posix/signal.c: Likewise. * sysdeps/posix/sigset.c: Likewise. * sysdeps/posix/sysv_signal.c: Likewise. * sysdeps/unix/sysv/linux/sleep.c: Likewise. * sysdeps/unix/sysv/linux/sysctl.c: Likewise. * sysdeps/unix/sysv/linux/system.c: Likewise.
* * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64.Ulrich Drepper2005-06-1411-14/+24
| | | | | | | | | | | | | | | | | | | * sysdeps/posix/posix_fallocate64.c: Likewise. * include/string.h: Use libc_hidden_proto for strnlen. * sysdeps/generic/strnlen.c: Add libc_hidden_def. * include/libintl.h: Use libc_hidden_proto for __dcgettext. * intl/dcgettext.c: Add libc_hidden_def. * include/execinfo.h: Add libc_hidden_proto for __backtrace and __backtrace_symbols_fd. * sysdeps/generic/backtrace.c: Add libc_hidden_def. * sysdeps/generic/backtracesymsfd.c: Likewise. * sysdeps/generic/elf/backtracesymsfd.c: Likewise. * sysdeps/i386/backtrace.c: Likewise. * sysdeps/ia64/backtrace.c: Likewise. * sysdeps/powerpc/powerpc32/backtrace.c: Likewise. * sysdeps/powerpc/powerpc64/backtrace.c: Likewise. * sysdeps/s390/s390-32/backtrace.c: Likewise. * sysdeps/s390/s390-64/backtrace.c: Likewise.