Ondřej Bílka
17c48a60b8
Fix error_tail overflow in allocation calculation.
2013-10-14 17:15:48 +02:00
Ryan S. Arnold
d39baad11e
Update generic swapon definition to match prototype.
2013-10-04 12:22:14 -05:00
Ryan S. Arnold
1ae8bfe07c
Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.
2013-06-28 16:50:48 -05:00
Joseph Myers
60d2f8f3c7
Use (void) in no-arguments function definitions.
2013-06-08 00:22:23 +00:00
Joseph Myers
2e09a79ada
Avoid use of "register" as optimization hint.
2013-06-07 22:24:35 +00:00
Joseph Myers
9c84384cc1
Remove trailing whitespace.
2013-06-05 20:44:03 +00:00
Aurelien Jarno
ba85394732
Only defined DEV_BSIZE if not already defined.
2013-05-08 00:00:46 +02:00
Richard Smith
0695940b8a
Use __gnu_inline__ for __extern_always_inline in g++-4.2
...
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-05-01 21:59:01 +10:00
Thomas Schwinge
e015e27b90
Fix copy'n'pastos.
2013-03-15 19:00:23 +01:00
Mike Frysinger
2f62b9ee0c
sys/cdefs.h: export __attribute_alloc_size__
...
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-18 17:18:57 -05:00
Siddhesh Poyarekar
ffaa74cf68
Fix build warnings in some test cases
...
Include stdlib.h to get declaration of exit(3)
2013-02-18 18:17:05 +05:30
Joseph Myers
daaa7713e9
Remove bounded-pointers build system support.
2013-02-15 15:07:54 +00:00
Joseph Myers
70d9946a44
Remove __ptrvalue, __bounded and __unbounded.
2013-02-13 23:30:40 +00:00
Roland McGrath
3a09b6208d
Fix a typo in the mremap comment.
2013-02-11 13:06:09 -08:00
Roland McGrath
4858fa2af6
Whitespace fix for __glibc_likely/__glibc_unlikely defns.
2013-01-23 15:00:55 -08:00
Andreas Schwab
cfa8054fbb
Hide reference to mktemp in libpthread
2013-01-16 15:57:11 +01:00
Roland McGrath
232f700292
Remove unused macro ALLOCA_LIMIT.
2013-01-09 15:58:25 -08:00
Joseph Myers
0e2f956295
Fix copyright notice corruption from update-copyright bug.
2013-01-02 19:28:45 +00:00
Joseph Myers
568035b787
Update copyright notices with scripts/update-copyrights.
2013-01-02 19:05:09 +00:00
Joseph Myers
f4cf5f2d8b
Add script to update copyright notices and reformat some to facilitate its use.
2013-01-01 16:29:10 +00:00
Siddhesh Poyarekar
91998e449e
Add __glibc_likely as an alias for __builtin_expect when available
2012-12-28 11:53:01 +05:30
Marcus Shawcroft
c485e4d2cc
Adding missing -fexception CFLAGS
2012-11-14 12:35:10 +00:00
Thomas Schwinge
b830319d49
[BZ #157 ] Remove include/stub-tag.h for good.
2012-11-04 19:59:40 +01:00
Joseph Myers
03ac099f6b
Define and use $(run-built-tests).
2012-10-24 00:08:46 +00:00
H.J. Lu
11dd4af68c
Framework to test IFUNC implementations on target
2012-10-11 16:40:01 -07:00
Roland McGrath
9043e2288e
Name space hygeine for madvise.
2012-10-04 16:31:43 -07:00
Marek Polacek
b7bfe116e6
Fix up definitions for older compilers.
2012-09-26 12:58:36 +02:00
Roland McGrath
e66a42f57f
Split sys/param.h out into common file and sysdeps bits/param.h file.
2012-08-17 09:55:17 -07:00
Roland McGrath
b2e1c56272
Make libio compile without _IO_MTSAFE_IO.
2012-08-17 09:35:36 -07:00
Roland McGrath
952bf94a28
Move stub lseek.c to the right directory.
2012-08-15 15:40:06 -07:00
Roland McGrath
b8625cfc6f
Clean up mkostemps64 definition for O_LARGEFILE==0.
2012-08-01 11:13:37 -07:00
Roland McGrath
3f55550c14
Clean up mkstemps64 definition for O_LARGEFILE==0.
2012-08-01 11:09:48 -07:00
Roland McGrath
cd97c96688
Clean up mkstemp64/mkostemp64 for O_LARGEFILE==0.
2012-08-01 10:42:38 -07:00
Andreas Schwab
c68257729d
Fix LOG_MAKEPRI to agree with BSD
2012-07-10 22:39:30 +02:00
Paul Pluzhnikov
ceb9e56b3d
Suppress sign-conversion warning from FD_SET.
...
[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-13 09:57:18 -07:00
Siddhesh Poyarekar
4af3879c26
Wrap __builtin_expect in pthread.h
...
[BZ #14188 ]
This fixes compilation of programs using pthread_cleanup_push built
with non-gcc compilers and older gcc compilers.
2012-06-04 11:53:57 +05:30
Marek Polacek
3091725976
Remove use of INTUSE/INTDEF in misc.
2012-05-31 13:10:02 +02:00
Andreas Schwab
d18ea0c5e6
Remove use of INTDEF/INTUSE in libio
2012-05-24 23:06:20 +02:00
Richard Henderson
4a56a16205
* misc/getauxval.c (__getauxval): Use unsigned long int.
...
* misc/sys/auxv.h: Include <sys/cdefs.h>.
(getauxval): Use unsigned long int.
2012-05-21 11:27:04 -07:00
Richard Henderson
c7683a6d02
Add <sys/auxv.h> and getauxval.
2012-05-20 10:40:35 -07:00
Thomas Schwinge
37233df9d1
Hurd: #include <kernel-features.h>
2012-05-10 15:57:24 -07:00
Marek Polacek
5ac3ea17df
Fix attributes for fortify functions.
2012-04-29 15:34:20 +02:00
Ulrich Drepper
a4300c7a4d
Remove distribute variable from Makefiles
2012-03-07 05:17:13 -05:00
Paul Eggert
59ba27a63a
Replace FSF snail mail address with URLs.
2012-02-09 23:18:22 +00:00
Joseph Myers
c8a89e7dd5
Remove miscellaneous __STDC__ conditionals.
2012-01-30 21:20:32 +00:00
Ulrich Drepper
2119dcfacc
Static linking is always needed
2012-01-08 09:52:29 -05:00
Ulrich Drepper
a784e50247
Remove pre-ISO C support
...
No more __const.
2012-01-07 23:57:22 -05:00
Andreas Schwab
d4cc29a254
Mark fortified __FD_ELT as extension
2011-12-02 11:36:55 +01:00
Ulrich Drepper
312be3f9f5
Clean up internal fopen uses
...
No need to ever not use c and e.
2011-11-15 04:24:42 -05:00
Andreas Schwab
edc5984d4d
Mark setjmp and ucontext functions as non-leaf
2011-11-11 11:11:07 +01:00