Commit Graph

24634 Commits

Author SHA1 Message Date
Roland McGrath 408223d403 Use ElfW(Off) rather than off_t for offsets within ELF files. 2012-10-02 16:02:56 -07:00
Dmitry V. Levin fc997c6e55 nscd: fix compilation flags
Commit 61653dfb81 added support for
compilers predefining _FORTIFY_SOURCE by adding -U_FORTIFY_SOURCE to
CPPFLAGS for these compilers, but that change doesn't work quite well in
case of nscd: its Makefile sets _FORTIFY_SOURCE using CFLAGS instead of
CPPFLAGS and, thanks to compilation rules defined in Makerules, CPPFLAGS
are passed to compiler after CFLAGS, resulting to a build with
_FORTIFY_SOURCE turned off.

This change implements a more safe method of passing preprocessor and
compiler flags so that no nscd modules could be accidentally forgotten.
2012-10-02 19:22:57 +00:00
Dmitry V. Levin bb9510dc34 Clarify memory allocation error diagnostics to avoid confusion 2012-10-02 16:09:30 +00:00
H.J. Lu 0569936773 Define HAS_FMA with bit_FMA_Usable 2012-10-02 05:05:17 -07:00
Siddhesh Poyarekar 40d4a87bb5 Split my last ChangeLog entry into respective arch-specific files 2012-10-02 09:28:18 +05:30
Siddhesh Poyarekar adcdc775e1 Fix clone flag name in comment to CLONE_CHILD_CLEARTID. 2012-10-02 08:52:55 +05:30
Roland McGrath 51367701af Get rid of unused __swblk_t type. 2012-10-01 14:39:29 -07:00
Jeff Law 4d57bf6393 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
Honza Horak <hhorak@redhat.com>

        * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
        (xdr_mapname): Use YPMAXMAP as maxsize.
        (xdr_peername): Use YPMAXPEER as maxsize.
        (xdr_keydat): Use YPAXRECORD as maxsize.
        (xdr_valdat): Use YPMAXRECORD as maxsize.
