aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-09powerpc: Simplify bcopy default implementationAdhemerval Zanella
This patch simplify the default bcopy symbol for powerpc64 by just using memmove instead of implementing using the default bcopy. Since the symbol is deprecated, it trades speed by code size.
2015-02-09powerpc: multiarch Makefile cleanup for powerpc64Adhemerval Zanella
This patch cleanups the multiarch Makefile by putting the wide chars implementation to correct wcsmbs rule.
2015-02-09Fix value of O_TMPFILE for architectures with non-default O_DIRECTORY (bug ↵Andreas Schwab
17912)
2015-02-08hurd: fix unwind-resume.c buildSamuel Thibault
2015-02-08hurd: fix unwind-resume.c buildSamuel Thibault
2015-02-08add hurd/hurdsocket.h file missing from a5eb23dSamuel Thibault
2015-02-08Fix time/getdate.c build.Samuel Thibault
2015-02-08hurd: Fix abi-tag, following ba90e05Samuel Thibault
2015-02-08hurd: fix tls.h buildSamuel Thibault
2015-02-08hurd: Ignore bytes beyond sockaddr length for AF_UNIXSamuel Thibault
2015-02-07Add ersatz _Static_assert on older C hostsPaul Eggert
* misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a pre-C11 C platform that is not known to support _Static_assert.
2015-02-07hurd: fix compilation of signal.h in C++Samuel Thibault
2015-02-07hurd: fix compilation of signal.h in C++Samuel Thibault
2015-02-07hurd: add basic types for ioctlsSamuel Thibault
2015-02-07hurd: support mmap with PROT_NONESamuel Thibault
2015-02-07hurdselect: remove dead code.Samuel Thibault
This removes code which actually never happens, and is already taken care of in the function. This is in the second part of select, when the __mach_msg() function over the portset has returned something else than MACH_MSG_SUCCESS. I guess in the past the value returned by __mach_msg() was stored in err, so this code was necessary to set back err to 0, but now it is stored in msgerr, so err is already still 0 by default. It can thus never contain MACH_RCV_TIMED_OUT, i.e. the code is dead. The first case mentioned in the comment is already handled: on time out with no message, err is already still the default 0. On time out due to poll, err would still be 0, unless some of the io_select RPCs has returned EINTR, in which case it contains EINTR. If any other io_select RPCs had returned a proper answer, got!=0, and thus err is set to 0 just below. The code is thus indeed not useful any more.
2015-02-07hurd: fix sigstate lockingSamuel Thibault
It looks like _hurd_thread_sigstate used to return with the sigstate lock held long ago, but since that's no longer the case, don't unlock something that isn't locked. Note that it's unlikely this change fixes anything in practice since its current implementation (on i386) makes this call a nop.
2015-02-07hurdselect: Let select get interrupted by signalsSamuel Thibault
We need to set MACH_RCV_INTERRUPT to avoid __mach_msg just looping on signals, and then we can handle the interruption.
2015-02-07hurd: map nice levels 1-to-1 with Mach prio levelsSamuel Thibault
2015-02-07hurd: allow poll() array bigger than FD_SETSIZESamuel Thibault
2015-02-07hurd: fix f?chflags prototypes, declare them and their flagsSamuel Thibault
2015-02-07hurd: fix build with pthread aioSamuel Thibault
2015-02-06ARM: Add missing sfi_breg in LDR_GLOBAL macro.Roland McGrath
2015-02-06NPTL: Conditionalize some sanity tests for SIGCANCEL/SIGSETXID.Roland McGrath
2015-02-06Conditionalize use of SIGRTMIN in nptl/tst-locale1.c.Roland McGrath
2015-02-06Don't set unused field in rt/tst-timer2.Roland McGrath
2015-02-06NPTL: Build tests using clone directly only for Linux.Roland McGrath
2015-02-06Use signal rather than sigaction in nptl/tst-cleanup2.Roland McGrath
2015-02-06Conditionalize some tests' use of SA_SIGINFO.Roland McGrath
2015-02-06Do not use SA_NOCLDWAIT in tst-pselect.Roland McGrath
2015-02-06Move tst-getlogin to login/ subdirectory.Roland McGrath
2015-02-06Fix libio/tst-atime not to presume ST_NOATIME exists.Roland McGrath
2015-02-06Fix dirent/tst-fdopendir not to presume O_NOATIME exists.Roland McGrath
2015-02-06Fix nptl/tst-kill5 not to presume SIGRTMAX exists.Roland McGrath
2015-02-06Clean up nptl/tst-join5 use of nanosleep.Roland McGrath
2015-02-06Clean up NPTL system to be compat-only.Roland McGrath
2015-02-06Clean up NPTL longjmp to be compat-only.Roland McGrath
2015-02-06Clean up NPTL fork to be compat-only.Roland McGrath
2015-02-06x86: Clean up __vdso_clock_gettime variable.Roland McGrath
2015-02-06Exclude rpcent functions and NSS backends for rpc, key when excluding sunrpc.Roland McGrath
2015-02-06Clean up sysdep-dl-routines variable.Roland McGrath
2015-02-06NEWS: Fix spelling.Carlos O'Donell
2015-02-06NEWS: Also mention CVE-2015-1473Florian Weimer
2015-02-06soft-fp: Fix _FP_FMA when product is zero and third argument is finite (bug ↵Joseph Myers
17932). soft-fp's _FP_FMA fails to set the result's exponent for cases where the result of the multiplication is 0, yielding incorrect (arbitrary, depending on uninitialized values) results for those cases. This affects libm for architectures using soft-fp to implement fma. This patch adds the exponent setting and tests for this case. Tested for ARM soft-float (which uses soft-fp fma), x86_64 and x86 (to verify not introducing new libm test failures there). (This bug showed up in testing my patch to move the Linux kernel to current soft-fp. math/Makefile has "override CFLAGS += -Wno-uninitialized" which would have stopped compiler warnings from showing up this problem, although I wouldn't be surprised if removing that shows spurious warnings from this code, if the compiler fails to follow that various cases where the exponent is uninitialized don't need it initialized because the class is set to a value meaning the uninitialized exponent isn't used.) [BZ #17932] * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case where multiplication results in zero and third argument is finite and nonzero. * math/auto-libm-test-in: Add more tests of fma. * math/auto-libm-test-out: Regenerated.
2015-02-06soft-fp: Refine FP_EX_DENORM handling for comparisons.Joseph Myers
In <https://sourceware.org/ml/libc-alpha/2014-09/msg00488.html>, I noted that comparisons in soft-fp did not set FP_EX_DENORM unless denormal operands were flushed to zero. This patch fixes soft-fp to check for denormal operands for comparisons and set that exception whenever FP_EX_DENORM is not zero. In particular, for the one architecture for which the Linux kernel defines FP_EX_DENORM (alpha), this corresponds to the existing logic for comparisons and so allows that logic to be replaced by a simple call to FP_CMP_D when soft-fp is updated in the kernel. Tested for powerpc (e500) that installed stripped shared libraries are unchanged by this patch. * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro. (_FP_CMP_CHECK_FLUSH_ZERO): Likewise. (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO. (_FP_CMP_EQ): Likewise. (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
2015-02-06soft-fp: Support floating-point extensions without quieting sNaNs.Joseph Myers
One special case needed in soft-fp to replace the old version in the Linux kernel is extending from a narrower floating-point format to a wider one without quieting signaling NaNs. (This is for arch/powerpc/math-emu/lfs.c, where previously it used the old FP_CONV which didn't do anything special for NaNs, then handled packing specially for NaNs to avoid quieting at packing time, and discarded the exceptions from unpacking.) This patch accordingly refactors FP_EXTEND, creating a separate _FP_EXTEND_CNAN that offers a choice of how NaNs are handled, with FP_EXTEND reimplemented as a wrapper that provides the common case of the IEEE operation that does quiet signaling NaNs and raise exceptions for them. Tested for powerpc (e500) that installed stripped shared libraries are unchanged by this patch. * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with extra argument CHECK_NAN. Redefine as wrapper around _FP_EXTEND_CNAN.
2015-02-06Fix missing ChangeLog attribution.Carlos O'Donell
2015-02-06Open development for 2.22.glibc-2.21.90Carlos O'Donell
2015-02-06Update version.h and include/features.h for 2.21 releaseglibc-2.21Carlos O'Donell
2015-02-06hppa: Sync with pthread.h.Carlos O'Donell
This reverts part of the previous commit to refactor pthread.h. The refactoring must be done by having pthread.h include arch bits headers, not the other way around. Then hppa provides the arch bits header. For now we synchronzie again with pthread.h and include the entire contents in the hppa copy.