aboutsummaryrefslogtreecommitdiff
path: root/misc
AgeCommit message (Collapse)AuthorFilesLines
2014-02-10Use glibc_likely instead __builtin_expect.Ondřej Bílka2-2/+2
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae138-138/+138
2013-12-18Add error reporting (via errno) to getauxval().Brooks Moses2-2/+5
[BZ 15846] As discussed in the recent thread on my $EXEC_ORIGIN patch and in BZ 15846, getauxval() presently has no unambiguous way of reporting an error condition. It currently returns zero on error, but this may also be a valid result for some auxv entries. As there is no clear invalid result for all current and future auxv entries, this patch sets errno (following a suggestion in the BZ entry). This version of the patch also adds documentation and tests for the value-not-found conditions in getauxval().
2013-12-17Remove libbsd-compat dummy library.Joseph Myers1-2/+1
2013-10-14Fix error_tail overflow in allocation calculation.Ondřej Bílka1-1/+1
2013-10-04Update generic swapon definition to match prototype.Ryan S. Arnold1-2/+1
2013-06-28Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.Ryan S. Arnold1-0/+2
2013-06-08Use (void) in no-arguments function definitions.Joseph Myers13-22/+22
2013-06-07Avoid use of "register" as optimization hint.Joseph Myers4-13/+13
2013-06-05Remove trailing whitespace.Joseph Myers1-1/+1
2013-05-08Only defined DEV_BSIZE if not already defined.Aurelien Jarno1-1/+3
2013-05-01Use __gnu_inline__ for __extern_always_inline in g++-4.2Richard Smith1-8/+6
Use the __gnu_inline__ attribute in _FORTIFY_SOURCE's __extern_always_inline macro whenever the compiler supports it. Previously this macro only included the __gnu_inline__ attribute in C++ mode for gcc >= 4.3. However, __gnu_inline__ semantics are always desired for the __extern_always_inline functions, and are available in g++ 4.2 (and some releases of g++ 4.1, and also in Clang, which claims to be g++ 4.2). This change stops g++-4.2 from emitting weak definitions for the fortify wrapper functions if they can't be inlined, and also improves Clang compatibility.
2013-03-15Fix copy'n'pastos.Thomas Schwinge1-1/+1
2013-02-18sys/cdefs.h: export __attribute_alloc_size__Mike Frysinger1-0/+9
Since we want to use this in installed headers, move it to the installed sys/cdefs.h. This requires a slight tweaking of the name (add trailing underscores). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-02-18Fix build warnings in some test casesSiddhesh Poyarekar1-0/+1
Include stdlib.h to get declaration of exit(3)
2013-02-15Remove bounded-pointers build system support.Joseph Myers1-4/+0
2013-02-13Remove __ptrvalue, __bounded and __unbounded.Joseph Myers1-8/+0
2013-02-11Fix a typo in the mremap comment.Roland McGrath1-1/+1
2013-01-23Whitespace fix for __glibc_likely/__glibc_unlikely defns.Roland McGrath1-4/+4
2013-01-16Hide reference to mktemp in libpthreadAndreas Schwab2-1/+3
2013-01-09Remove unused macro ALLOCA_LIMIT.Roland McGrath1-1/+0
2013-01-02Fix copyright notice corruption from update-copyright bug.Joseph Myers2-2/+2
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers138-145/+138
2013-01-01Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers1-1/+1
2012-12-28Add __glibc_likely as an alias for __builtin_expect when availableSiddhesh Poyarekar1-0/+2
2012-11-14Adding missing -fexception CFLAGSMarcus Shawcroft1-0/+1
2012-11-04[BZ #157] Remove include/stub-tag.h for good.Thomas Schwinge72-72/+0
2012-10-24Define and use $(run-built-tests).Joseph Myers1-1/+1
2012-10-11Framework to test IFUNC implementations on targetH.J. Lu3-1/+34
2012-10-04Name space hygeine for madvise.Roland McGrath2-3/+9
2012-09-26Fix up definitions for older compilers.Marek Polacek1-1/+8
2012-08-17Split sys/param.h out into common file and sysdeps bits/param.h file.Roland McGrath2-1/+103
2012-08-17Make libio compile without _IO_MTSAFE_IO.Roland McGrath1-1/+0
2012-08-15Move stub lseek.c to the right directory.Roland McGrath1-52/+0
2012-08-01Clean up mkostemps64 definition for O_LARGEFILE==0.Roland McGrath2-2/+11
2012-08-01Clean up mkstemps64 definition for O_LARGEFILE==0.Roland McGrath2-2/+11
2012-08-01Clean up mkstemp64/mkostemp64 for O_LARGEFILE==0.Roland McGrath4-4/+22
2012-07-10Fix LOG_MAKEPRI to agree with BSDAndreas Schwab1-2/+2
2012-06-13Suppress sign-conversion warning from FD_SET.Paul Pluzhnikov1-6/+7
[BZ #14210] See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>. * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int, not unsigned long int. * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2012-06-04Wrap __builtin_expect in pthread.hSiddhesh Poyarekar1-0/+6
[BZ #14188] This fixes compilation of programs using pthread_cleanup_push built with non-gcc compilers and older gcc compilers.
2012-05-31Remove use of INTUSE/INTDEF in misc.Marek Polacek1-5/+4
2012-05-24Remove use of INTDEF/INTUSE in libioAndreas Schwab2-4/+4
2012-05-21 * misc/getauxval.c (__getauxval): Use unsigned long int.Richard Henderson2-4/+5
* misc/sys/auxv.h: Include <sys/cdefs.h>. (getauxval): Use unsigned long int.
2012-05-20Add <sys/auxv.h> and getauxval.Richard Henderson4-2/+76
2012-05-10Hurd: #include <kernel-features.h>Thomas Schwinge1-0/+2
2012-04-29Fix attributes for fortify functions.Marek Polacek4-17/+16
2012-03-07Remove distribute variable from MakefilesUlrich Drepper1-2/+0
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert135-405/+270
2012-01-30Remove miscellaneous __STDC__ conditionals.Joseph Myers1-4/+0
2012-01-08Static linking is always neededUlrich Drepper1-3/+1