2012-10-01 15:32:39 -06:00
Roland McGrath 497a03d6f1 Define __have_atfcts global in stub openat implementation. 2012-10-01 13:07:58 -07:00
Roland McGrath 93c65d4384 Clean up init-first.c files. 2012-10-01 12:55:34 -07:00
Siddhesh Poyarekar 55a051c985 Fix exception table for i386 pthread_cond_wait
[BZ #14477]
Add an additional entry in the exception table to jump to
__condvar_w_cleanup2 instead of __condvar_w_cleanup for PI mutexes
when %ebx contains the address of the futex instead of the condition
variable.
2012-10-01 23:21:39 +05:30
Joseph Myers bec749fda1 Fix sign of inexact zero return from fma (bug 14645). 2012-10-01 08:30:06 +00:00
Joseph Myers 8ec5b01346 Fix sign of exact zero return from fma (bug 14638). 2012-09-29 18:31:54 +00:00
David S. Miller b1fa802e1a Uncorrupt Sparc ULPS file.
* sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
2012-09-28 16:36:35 -07:00
Roland McGrath ea4d37b316 Implement POSIX-generic sleep via nanosleep rather than SIGARLM. 2012-09-28 16:26:33 -07:00
H.J. Lu 1fa1170b52 Fix the ChangeLog entry 2012-09-28 16:14:32 -07:00
Roland McGrath ac51c94918 Move _G_config.h with Linuxism to linux/ directory. 2012-09-28 15:45:07 -07:00
Roland McGrath 28c195f756 Fix stub open.c to define __libc_open. 2012-09-28 15:04:26 -07:00
Roland McGrath 848917f9ee Add a missing $(make-target-directory). 2012-09-28 14:48:17 -07:00
Roland McGrath 6bacf05bfd Quiet make warning under --disable-shared. 2012-09-28 14:33:40 -07:00
Roland McGrath 91363dbbb9 Conditionalize elf/dl-sysdep.c contents on [SHARED]. 2012-09-28 14:29:14 -07:00
Roland McGrath cc87f7d851 Clean up *objdir variables. 2012-09-28 13:58:55 -07:00
Roland McGrath b1c608fe20 Avoid more warnings in nsswitch.c 2012-09-28 13:48:14 -07:00
David S. Miller 766ea9371a Revert "Add missed ildouble case in yesterday's sparc ULPs update for clog/clog10."
This reverts commit 084b8fabd2.

Sorry something put garbage into the string, will debug this.
2012-09-28 13:29:09 -07:00
Roland McGrath d3b9fd9e8d Avoid unused static function warning in nsswitch.c. 2012-09-28 13:23:00 -07:00
David S. Miller 084b8fabd2 Add missed ildouble case in yesterday's sparc ULPs update for clog/clog10.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-09-28 13:15:51 -07:00
David S. Miller 1d9a6d96ac Add Niagara-4 optimized memcpy and mempcpy.
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
	* sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
	file.
	* sysdeps/sparc/sparc64/multiarch/Makefile: Add to
	sysdep_routines.
	* sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
	* sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
	and mempcpy when HWCAP_SPARC_CRYPTO is set.
2012-09-28 13:06:24 -07:00
Pino Toscano 72581615f5 tst-mknodat: create a FIFO instead of a socket
A FIFO is the only special file which is guaranteed to be created with mknod/mknodat.
2012-09-28 21:33:52 +02:00
Jeff Law 715a900c90 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
[BZ #6530]
        * stdio-common/vfprintf.c (process_string_arg): Revert
        2000-07-22 change.

2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>

        * stdio-common/Makefile (tst-sprintf-ENV): Set environment
        for testcase.
        * stdio-common/tst-sprintf.c: Include <locale.h>
        (main): Test sprintf's handling of incomplete multibyte
        characters.
2012-09-28 12:49:51 -06:00
H.J. Lu 9c464f9c0c Re-order the last ChangeLog entry 2012-09-28 11:38:26 -07:00
H.J. Lu 4ff2d4c2f6 Remove mips VERSYMIDX macro definition 2012-09-28 11:31:18 -07:00
H.J. Lu f8419467bb Remove arm ADDRIDX macro definition 2012-09-28 11:31:13 -07:00
H.J. Lu 9bac1d8624 Define VERSYMIDX/VALIDX/ADDRIDX in ldsodefs.h 2012-09-28 11:30:57 -07:00
H.J. Lu 25f5f885c6 Improve ChangeLog entry for x86_64 strncmp-ssse3.S 2012-09-28 11:25:56 -07:00
Richard Henderson c18b7473cb alpha: Fix all users of SYSCALL_ERROR_HANDLER
The fix begun in 64e65bc1 was incomplete.  Fixed by adding
a new SYSCALL_ERROR_FALLTHRU macro.
2012-09-28 10:51:01 -07:00
Pino Toscano b31606c0e1 aio_fsync: fix the access mode check
Make use of O_ACCMODE and O_RDONLY instead of assuming details of the O_* flags.
2012-09-28 18:35:43 +02:00
Jeff Law 115411772b [BZ #11438]
* sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918
        * addresses
        to global scope.
        * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
        addresses are in the same scope as 192.0.2/24.
        * posix/gai.conf: Document new scope table defaults.
2012-09-28 10:15:05 -06:00
H.J. Lu 8cf6a02e77 Fix a typo in ChangeLog 2012-09-28 08:00:24 -07:00
Siddhesh Poyarekar adb26faefe Don't flush write buffer for ftell
[BZ #5298]
Use write pointer state along with the file offset and/or the read
pointers to get the current file position.
2012-09-28 18:38:14 +05:30
Siddhesh Poyarekar 4573c6b098 Adjust wide data buffer pointers during fseek and ftell
[BZ #14543]
Set the internal buffer state correctly whenever the external buffer
state is modified by fseek by either computing the current
_IO_read_ptr/end for the internal buffer based on the new _IO_read_ptr
in the external buffer or converting the content read into the
external buffer, up to the extent of the requested fseek offset.
2012-09-28 18:21:39 +05:30
David S. Miller 784421e72b Update sparc ULPS for recent clog/clog10 activity.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-09-27 22:27:32 -07:00
David S. Miller aa9bbfe6a7 Fix sparc64 crashes with LD_BIND_NOW and --enable-bind-now.
[BZ #14376]
	* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
	pass reloc->r_addend in as the 'high' argument to
	sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
2012-09-27 21:33:54 -07:00
Pino Toscano c39bc8b825 Include <pthread.h> where needed. 2012-09-28 01:08:17 +02:00
Steve Ellcey 1ccc239914 Remove sysdeps/ieee754/ldbl-128/bits/huge_vall.h and let builds use
bits/huge_vall.h instead.  There is no longer any need for the special
huge_vall.h file.
2012-09-27 14:07:15 -07:00
Steve Ellcey 40cb3caf83 Remove sysdeps/ieee754/ldbl-128/bits/huge_vall.h and let builds
use bits/huge_vall.h instead.  There is no longer any need for
the special huge_vall.h file.
2012-09-27 14:06:11 -07:00
H.J. Lu 31ed415328 Don't define x86-64 __strncmp_ssse3 in libc.a 2012-09-27 07:43:03 -07:00
Marek Polacek b7bfe116e6 Fix up definitions for older compilers. 2012-09-26 12:58:36 +02:00
Markus Trippelsdorf 43c4edba7e Update x86-64 ULPs 2012-09-26 12:46:51 +02:00
Joseph Myers f6a2737f08 Add __ppc_get_timebase_freq to powerpc-nofpu ABI baseline. 2012-09-26 00:30:54 +00:00
Roland McGrath 6a1bf82f97 Declare targets with .PHONY in Makefile.in. 2012-09-25 16:21:15 -07:00