]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Sort Versions files
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f238fd19
AJ
12013-02-17 Andreas Jaeger <aj@suse.de>
2
3 * time/Versions: Sort entries.
4 * string/Versions: Likewise.
5 * resolv/Versions: Likewise.
6 * posix/Versions: Likewise.
7 * iconv/Versions: Likewise.
8 * elf/Versions: Likewise.
9 * wcsmbs/Versions: Likewise.
10
bd07f23c 112013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 12
22af19f9
SP
13 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14 loop termination condition.
15
4709fe76
SP
16 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17 variable to calculate EZ.
18 (__sqr): Likewise.
2d0e0f29
SP
19
20 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21 the lower precision input.
22
daaa7713
JM
232013-02-15 Joseph Myers <joseph@codesourcery.com>
24
25 [BZ #13550]
26 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28 (run-via-rtld-prefix): Do not handle %-bp tests.
29 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30 (all-object-suffixes): Remove .ob.
31 (bppfx): Remove variable.
32 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
33 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35 [$(build-bounded) = yes] (libtype.ob): Likewise.
36 * Makerules (elide-routines.ob): Remove variable.
37 (do-tests-clean): Do not handle *-bp.out.
38 (common-mostlyclean): Do not handle *-bp and *-bp.out.
39 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
40 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
41 (tests): Do not include $(tests-bp.out).
42 (xtests): Do not include $(xtests-bp.out).
43 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
44 [$(build-bounded) = yes] ($(addprefix
45 $(objpfx),$(binaries-bounded))): Remove rule.
46 ($(objpfx)%-bp.out): Remove rule.
47 * config.make.in (build-bounded): Remove variable.
48 * crypt/Makefile [$(build-bounded) = yes]
49 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
50 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
51 append to variable.
52 [$(build-bounded) = yes] (install-lib): Likewise.
53 [$(build-bounded) = yes] (generated): Likewise.
54 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55 Remove rule.
56 * intl/Makefile [$(build-bounded) = yes]
57 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
58 * math/Makefile [$(build-bounded) = yes]
59 ($(tests:%=$(objpfx)%-bp): Likewise.
60 * misc/Makefile [$(build-bounded) = yes]
61 ($(objpfx)tst-tsearch-bp): Likewise.
62 * nptl/Makeconfig (bounded-thread-library): Remove variable.
63 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
64 Remove dependency.
65 * string/Makefile (o-objects.ob): Remove variable.
66 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
67 (CFLAGS-.ob): Remove variable.
68 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
69 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
70 both definitions of variable.
71 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
72 (ASFLAGS-.ob): Remove variable.
73
e97ed6dd
JM
742013-02-14 Joseph Myers <joseph@codesourcery.com>
75
2bdd4ca6
JM
76 [BZ #13550]
77 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
78 Remove __BOUNDED_POINTERS__ from condition.
79 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
80 * string/bits/string2.h [!__NO_STRING_INLINES &&
81 !__BOUNDED_POINTERS__]: Likewise.
82 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
83 Likewise.
84 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
85 Remove conditional code.
86 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
87 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
88 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
89 condition.
90
e97ed6dd
JM
91 [BZ #13550]
92 * csu/libc-start.c: Do not include <bp-sym.h>.
93 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
94 * elf/dl-open.c: Do not include <bp-sym.h>.
95 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
96 * math/fegetenv.c: Do not include <bp-sym.h>.
97 (fegetenv): Do not use BP_SYM in versioned symbols.
98 * nptl/sysdeps/pthread/bits/libc-lockP.h
99 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
100 <bp-sym.h>.
101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
102 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
104 (__pthread_mutex_destroy): Likewise.
105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
106 (__pthread_mutex_lock): Likewise.
107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
108 (__pthread_mutex_trylock): Likewise.
109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
110 (__pthread_mutex_unlock): Likewise.
111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
112 (__pthread_mutexattr_init): Likewise.
113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
114 (__pthread_mutexattr_destroy): Likewise.
115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
116 (__pthread_mutexattr_settype): Likewise.
117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
118 (__pthread_rwlock_init): Likewise.
119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
120 (__pthread_rwlock_destroy): Likewise.
121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
122 (__pthread_rwlock_rdlock): Likewise.
123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
124 (__pthread_rwlock_tryrdlock): Likewise.
125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
126 (__pthread_rwlock_wrlock): Likewise.
127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
128 (__pthread_rwlock_trywrlock): Likewise.
129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
130 (__pthread_rwlock_unlock): Likewise.
131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
132 (__pthread_key_create): Likewise.
133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
134 (__pthread_setspecific): Likewise.
135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
136 (__pthread_getspecific): Likewise.
137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
138 Likewise.
139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
140 (_pthread_cleanup_push_defer): Likewise.
141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
142 (_pthread_cleanup_pop_restore): Likewise.
143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
144 (pthread_setcancelstate): Likewise.
145 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
146 <bp-sym.h>.
147 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
148 (memchr): Do not use BP_SYM in weak_alias.
149 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
150 (fegetenv): Do not use BP_SYM in versioned symbols.
151 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
152 (fesetenv): Do not use BP_SYM in versioned symbols.
153 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
154 (feupdateenv): Do not use BP_SYM in versioned symbols.
155 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
156 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
157 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
158 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
159 (open64): Do not use BP_SYM in weak_alias.
160 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
161 (fegetenv): Do not use BP_SYM in versioned symbols.
162 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
163 (fesetenv): Do not use BP_SYM in versioned symbols.
164 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
165 (feupdateenv): Do not use BP_SYM in versioned symbols.
166 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
167 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
168 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
169 (feraiseexcept): Do not use BP_SYM in versioned symbols.
170 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
171 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
172 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
173 <bp-sym.h>.
174 (__libc_start_main): Do not use BP_SYM.
175
d6752ccd
SP
1762013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
177
cb57ce60
SP
178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
179 redundant return line.
180 (norm): Likewise.
181 (denorm): Likewise.
182 (dbl_mp): Likewise.
183 (sub_magnitudes): Likewise.
184 (__add): Likewise.
185 (__sub): Likewise.
186 (__mul): Likewise.
187 (__inv): Likewise.
188 (__dvd): Likewise.
189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
190 (norm): Likewise.
191 (denorm): Likewise.
192 (dbl_mp): Likewise.
193 (sub_magnitudes): Likewise.
194 (__add): Likewise.
195 (__sub): Likewise.
196 (__mul): Likewise.
197 (__inv): Likewise.
198 (__dvd): Likewise.
199
f414520d
SP
200 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
201 instead of __mul.
202 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
203 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
204 (cc32): Likewise.
205
d6752ccd
SP
206 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
207 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
208 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
209 of __mul for squares.
210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
211 function
212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
213 Likewise.
214 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
215 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
216
70d9946a
JM
2172013-02-13 Joseph Myers <joseph@codesourcery.com>
218
219 [BZ #13550]
220 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
221 code.
222 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
223 prototype or function definition. Rename ubp_* variables and
224 parameters. Remove argv definitions conditional on
225 [__BOUNDED_POINTERS__].
226 * debug/backtrace.c (__backtrace): Do not use __unbounded.
227 * elf/dl-runtime.c (_dl_fixup): Likewise.
228 * include/set-hooks.h (RUN_HOOK): Likewise.
229 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
230 definition.
231 * string/strcpy.c (strcpy): Do not use __unbounded.
232 * sysdeps/generic/frame.h (struct layout): Likewise.
233 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
234 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
235 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
236 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
237 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
238 (__backtrace): Likewise.
239 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
240 use __ptrvalue.
241 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
242 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
243 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
244 Likewise.
245 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
246 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
247 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
248 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
249 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
250 Do not use __unbounded.
251 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
252 Rename __unboundedrlimits parameter to rlimits in prototype.
253 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
254 Do not use __unbounded.
255 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
256 not use __ptrvalue.
257 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
258 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
259 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
260 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
261 __ptrvalue or __unbounded.
262 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
263 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
264 use __unbounded.
265 (__new_msgctl): Do not use __ptrvalue.
266 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
267 __unbounded.
268 (__libc_msgrcv): Do not use __ptrvalue.
269 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
270 startup_info): Do not use __unbounded.
271 (__libc_start_main): Likewise. Rename ubp_* variables and
272 parameters. Remove argv definitions conditional on
273 [__BOUNDED_POINTERS__].
274 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
275 __ptrvalue.
276 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
277 use __unbounded.
278 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
279 or __ptrvalue.
280 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
281 use __unbounded.
282 (__new_shmctl): Do not use __ptrvalue.
283 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
284 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
285 Likewise.
286 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
287 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
288 (__libc_sigaction): Likewise.
289 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
290 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
291 Likewise.
292 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
293
cc7834d6
OB
2942013-02-13 Ondřej Bílka <neleai@seznam.cz>
295
ffb1ec7b 296 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
297
298 * string/mempcpy.c: Implement by calling memcpy.
299
bdf02814
SP
3002013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
301
c2af38aa
SP
302 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
303
4e92d59e
SP
304 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
305 evaluation.
306
909279a5
SP
307 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
308 values in the mantissa.
309
bdf02814
SP
310 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
311 minimize writes to Z.
312 (sub_magnitudes): Simplify code a bit.
313
cd525923
RM
3142013-02-12 Roland McGrath <roland@hack.frob.com>
315
316 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
317 from the message. The linker prefixes all warnings with that already.
318
7e2f0d2d
AS
3192013-02-12 Andreas Schwab <schwab@suse.de>
320
a445af0b
AS
321 [BZ #15078]
322 * posix/regexec.c (extend_buffers): Add parameter min_len.
323 (check_matching): Pass minimum needed length.
324 (clean_state_log_if_needed): Likewise.
325 (get_subexp): Likewise.
326 * posix/Makefile (tests): Add bug-regex34.
327 (bug-regex34-ENV): Define.
328 * posix/bug-regex34.c: New file.
329
7e2f0d2d
AS
330 [BZ #11561]
331 * posix/regcomp.c (parse_bracket_exp): When looking up collating
332 elements compare against the byte sequence of it, not its name.
333 * posix/Makefile (tests): Add bug-regex35.
334 (bug-regex35-ENV): Define.
335 * posix/bug-regex35.c: New file.
336
a175b684
TV
3372013-02-11 Tom de Vries <tom@codesourcery.com>
338
339 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
340 comment.
341 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
342 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
343 (CHECK_EOL): Add undef.
344
310998fe 3452013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
346
347 * bits/stdlib-bsearch.h: New file.
348 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 349 * stdlib/stdlib.h: Likewise.
41eda41d 350
8ded91fb
RM
3512013-02-11 Roland McGrath <roland@hack.frob.com>
352
353 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
354 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
355 declaration.
356 * manual/search.texi (Array Search Function): Add missing const in
357 lfind prototype.
358 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
359 declaration to use rlim_t.
360 (Basic Scheduling Functions): Remove erroneous const from
361 sched_getparam prototype. Remove erroneous * from
362 sched_get_priority_max and sched_get_priority_min prototypes.
363 (Resource Usage): Fix summary @comment on vtimes to refer to
364 sys/vtimes.h rather than vtimes.h.
365 Add missing *s in vtimes prototype.
366 (Limits on Resources): Fix ulimit prototype to return long int.
367 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
368 prototypes to use long int rather than double.
369 (BSD Random): Fix initstate and setstate to use char *, not void *.
370 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
371 prototype to make second argument 'struct aiocb64 *const[]'.
372 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
373 (Status of AIO Operations): Remove erroneous const in aio_return and
374 aio_return64 prototypes.
375 (Synchronizing I/O): Fix sync prototype to return void.
376 * manual/startup.texi (Suboptions): Remove an erroneous const in
377 getsubopt prototype.
378 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
379 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
380 use size_t rather than int.
381 (Scanning All Users): Likewise for getpwent_r.
382 (Setting Groups): Add missing const to setgroups prototype.
383 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
384 * manual/socket.texi (Host Names): Fix gethostbyaddr and
385 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
386 'const void *' rather than 'const char *'.
387 (Host Address Functions): Likewise for inet_ntop.
388 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
389 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
390 ssize_t for return value.
391 (Sending Data): Likewise for send, sendto, sendmsg.
392 (Socket Option Functions): Add a missing const in setsockopt prototype.
393 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
394 use wchar_t for the argument.
395 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
396 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
397 take no arguments.
398 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
399 double/float/long double for second argument.
400 Fix return types of significand, significandf, significandl.
401 * manual/filesys.texi (Setting Permissions): Use mode_t for second
402 argument in fchmod prototype.
403 (File Owner): Use uid_t and gid_t in fchown prototype.
404 (File Times): Add const to utimes, futimes, and lutimes prototypes.
405 (Making Special Files): Use mode_t and dev_t in mknod prototype.
406 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
407 use 'const struct dirent **' as argument types to CMP function pointer
408 argument.
409 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
410 (File Times): Fix summary magic @comment for struct utimbuf and utime
411 to refer to utime.h, not time.h.
412 * manual/string.texi (Argz Functions): Add missing const in
413 argz_extract and argz_next prototypes.
414 (Finding Tokens in a String): Likewise for basename.
415 (String/Array Comparison): Fix typo in wcscasecmp prototype.
416 (Copying and Concatenation): Fix typo in wmemmove prototype.
417 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
418 (Signal Stack): Remove erroneous const in sigstack prototype.
419 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
420 prototype.
421 (Simple Calendar Time): Likewise for stime.
422 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
423 prototype.
424 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
425 say sys/sysctl.h instead.
426 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
427 and vsyslog prototypes.
428
fe77fe6d
TV
4292013-02-11 Tom de Vries <tom@codesourcery.com>
430
431 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
432 Remove.
433
3a09b620
RM
4342013-02-11 Roland McGrath <roland@hack.frob.com>
435
436 * misc/sys/mman.h: Fix typo in mremap comment.
437
550a0b89
RM
4382013-02-08 Roland McGrath <roland@hack.frob.com>
439
440 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
441 the '\0' terminator.
442
a2da1673
JM
4432013-02-08 Joseph Myers <joseph@codesourcery.com>
444
445 [BZ #13550]
446 * debug/segfault.c: Don't include <bp-checks.h>.
447 * sysdeps/generic/bp-checks.h: Remove file.
448 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
449 (__GETDENTS): Don't use CHECK_N.
450 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
451 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
452 (__getgroups): Don't use CHECK_N.
453 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
454 (setgroups): Don't use CHECK_N.
455 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
456 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
457 (__libc_msgrcv): Don't use CHECK_N.
458 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
459 (__libc_msgsnd): Don't use CHECK_N.
460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
461 <bp-checks.h>.
462 (__libc_pread): Don't use CHECK_N.
463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
464 include <bp-checks.h>.
465 (__libc_pread64): Don't use CHECK_N.
466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
467 include <bp-checks.h>.
468 (__libc_pwrite): Don't use CHECK_N.
469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
470 include <bp-checks.h>.
471 (__libc_pwrite64): Don't use CHECK_N.
472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
473 <bp-checks.h>.
474 (__libc_pread): Don't use CHECK_N.
475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
476 include <bp-checks.h>.
477 (__libc_pread64): Don't use CHECK_N.
478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
479 include <bp-checks.h>.
480 (__libc_pwrite): Don't use CHECK_N.
481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
482 include <bp-checks.h>.
483 (__libc_pwrite64): Don't use CHECK_N.
484 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
485 (do_pread): Don't use CHECK_N.
486 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
487 (do_pread64): Don't use CHECK_N.
488 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
489 (do_pwrite): Don't use CHECK_N.
490 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
491 (do_pwrite64): Don't use CHECK_N.
492 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
493 (__libc_readv): Don't use CHECK_N.
494 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
495 (semop): Don't use CHECK_N.
496 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
497 <bp-checks.h>.
498 (semtimedop): Don't use CHECK_N.
499 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
500 (__libc_pread): Don't use CHECK_N.
501 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
502 <bp-checks.h>.
503 (__libc_pread64): Don't use CHECK_N.
504 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
505 <bp-checks.h>.
506 (__libc_pwrite): Don't use CHECK_N.
507 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
508 <bp-checks.h>.
509 (__libc_pwrite64): Don't use CHECK_N.
510 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
511 <bp-checks.h>.
512 (__libc_msgrcv): Don't use CHECK_N.
513 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
514 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
515 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
516 (__libc_writev): Don't use CHECK_N.
517
b84660a8
RM
5182013-02-08 Roland McGrath <roland@hack.frob.com>
519
7f3e75f8
RM
520 * string/strcpy.c: Removed unused variable.
521
b84660a8
RM
522 * Makeconfig (+sysdep-includes): Define with := rather than =.
523 Use an existing include/ subdir of each sysdeps dir before it.
524
471514d3
CD
5252013-02-08 Carlos O'Donell <carlos@redhat.com>
526
527 * nscd/connection.c (register_traced_file): Comment function.
528 [HAVE_INOTIFY] (union __inev): Define.
529 [HAVE_INOTIFY] (inotify_check_files): New function.
530 [HAVE_INOTIFY] (clear_db_cache): Likewise.
531 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
532 clear_db_cache.
533 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
534
b2d3c3be
CD
5352013-02-08 Carlos O'Donell <carlos@redhat.com>
536
537 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
538 loaded if not already and that a failure is permanent.
539
b39949d2
CD
5402013-02-08 Carlos O'Donell <carlos@redhat.com>
541
ddacd1db 542 [BZ #15006]
b39949d2
CD
543 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
544 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
545
b2c9eff4
JM
5462013-02-08 Joseph Myers <joseph@codesourcery.com>
547
f3aae3f3
JM
548 [BZ #13550]
549 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
550 (CHECK_1_NULL_OK): Likewise.
551 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
552 (__fxstat): Do not use CHECK_1.
553 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
554 <bp-checks.h>.
555 (___fxstat64): Do not use CHECK_1.
556 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
557 <bp-checks.h>.
558 (__fxstatat): Do not use CHECK_1.
559 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
560 <bp-checks.h>.
561 (__fxstatat64): Do not use CHECK_1.
562 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
563 <bp-checks.h>.
564 (__fxstat): Do not use CHECK_1.
565 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
566 <bp-checks.h>.
567 (__fxstatat): Do not use CHECK_1.
568 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
569 <bp-checks.h>.
570 (__getresgid): Do not use CHECK_1.
571 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
572 <bp-checks.h>.
573 (__getresuid): Do not use CHECK_1.
574 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
575 <bp-checks.h>.
576 (__lxstat): Do not use CHECK_1.
577 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
578 <bp-checks.h>.
579 (__old_msgctl): Do not use CHECK_1.
580 (__new_msgctl): Likewise.
581 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
582 <bp-checks.h>.
583 (__new_setrlimit): Do not use CHECK_1.
584 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
585 <bp-checks.h>.
586 (__old_shmctl): Do not use CHECK_1.
587 (__new_shmctl): Likewise.
588 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
589 <bp-checks.h>.
590 (__xstat): Do not use CHECK_1.
591 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
592 (__lxstat): Do not use CHECK_1.
593 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
594 <bp-checks.h>.
595 (___lxstat64): Do not use CHECK_1.
596 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
597 (__old_msgctl): Do not use CHECK_1.
598 (__new_msgctl): Likewise.
599 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
600 <bp-checks.h>.
601 (__gettimeofday): Do not use CHECK_1.
602 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
603 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
604 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
605 <bp-checks.h>.
606 (__gettimeofday): Do not use CHECK_1.
607 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
608 (__old_shmctl): Do not use CHECK_1_NULL_OK.
609 (__new_shmctl): Do not use CHECK_1.
610 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
611 <bp-checks.h>.
612 (do_sigtimedwait): Do not use CHECK_1.
613 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
614 <bp-checks.h>.
615 (do_sigwaitinfo): Do not use CHECK_1.
616 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
617 <bp-checks.h>.
618 (msgctl): Do not use CHECK_1.
619 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
620 <bp-checks.h>.
621 (shmctl): Do not use CHECK_1.
622 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
623 (ustat): Do not use CHECK_1.
624 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
625 <bp-checks.h>.
626 (__fxstat): Do not use CHECK_1.
627 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
628 <bp-checks.h>.
629 (__fxstatat): Do not use CHECK_1.
630 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
631 <bp-checks.h>.
632 (__lxstat): Do not use CHECK_1.
633 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
634 <bp-checks.h>.
635 (__xstat): Do not use CHECK_1.
636 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
637 (__xstat): Do not use CHECK_1.
638 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
639 (___xstat64): Do not use CHECK_1.
640
b2c9eff4
JM
641 [BZ #13550]
642 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
643 definitions.
644 (CHECK_BOUNDS_HIGH): Likewise.
645 * string/strcpy.c: Do not include <bp-checks.h>.
646 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
647
f1d70dad
RM
6482013-02-07 Roland McGrath <roland@hack.frob.com>
649
650 * nscd/nscd-client.h (__nscd_drop_map_ref):
651 Add __attribute__ ((unused)).
652 * nis/nss-nisplus.h (niserr2nss): Likewise.
653
654 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
655 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
656
657 * csu/libc-tls.c (init_static_tls, init_slotinfo):
658 Remove inline keyword.
659 * include/rounding-mode.h (round_away): Likewise.
660 * libio/wfileops.c (adjust_wide_data): Likewise.
661 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
662 (__m128i_strloadu_tolower): Likewise.
663 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
664 (__m128i_strloadu_tolower): Likewise.
665 * time/mktime.c (ydhms_diff): Likewise.
666 * locale/elem-hash.h (elem_hash): Likewise.
667 * locale/setlocale.c (setdata): Likewise.
668 * posix/regex_internal.h (re_string_char_size_at): Likewise.
669 (re_string_wchar_at): Likewise.
670 (bitset_not, bitset_merge, bitset_mask): Likewise.
671 [!(__GNUC__ > 3)] (inline): Remove macro.
672 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
673 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
674 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
675 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
676 * string/memcmp.c (memcmp_bytes): Likewise.
677 * locale/programs/locarchive.c (compute_hashval): Likewise.
678 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
679 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
680 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
681 * nss/getent.c (print_rpc, print_protocols): Likewise.
682 (print_passwd, print_group, print_aliases): Likewise.
683 * nis/nss-nisplus.h (niserr2nss): Likewise.
684 * nscd/connections.c (restart_p): Likewise.
685 Change return type to bool.
686
eab55bfb
RM
6872013-02-05 Roland McGrath <roland@hack.frob.com>
688
7bd642f5
RM
689 * Makeconfig (all-Depend-files): Add existing
690 $(sorted-subdirs:=/Depend) files.
691 (all-subdirs): Remove nss.
692 * sysdeps/unix/inet/Subdirs: Add it here instead.
693 * hesiod/Depend: New file.
694
573c29b2
RM
695 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
696 instead of calling alloca.
697
b2e25af0
RM
698 * io/lseek.c (__lseek): Rename to __libc_lseek.
699 Define __lseek as an alias.
700
eab55bfb
RM
701 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
702
9a0d1941
CD
7032013-02-04 Carlos O'Donell <carlos@redhat.com>
704
705 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
706 else clause and remove check for non-standard endianness.
707
b83bbec4
DM
7082013-02-04 David S. Miller <davem@davemloft.net>
709
710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
711
6277fdab
JM
7122013-02-04 Joseph Myers <joseph@codesourcery.com>
713
714 [BZ #13550]
715 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
716 (__ubp_memchr): Remove prototype.
717 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
718 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
719 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
720 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
721 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
722 Remove alias.
723 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
724 (__ubp_memchr): Likewise.
725 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
726 (__ubp_memchr): Likewise.
727 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
728 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
729 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
730 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
731 CHECK_STRING.
732 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
733 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
734 (__getcwd): Do not use CHECK_STRING.
735 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
736 <bp-checks.h>.
737 (__real_chown): Do not use CHECK_STRING.
738 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
739 <bp-checks.h>.
740 (fchownat): Do not use CHECK_STRING.
741 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
742 CHECK_STRING.
743 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
744 <bp-checks.h>.
745 (__lchown): Do not use CHECK_STRING.
746 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
747 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
748 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
749 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
751 include <bp-checks.h>.
752 (truncate64): Do not use CHECK_STRING.
753 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
754 <bp-checks.h>.
755 (__real_chown): Do not use CHECK_STRING.
756 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
757 <bp-checks.h>.
758 (__lchown): Do not use CHECK_STRING.
759 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
760 <bp-checks.h>.
761 (__chown): Do not use CHECK_STRING.
762 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
763 <bp-checks.h>.
764 (truncate64): Do not use CHECK_STRING.
765 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
766 Likewise.
767 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
768 (__xmknod): Do not use CHECK_STRING.
769 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
770 <bp-checks.h>.
771 (__xmknodat): Do not use CHECK_STRING.
772 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
773 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
774
903ae060
AS
7752013-02-04 Andreas Schwab <schwab@suse.de>
776
777 [BZ #14142]
778 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
779 * include/netdb.h: Likewise for h_errno.
780 * elf/tst-stackguard1.c: Include <tls.h>.
781
542f9466
JK
7822013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
783
784 * elf/link.h (struct link_map): Extend the l_addr comment.
785 * include/link.h (struct link_map): Likewise.
786
e782a927
JM
7872013-02-01 Joseph Myers <joseph@codesourcery.com>
788
789 [BZ #13550]
790 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
791 (BOUNDED_1): Remove macro.
792 * debug/backtrace.c: Don't include <bp-checks.h>.
793 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
794 (__backtrace): Likewise.
795 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
796 <bp-checks.h>.
797 (__backtrace): Don't use BOUNDED_1.
798 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
799 <bp-checks.h>.
800 (__backtrace): Don't use BOUNDED_1.
801 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
802 (__backtrace): Don't use BOUNDED_1.
803 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
804 (shmat): Don't use BOUNDED_N.
805
8cf28c5e
JM
8062013-01-31 Joseph Myers <joseph@codesourcery.com>
807
3a7ac8a0
JM
808 [BZ #13550]
809 * sysdeps/generic/bp-start.h: Remove file.
810 * csu/libc-start.c: Don't include <bp-start.h>.
811 (LIBC_START_MAIN): Set up __environ directly instead of using
812 INIT_ARGV_and_ENVIRON.
813 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
814 <bp-start.h>.
815
f3499f95
JM
816 [BZ #13550]
817 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
818 definitions.
819 (CHECK_FCNTL): Likewise.
820 (CHECK_N_PAGES): Likewise.
821
32a45bea
JM
822 [BZ #13550]
823 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
824 definitions.
825 (CHECK_SIGSET_NULL_OK): Likewise.
826 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
827 <bp-checks.h>.
828 (sigpending): Don't use CHECK_SIGSET.
829 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
830 <bp-checks.h>.
831 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
832 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
833 <bp-checks.h>.
834 (do_sigsuspend): Don't use CHECK_SIGSET.
835 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
836 use CHECK_SIGSET.
837 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
838 (do_sigwait): Don't use CHECK_SIGSET.
839 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
840 use CHECK_SIGSET.
841 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
842 include <bp-checks.h>.
843 (sigpending): Don't use CHECK_SIGSET.
844 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
845 include <bp-checks.h>.
846 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
847 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
848 <bp-checks.h>.
849 (sigpending): Don't use CHECK_SIGSET.
850 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
851 <bp-checks.h>.
852 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
853
2e8a5c8c
JM
854 [BZ #13550]
855 * sysdeps/generic/bp-semctl.h: Remove file.
856 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
857 <bp-checks.h> and <bp-semctl.h>.
858 (__old_semctl): Don't use CHECK_SEMCTL.
859 (__new_semctl): Likewise.
860 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
861 and <bp-semctl.h>.
862 (__old_semctl): Don't use CHECK_SEMCTL.
863 (__new_semctl): Likewise.
864 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
865 <bp-checks.h> and <bp-semctl.h>.
866 (__old_semctl): Don't use CHECK_SEMCTL.
867 (__new_semctl): Likewise.
868 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
869 <bp-checks.h> and <bp-semctl.h>.
870 (semctl): Don't use CHECK_SEMCTL.
871
c2d54929
JM
872 [BZ #13550]
873 * Makerules (elide-bp-thunks): Remove variable.
874 (elide-routines.oS): Don't use $(elide-bp-thunks).
875 (elide-routines.os): Likewise.
876 (elide-routines.o): Likewise.
877 (elide-routines.op): Likewise.
878 (elide-routines.og): Likewise.
879 (objects): Don't use $(bp-thunks).
880 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
881 include.
882 (common-generated): Do not add s-proto-bp.d.
883 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
884 (int): Likewise.
885 (typ): Likewise.
886 Do not generate makefile rules for bounded-pointer thunks.
887 * sysdeps/generic/bp-thunks.h: Remove file.
888 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
889 * sysdeps/unix/s-proto-bp.S: Likewise.
890
8cf28c5e
JM
891 [BZ #15062]
892 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
893 parts of result separately when argument is not close to line from
894 -i to i and one part of argument is small.
895 * math/k_casinhf.c (__kernel_casinhf): Likewise.
896 * math/k_casinhl.c (__kernel_casinhl): Likewise.
897 * math/libm-test.inc (cacos_test): Add more tests.
898 (casin_test): Likewise.
899 (casinh_test): Likewise.
900 * sysdeps/i386/fpu/libm-test-ulps: Update.
901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
902
c4e33b8d
DM
9032013-01-31 David S. Miller <davem@davemloft.net>
904
905 * po/de.po: Update from translation team.
906
3b60b421
MK
9072013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
908
909 * time/tzfile.c: Include stdint.h for SIZE_MAX.
910
bb931195
TS
9112013-01-25 Thomas Schwinge <thomas@codesourcery.com>
912
b5a5da23
TS
913 * configure.in (_AC_PROG_CC_C89): New definition.
914 * configure: Regenerate.
915
bb931195
TS
916 * configure.in (AC_PROG_CPP): New definition.
917 * configure: Regenerate.
918
8c53a12c
JM
9192013-01-23 Joseph Myers <joseph@codesourcery.com>
920
921 * debug/tst-backtrace.h: New file.
922 * debug/tst-backtrace2.c: Include tst-backtrace.h.
923 (ret): Remove variable.
924 (x): Likewise.
925 (FAIL): Remove macro.
926 (NO_INLINE): Likewise.
927 (fn1): Use match function instead of strstr.
928 * debug/tst-backtrace3.c: Include tst-backtrace.h.
929 (ret): Remove variable.
930 (x): Likewise.
931 (FAIL): Remove macro.
932 (NO_INLINE): Likewise.
933 (fn): Use match function instead of strstr.
934 * debug/tst-backtrace4.c: Include tst-backtrace.h.
935 (ret): Remove variable.
936 (x): Likewise.
937 (FAIL): Remove macro.
938 (NO_INLINE): Likewise.
939 (handle_signal): Use match function instead of strstr.
940 * debug/tst-backtrace5.c: Include tst-backtrace.h.
941 (ret): Remove variable.
942 (x): Likewise.
943 (FAIL): Remove macro.
944 (NO_INLINE): Likewise.
945 (handle_signal): Use match function instead of strstr.
946
4858fa2a
RM
9472013-01-23 Roland McGrath <roland@hack.frob.com>
948
949 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
950
bae8e7f5
DM
9512013-01-23 David S. Miller <davem@davemloft.net>
952
953 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
954 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
955 argument of CAS if possible.
956 * sysdeps/sparc/sparc64/bits/atomic.h
957 (__arch_compare_and_exchange_val_32_acq): Likewise.
958 (__arch_compare_and_exchange_val_64_acq): Likewise.
959
9cbbc4ae
PT
9602013-01-23 Pino Toscano <toscano.pino@tiscali.it>
961
962 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
963 * sysdeps/posix/ulimit.c: ... this.
92a601b8 964 Include <limits.h>.
67b3f58c 965 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 966
5655a0b5
AC
9672013-01-23 Adam Conrad <adconrad@0c3.net>
968
969 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
970 (LDFLAGS-tst-array5): Likewise.
971
052aff95
JM
9722013-01-23 Joseph Myers <joseph@codesourcery.com>
973
974 [BZ #15036]
975 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
976 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
977 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
978 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
979
7c1e01aa
DM
9802013-01-21 David S. Miller <davem@davemloft.net>
981
982 * sysdeps/sparc/backtrace.c: New file.
983 * sysdeps/sparc/sparc32/backtrace.h: New file.
984 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
985 * sysdeps/sparc/sparc64/backtrace.h: New file.
986 * sysdeps/sparc/sparc64/backtrace.c: Delete.
987 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
988 -funwind-tables.
989
ab087e0a
AS
9902013-01-21 Andreas Schwab <schwab@suse.de>
991
992 [BZ #15020]
993 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
994 closed its stdout.
995
ed689c2f
AS
9962013-01-20 Andreas Schwab <schwab@linux-m68k.org>
997
998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
999 "mpa2.h".
1000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1001
31d470ac
JM
10022013-01-18 Joseph Myers <joseph@codesourcery.com>
1003 Mark Mitchell <mark@codesourcery.com>
1004 Tom de Vries <tom@codesourcery.com>
1005 Paul Pluzhnikov <ppluzhnikov@google.com>
1006
1007 * debug/tst-backtrace2.c: New file.
1008 * debug/tst-backtrace3.c: Likewise.
1009 * debug/tst-backtrace4.c: Likewise.
1010 * debug/tst-backtrace5.c: Likewise.
1011 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1012 (CFLAGS-tst-backtrace3.c): Likewise.
1013 (CFLAGS-tst-backtrace4.c): Likewise.
1014 (CFLAGS-tst-backtrace5.c): Likewise.
1015 (LDFLAGS-tst-backtrace2): Likewise.
1016 (LDFLAGS-tst-backtrace3): Likewise.
1017 (LDFLAGS-tst-backtrace4): Likewise.
1018 (LDFLAGS-tst-backtrace5): Likewise.
1019 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1020 tst-backtrace4 and tst-backtrace5.
1021
90567f30 10222013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
1023 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1024
1025 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1026 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1027 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1028 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1030 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1031 "+r" and remove output regs list as redundant. Add explicit inline
1032 asm to specify register of return val to work around compiler codegen
1033 bug. Remove (int) cast on return value. Add return type parameter to
1034 use in macro so that this macro does not truncate return value for
1035 64-bit values.
1036 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1037 pass to INTERNAL_VSYSCALL_NCS.
1038 (INLINE_VSYSCALL): Add 'long int' as return type to
1039 INTERNAL_VSYSCALL_NCS macro invocation.
1040 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1041 INTERNAL_VSYSCALL_NCS macro invocation.
1042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1043
d3b9ea61
SP
10442013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1045
0b57daeb
SP
1046 [BZ #14496]
1047 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1048 Fix application of SIMD FP exception mask.
1049
caa99d06
SP
1050 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1051 mp_no from a power of two.
1052 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1053 __mpexp_twomm1. Use __pow_mp.
1054
d3b9ea61
SP
1055 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1056 multiplication.
1057
1dbaee3c
DM
10582013-01-17 David S. Miller <davem@davemloft.net>
1059
1060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1061
728d7b43
JM
10622013-01-17 Joseph Myers <joseph@codesourcery.com>
1063
1064 [BZ #15023]
1065 * include/complex.h: Condition contents on [!_COMPLEX_H].
1066 (__kernel_casinhf): New prototype.
1067 (__kernel_casinh): Likewise.
1068 (__kernel_casinhl): Likewise.
1069 * math/Makefile (libm_calls): Add k_casinh.
1070 * math/k_casinh.c: New file.
1071 * math/k_casinhf.c: Likewise.
1072 * math/k_casinhl.c: Likewise.
1073 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1074 finite nonzero arguments.
1075 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1076 finite nonzero arguments.
1077 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1078 finite nonzero arguments.
1079 * math/s_casinh.c: Do not include <float.h>.
1080 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1081 * math/s_casinhf.c: Do not include <float.h>.
1082 (__casinhf): Move code for finite nonzero arguments to
1083 k_casinhf.c.
1084 * math/s_casinhl.c: Do not include <float.h>.
1085 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1086 redefine.
1087 (__casinhl): Move code for finite nonzero arguments to
1088 k_casinhl.c.
1089 * math/libm-test.inc (cacos_test): Add more tests.
1090 * sysdeps/i386/fpu/libm-test-ulps: Update.
1091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1092
2a26ef3a
PT
10932013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1094
1095 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1096 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1097 [!HAVE_MREMAP]: Remove [defined linux] case.
1098 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1099
a897655d
SP
11002013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1101
1102 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1103
881ebe89 11042013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
1105
1106 * elf/elf.h (R_386_SIZE32): New relocation.
1107 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1108 R_386_SIZE32.
1109 (elf_machine_rela): Likewise.
1110 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1111 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1112
59981e9b
JM
11132013-01-17 Joseph Myers <joseph@codesourcery.com>
1114
1115 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1116 (FP_FAST_FMA): Do not define.
1117 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1118 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1119 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1120 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1121 !_SOFT_FLOAT]: Likewise.
1122 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1123 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1124 value.
1125 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1126 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1127 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1128 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1129 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1130 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1131 file.
1132
cfa8054f
AS
11332013-01-16 Andreas Schwab <schwab@suse.de>
1134
1135 [BZ #14327]
1136 * include/stdlib.h (__mktemp): Add declaration.
1137 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1138 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1139
dd930cc5
SP
11402013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1141
881ebe89
SP
1142 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1143 definitions.
1144 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1145 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1146 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1147 definitions here.
1148 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1149 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1150 definitions.
1151 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1152 and ONE.
1153 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1154 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1155 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1156 definitions.
1157 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1158 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1159 definitions.
1160 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 1161
dd930cc5
SP
1162 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1163
c19a9f89
DM
11642013-01-15 David S. Miller <davem@davemloft.net>
1165
1aa61767
DM
1166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1167 trunc{,f} to libm-sysdep_routes.
1168 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1170 file.
1171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1173 file.
1174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1175 file.
1176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1178 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1179 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1180 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1181 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1182 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1183 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1184
c42d5e98
DM
1185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1186 nearbyint{,f} to libm-sysdep_routes.
1187 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1189 New file.
1190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1191 file.
1192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1193 New file.
1194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1195 file.
1196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1198 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1199 file.
1200 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1201 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1202 file.
1203 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1204 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1205 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1206
c19a9f89
DM
1207 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1208 libc_feholdexcept and libc_fesetenv.
1209
357679d2
MF
12102013-01-15 Mike Frysinger <vapier@gentoo.org>
1211
1212 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1213
65a82e3d
DM
12142013-01-14 David S. Miller <davem@davemloft.net>
1215
8b954ab9
DM
1216 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1217 (SPARC_ASM_VIS2_IFUNC): Likewise.
1218 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1220 use of 'siam' instruction.
1221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1222 Likewise.
1223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1224 Likewise.
1225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1226 Likewise.
1227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1232 file.
1233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1234 file.
1235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1236 file.
1237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1238 file.
1239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1244 new VIS2 routines.
1245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1248 Likewise.
1249 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1250 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1254 routines to libm-sysdep_routines.
1255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1256
65a82e3d
DM
1257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1258 fdim/fdimf to libm-sysdep_routines.
1259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1260 file.
1261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1263 file.
1264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1267 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1268 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1269 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1270 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1271
e34ab705
SP
12722013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1273
2a91b573
SP
1274 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1275 to optimize copies.
1276
1066a534
SP
1277 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1280
e34ab705
SP
1281 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1282 local variable MPTWO.
1283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1284 Likewise.
1285
aba5e596
MF
12862013-01-13 Mike Frysinger <vapier@gentoo.org>
1287
1288 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
1289 GLOB_NOESCAPE.
1290
e557e9e5
MF
12912013-01-13 Mike Frysinger <vapier@gentoo.org>
1292
1293 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1294
0428cec9
MF
12952013-01-13 Mike Frysinger <vapier@gentoo.org>
1296
1297 * manual/pattern.texi (glob_t): Document gl_flags.
1298 (glob64_t): Likewise.
1299
8794a964
DM
13002013-01-11 David S. Miller <davem@davemloft.net>
1301
66438c3f
RM
1302 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1303 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1304 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
1305 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
1306 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
1307 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
1308 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
1309 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
1310 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
1311 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
1312 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
1313 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
1314 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
1315
4ae4244d
DM
1316 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1317 sparc V9 rather than using V8 code.
1318 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1319 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1320
8794a964
DM
1321 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1322 Move to...
1323 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1324 Here.
1325
6270516e
RM
13262013-01-11 Roland McGrath <roland@hack.frob.com>
1327
1328 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1329 not in the main loop.
1330 * configure: Regenerated.
1331
6a57d931
JM
13322013-01-11 Joseph Myers <joseph@codesourcery.com>
1333
1334 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1335 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1336 to just #else.
1337 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1338 [!__GLIBC_HAVE_LONG_LONG] case.
1339 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1340 condition to just #else.
1341 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1342 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1343 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1344 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1345 unconditional.
1346 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1347 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1348 #elif condition to just #else.
1349 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1350 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1351 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1352 #elif condition to just #else.
1353
0e8529e9
SE
13542013-01-11 Steve Ellcey <sellcey@mips.com>
1355
1356 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1357 (EF_MIPS_ARCH_64): Fix value.
1358 (EF_MIPS_ARCH_32R2): New.
1359 (EF_MIPS_ARCH_64R2): New.
1360
740b3dbe
L
13612013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1362
1363 * Makeconfig (+link-pie-before-libc): New.
1364 (+link-pie-after-libc): Likewise.
1365 (+link-pie-tests): Likewise.
1366 (+link-pie): Rewritten.
1367 (link-before-libc): Remove $(config-LDFLAGS).
1368 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1369 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1370 (config-LDFLAGS): Renamed to ...
1371 (rtld-LDFLAGS): This.
1372 (rtld-tests-LDFLAGS): New macro.
1373 (link-libc-rpath-link): Likewise.
1374 (link-libc-tests-rpath-link): Likewise.
1375 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1376 (link-libc): Prepand $(link-libc-rpath-link).
1377 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1378 (test-program-prefix): New macro.
1379 (test-via-rtld-prefix): Likewise.
1380 (test-program-cmd): Likewise.
1381 (host-test-program-cmd): Likewise.
1382 * Makefile ($(common-objpfx)testrun.sh): Replace
1383 $(run-program-prefix) with $(test-program-prefix).
1384 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1385 $(rtld-LDFLAGS).
1386 ($(common-objpfx)shlib.lds): Likewise.
1387 (build-module-helper): Likewise.
1388 ($(common-objpfx)format.lds): Likewise.
1389 * Rules (binaries-pie-tests): New.
1390 (binaries-pie-notests): Likewise.
1391 (binaries-pie): Rewritten.
1392 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1393 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1394 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1395 (make-test-out): Replace $(host-built-program-cmd) with
1396 $(host-test-program-cmd).
1397 * config.make.in (build-hardcoded-path-in-tests): New variable.
1398 * configure.in (--enable-hardcoded-path-in-tests): New configure
1399 option.
1400 (hardcoded_path_in_tests): New AC_SUBST.
1401 * configure: Regenerated.
1402 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1403 $(built-program-cmd) with $(test-program-cmd).
1404 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1405 (test_program_cmd): This.
1406 * elf/Makefile ($(objpfx)order.out): Run test with
1407 $(test-program-prefix).
1408 ($(objpfx)order2.out): Likewise.
1409 ($(objpfx)tst-initorder.out): Likewise.
1410 ($(objpfx)tst-initorder2.out): Likewise.
1411 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1412 $(test-program-cmd).
1413 ($(objpfx)tst-array1-static.out): Likewise.
1414 ($(objpfx)tst-array2.out): Likewise.
1415 ($(objpfx)tst-array3.out): Likewise.
1416 ($(objpfx)tst-array4.out): Likewise.
1417 ($(objpfx)tst-array5.out): Likewise.
1418 ($(objpfx)tst-array5-static.out): Likewise.
1419 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1420 $(test-program-cmd).
1421 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1422 $(run-program-prefix) with $(test-program-prefix).
1423 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1424 (test_program_prefix): This.
1425 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1426 $(run-program-prefix) with $(test-program-prefix).
1427 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1428 (test_program_prefix): This.
1429 * iconvdata/tst-tables.sh: Likewise.
1430 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1431 $(run-program-prefix) with $(test-program-prefix).
1432 ($(objpfx)tst-translit.out): Likewise.
1433 ($(objpfx)tst-gettext2.out): Likewise.
1434 ($(objpfx)tst-gettext4.out): Likewise.
1435 ($(objpfx)tst-gettext6.out): Likewise.
1436 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1437 (test_program_prefix): This.
1438 * intl/tst-gettext2.sh: Likewise.
1439 * intl/tst-gettext4.sh Likewise.
1440 * intl/tst-gettext6.sh: Likewise.
1441 * intl/tst-translit.sh: Likewise.
1442 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1443 with $(test-program-cmd).
1444 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1445 $(run-program-prefix) with $(test-program-prefix).
1446 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1447 (test_program_prefix): This.
1448 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1449 $(run-program-prefix) with $(test-program-prefix).
1450 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1451 (test_program_prefix): This.
1452 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1453 * posix/Makefile ($(objpfx)globtest.out): Replace
1454 $(run-via-rtld-prefix) and $(test-wrapper) with
1455 $(test-program-prefix) and $(test-via-rtld-prefix).
1456 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1457 $(test-program-prefix).
1458 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1459 $(host-test-program-cmd).
1460 (tst-spawn-ARGS): Likewise.
1461 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1462 $(test-program-prefix).
1463 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1464 (test_via_rtld_prefix): This.
1465 (test_wrapper): Renamed to ...
1466 (test_program_prefix): This.
1467 (run_program_prefix): Replaced by test_program_prefix.
1468 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1469 (test_program_prefix): This.
1470 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1471 with $(host-test-program-cmd).
1472 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1473 $(run-program-prefix) with $(test-program-prefix).
1474 ($(objpfx)tst-printf.out): Likewise.
1475 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1476 $(test-program-cmd).
1477 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1478 (test_program_prefix): This.
1479 * stdio-common/tst-unbputc.sh: Likewise.
1480 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1481 $(run-program-prefix) with $(test-program-prefix).
1482 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1483 (test_program_prefix): This.
1484 * string/Makefile ($(objpfx)tst-svc.out): Replace
1485 $(built-program-cmd) with $(test-program-cmd).
1486
c6fe55cf
AJ
14872013-01-11 Andreas Jaeger <aj@suse.de>
1488
1489 [BZ #15003]
1490 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1491 value. Sync with Linux 3.7.
1492
9e6919c8
DM
14932013-01-10 David S. Miller <davem@davemloft.net>
1494
1495 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1496 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1497 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1498
1c9f1a02
RM
14992013-01-10 Roland McGrath <roland@hack.frob.com>
1500
1501 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1502 never set.
1503 * configure: Regenerated.
1504
b9de2dde
DM
15052013-01-10 David S. Miller <davem@davemloft.net>
1506
1507 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1508 sparc V9 rather than using V8 code.
1509 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1510 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1511
e7f68ef4
RM
15122013-01-10 Roland McGrath <roland@hack.frob.com>
1513
1514 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1515 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1516 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1517 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1518 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1519 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1520 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1521 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1522 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1523 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1524 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1525 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1526 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1527 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1528 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1529 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1530 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1531 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1532 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1533 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1534 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1535 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1536 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1537 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1538 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1539 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1540 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1541
5a47cc9c
DM
15422013-01-10 David S. Miller <davem@davemloft.net>
1543
1544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1545
4cf8f209
L
15462013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1547
1548 * posix/Makefile (tests-static): New variable.
1549 (tests): Add $(tests-static).
1550 (tst-exec-static-ARGS): New variable.
1551 (tst-spawn-static-ARGS): Likewise.
1552 * posix/tst-exec-static.c: New file.
1553 * posix/tst-spawn-static.c: Likewise.
1554 * posix/tst-exec.c: Support run directly.
1555 * posix/tst-spawn.c: Likewise.
1556
fed0faa1
JM
15572013-01-10 Joseph Myers <joseph@codesourcery.com>
1558
828beb13
JM
1559 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1560 long.
1561 * math/bits/mathcalls.h (llrint): Likewise.
1562 (llround): Likewise.
1563 * stdlib/stdlib.h (struct drand48_data): Likewise.
1564 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1565 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1566 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1567 Likewise.
1568 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1569 Likewise.
1570 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1571 (elf_greg_t): Likewise.
1572 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1573 (__jmp_buf): Likewise.
1574 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1575 definitions.
1576 (llrint): Likewise, for all definitions.
1577 (llrintl): Likewise.
1578
fed0faa1
JM
1579 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1580 Remove [__GNUC__] condition.
1581 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1582 condition to just [__USE_ISOC99].
1583 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1584
1a20cb20
L
15852013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1586
1587 [BZ #14200]
1588 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1589 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1590 defined.
1591 (_POSIX_V6_ILP32_OFF32): Likewise.
1592 (_XBS5_ILP32_OFF32): Likewise.
1593 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1594 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1595
751b85f7
SP
15962013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1597
7490eb81
SP
1598 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1599
751b85f7
SP
1600 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1601 doubles __mpexp_twomm1. Adjust usage.
1602 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1603 Remove.
1604
988197f0
AS
16052013-01-10 Andreas Schwab <schwab@suse.de>
1606
1607 [BZ #14964]
1608 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1609 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1610
e83d7298
DM
16112013-01-09 David S. Miller <davem@davemloft.net>
1612
034ed64b 1613 [BZ #15003]
e83d7298
DM
1614 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1615 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1616 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1617 TCP_FASTOPEN): Define.
1618 (tcp_repair_opt): New structure.
1619 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1620 enum values.
1621 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1622 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1623 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1624 (tcp_cookie_transactions): New structure.
1625
d5e0b9bd
AB
16262013-01-09 Anton Blanchard <anton@samba.org>
1627
1628 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1629 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1630 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1631 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1632
0c07e3ea
JM
16332013-01-09 Joseph Myers <joseph@codesourcery.com>
1634
1635 * include/features.h (__USE_ANSI): Remove.
1636
232f7002
RM
16372013-01-09 Roland McGrath <roland@hack.frob.com>
1638
ad98e30c
RM
1639 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1640
232f7002
RM
1641 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1642
950c99ca
SP
16432013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1644
b5792741
SP
1645 * sysdeps/s390/fpu/libm-test-ulps: Update.
1646
47cf2278
SP
1647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1648
950c99ca
SP
1649 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1650 (__acr): Likewise.
1651 (__cpy): Likewise.
1652 (norm): Likewise.
1653 (denorm): Likewise.
1654 (__mp_dbl): Likewise.
1655 (__dbl_mp): Likewise.
1656 (add_magnitudes): Likewise.
1657 (sub_magnitudes): Likewise.
1658 (__add): Likewise.
1659 (__sub): Likewise.
1660 (__mul): Likewise.
1661 (__inv): Likewise.
1662 (__dvd): Likewise.
1663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1664 (__acr): Likewise.
1665 (__cpy): Likewise.
1666 (norm): Likewise.
1667 (denorm): Likewise.
1668 (__mp_dbl): Likewise.
1669 (__dbl_mp): Likewise.
1670 (add_magnitudes): Likewise.
1671 (sub_magnitudes): Likewise.
1672 (__add): Likewise.
1673 (__sub): Likewise.
1674 (__mul): Likewise.
1675 (__inv): Likewise.
1676 (__dvd): Likewise.
1677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1678 (__acr): Likewise.
1679 (__cpy): Likewise.
1680 (norm): Likewise.
1681 (denorm): Likewise.
1682 (__mp_dbl): Likewise.
1683 (__dbl_mp): Likewise.
1684 (add_magnitudes): Likewise.
1685 (sub_magnitudes): Likewise.
1686 (__add): Likewise.
1687 (__sub): Likewise.
1688 (__mul): Likewise.
1689 (__inv): Likewise.
1690 (__dvd): Likewise.
1691
eede9df9
JM
16922013-01-08 Joseph Myers <joseph@codesourcery.com>
1693
1694 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1695 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1696 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1697 2 && __USE_EXTERN_INLINES]: Likewise.
1698
c40ea3d9
AJ
16992013-01-08 Andreas Jaeger <aj@suse.de>
1700
1701 [BZ# 14985]
1702 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1703 Remove.
1704 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1705 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1706
2ccdea26
AB
17072013-01-07 Anton Blanchard <anton@samba.org>
1708
1709 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1710 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1711 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1712 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1713 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1714 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1715 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1716 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1718 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1719 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1720 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1721 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1722 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1723 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1724 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1725 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1726 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1727 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1728 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1729 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1730 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1731 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1732 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1733 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1734 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1735 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1736 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1737 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1738 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1739 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1741 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1742 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1743 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1744 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1745 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1746 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1747 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1748 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1749 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1750 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1751 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1752
a9708fed
JM
17532013-01-07 Joseph Myers <joseph@codesourcery.com>
1754
375607b9
JM
1755 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1756 (__MALLOC_PMT): Likewise.
1757 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1758 [__GNUC__], only on [_LIBC].
1759 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1760 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1761 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1762 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1763 forward declaration.
1764 (realloc_hook_ini): Likewise.
1765 (memalign_hook_ini): Likewise.
1766 (__libc_memalign): Do not use __MALLOC_PMT in variable
1767 declaration.
1768 (__libc_valloc): Likewise.
1769 (__libc_pvalloc): Likewise.
1770 (__libc_calloc): Likewise.
1771 (__posix_memalign): Likewise.
1772
a9708fed
JM
1773 [BZ #14996]
1774 * math/s_casinh.c: Include <float.h>.
1775 (__casinh): Do not do computation with squaring and square root
1776 for large arguments.
1777 * math/s_casinhf.c: Include <float.h>.
1778 (__casinhf): Do not do computation with squaring and square root
1779 for large arguments.
1780 * math/s_casinhl.c: Include <float.h>.
1781 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1782 (__casinhl): Do not do computation with squaring and square root
1783 for large arguments.
1784 * math/libm-test.inc (casin_test): Add more tests.
1785 (casinh_test): Likewise.
1786 * sysdeps/i386/fpu/libm-test-ulps: Update.
1787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1788
afec409a
L
17892013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1790
1791 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1792 (__x86_64_raw_data_cache_size): Likewise.
1793 (__x86_64_data_cache_size_half): Likewise.
1794 (__x86_64_raw_data_cache_size_half): Likewise.
1795 (__x86_64_shared_cache_size): Likewise.
1796 (__x86_64_raw_shared_cache_size): Likewise.
1797 (__x86_64_shared_cache_size_half): Likewise.
1798 (__x86_64_raw_shared_cache_size_half): Likewise.
1799 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1800 to ...
1801 (__x86_data_cache_size): This.
1802 (__x86_64_raw_data_cache_size): Renamed to ...
1803 (__x86_raw_data_cache_size): This.
1804 (__x86_64_data_cache_size_half): Renamed to ...
1805 (__x86_data_cache_size_half): This.
1806 (__x86_64_raw_data_cache_size_half): Renamed to ...
1807 (__x86_raw_data_cache_size_half): This.
1808 (__x86_64_shared_cache_size): Renamed to ...
1809 (__x86_shared_cache_size): This.
1810 (__x86_64_raw_shared_cache_size): Renamed to ...
1811 (__x86_raw_shared_cache_size): This.
1812 (__x86_64_shared_cache_size_half): Renamed to ...
1813 (__x86_shared_cache_size_half): This.
1814 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1815 (__x86_raw_shared_cache_size_half): This.
1816 * sysdeps/x86_64/memcpy.S: Updated.
1817 * sysdeps/x86_64/memset.S: Likewise.
1818 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1819 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1820 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1821
0b3986d0
DM
18222013-01-04 David S. Miller <davem@davemloft.net>
1823
1824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1825
e47686e9
AS
18262013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1827
d643bac1
AS
1828 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1829 1 to avoid redefinition warning.
1830 (__USE_GNU): Don't define.
1831 (init_signaling_nan): Protoize.
1832
e47686e9
AS
1833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1834
b18decba
SP
18352013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1836
fffb407f
SP
1837 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1839 (__cpymn): Likewise.
1840 (norm): Remove commented code.
1841 (denorm): Likewise.
1842 (__mp_dbl): Likewise.
1843 (__inv): Likewise.
1844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1845 (__cpymn): Likewise.
1846 (norm): Remove commented code.
1847 (denorm): Likewise.
1848 (__mp_dbl): Likewise.
1849 (__inv): Likewise.
1850
b18decba
SP
1851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1852 mp_no value for 1.0 and 2.0.
1853 (norm): Use RADIXI instead of radixi.d.
1854 (denorm): Likewise.
1855 (__mul): Use 0.0 instead of zero.d.
1856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1857 mp_no value for 1.0 and 2.0.
1858 (norm): Use RADIXI instead of radixi.d.
1859 (denorm): Likewise.
1860 (__mul): Use 0.0 instead of zero.d.
1861
cdc1c96f
JM
18622013-01-04 Joseph Myers <joseph@codesourcery.com>
1863
1864 [BZ #14994]
1865 * math/s_casinh.c (__casinh): Reduce finite argument to first
1866 quadrant then set signs of results at the end.
1867 * math/s_casinhf.c (__casinhf): Likewise.
1868 * math/s_casinhl.c (__casinhl): Likewise.
1869 * math/libm-test.inc (casin_test): Add more tests.
1870 (casinh_test): Likewise.
1871 * sysdeps/i386/fpu/libm-test-ulps: Update.
1872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1873
302913e1
SP
18742013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1875
6420d207
SP
1876 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1877
a9e48ab4
SP
1878 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1879
b7837264
SP
1880 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1881 declarations.
1882 (denorm): Likewise.
1883 (__mp_dbl): Likewise.
1884 (__inv): Likewise.
1885
f8af25d2
SP
1886 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1887 and adjust the header comment.
1888
302913e1
SP
1889 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1890 variable name from declaration.
1891
5d7dd1ca
L
18922013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1893
1894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1895 Initialize COMMON_CPUID_INDEX_7 element.
1896 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1897 (CPUID_RTM): Likewise.
1898 (HAS_RTM): Likewise.
1899 (COMMON_CPUID_INDEX_7): New enum.
1900
2f5f40f4
AS
19012013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1902
1903 [BZ #14981]
1904 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1905 size is zero, record memory as freed.
1906
4056f4a0
AJ
19072013-01-03 Andreas Jaeger <aj@suse.de>
1908
1909 * po/ia.po: Add new Interlingua translation.
1910
ab15736f 19112012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
1912
1913 * locale/programs/localedef.c: Fix description of '--posix' flag.
1914
568035b7
JM
19152013-01-02 Joseph Myers <joseph@codesourcery.com>
1916
e6898b8d
JM
1917 * NEWS: Update dates in second copyright notice.
1918 * README: Update copyright dates in example.
1919 * manual/libc.texinfo: Update copyright dates.
1920 * scripts/test-installation.pl: Update copyright date in --version
1921 output.
1922
0e2f9562
JM
1923 * hurd/ctty-input.c: Fix copyright notice formatting.
1924 * hurd/ctty-output.c: Likewise.
1925 * hurd/dtable.c: Likewise.
1926 * hurd/hurd-raise.c: Likewise.
1927 * hurd/hurdprio.c: Likewise.
1928 * hurd/msgportdemux.c: Likewise.
1929 * misc/sys/file.h: Likewise.
1930 * misc/sys/ioctl.h: Likewise.
1931 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1932 * sysdeps/mach/hurd/chdir.c: Likewise.
1933 * sysdeps/mach/hurd/fchdir.c: Likewise.
1934 * sysdeps/mach/hurd/rename.c: Likewise.
1935 * sysdeps/mach/hurd/rmdir.c: Likewise.
1936 * sysdeps/mach/hurd/seekdir.c: Likewise.
1937 * sysdeps/mach/hurd/setsid.c: Likewise.
1938 * sysdeps/posix/wait3.c: Likewise.
1939
568035b7
JM
1940 * All files with FSF copyright notices: Update copyright dates
1941 using scripts/update-copyrights.
1942 * intl/plural.c: Regenerated.
1943 * locale/programs/charmap-kw.h: Likewise.
1944 * locale/programs/locfile-kw.h: Likewise.
1945
da08f647
SP
19462013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1947
0f5477af
SP
1948 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1949 four values.
1950
44e0d4c2
SP
1951 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1952 calculation loop and add branch prediction.
1953
4d55b4e5
SP
1954 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1955 check access beyond bounds of m1np.
1956
da08f647
SP
1957 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1958 MPTWO.
1959 (__inv): Remove local variable MPTWO to use the global
1960 constant.
1961 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1962 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1963 variable MPTWO.
1964 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1965 MP3HALFS static const.
1966
8e051029
DM
19672013-01-01 David S. Miller <davem@davemloft.net>
1968
1969 * po/ca.po: Update from translation team.
1970
f4cf5f2d
JM
19712013-01-01 Joseph Myers <joseph@codesourcery.com>
1972
1973 * scripts/update-copyrights: New file.
1974 * Makeconfig: Reformat copyright notice.
1975 * ctype/ctype.h: Likewise.
1976 * debug/swprintf_chk.c: Likewise.
1977 * elf/dl-cache.c: Likewise.
1978 * elf/dl-debug.c: Likewise.
1979 * elf/dl-object.c: Likewise.
1980 * grp/initgroups.c: Likewise.
1981 * hurd/Makefile: Likewise.
1982 * hurd/hurd/signal.h: Likewise.
1983 * hurd/hurdfault.c: Likewise.
1984 * hurd/hurdioctl.c: Likewise.
1985 * hurd/hurdlookup.c: Likewise.
1986 * hurd/intr-msg.c: Likewise.
1987 * iconv/gconv_open.c: Likewise.
1988 * libio/swprintf.c: Likewise.
1989 * locale/lc-ctype.c: Likewise.
1990 * locale/nl_langinfo.c: Likewise.
1991 * mach/Machrules: Likewise.
1992 * mach/Makefile: Likewise.
1993 * malloc/obstack.h: Likewise.
1994 * manual/Makefile: Likewise.
1995 * manual/tsort.awk: Likewise.
1996 * misc/bits/stab.def: Likewise.
1997 * nis/nis_print_group_entry.c: Likewise.
1998 * nis/nis_table.c: Likewise.
1999 * nis/nss_compat/compat-pwd.c: Likewise.
2000 * nis/nss_compat/compat-spwd.c: Likewise.
2001 * po/Makefile: Likewise.
2002 * posix/fnmatch.c: Likewise.
2003 * posix/regex.h: Likewise.
2004 * resolv/Makefile: Likewise.
2005 * resolv/nss_dns/dns-network.c: Likewise.
2006 * resolv/res_hconf.c: Likewise.
2007 * scripts/gen-sorted.awk: Likewise.
2008 * soft-fp/soft-fp.h: Likewise.
2009 * stdio-common/printf.h: Likewise.
2010 * stdlib/monetary.h: Likewise.
2011 * stdlib/random.c: Likewise.
2012 * stdlib/random_r.c: Likewise.
2013 * sysdeps/generic/Makefile: Likewise.
2014 * sysdeps/gnu/Makefile: Likewise.
2015 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2016 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2017 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2019 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2021 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2022 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2023 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2024 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2025 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2026 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2027 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2028 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2029 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2030 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2031 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2032 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2033 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2034 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2035 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2036 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2037 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2038 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2039 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2040 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2041 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2042 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2043 * sysdeps/mach/hurd/errnos.awk: Likewise.
2044 * sysdeps/mach/hurd/fork.c: Likewise.
2045 * sysdeps/mach/hurd/getcwd.c: Likewise.
2046 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2047 * sysdeps/mach/hurd/mmap.c: Likewise.
2048 * sysdeps/mach/hurd/utimes.c: Likewise.
2049 * sysdeps/mach/hurd/xmknod.c: Likewise.
2050 * sysdeps/posix/profil.c: Likewise.
2051 * sysdeps/posix/readdir_r.c: Likewise.
2052 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2053 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2054 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2055 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2056 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2057 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2058 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2059 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2060 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2061 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2062 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2063 * sysdeps/pthread/lio_listio.c: Likewise.
2064 * sysdeps/sparc/dl-procinfo.h: Likewise.
2065 * sysdeps/unix/i386/sysdep.S: Likewise.
2066 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2067 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2068 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2069 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2071 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2072 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2073 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2074 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2075 * sysdeps/wordsize-32/divdi3.c: Likewise.
2076 * time/sys/time.h: Likewise.
2077 * wcsmbs/Makefile: Likewise.
2078
0549fbba
DM
20792013-01-01 David S. Miller <davem@davemloft.net>
2080
a141f1a7
DM
2081 * po/fr.po: Update from translation team.
2082
0549fbba
DM
2083 * catgets/gencat.c: Update copyright year.
2084 * csu/version.c: Likewise.
2085 * debug/catchsegv.sh: Likewise.
2086 * debug/pcprofiledump.c: Likewise.
2087 * debug/xtrace.sh: Likewise.
2088 * elf/ldconfig.c: Likewise.
2089 * elf/ldd.bash.in: Likewise.
2090 * elf/pldd.c: Likewise.
2091 * elf/sotruss.ksh: Likewise.
2092 * elf/sprof.c: Likewise.
2093 * iconv/iconv_prog.c: Likewise.
2094 * iconv/iconvconfig.c: Likewise.
2095 * locale/programs/locale.c: Likewise.
2096 * locale/programs/localedef.c: Likewise.
2097 * login/programs/pt_chown.c: Likewise.
2098 * malloc/memusage.sh: Likewise.
2099 * malloc/memusagestat.c: Likewise.
2100 * malloc/mtrace.pl: Likewise.
2101 * nscd/nscd.c: Likewise.
2102 * nss/getent.c: Likewise.
2103 * nss/makedb.c: Likewise.
2104 * posix/getconf.c: Likewise.
2105
18ea052c
SP
21062012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2107
2108 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2109 numbers.
2110
9c89fca6
MF
21112012-12-30 Mike Frysinger <vapier@gentoo.org>
2112
2113 * math/bits/mathcalls.h (modf): Use __nonnull.
2114
085ec079
SP
21152012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2116
2117 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2118 (split): Use macro CN instead of the bare value.
2119 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2120 could be used.
2121 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2122 instead of the bare value.
2123 (power1): Likewise.
2124
6d9f97e1
SP
21252012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2126
d63f73be
SP
2127 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2128 __ATAN_TWOM.
2129 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2130
6d9f97e1
SP
2131 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2132 their values.
2133 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2134 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2135 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2136 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2137
4c4febf5
AJ
21382012-12-28 Andreas Jaeger <aj@suse.de>
2139
af5843ef
AJ
2140 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2141 values are from Linux 3.7.
2142
4c4febf5
AJ
2143 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2144 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2145
99136f82
SP
21462012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2147
2f216c3c 2148 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
2149 TRUE case.
2150
99136f82
SP
2151 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2152 (norm): Likewise.
2153 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2154 variables with preprocessor constants.
2155 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2156 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2157 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2158
7fffbdff
BH
21592012-12-27 Bruno Haible <bruno@clisp.org>
2160
2161 [BZ #14317]
2162 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2163 only if needed.
2164
b76eb5f0
SP
21652012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2166
31a7fe5c
SP
2167 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2168 and use variable directly.
2169 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2170
b76eb5f0
SP
2171 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2172 MPONE.
2173 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2174 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2175 variable MPONE.
2176 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2177 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2178 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2179 include directive. Remove local variable MPONE.
2180 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2181 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2182 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2183
2c8bfe7d
DM
21842012-12-25 David S. Miller <davem@davemloft.net>
2185
2186 * version.h (RELEASE): Set to "development".
2187 (VERSION): Set to "2.17.90".
2188 * NEWS: Add 2.18 section.
2189
147d03b0
DM
21902012-12-21 David S. Miller <davem@davemloft.net>
2191
2192 * po/hr.po: Update from translation team.
2193
a8ebb2b9
AK
21942012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2195
2196 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2197
95b4f1b6
SE
21982012-12-19 Steve Ellcey <sellcey@mips.com>
2199
b2d94007 2200 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 2201
cedb2a90
MS
22022012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2203
2204 * manual/contrib.texi (Contributors): Spelling correction.
2205
bbf527d6
DM
22062012-12-15 David S. Miller <davem@davemloft.net>
2207
2208 * po/ru.po: Update from translation team.
2209
bc38c906
DM
22102012-12-13 David S. Miller <davem@davemloft.net>
2211
85429b1a
DM
2212 * NEWS: Mention IFUNC testsuite enhancements.
2213
d283e353
DM
2214 * po/pl.po: Update from translation team.
2215 * po/bg.po: Likewise.
2216
bc38c906
DM
2217 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2218 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2219
a181b0d7
DM
22202012-12-11 David S. Miller <davem@davemloft.net>
2221
4641d57e
DM
2222 * po/sv.po: Update from translation team.
2223
f7bc6495
DM
2224 * po/vi.po: Update from translation team.
2225
6fc9048f
DM
2226 * po/cs.po: Update from translation team.
2227
a181b0d7
DM
2228 * po/de.po: Update from translation team.
2229 * po/eo.po: Likewise.
2230 * po/nl.po: Likewise.
2231
f70bfe80
SP
22322012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2233
3c8b4190
SP
2234 [BZ #14246]
2235 * manual/argp.texi (Argp Helper Functions): Move node to follow
2236 Argp Parsing State.
2237
f70bfe80
SP
2238 [BZ #14872]
2239 * manual/conf.texi (Limits on File System Capacity): Mention if
2240 terminating null is included in the max size.
2241
188f0adf
AJ
22422012-12-10 Andreas Jaeger <aj@suse.de>
2243
2244 * po/cs.po: Update from translation team.
2245
56e7d3ad
SP
22462012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2247
2248 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2249 void pointer and cast to uintptr_t.
2250 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2251 path.
2252 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2253 * sysdeps/s390/s390-64/memset.S: Likewise.
2254
76f2d2ea 22552012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
2256
2257 [BZ #14833]
2258 * menual/message.texi (Message Translation): Fix typos.
2259 (Helper programs for gettext): Likewise.
2260
67cbf9a2
AS
22612012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2262
2263 [BZ #14898]
2264 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2265 Change to -1.
2266
682d0e9a
DM
22672012-12-07 David S. Miller <davem@davemloft.net>
2268
2269 * po/libc.pot: Update.
2270
573cd484
RH
22712012-12-07 Richard Henderson <rth@redhat.com>
2272
7e9da188 2273 [BZ #10114]
573cd484
RH
2274 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2275 normal/normal case to before the switch.
2276 (_FP_DIV): Likewise.
2277
e933a943
MF
22782012-12-06 Carlos O'Donell <carlos@systemhalted.org>
2279 Mike Frysinger <vapier@gentoo.org>
2280
2281 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2282 check for __NR_fadvise64_64.
2283
82123268
CM
22842012-12-06 Chris Metcalf <cmetcalf@tilera.com>
2285
2286 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2287 0, not just to plain "0" as a statement.
2288 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
2289 with cw.
2290
d9814526
JM
22912012-12-06 Joseph Myers <joseph@codesourcery.com>
2292
2293 * NEWS: Use sourceware.org in Bugzilla URL.
2294
7728c574
SP
22952012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2296
f16946dd
SP
2297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2298 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2299
5704bbcb
SP
2300 * stdio-common/tst-put-error.c (do_test): Add newline to the
2301 padded test to ensure flush.
2302
17aa0516
JL
23032012-12-05 Jeff Law <law@redhat.com>
2304
2305 * sunrpc/etc.rpc (fedfs_admin): Add entry.
2306
363313b5
JM
23072012-12-05 Joseph Myers <joseph@codesourcery.com>
2308
effbd42a
JM
2309 * README: Don't refer to ports add-on as distributed separately.
2310 Mention AArch64 in list of systems supported in the ports add-on.
2311
87600365
JM
2312 * LICENSES: Add more non-FSF copyright and license notices.
2313
a0d7066a
JM
2314 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
2315 ((unused)).
2316
66ca5a5b
JM
2317 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2318
363313b5
JM
2319 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2320 10000 as width of padded output.
2321
b37984ad
JM
23222012-12-04 Joseph Myers <joseph@codesourcery.com>
2323
9003570a
JM
2324 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2325
b37984ad
JM
2326 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2327 variable LX with __attribute__ ((unused)).
2328 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2329 Likewise.
2330 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2331 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2332 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2333 with __attribute__ ((unused)).
2334
c8df52ec
DM
23352012-12-04 David S. Miller <davem@abraco.davemloft.net>
2336
2337 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2338
b3b099af
JM
23392012-12-04 Joseph Myers <joseph@codesourcery.com>
2340
c33aa6e3
JM
2341 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2342 (CFLAGS-nldbl-acos.c): New variable.
2343 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2344 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2345 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2346 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2347 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2348 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2349 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2350 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2351 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2352 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2353 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2354 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2355 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2356 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2357 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2358 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2359 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2360 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2361 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2362 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2363 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2364 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2365 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2366 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2367 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2368 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2369 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2370 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2371 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2372 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2373 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2374 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2375 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2376 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2377 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2378 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2379 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2380 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2381 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2382 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2383 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2384 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2385 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2386 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2387 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2388 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2389 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2390 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2391 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2392 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2393 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2394 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2395 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2396 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2397 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2398 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2399 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2400 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2401 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2402 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2403 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2404 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2405 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2406 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2407 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2408 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2409 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2410 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2411 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2412 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2413 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2414 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2415 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2416 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2417 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2418 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2419 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2420 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2421 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2422 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2423 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2424 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2425 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2426 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2427 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2428 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2429 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2430 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2431 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2432 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2433 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2434 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2435 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2436 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2437 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2438 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2439 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2440
20f0018d
JM
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2442 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2443
b3b099af
JM
2444 [BZ #14914]
2445 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2446 whole low double instead of just low 47 bits when splitting values
2447 into two parts.
2448
029264d1
AM
24492012-12-03 Allan McRae <allan@archlinux.org>
2450
2451 * manual/stdio.texi (Predefined Printf Handlers): Remove
2452 @hsep and @vsep usage.
2453
c9d6789e
MF
24542012-12-03 Mike Frysinger <vapier@gentoo.org>
2455
2456 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2457 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2458
4b7634a5
JL
24592012-12-03 Jeff Law <law@redhat.com>
2460
2461 * time/sys/time.h (settimeofday): Do not mark TV argument
2462 as __nonnull.
2463
eb6cbd24
MF
24642012-12-01 Mike Frysinger <vapier@gentoo.org>
2465
2466 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2467 when currently writing and seek to current position when not.
2468 * libio/Makefile (tests): Remove bug-fclose1.
2469 * libio/bug-fclose1.c: Delete.
2470
f638872a
JM
24712012-12-01 Joseph Myers <joseph@codesourcery.com>
2472
2473 * manual/arith.texi (feenableexcept): Fix typo.
2474 (fedisableexcept): Likewise.
2475
48085d14
RM
24762012-11-30 Roland McGrath <roland@hack.frob.com>
2477
2478 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2479 second, differently-typed declaration, rather than a cast.
2480
1a538b9f
SP
24812012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2482
2483 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2484 * include/rpc/svc.h: ... here.
2485
d07f2ff1 24862012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
2487
2488 [BZ #13013]
2489 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2490 depending n and resplen2 to catch cases where answer
2491 equals answerp2.
2492
c93ec1f0
CD
24932012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2494
2495 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2496 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2497
37db69de
MF
24982012-11-29 Mike Frysinger <vapier@gentoo.org>
2499
2500 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2501
e10c4e4f
RM
25022012-11-29 Roland McGrath <roland@hack.frob.com>
2503
2504 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2505
2af1b328
JL
25062012-11-28 Jeff Law <law@redhat.com>
2507
2508 [BZ #13761]
2509 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2510 dataset_temporary. Track alloca usage into alloca_used.
2511 If dataset is large allocate and release it via malloc/free.
2512
111db5b1
FW
25132012-06-04 Florian Weimer <fweimer@redhat.com>
2514
f06cc227 2515 [BZ #14197]
111db5b1
FW
2516 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2517
dd694abd
DM
25182012-11-28 David S. Miller <davem@davemloft.net>
2519
2520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2521
9984dd01
JM
25222012-11-28 Joseph Myers <joseph@codesourcery.com>
2523
2524 [BZ #14803]
2525 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2526 of pi/2 rounded to nearest to 64 bits.
2527 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2528 nearest to 64 bits.
2529 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2530 bits.
2531
14bc93a9
JL
25322012-11-28 Jeff Law <law@redhat.com>
2533 Martin Osvald <mosvald@redhat.com>
2534
2535 [BZ #14889]
2536 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2537 * sunrpc/svc.c: Include time.h.
2538 (__svc_accept_failed): New function.
2539 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2540 any reason other than EINTR, call __svc_accept_failed.
2541 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2542 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2543
e3c6aa3a
AS
25442012-11-28 Andreas Schwab <schwab@suse.de>
2545
2546 * scripts/abilist.awk: Also handle indirect functions in .opd
2547 section.
2548
1bead169
JM
25492012-11-28 Joseph Myers <joseph@codesourcery.com>
2550
2551 [BZ #13881]
2552 * sysdeps/x86/fpu/powl_helper.c: New file.
2553 * sysdeps/x86/fpu/Makefile: Likewise.
2554 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2555 (p3): New object.
2556 (__ieee754_powl): Use __powl_helper for finite arguments except
2557 integer exponents below 8.
2558 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2559 (p3): New object.
2560 (__ieee754_powl): Use __powl_helper for finite arguments except
2561 integer exponents below 8.
2562 * math/libm-test.inc (pow_test): Add more tests and enable some
2563 previously disabled tests.
2564 * sysdeps/i386/fpu/libm-test-ulps: Update.
2565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2566
0817d63d
SP
25672012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2568 Carlos O'Donell <carlos_odonell@mentor.com>
2569
2570 * nss/makedb.c (is_prime): Assert that input is odd and greater
2571 than 4. Note that fact in a comment too.
2572 (next_prime): Add 4 to input.
2573
de2fd463
SP
25742012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2575
2576 [BZ #11741]
2577 * libio/Makefile (tests): Add test case tst-fwrite-error.
2578 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2579 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2580 * libio/tst-fwrite-error.c: New test case.
2581
c515fb51
L
25822012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2583
2584 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2585 before casting to void *.
2586 * include/libc-internal.h (__pointer_type): New macro.
2587 (__integer_if_pointer_type_sub): Likewise.
2588 (__integer_if_pointer_type): Likewise.
2589 (cast_to_integer): Likewise.
2590 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2591 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2592 before casting to atomic64_t.
2593 (atomic_exchange_acq): Likewise.
2594 (__arch_exchange_and_add_body): Likewise.
2595 (__arch_add_body): Likewise.
2596 (atomic_add_negative): Likewise.
2597 (atomic_add_zero): Likewise.
2598
4cf77aa9
JM
25992012-11-26 Joseph Myers <joseph@codesourcery.com>
2600
2601 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2602 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2603 (add_fdes): Likewise.
2604 (linear_search_fdes): Likewise.
2605 (binary_search_unencoded_fdes): Likewise.
2606
d260b3b4
AS
26072012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2608
2609 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2610
67060746
AC
26112012-11-24 Adam Conrad <adconrad@0c3.net>
2612
2613 * configure.in: Autodetect C++ header directories.
2614 * configure: Regenerated.
2615
800938a1
MF
26162012-11-23 Mike Frysinger <vapier@gentoo.org>
2617
2618 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2619
4e6e34e6
AS
26202012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2621
2622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2623
7c7feb47
JM
26242012-11-22 Joseph Myers <joseph@codesourcery.com>
2625
7184dcdf
JM
2626 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2627 LDBL_MANT_DIG == 106]: Disable some tests.
2628 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2629 Likewise.
2630 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2631 Likewise.
2632
0a42601f
JM
2633 [BZ #14871]
2634 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2635 input for small inputs. Return +/- pi/2 for large inputs.
2636 * math/libm-test.inc (atan_test): Add more tests.
2637
79c9b9fe
JM
2638 * sysdeps/generic/unwind-dw2-fde-glibc.c
2639 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2640 __attribute__ ((unused)).
2641
c60d3bf2
JM
2642 [BZ #14645]
2643 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2644 x * y if x and y are nonzero and z is zero.
2645
ef1e0867
JM
2646 [BZ #14811]
2647 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2648 nonzero exponents with absolute value below 0x1p-117 to +/-
2649 0x1p-117.
2650
1468ded3
JM
2651 [BZ #14869]
2652 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2653 up arguments below 2**-450, not just those below 2**-500.
2654 * math/libm-test.inc (hypot_test): Add another test.
2655
8e27e3cc
JM
2656 [BZ #14868]
2657 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2658 Return a+b for ratio over 2**120, not 2**60.
2659 * math/libm-test.inc (hypot_test): Add another test.
2660
c9c0279b
JM
2661 * math/libm-test.inc (clog_test): Use
2662 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2663 (clog10_test): Likewise.
2664
7c7feb47
JM
2665 [BZ #6778]
2666 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2667
fff1530e
AS
26682012-11-22 Andreas Schwab <schwab@suse.de>
2669
2670 * sysdeps/i386/fpu/libm-test-ulps: Update.
2671
94558d30
PT
26722012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2673
2674 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2675 printf output with newline.
2676
7e1be741
L
26772012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2678
6bfea974
L
2679 [BZ #14865]
2680 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2681 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2682 -z nodlopen, -z initfirst and -z execstack support.
2683 * configure: Regenerated.
2684
7e1be741
L
2685 * elf/elf.h (DF_1_NODIRECT): New macro.
2686 (DF_1_IGNMULDEF): Likewise.
2687 (DF_1_NOKSYMS): Likewise.
2688 (DF_1_NOHDR): Likewise.
2689 (DF_1_EDITED): Likewise.
2690 (DF_1_NORELOC): Likewise.
2691 (DF_1_SYMINTPOSE): Likewise.
2692 (DF_1_GLOBAUDIT): Likewise.
2693 (DF_1_SINGLETON): Likewise.
2694 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2695 DT_1_SUPPORTED_MASK bits.
2696 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2697
105ce2ce
CD
26982012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2699
2700 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2701
123be9de
TS
27022012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2703
d072f3f7
TS
2704 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2705 macro.
2706
123be9de
TS
2707 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2708 (sendmmsg): Move declarations...
2709 * socket/sys/socket.h: ... here.
2710 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2711 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2712 include it from...
2713 * socket/recvmmsg.c: ... this new file.
2714 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2715 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2716 definition of __sendmmsg hidden.
2717 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2718 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2719 Move ENOSYS stub into and include it from...
2720 * socket/sendmmsg.c: ... this new file.
2721 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2722 (sysdep_routines): Move recvmmsg and sendmmsg...
2723 * socket/Makefile (routines): ... here.
2724 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2725 (GLIBC_PRIVATE): Add __sendmmsg.
2726 * include/sys/socket.h (__sendmmsg): Add declarations.
2727 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2728 sendmmsg.
2729
cf9a5d18
JM
27302012-11-20 Joseph Myers <joseph@codesourcery.com>
2731
2732 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2733 variable I1 with __attribute__ ((unused)).
2734 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2735
ecd4caf9
JM
27362012-11-19 Joseph Myers <joseph@codesourcery.com>
2737
be14d48f
JM
2738 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2739 DUMMY variables with __attribute__ ((unused)).
2740
ecd4caf9
JM
2741 * bits/byteswap.h: Include <bits/types.h>.
2742 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2743
986cab95
PT
27442012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2745
2746 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2747 string_t. Do not manually set errno.
2748 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2749 length with __strnlen. Make sure to both set errno and return it on
2750 failure.
2751
6d33cc9d
DM
27522012-11-19 David S. Miller <davem@davemloft.net>
2753
2754 With help from Joseph Myers.
2755 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2756 very large arguments properly.
2757 * math/libm-test.inc (atan_test): New tests.
2758 (atan2_test): New tests.
2759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2761
ee663277
JM
27622012-11-19 Joseph Myers <joseph@codesourcery.com>
2763
877f2d8e
JM
2764 [BZ #14856]
2765 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2766 Define to 3.
2767
116fc08a
JM
2768 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2769 [POSIX] (EADDRNOTAVAIL): Likewise.
2770 [POSIX] (EAFNOSUPPORT): Likewise.
2771 [POSIX] (EALREADY): Likewise.
2772 [POSIX] (ECONNABORTED): Likewise.
2773 [POSIX] (ECONNREFUSED): Likewise.
2774 [POSIX] (ECONNRESET): Likewise.
2775 [POSIX] (EDESTADDRREQ): Likewise.
2776 [POSIX] (EDQUOT): Likewise.
2777 [POSIX] (EHOSTUNREACH): Likewise.
2778 [POSIX] (EIDRM): Likewise.
2779 [POSIX] (EISCONN): Likewise.
2780 [POSIX] (ELOOP): Likewise.
2781 [POSIX] (EMULTIHOP): Likewise.
2782 [POSIX] (ENETDOWN): Likewise.
2783 [POSIX] (ENETUNREACH): Likewise.
2784 [POSIX] (ENOBUFS): Likewise.
2785 [POSIX] (ENODATA): Likewise.
2786 [POSIX] (ENOLINK): Likewise.
2787 [POSIX] (ENOMSG): Likewise.
2788 [POSIX] (ENOPROTOOPT): Likewise.
2789 [POSIX] (ENOSR): Likewise.
2790 [POSIX] (ENOSTR): Likewise.
2791 [POSIX] (ENOTCONN): Likewise.
2792 [POSIX] (ENOTSOCK): Likewise.
2793 [POSIX] (EOPNOTSUPP): Likewise.
2794 [POSIX] (EOVERFLOW): Likewise.
2795 [POSIX] (EPROTO): Likewise.
2796 [POSIX] (EPROTONOSUPPORT): Likewise.
2797 [POSIX] (EPROTOTYPE): Likewise.
2798 [POSIX] (ESTALE): Likewise.
2799 [POSIX] (ETIME): Likewise.
2800 [POSIX] (ETXTBSY): Likewise.
2801 [POSIX] (EWOULDBLOCK): Likewise.
2802 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2803 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2804 [POSIX] (SEEK_CUR): Likewise.
2805 [POSIX] (SEEK_END): Likewise.
2806 [POSIX || UNIX98] (mode_t): Do not require.
2807 [POSIX] (off_t): Likewise.
2808 [POSIX] (pid_t): Likewise.
2809 [POSIX] (sys/stat.h): Do not allow header.
2810 [POSIX] (unistd.h): Likewise.
2811 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2812 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2813 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2814 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2815 require.
2816 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2817 sigevent): Specify elements.
2818 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2819 entry.
2820 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2821 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2822
a483863f
JM
2823 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2824 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2825 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2826 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2827 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2828 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2829 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2830 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2831 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2832 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2833 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2834 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2835 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2836 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2837 Likewise.
2838 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2839 Likewise.
2840 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2841 Likewise.
2842 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2843 Likewise.
2844 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2845 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2846 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2847 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2848 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2849 Specify lower bound on value.
2850 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2851 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2852 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2853 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2854 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2855 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2856 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2857 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2858 value.
2859 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2860 as optional.
2861 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2862 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2863 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2864 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2865 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2866 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2867 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2868 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2869 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2870 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2871 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2872 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2873 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2874 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2875 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2876 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2877 entry.
2878 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2879 optional.
2880 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2881 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2882 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2883 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2884 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2885 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2886 Likewise.
2887 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2888 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2889 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2890 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2891 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2892 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2893 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2894 as optional.
2895 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2896 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2897 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2898 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2899 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2900 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2901 specify as optional.
2902 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2903 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2904 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2905 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2906 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2907 [XPG3] (NL_LANGMAX): Likewise.
2908 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2909 [POSIX || XPG3] (NL_NMAX): Likewise.
2910 [POSIX || XPG3] (NL_SETMAX): Likewise.
2911 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2912 [XPG3] (NZERO): Likewise.
2913 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2914 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2915 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2916 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2917 (REG_ERANGE): Expect.
2918 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2919 optional-constant.
2920 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2921 Use (void) in prototype.
2922 [POSIX] (*_t): Allow.
2923 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2924 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2925 (WRDE_BADVAL): Expect.
2926
5ba924e3
JM
2927 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2928 expect.
2929 [XPG3 || XPG4] (O_RSYNC): Likewise.
2930 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2931 Likewise.
2932 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2933 [XPG3 || XPG4] (sigqueue): Likewise.
2934 [XPG3 || XPG4] (sigtimedwait): Likewise.
2935 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2936 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2937 [XPG3 || XPG4] (vsnprintf): Likewise.
2938 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2939 Likewise.
2940 [XPG3 || XPG4] (blksize_t): Likewise.
2941 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2942 Likewise.
2943 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2944 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2945 [XPG3 || XPG4] (struct itimerspec): Likewise.
2946 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2947 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2948 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2949 [XPG3 || XPG4] (clockid_t): Likewise.
2950 [XPG3 || XPG4] (timer_t): Likewise.
2951 [XPG3 || XPG4] (clock_getres): Likewise.
2952 [XPG3 || XPG4] (clock_gettime): Likewise.
2953 [XPG3 || XPG4] (clock_settime): Likewise.
2954 [XPG3 || XPG4] (nanosleep): Likewise.
2955 [XPG3 || XPG4] (timer_create): Likewise.
2956 [XPG3 || XPG4] (timer_delete): Likewise.
2957 [XPG3 || XPG4] (timer_gettime): Likewise.
2958 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2959 [XPG3 || XPG4] (timer_settime): Likewise.
2960 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2961 [XPG3 || XPG4] (getlogin_r): Likewise.
2962 [XPG3 || XPG4] (pread): Likewise.
2963 [XPG3 || XPG4] (pthread_atfork): Likewise.
2964 [XPG3 || XPG4] (pwrite): Likewise.
2965
ee663277
JM
2966 [BZ #14835]
2967 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2968 <bits/siginfo.h>.
2969
942caa16
PT
29702012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2971
e19af380
PT
2972 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2973 finalizing MALLSTREAM.
2974
942caa16
PT
2975 * sysdeps/mach/hurd/syncfs.c: New file.
2976
cfde9b46
SP
29772012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2978
2979 [BZ #14719]
2980 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2981 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2982 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2983 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2984 (_nss_dns_gethostbyname4_r): Likewise.
2985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2986 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2987
f6da27e5
PH
29882012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2989
2990 [BZ #13763]
2991 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2992
6665d4a2
SM
29932012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2994
1f51ee92
SM
2995 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2996 * elf/cache.c (print_entry): Print ",AArch64" for
2997 FLAG_AARCH64_LIB64
2998
6665d4a2
SM
2999 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3000 * elf/cache.c (print_entry): Print ",hard-float" for
3001 FLAG_ARM_LIBHF.
3002
05b227bd
DM
30032012-11-18 David S. Miller <davem@davemloft.net>
3004
3005 With help from Joseph Myers.
3006 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3007 cutoff to 2**-13.
3008 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3009 cutoff to 2**-25.
3010 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3011 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3012 small.
3013 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3014 * math/libm-test.inc (y0_test): New tests.
3015 (y1_test): New tests.
3016 * sysdeps/i386/fpu/libm-test-ulps: Update.
3017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3019
786b0b67
AS
30202012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3021
3022 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3023 64-bit targets.
3024 * configure: Regenerated.
3025
8e18b86d
DM
30262012-11-17 David S. Miller <davem@davemloft.net>
3027
3028 [BZ #14811]
3029 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3030 nonzero exponents with absolute value below 0x1p-128 to +/-
3031 0x1p-128.
3032
531f1ae0
JM
30332012-11-17 Joseph Myers <joseph@codesourcery.com>
3034
12df29e2
JM
3035 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3036
150dc1a0
JM
3037 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3038
531f1ae0
JM
3039 * posix/getconf-speclist.c: New file.
3040 * posix/posix-envs.def: Likewise.
3041 * posix/confstr.c (START_ENV_GROUP): New macro.
3042 (END_ENV_GROUP): Likewise.
3043 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3044 (KNOWN_PRESENT_ENV_STRING): Likewise.
3045 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3046 (UNKNOWN_ENVIRONMENT): Likewise.
3047 (confstr): Include posix-envs.def instead of handling
3048 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3049 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3050 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3051 (END_ENV_GROUP): Likewise.
3052 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3053 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3054 (UNKNOWN_ENVIRONMENT): Likewise.
3055 (__sysconf): Include posix-envs.def instead of handling associated
3056 cases directly here.
3057 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3058 preprocessing getconf-speclist.c rather than running getconf or
3059 generating empty file.
3060
a93f9cbc
PT
30612012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3062
3063 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3064
d64d9f87
AL
30652012-11-16 Andrej Lajovic <natrij@gmail.com>
3066
3067 [BZ #14672]
3068 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3069
447885eb
DM
30702012-11-16 David S. Miller <davem@davemloft.net>
3071
3072 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3073 smaller than LDBL_EPSILON/2.0L, just return xm1.
3074
bcbf9830
L
30752012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3076
3077 * elf/tst-array1.c (init): Set constructor priority to 1000.
3078 (fini): Set destructor priority to 1000.
3079 * elf/tst-array2dep.c: Likewise.
3080
2b766585
SP
30812012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3082
3083 [BZ #11741]
3084 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3085 (_IO_new_file_xsputn): Also return EOF if none of the input
3086 data was written when overflow failed.
3087 * libio/iopadn.c (_IO_padn): Likewise.
3088 * libio/iowpadn.c (_IO_wpadn): Likewise.
3089 * stdio-common/tst-put-error.c: Add copyright notice.
3090 (do_test): Add case for printing padded string.
3091 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3092 _IO_padn returned error.
3093 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3094 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3095 return EOF.
3096
b1848fde
SP
30972012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3098
3099 * libio/libioP.h: Add comment note that the references to C++
3100 bits are now obsolete.
3101
2fd89785
MS
31022012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3103
3104 * math/libm-test.inc (check_complex): Use asprintf.
3105
e3ea5409
JM
31062012-11-14 Joseph Myers <joseph@codesourcery.com>
3107
3108 * debug/pcprofiledump.c (print_version): Update copyright year.
3109 * malloc/memusagestat.c (print_version): Likewise.
3110
2e64d265
L
31112012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3112
3113 [BZ #14831]
3114 * elf/Makefile (tests): Add tst-audit8.
3115 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3116 ($(objpfx)tst-audit8.out): New target.
3117 (tst-audit8-ENV): New variable.
3118 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3119 audit if l_reloc_result is NULL.
3120 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3121 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3122 * elf/tst-audit8.c: New file.
3123
c485e4d2
MS
31242012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3125
3126 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3127 * misc/Makefile (CFLAGS-select.c): Define.
3128 * posix/Makefile (CFLAGS-pause.c): Define.
3129
3a0d900a
DM
31302012-11-13 David S. Miller <davem@davemloft.net>
3131
3132 * crypt/Makefile: Move test targets after toplevel Rules
3133 inclusion. Grab any necessary sysdep routines when linking.
3134 * crypt/md5.c (md5_process_block): Remove define, we will always
3135 name it __md5_process_block.
3136 (md5_finish_ctx): Update md5_process_block call.
3137 (md5_stream): Likewise.
3138 (md5_process_bytes): Likewise.
3139 (md5_process_block): Rename to __md5_process_block and move to ...
3140 * crypt/md5-block.c: ... here.
3141 * crypt/sha256.c (sha256_process_block): Move to ...
3142 * crypt/sha256-block.c: ... here.
3143 * crypt/sha512.c (sha512_process_block): Move to ...
3144 * crypt/sha512-block.c: ... here.
3145 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3146 path.
3147 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3148 * sysdeps/sparc/sparc64/multiarch/Makefile
3149 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3150 crypt subdir.
3151 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3152 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3153 multiarch changes.
3154 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3155 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3156 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3157 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3158 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3159 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3160 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3161 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3162 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3163 file.
3164 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3165 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3166 file.
3167 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3168
8ca89318
JM
31692012-11-13 Joseph Myers <joseph@codesourcery.com>
3170
e27d476a
JM
3171 * timezone/tzselect.ksh: Update from tzcode git revision
3172 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3173 * timezone/zdump.c: Likewise.
3174 * timezone/zic.c: Likewise.
3175 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3176 in TZVERSION setting, not $(PKGVERSION).
3177 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3178 REPORT_BUGS_TO settings.
3179
8ca89318
JM
3180 [BZ #14838]
3181 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3182 macro.
3183
47594329
MS
31842012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3185
3186 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3187 detection to immediately after _FP_ROUND().
3188 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3189 bits are 0.
3190
640ac3f1
DM
31912012-11-11 David S. Miller <davem@davemloft.net>
3192
3193 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3194 inttypes.h
3195 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3196 __close rather than their public counterparts.
3197
3d2577bb
JM
31982012-11-10 Joseph Myers <joseph@codesourcery.com>
3199
3200 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3201 file.
3202 [UNIX98] (sem_timedwait): Do not expect.
3203 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3204 [XPG4 || UNIX98] (sockatmark): Do not expect.
3205 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3206 (clock_getcpuclockid): Do not expect.
3207 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3208 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3209 Do not expect.
3210 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3211 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3212 [UNIX98] (vwscanf): Likewise.
3213 [UNIX98] (vswscanf): Likewise.
3214
fb1ae1ee
JM
32152012-11-09 Joseph Myers <joseph@codesourcery.com>
3216
9ec6f8bd
JM
3217 * timezone/version.h: Remove file.
3218 * timezone/README: Do not refer to version.h.
3219 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3220 $(objpfx)version.h.
3221 ($(objpfx)zdump.o): Likewise.
c3f81911 3222 ($(objpfx)version.h): New target.
9ec6f8bd 3223
0aa8f8a1
JM
3224 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3225 2012i.
3226 * timezone/README: Don't mention modification to tzselect.ksh.
3227 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3228 work on unmodified tzselect.ksh. Substitute version numbers in
3229 tzselect.ksh.
3230
4e87147f
JM
3231 * Makefile (format-me): Remove.
3232 (INSTALL): Adjust indentation. Use commands directly instead of
3233 using $(format-me).
3234
8b748aed
JM
3235 * aclocal.m4 (ACX_PKGVERSION): New macro.
3236 (ACX_BUGURL): Likewise.
3237 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3238 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3239 (REPORT_BUGS_TO): Likewise.
3240 * configure: Regenerated.
3241 * config.h.in (PKGVERSION): New macro.
3242 (REPORT_BUGS_TO): Likewise.
3243 * config.make.in (PKGVERSION): New variable.
3244 (PKGVERSION_TEXI): Likewise.
3245 (REPORT_BUGS_TO): Likewise.
3246 (REPORT_BUGS_TEXI): Likewise.
3247 * Makefile (format-me): Use -I$(common-objpfx)manual.
3248 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3249 ($(common-objpfx)manual/%): New target.
3250 (manual/%): Remove target.
3251 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3252 (print_version): Use PKGVERSION.
3253 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3254 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3255 and REPORT_BUGS_TO.
3256 ($(objpfx)xtrace): Likewise.
3257 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3258 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3259 (print_version): Use PKGVERSION.
3260 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3261 (do_version): Use PKGVERSION.
3262 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3263 REPORT_BUGS_TO.
3264 (common-ldd-rewrite): Likewise.
3265 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3266 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3267 (print_version): Use PKGVERSION.
3268 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3269 * elf/pldd.c (argp_program_bug_address): Remove variable.
3270 (more_help): New function.
3271 (argp): Use more_help.
3272 (print_version): Use PKGVERSION.
3273 * elf/sln.c (main): Use PKGVERSION.
3274 (usage): Use REPORT_BUGS_TO.
3275 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3276 (top level): Use PKGVERSION.
3277 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3278 (print_version): Use PKGVERSION.
3279 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3280 (print_version): Use PKGVERSION.
3281 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3282 (print_version): Use PKGVERSION.
3283 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3284 (print_version): Use PKGVERSION.
3285 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3286 (print_version): Use PKGVERSION.
3287 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3288 (print_version): Use PKGVERSION.
3289 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
3290 and BUGURL.
3291 ($(objpfx)memusage): Likewise.
3292 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
3293 (do_version): Use PKGVERSION.
3294 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3295 (print_version): Use PKGVERSION.
3296 * malloc/mtrace.pl ($PACKAGE): Remove variable.
3297 ($PKGVERSION): New variable.
3298 ($REPORT_BUGS_TO): Likewise.
3299 (usage): Use $REPORT_BUGS_TO.
3300 (top level): Use $PKGVERSION.
3301 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3302 ($(objpfx)pkgvers.texi): New rule.
3303 ($(objpfx)stamp-pkgvers): Likewise.
3304 * manual/install.texi: Include pkgvers.texi.
3305 (--with-pkgversion): Document new configure option.
3306 (--with-bugurl): Likewise.
3307 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
3308 than necessarily for this particular distribution. Use
3309 REPORT_BUGS_TO for where to report bugs.
3310 * INSTALL: Regenerated.
3311 * manual/libc.texinfo: Include pkgvers.texi.
3312 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
3313 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
3314 (print_version): Use PKGVERSION.
3315 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
3316 (print_version): Use PKGVERSION.
3317 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3318 (print_version): Use PKGVERSION.
3319 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3320 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3321 macro.
3322 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3323 (print_version): Use PKGVERSION.
3324 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3325 (print_version): Use PKGVERSION.
3326 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3327 and PKGVERSION.
3328
92e4b6a9
JM
3329 * timezone/checktab.awk: Update from tzcode 2012i.
3330 * timezone/ialloc.c: Likewise.
3331 * timezone/private.h: Likewise.
3332 * timezone/scheck.c: Likewise.
3333 * timezone/tzfile.h: Likewise.
3334 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3335 (TZVERSION): Hardcode tzcode version number.
3336 * timezone/zdump.c: Update from tzcode 2012i.
3337 * timezone/zic.c: Likewise.
3338 * timezone/version.h: New file.
3339 * timezone/README: Describe version.h. Update upstream location.
3340
9bde902c
JM
3341 [BZ #14824]
3342 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3343 (mktemp): Enable declaration.
3344 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3345 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3346 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3347 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3348 Likewise.
3349 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3350 Likewise.
3351 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3352 Likewise.
3353 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3354 Likewise.
3355 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3356 Likewise.
3357 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3358 Likewise.
3359
fb1ae1ee
JM
3360 [BZ #14821]
3361 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3362 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3363 for copies of such integer values.
3364 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3365 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3366
2c1adbcb
AJ
33672012-11-09 Andreas Jaeger <aj@suse.de>
3368
3369 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3370 definitions and declarations that are provided by
3371 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3372
d0f8457e
AK
33732012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3374
3a235abb 3375 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
3376 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3377 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3378 definition.
3379
57241e26
MS
33802012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3381
3382 * elf/elf.h: Update comment before AArch64 relocations.
3383
60e8270d
DM
33842012-11-07 David S. Miller <davem@davemloft.net>
3385
3386 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3387 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3388 (__start_context): Declare.
3389 (__makecontext_ret): Delete.
3390 (__makecontext): Hook up __start_context instead of
3391 __makecontext_ret.
3392 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3393 (sysdep_routines): Add __start_context when in stdlib.
3394
0fbb0fbc
JM
33952012-11-07 Joseph Myers <joseph@codesourcery.com>
3396
3397 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3398 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3399 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3400 hardcoded "nm".
3401 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3402 (READELF): New variable. Use it instead of hardcoded "readelf".
3403
eb48db7e
L
34042012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3405
3406 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3407 * sysdeps/x86/Makefile: Here.
3408 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3409 * sysdeps/x86/tst-xmmymm.sh: This.
3410
05bcf62a
JM
34112012-11-07 Joseph Myers <joseph@codesourcery.com>
3412
c4b6cf53
JM
3413 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3414 expectations.
3415 [UNIX98] (pthread_barrier_t): Do not expect.
3416 [UNIX98] (pthread_barrierattr_t): Likewise.
3417 [UNIX98] (pthread_spinlock_t): Likewise.
3418 [UNIX98] (pthread_barrier_destroy): Likewise.
3419 [UNIX98] (pthread_barrier_init): Likewise.
3420 [UNIX98] (pthread_barrier_wait): Likewise.
3421 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3422 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3423 [UNIX98] (pthread_barrierattr_init): Likewise.
3424 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3425 [UNIX98] (pthread_getcpuclockid): Likewise.
3426 [UNIX98] (pthread_mutex_timedlock): Likewise.
3427 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3428 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3429 [UNIX98] (pthread_sigmask): Likewise.
3430 [UNIX98] (pthread_spin_destroy): Likewise.
3431 [UNIX98] (pthread_spin_init): Likewise.
3432 [UNIX98] (pthread_spin_lock): Likewise.
3433 [UNIX98] (pthread_spin_trylock): Likewise.
3434 [UNIX98] (pthread_spin_unlock): Likewise.
3435 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3436 Do not expect.
3437 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3438 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3439 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3440 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3441 [XPG3 || XPG4] (pthread_key_t): Likewise.
3442 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3443 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3444 [XPG3 || XPG4] (pthread_once_t): Likewise.
3445 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3446 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3447 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3448 [XPG3 || XPG4] (pthread_t): Likewise.
3449
cbe6e120
JM
3450 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3451 not expect.
3452 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3453
1b126443
JM
3454 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3455 Change function return type to int.
3456
b961a573
JM
3457 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3458 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3459 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3460 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3461 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3462 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3463 [!POSIX] (posix_madvise): Likewise.
3464 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3465 && !UNIX98].
3466 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3467 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3468 (mode_t): Likewise.
3469 (posix_mem_offset): Likewise.
3470 (posix_typed_mem_get_info): Likewise.
3471 (posix_typed_mem_open): Likewise.
3472
9e188909
JM
3473 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3474 Change condition to [XOPEN2K8].
3475
05bcf62a
JM
3476 * conform/conformtest.pl: Preprocess allow-header data with -x c
3477 instead of from stdin.
3478 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3479 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3480 [C99-based standards] (cerfc): Likewise.
3481 [C99-based standards] (cexp2): Likewise.
3482 [C99-based standards] (cexpm1): Likewise.
3483 [C99-based standards] (clog10): Likewise.
3484 [C99-based standards] (clog1p): Likewise.
3485 [C99-based standards] (clog2): Likewise.
3486 [C99-based standards] (clgamma): Likewise.
3487 [C99-based standards] (ctgamma): Likewise.
3488 [C99-based standards] (cerff): Likewise.
3489 [C99-based standards] (cerfcf): Likewise.
3490 [C99-based standards] (cexp2f): Likewise.
3491 [C99-based standards] (cexpm1f): Likewise.
3492 [C99-based standards] (clog10f): Likewise.
3493 [C99-based standards] (clog1pf): Likewise.
3494 [C99-based standards] (clog2f): Likewise.
3495 [C99-based standards] (clgammaf): Likewise.
3496 [C99-based standards] (ctgammaf): Likewise.
3497 [C99-based standards] (cerfl): Likewise.
3498 [C99-based standards] (cerfcl): Likewise.
3499 [C99-based standards] (cexp2l): Likewise.
3500 [C99-based standards] (cexpm1l): Likewise.
3501 [C99-based standards] (clog10l): Likewise.
3502 [C99-based standards] (clog1pl): Likewise.
3503 [C99-based standards] (clog2l): Likewise.
3504 [C99-based standards] (clgammal): Likewise.
3505 [C99-based standards] (ctgammal): Likewise.
3506 * conform/data/inttypes.h-data [C99-based standards]: Include
3507 stdint.h-data. Remove all expectations for stdint.h contents.
3508 [C99-based standards] (PRI*): Do not allow.
3509 [C99-based standards] (SCN*): Likewise.
3510 [C99-based standards] (*_t): Likewise.
3511 [C99-based-standards] (PRId8): Expect macro.
3512 [C99-based-standards] (PRIi8): Likewise.
3513 [C99-based-standards] (PRIo8): Likewise.
3514 [C99-based-standards] (PRIu8): Likewise.
3515 [C99-based-standards] (PRIx8): Likewise.
3516 [C99-based-standards] (PRIX8): Likewise.
3517 [C99-based-standards] (SCNd8): Likewise.
3518 [C99-based-standards] (SCNi8): Likewise.
3519 [C99-based-standards] (SCNo8): Likewise.
3520 [C99-based-standards] (SCNu8): Likewise.
3521 [C99-based-standards] (SCNx8): Likewise.
3522 [C99-based-standards] (PRIdLEAST8): Likewise.
3523 [C99-based-standards] (PRIiLEAST8): Likewise.
3524 [C99-based-standards] (PRIoLEAST8): Likewise.
3525 [C99-based-standards] (PRIuLEAST8): Likewise.
3526 [C99-based-standards] (PRIxLEAST8): Likewise.
3527 [C99-based-standards] (PRIXLEAST8): Likewise.
3528 [C99-based-standards] (SCNdLEAST8): Likewise.
3529 [C99-based-standards] (SCNiLEAST8): Likewise.
3530 [C99-based-standards] (SCNoLEAST8): Likewise.
3531 [C99-based-standards] (SCNuLEAST8): Likewise.
3532 [C99-based-standards] (SCNxLEAST8): Likewise.
3533 [C99-based-standards] (PRIdFAST8): Likewise.
3534 [C99-based-standards] (PRIiFAST8): Likewise.
3535 [C99-based-standards] (PRIoFAST8): Likewise.
3536 [C99-based-standards] (PRIuFAST8): Likewise.
3537 [C99-based-standards] (PRIxFAST8): Likewise.
3538 [C99-based-standards] (PRIXFAST8): Likewise.
3539 [C99-based-standards] (SCNdFAST8): Likewise.
3540 [C99-based-standards] (SCNiFAST8): Likewise.
3541 [C99-based-standards] (SCNoFAST8): Likewise.
3542 [C99-based-standards] (SCNuFAST8): Likewise.
3543 [C99-based-standards] (SCNxFAST8): Likewise.
3544 [C99-based-standards] (PRId16): Likewise.
3545 [C99-based-standards] (PRIi16): Likewise.
3546 [C99-based-standards] (PRIo16): Likewise.
3547 [C99-based-standards] (PRIu16): Likewise.
3548 [C99-based-standards] (PRIx16): Likewise.
3549 [C99-based-standards] (PRIX16): Likewise.
3550 [C99-based-standards] (SCNd16): Likewise.
3551 [C99-based-standards] (SCNi16): Likewise.
3552 [C99-based-standards] (SCNo16): Likewise.
3553 [C99-based-standards] (SCNu16): Likewise.
3554 [C99-based-standards] (SCNx16): Likewise.
3555 [C99-based-standards] (PRIdLEAST16): Likewise.
3556 [C99-based-standards] (PRIiLEAST16): Likewise.
3557 [C99-based-standards] (PRIoLEAST16): Likewise.
3558 [C99-based-standards] (PRIuLEAST16): Likewise.
3559 [C99-based-standards] (PRIxLEAST16): Likewise.
3560 [C99-based-standards] (PRIXLEAST16): Likewise.
3561 [C99-based-standards] (SCNdLEAST16): Likewise.
3562 [C99-based-standards] (SCNiLEAST16): Likewise.
3563 [C99-based-standards] (SCNoLEAST16): Likewise.
3564 [C99-based-standards] (SCNuLEAST16): Likewise.
3565 [C99-based-standards] (SCNxLEAST16): Likewise.
3566 [C99-based-standards] (PRIdFAST16): Likewise.
3567 [C99-based-standards] (PRIiFAST16): Likewise.
3568 [C99-based-standards] (PRIoFAST16): Likewise.
3569 [C99-based-standards] (PRIuFAST16): Likewise.
3570 [C99-based-standards] (PRIxFAST16): Likewise.
3571 [C99-based-standards] (PRIXFAST16): Likewise.
3572 [C99-based-standards] (SCNdFAST16): Likewise.
3573 [C99-based-standards] (SCNiFAST16): Likewise.
3574 [C99-based-standards] (SCNoFAST16): Likewise.
3575 [C99-based-standards] (SCNuFAST16): Likewise.
3576 [C99-based-standards] (SCNxFAST16): Likewise.
3577 [C99-based-standards] (PRId32): Likewise.
3578 [C99-based-standards] (PRIi32): Likewise.
3579 [C99-based-standards] (PRIo32): Likewise.
3580 [C99-based-standards] (PRIu32): Likewise.
3581 [C99-based-standards] (PRIx32): Likewise.
3582 [C99-based-standards] (PRIX32): Likewise.
3583 [C99-based-standards] (SCNd32): Likewise.
3584 [C99-based-standards] (SCNi32): Likewise.
3585 [C99-based-standards] (SCNo32): Likewise.
3586 [C99-based-standards] (SCNu32): Likewise.
3587 [C99-based-standards] (SCNx32): Likewise.
3588 [C99-based-standards] (PRIdLEAST32): Likewise.
3589 [C99-based-standards] (PRIiLEAST32): Likewise.
3590 [C99-based-standards] (PRIoLEAST32): Likewise.
3591 [C99-based-standards] (PRIuLEAST32): Likewise.
3592 [C99-based-standards] (PRIxLEAST32): Likewise.
3593 [C99-based-standards] (PRIXLEAST32): Likewise.
3594 [C99-based-standards] (SCNdLEAST32): Likewise.
3595 [C99-based-standards] (SCNiLEAST32): Likewise.
3596 [C99-based-standards] (SCNoLEAST32): Likewise.
3597 [C99-based-standards] (SCNuLEAST32): Likewise.
3598 [C99-based-standards] (SCNxLEAST32): Likewise.
3599 [C99-based-standards] (PRIdFAST32): Likewise.
3600 [C99-based-standards] (PRIiFAST32): Likewise.
3601 [C99-based-standards] (PRIoFAST32): Likewise.
3602 [C99-based-standards] (PRIuFAST32): Likewise.
3603 [C99-based-standards] (PRIxFAST32): Likewise.
3604 [C99-based-standards] (PRIXFAST32): Likewise.
3605 [C99-based-standards] (SCNdFAST32): Likewise.
3606 [C99-based-standards] (SCNiFAST32): Likewise.
3607 [C99-based-standards] (SCNoFAST32): Likewise.
3608 [C99-based-standards] (SCNuFAST32): Likewise.
3609 [C99-based-standards] (SCNxFAST32): Likewise.
3610 [C99-based-standards] (PRId64): Likewise.
3611 [C99-based-standards] (PRIi64): Likewise.
3612 [C99-based-standards] (PRIo64): Likewise.
3613 [C99-based-standards] (PRIu64): Likewise.
3614 [C99-based-standards] (PRIx64): Likewise.
3615 [C99-based-standards] (PRIX64): Likewise.
3616 [C99-based-standards] (SCNd64): Likewise.
3617 [C99-based-standards] (SCNi64): Likewise.
3618 [C99-based-standards] (SCNo64): Likewise.
3619 [C99-based-standards] (SCNu64): Likewise.
3620 [C99-based-standards] (SCNx64): Likewise.
3621 [C99-based-standards] (PRIdLEAST64): Likewise.
3622 [C99-based-standards] (PRIiLEAST64): Likewise.
3623 [C99-based-standards] (PRIoLEAST64): Likewise.
3624 [C99-based-standards] (PRIuLEAST64): Likewise.
3625 [C99-based-standards] (PRIxLEAST64): Likewise.
3626 [C99-based-standards] (PRIXLEAST64): Likewise.
3627 [C99-based-standards] (SCNdLEAST64): Likewise.
3628 [C99-based-standards] (SCNiLEAST64): Likewise.
3629 [C99-based-standards] (SCNoLEAST64): Likewise.
3630 [C99-based-standards] (SCNuLEAST64): Likewise.
3631 [C99-based-standards] (SCNxLEAST64): Likewise.
3632 [C99-based-standards] (PRIdFAST64): Likewise.
3633 [C99-based-standards] (PRIiFAST64): Likewise.
3634 [C99-based-standards] (PRIoFAST64): Likewise.
3635 [C99-based-standards] (PRIuFAST64): Likewise.
3636 [C99-based-standards] (PRIxFAST64): Likewise.
3637 [C99-based-standards] (PRIXFAST64): Likewise.
3638 [C99-based-standards] (SCNdFAST64): Likewise.
3639 [C99-based-standards] (SCNiFAST64): Likewise.
3640 [C99-based-standards] (SCNoFAST64): Likewise.
3641 [C99-based-standards] (SCNuFAST64): Likewise.
3642 [C99-based-standards] (SCNxFAST64): Likewise.
3643 [C99-based-standards] (PRIdMAX): Likewise.
3644 [C99-based-standards] (PRIiMAX): Likewise.
3645 [C99-based-standards] (PRIoMAX): Likewise.
3646 [C99-based-standards] (PRIuMAX): Likewise.
3647 [C99-based-standards] (PRIxMAX): Likewise.
3648 [C99-based-standards] (PRIXMAX): Likewise.
3649 [C99-based-standards] (SCNdMAX): Likewise.
3650 [C99-based-standards] (SCNiMAX): Likewise.
3651 [C99-based-standards] (SCNoMAX): Likewise.
3652 [C99-based-standards] (SCNuMAX): Likewise.
3653 [C99-based-standards] (SCNxMAX): Likewise.
3654 [C99-based-standards] (PRIdPTR): Likewise.
3655 [C99-based-standards] (PRIiPTR): Likewise.
3656 [C99-based-standards] (PRIoPTR): Likewise.
3657 [C99-based-standards] (PRIuPTR): Likewise.
3658 [C99-based-standards] (PRIxPTR): Likewise.
3659 [C99-based-standards] (PRIXPTR): Likewise.
3660 [C99-based-standards] (SCNdPTR): Likewise.
3661 [C99-based-standards] (SCNiPTR): Likewise.
3662 [C99-based-standards] (SCNoPTR): Likewise.
3663 [C99-based-standards] (SCNuPTR): Likewise.
3664 [C99-based-standards] (SCNxPTR): Likewise.
3665 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3666 allow.
3667 * conform/data/stdint.h-data: Update comments to clarify
3668 requirements.
3669 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3670 type.
3671 [C99-based standards] (INT8_MAX): Likewise.
3672 [C99-based standards] (INT16_MIN): Likewise.
3673 [C99-based standards] (INT16_MAX): Likewise.
3674 [C99-based standards] (INT32_MIN): Likewise.
3675 [C99-based standards] (INT32_MAX): Likewise.
3676 [C99-based standards] (INT64_MIN): Likewise.
3677 [C99-based standards] (INT64_MAX): Likewise.
3678 [C99-based standards] (UINT8_MAX): Likewise.
3679 [C99-based standards] (UINT16_MAX): Likewise.
3680 [C99-based standards] (UINT32_MAX): Likewise.
3681 [C99-based standards] (UINT64_MAX): Likewise.
3682 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3683 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3684 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3685 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3686 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3687 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3688 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3689 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3690 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3691 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3692 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3693 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3694 [C99-based standards] (INT_FAST8_MIN): Likewise.
3695 [C99-based standards] (INT_FAST8_MAX): Likewise.
3696 [C99-based standards] (INT_FAST16_MIN): Likewise.
3697 [C99-based standards] (INT_FAST16_MAX): Likewise.
3698 [C99-based standards] (INT_FAST32_MIN): Likewise.
3699 [C99-based standards] (INT_FAST32_MAX): Likewise.
3700 [C99-based standards] (INT_FAST64_MIN): Likewise.
3701 [C99-based standards] (INT_FAST64_MAX): Likewise.
3702 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3703 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3704 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3705 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3706 [C99-based standards] (INTPTR_MIN): Likewise.
3707 [C99-based standards] (INTPTR_MAX): Likewise.
3708 [C99-based standards] (UINTPTR_MAX): Likewise.
3709 [C99-based standards] (INTMAX_MIN): Likewise.
3710 [C99-based standards] (INTMAX_MAX): Likewise.
3711 [C99-based standards] (UINTMAX_MAX): Likewise.
3712 [C99-based standards] (PTRDIFF_MIN): Likewise.
3713 [C99-based standards] (PTRDIFF_MAX): Likewise.
3714 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3715 [C99-based standards] (SIZE_MAX): Likewise.
3716 [C99-based standards] (WCHAR_MAX): Likewise.
3717 [C99-based standards] (WINT_MAX): Likewise.
3718 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3719 constraint on value.
3720 [C99-based standards] (WCHAR_MIN): Likewise.
3721 [C99-based standards] (WINT_MIN): Likewise.
3722 [C99-based standards] (*_t): Allow.
3723 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3724 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3725 Include math.h-data and complex.h-data. Remove all expectations
3726 of math.h and complex.h contents.
3727 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3728 at end of line.
3729 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3730 (struct tm): Expect tag.
3731 [C99-based-standards] (wcstof): Expect function.
3732 [C99-based-standards] (wcstold): Likewise.
3733 [C99-based-standards] (wcstoll): Likewise.
3734 [C99-based-standards] (wcstoull): Likewise.
3735 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3736 macro-int-constant. Specify type.
3737 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3738 constraint on value.
3739 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3740 Specify type.
3741 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3742 Specify value.
3743 [ISO C standards]: Do not allow headers.
3744 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3745 wcs[abcdefghijklmnopqrstuvwxyz]*.
3746 [ISO C standards] (*_t): Do not allow.
3747 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3748 Expect function.
3749 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3750 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3751 Specify type.
3752 [ISO C standards]: Do not allow headers.
3753 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3754 is[abcdefghijklmnopqrstuvwxyz]*.
3755 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3756 to[abcdefghijklmnopqrstuvwxyz]*.
3757 [ISO C standards] (*_t): Do not allow.
3758 * conform/data/stdalign.h-data: New file.
3759 * conform/data/stdbool.h-data: Likewise.
3760 * conform/data/stdnoreturn.h-data: Likewise.
3761
7514feb8
RM
37622012-11-07 Roland McGrath <roland@hack.frob.com>
3763
3764 [BZ #14815]
3765 * manual/filesys.texi (Directory Entries): Typo fix.
3766 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3767
19b2ecfc
MS
37682012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3769
3770 * elf/elf.h (EM_AARCH64): New macro.
3771 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3772 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3773 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3774 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3775 (R_AARCH64_TLSDESC): Likewise.
3776 (NT_ARM_TLS): Likewise.
3777 (NT_ARM_HW_BREAK): Likewise.
3778 (NT_ARM_HW_WATCH): Likewise.
3779
60e235ee
JM
37802012-11-07 Joseph Myers <joseph@codesourcery.com>
3781
3782 [BZ #14811]
3783 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3784 (__ieee754_powl): Saturate nonzero exponents with absolute value
3785 below 0x1p-79 to +/- 0x1p-79.
3786 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3787 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3788 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3789 nonzero exponents with absolute value below 0x1p-32 to +/-
3790 0x1p-32.
3791 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3792 (__ieee754_powl): Saturate nonzero exponents with absolute value
3793 below 0x1p-79 to +/- 0x1p-79.
3794 * math/libm-test.inc (pow_test): Add more tests.
3795
0ab234b7
AK
37962012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3797
3798 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3799 _dl_s390_cap_flags with kernel. Increase string length.
3800 (_dl_s390_platforms): Add z196 and zEC12.
3801
45832f74
JM
38022012-11-07 Joseph Myers <joseph@codesourcery.com>
3803
3804 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3805 Change XOPEN21K to XOPEN2K.
3806
19218757
MK
38072012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3808
3809 * string/memmove.c: Use memcpy when possible.
3810
c5f45721
AJ
38112012-11-06 Andreas Jaeger <aj@suse.de>
3812
3813 * po/eo.po: Update from translation team.
3814
82477c28
JM
38152012-11-06 Joseph Myers <joseph@codesourcery.com>
3816
3817 [BZ #14793]
3818 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3819 exponent and small x and y exponents, scale x or y up. Increase
3820 by 2 the exponent used in scaling up.
3821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3822 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3823 * math/libm-test.inc (fma_test): Add more tests.
3824 (fma_test_towardzero): Likewise.
3825 (fma_test_downward): Likewise.
3826 (fma_test_upward): Likewise.
3827
99252c8c
JM
38282012-11-05 Joseph Myers <joseph@codesourcery.com>
3829
acfa885f
JM
3830 [BZ #14805]
3831 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3832 fenv_t *.
3833
99252c8c
JM
3834 [BZ #14801]
3835 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3836 namespace for names of struct fields.
3837 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3838 fenv_t fields.
3839 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3840 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3841
d6d98dea
ST
38422012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3843
3844 [BZ #3665]
3845 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3846
e10bb107
TS
38472012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3848
3849 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3850 PTR_DEMANGLE.
3851
3852 [BZ #5246]
3853 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3854 PTR_DEMANGLE.
3855
a0c2940d
JM
38562012-11-04 Joseph Myers <joseph@codesourcery.com>
3857
3858 [BZ #14797]
3859 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3860 definitely overflow as x * y not x * y + z.
3861 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3862 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3863 * math/libm-test.inc (fma_test): Add more tests.
3864 (fma_test_towardzero): Likewise.
3865 (fma_test_downward): Likewise.
3866 (fma_test_upward): Likewise.
3867
b830319d
TS
38682012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3869
3870 [BZ #157]
3871
3872 * include/stub-tag.h: Remove file.
3873 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3874 '#include' of it.
3875 * manual/maint.texi (Porting): Don't reference it.
3876 * Makerules ($(objpfx)stubs): Likewise.
3877 * dirent/closedir.c: Don't include <stub-tag.h>.
3878 * dirent/dirfd.c: Likewise.
3879 * dirent/fdopendir.c: Likewise.
3880 * dirent/getdents.c: Likewise.
3881 * dirent/getdents64.c: Likewise.
3882 * dirent/opendir.c: Likewise.
3883 * dirent/readdir.c: Likewise.
3884 * dirent/readdir64.c: Likewise.
3885 * dirent/readdir64_r.c: Likewise.
3886 * dirent/readdir_r.c: Likewise.
3887 * dirent/rewinddir.c: Likewise.
3888 * dirent/seekdir.c: Likewise.
3889 * dirent/telldir.c: Likewise.
3890 * gmon/profil.c: Likewise.
3891 * grp/setgroups.c: Likewise.
3892 * inet/if_index.c: Likewise.
3893 * io/access.c: Likewise.
3894 * io/chdir.c: Likewise.
3895 * io/chmod.c: Likewise.
3896 * io/chown.c: Likewise.
3897 * io/close.c: Likewise.
3898 * io/dup.c: Likewise.
3899 * io/dup2.c: Likewise.
3900 * io/dup3.c: Likewise.
3901 * io/euidaccess.c: Likewise.
3902 * io/faccessat.c: Likewise.
3903 * io/fchdir.c: Likewise.
3904 * io/fchmod.c: Likewise.
3905 * io/fchmodat.c: Likewise.
3906 * io/fchown.c: Likewise.
3907 * io/fchownat.c: Likewise.
3908 * io/fcntl.c: Likewise.
3909 * io/flock.c: Likewise.
3910 * io/fstatfs.c: Likewise.
3911 * io/fstatfs64.c: Likewise.
3912 * io/fstatvfs.c: Likewise.
3913 * io/fstatvfs64.c: Likewise.
3914 * io/futimens.c: Likewise.
3915 * io/fxstat.c: Likewise.
3916 * io/fxstat64.c: Likewise.
3917 * io/fxstatat.c: Likewise.
3918 * io/fxstatat64.c: Likewise.
3919 * io/getcwd.c: Likewise.
3920 * io/isatty.c: Likewise.
3921 * io/lchmod.c: Likewise.
3922 * io/lchown.c: Likewise.
3923 * io/link.c: Likewise.
3924 * io/linkat.c: Likewise.
3925 * io/lseek.c: Likewise.
3926 * io/lseek64.c: Likewise.
3927 * io/lxstat64.c: Likewise.
3928 * io/mkdir.c: Likewise.
3929 * io/mkdirat.c: Likewise.
3930 * io/mkfifo.c: Likewise.
3931 * io/mkfifoat.c: Likewise.
3932 * io/open.c: Likewise.
3933 * io/open64.c: Likewise.
3934 * io/openat.c: Likewise.
3935 * io/openat64.c: Likewise.
3936 * io/pipe.c: Likewise.
3937 * io/pipe2.c: Likewise.
3938 * io/poll.c: Likewise.
3939 * io/posix_fadvise.c: Likewise.
3940 * io/posix_fadvise64.c: Likewise.
3941 * io/posix_fallocate.c: Likewise.
3942 * io/posix_fallocate64.c: Likewise.
3943 * io/read.c: Likewise.
3944 * io/readlink.c: Likewise.
3945 * io/readlinkat.c: Likewise.
3946 * io/rmdir.c: Likewise.
3947 * io/sendfile.c: Likewise.
3948 * io/sendfile64.c: Likewise.
3949 * io/statfs.c: Likewise.
3950 * io/statfs64.c: Likewise.
3951 * io/statvfs.c: Likewise.
3952 * io/statvfs64.c: Likewise.
3953 * io/symlink.c: Likewise.
3954 * io/symlinkat.c: Likewise.
3955 * io/ttyname.c: Likewise.
3956 * io/ttyname_r.c: Likewise.
3957 * io/umask.c: Likewise.
3958 * io/unlink.c: Likewise.
3959 * io/unlinkat.c: Likewise.
3960 * io/utime.c: Likewise.
3961 * io/utimensat.c: Likewise.
3962 * io/write.c: Likewise.
3963 * io/xmknod.c: Likewise.
3964 * io/xmknodat.c: Likewise.
3965 * io/xstat.c: Likewise.
3966 * io/xstat64.c: Likewise.
3967 * login/getpt.c: Likewise.
3968 * login/grantpt.c: Likewise.
3969 * login/unlockpt.c: Likewise.
3970 * math/e_acoshl.c: Likewise.
3971 * math/e_acosl.c: Likewise.
3972 * math/e_asinl.c: Likewise.
3973 * math/e_atan2l.c: Likewise.
3974 * math/e_atanhl.c: Likewise.
3975 * math/e_coshl.c: Likewise.
3976 * math/e_expl.c: Likewise.
3977 * math/e_fmodl.c: Likewise.
3978 * math/e_gammal_r.c: Likewise.
3979 * math/e_hypotl.c: Likewise.
3980 * math/e_j0l.c: Likewise.
3981 * math/e_j1l.c: Likewise.
3982 * math/e_jnl.c: Likewise.
3983 * math/e_lgammal_r.c: Likewise.
3984 * math/e_log10l.c: Likewise.
3985 * math/e_log2l.c: Likewise.
3986 * math/e_logl.c: Likewise.
3987 * math/e_powl.c: Likewise.
3988 * math/e_rem_pio2l.c: Likewise.
3989 * math/e_sinhl.c: Likewise.
3990 * math/e_sqrtl.c: Likewise.
3991 * math/fclrexcpt.c: Likewise.
3992 * math/fedisblxcpt.c: Likewise.
3993 * math/feenablxcpt.c: Likewise.
3994 * math/fegetenv.c: Likewise.
3995 * math/fegetexcept.c: Likewise.
3996 * math/fegetround.c: Likewise.
3997 * math/feholdexcpt.c: Likewise.
3998 * math/fesetenv.c: Likewise.
3999 * math/fesetround.c: Likewise.
4000 * math/feupdateenv.c: Likewise.
4001 * math/fgetexcptflg.c: Likewise.
4002 * math/fraiseexcpt.c: Likewise.
4003 * math/fsetexcptflg.c: Likewise.
4004 * math/ftestexcept.c: Likewise.
4005 * math/k_cosl.c: Likewise.
4006 * math/k_rem_pio2l.c: Likewise.
4007 * math/k_sinl.c: Likewise.
4008 * math/k_tanl.c: Likewise.
4009 * math/s_asinhl.c: Likewise.
4010 * math/s_atanl.c: Likewise.
4011 * math/s_cbrtl.c: Likewise.
4012 * math/s_erfl.c: Likewise.
4013 * math/s_expm1l.c: Likewise.
4014 * math/s_log1pl.c: Likewise.
4015 * math/s_tanhl.c: Likewise.
4016 * misc/acct.c: Likewise.
4017 * misc/brk.c: Likewise.
4018 * misc/chflags.c: Likewise.
4019 * misc/chroot.c: Likewise.
4020 * misc/fchflags.c: Likewise.
4021 * misc/fgetxattr.c: Likewise.
4022 * misc/flistxattr.c: Likewise.
4023 * misc/fremovexattr.c: Likewise.
4024 * misc/fsetxattr.c: Likewise.
4025 * misc/fsync.c: Likewise.
4026 * misc/ftruncate.c: Likewise.
4027 * misc/futimes.c: Likewise.
4028 * misc/futimesat.c: Likewise.
4029 * misc/getdomain.c: Likewise.
4030 * misc/getdtsz.c: Likewise.
4031 * misc/gethostid.c: Likewise.
4032 * misc/gethostname.c: Likewise.
4033 * misc/getloadavg.c: Likewise.
4034 * misc/getpagesize.c: Likewise.
4035 * misc/getsysstats.c: Likewise.
4036 * misc/getxattr.c: Likewise.
4037 * misc/gtty.c: Likewise.
4038 * misc/ioctl.c: Likewise.
4039 * misc/lgetxattr.c: Likewise.
4040 * misc/listxattr.c: Likewise.
4041 * misc/llistxattr.c: Likewise.
4042 * misc/lremovexattr.c: Likewise.
4043 * misc/lsetxattr.c: Likewise.
4044 * misc/lutimes.c: Likewise.
4045 * misc/madvise.c: Likewise.
4046 * misc/mincore.c: Likewise.
4047 * misc/mlock.c: Likewise.
4048 * misc/mlockall.c: Likewise.
4049 * misc/mmap.c: Likewise.
4050 * misc/mprotect.c: Likewise.
4051 * misc/msync.c: Likewise.
4052 * misc/munlock.c: Likewise.
4053 * misc/munlockall.c: Likewise.
4054 * misc/munmap.c: Likewise.
4055 * misc/preadv.c: Likewise.
4056 * misc/preadv64.c: Likewise.
4057 * misc/ptrace.c: Likewise.
4058 * misc/pwritev.c: Likewise.
4059 * misc/pwritev64.c: Likewise.
4060 * misc/readv.c: Likewise.
4061 * misc/reboot.c: Likewise.
4062 * misc/remap_file_pages.c: Likewise.
4063 * misc/removexattr.c: Likewise.
4064 * misc/revoke.c: Likewise.
4065 * misc/select.c: Likewise.
4066 * misc/setdomain.c: Likewise.
4067 * misc/setegid.c: Likewise.
4068 * misc/seteuid.c: Likewise.
4069 * misc/sethostid.c: Likewise.
4070 * misc/sethostname.c: Likewise.
4071 * misc/setregid.c: Likewise.
4072 * misc/setreuid.c: Likewise.
4073 * misc/setxattr.c: Likewise.
4074 * misc/sstk.c: Likewise.
4075 * misc/stty.c: Likewise.
4076 * misc/swapoff.c: Likewise.
4077 * misc/swapon.c: Likewise.
4078 * misc/sync.c: Likewise.
4079 * misc/syncfs.c: Likewise.
4080 * misc/syscall.c: Likewise.
4081 * misc/truncate.c: Likewise.
4082 * misc/ualarm.c: Likewise.
4083 * misc/usleep.c: Likewise.
4084 * misc/ustat.c: Likewise.
4085 * misc/utimes.c: Likewise.
4086 * misc/vhangup.c: Likewise.
4087 * misc/writev.c: Likewise.
4088 * posix/_exit.c: Likewise.
4089 * posix/alarm.c: Likewise.
4090 * posix/execve.c: Likewise.
4091 * posix/fexecve.c: Likewise.
4092 * posix/fork.c: Likewise.
4093 * posix/fpathconf.c: Likewise.
4094 * posix/getaddrinfo.c: Likewise.
4095 * posix/getegid.c: Likewise.
4096 * posix/geteuid.c: Likewise.
4097 * posix/getgid.c: Likewise.
4098 * posix/getgroups.c: Likewise.
4099 * posix/getlogin.c: Likewise.
4100 * posix/getlogin_r.c: Likewise.
4101 * posix/getpgid.c: Likewise.
4102 * posix/getpid.c: Likewise.
4103 * posix/getppid.c: Likewise.
4104 * posix/getresgid.c: Likewise.
4105 * posix/getresuid.c: Likewise.
4106 * posix/getsid.c: Likewise.
4107 * posix/getuid.c: Likewise.
4108 * posix/glob64.c: Likewise.
4109 * posix/nanosleep.c: Likewise.
4110 * posix/pathconf.c: Likewise.
4111 * posix/pause.c: Likewise.
4112 * posix/posix_madvise.c: Likewise.
4113 * posix/pread.c: Likewise.
4114 * posix/pread64.c: Likewise.
4115 * posix/pwrite.c: Likewise.
4116 * posix/pwrite64.c: Likewise.
4117 * posix/sched_getaffinity.c: Likewise.
4118 * posix/sched_getp.c: Likewise.
4119 * posix/sched_gets.c: Likewise.
4120 * posix/sched_primax.c: Likewise.
4121 * posix/sched_primin.c: Likewise.
4122 * posix/sched_rr_gi.c: Likewise.
4123 * posix/sched_setaffinity.c: Likewise.
4124 * posix/sched_setp.c: Likewise.
4125 * posix/sched_sets.c: Likewise.
4126 * posix/sched_yield.c: Likewise.
4127 * posix/setgid.c: Likewise.
4128 * posix/setlogin.c: Likewise.
4129 * posix/setpgid.c: Likewise.
4130 * posix/setresgid.c: Likewise.
4131 * posix/setresuid.c: Likewise.
4132 * posix/setsid.c: Likewise.
4133 * posix/setuid.c: Likewise.
4134 * posix/sleep.c: Likewise.
4135 * posix/spawni.c: Likewise.
4136 * posix/sysconf.c: Likewise.
4137 * posix/times.c: Likewise.
4138 * posix/wait.c: Likewise.
4139 * posix/wait3.c: Likewise.
4140 * posix/wait4.c: Likewise.
4141 * posix/waitpid.c: Likewise.
4142 * resolv/gai_sigqueue.c: Likewise.
4143 * resource/getpriority.c: Likewise.
4144 * resource/getrlimit.c: Likewise.
4145 * resource/getrusage.c: Likewise.
4146 * resource/nice.c: Likewise.
4147 * resource/setpriority.c: Likewise.
4148 * resource/setrlimit.c: Likewise.
4149 * resource/ulimit.c: Likewise.
4150 * rt/aio_cancel.c: Likewise.
4151 * rt/aio_fsync.c: Likewise.
4152 * rt/aio_read.c: Likewise.
4153 * rt/aio_sigqueue.c: Likewise.
4154 * rt/aio_suspend.c: Likewise.
4155 * rt/aio_write.c: Likewise.
4156 * rt/clock_getres.c: Likewise.
4157 * rt/clock_gettime.c: Likewise.
4158 * rt/clock_nanosleep.c: Likewise.
4159 * rt/clock_settime.c: Likewise.
4160 * rt/lio_listio.c: Likewise.
4161 * rt/mq_close.c: Likewise.
4162 * rt/mq_getattr.c: Likewise.
4163 * rt/mq_notify.c: Likewise.
4164 * rt/mq_open.c: Likewise.
4165 * rt/mq_receive.c: Likewise.
4166 * rt/mq_send.c: Likewise.
4167 * rt/mq_setattr.c: Likewise.
4168 * rt/mq_timedreceive.c: Likewise.
4169 * rt/mq_timedsend.c: Likewise.
4170 * rt/mq_unlink.c: Likewise.
4171 * rt/shm_open.c: Likewise.
4172 * rt/shm_unlink.c: Likewise.
4173 * rt/timer_create.c: Likewise.
4174 * rt/timer_delete.c: Likewise.
4175 * rt/timer_getoverr.c: Likewise.
4176 * rt/timer_gettime.c: Likewise.
4177 * rt/timer_settime.c: Likewise.
4178 * setjmp/__longjmp.c: Likewise.
4179 * setjmp/setjmp.c: Likewise.
4180 * signal/kill.c: Likewise.
4181 * signal/killpg.c: Likewise.
4182 * signal/raise.c: Likewise.
4183 * signal/sigaction.c: Likewise.
4184 * signal/sigaltstack.c: Likewise.
4185 * signal/sigblock.c: Likewise.
4186 * signal/sigignore.c: Likewise.
4187 * signal/sigintr.c: Likewise.
4188 * signal/signal.c: Likewise.
4189 * signal/sigpause.c: Likewise.
4190 * signal/sigpending.c: Likewise.
4191 * signal/sigqueue.c: Likewise.
4192 * signal/sigreturn.c: Likewise.
4193 * signal/sigset.c: Likewise.
4194 * signal/sigsetmask.c: Likewise.
4195 * signal/sigstack.c: Likewise.
4196 * signal/sigsuspend.c: Likewise.
4197 * signal/sigtimedwait.c: Likewise.
4198 * signal/sigvec.c: Likewise.
4199 * signal/sigwait.c: Likewise.
4200 * signal/sigwaitinfo.c: Likewise.
4201 * signal/sysv_signal.c: Likewise.
4202 * socket/accept.c: Likewise.
4203 * socket/accept4.c: Likewise.
4204 * socket/bind.c: Likewise.
4205 * socket/connect.c: Likewise.
4206 * socket/getpeername.c: Likewise.
4207 * socket/getsockname.c: Likewise.
4208 * socket/getsockopt.c: Likewise.
4209 * socket/isfdtype.c: Likewise.
4210 * socket/listen.c: Likewise.
4211 * socket/recv.c: Likewise.
4212 * socket/recvfrom.c: Likewise.
4213 * socket/recvmsg.c: Likewise.
4214 * socket/send.c: Likewise.
4215 * socket/sendmsg.c: Likewise.
4216 * socket/sendto.c: Likewise.
4217 * socket/setsockopt.c: Likewise.
4218 * socket/shutdown.c: Likewise.
4219 * socket/sockatmark.c: Likewise.
4220 * socket/socket.c: Likewise.
4221 * socket/socketpair.c: Likewise.
4222 * stdio-common/ctermid.c: Likewise.
4223 * stdio-common/cuserid.c: Likewise.
4224 * stdio-common/remove.c: Likewise.
4225 * stdio-common/rename.c: Likewise.
4226 * stdio-common/renameat.c: Likewise.
4227 * stdio-common/tempname.c: Likewise.
4228 * stdlib/getcontext.c: Likewise.
4229 * stdlib/makecontext.c: Likewise.
4230 * stdlib/setcontext.c: Likewise.
4231 * stdlib/swapcontext.c: Likewise.
4232 * stdlib/system.c: Likewise.
4233 * streams/fattach.c: Likewise.
4234 * streams/fdetach.c: Likewise.
4235 * streams/getmsg.c: Likewise.
4236 * streams/getpmsg.c: Likewise.
4237 * streams/putmsg.c: Likewise.
4238 * streams/putpmsg.c: Likewise.
4239 * sysdeps/unix/bsd/getpt.c: Likewise.
4240 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4241 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4242 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4244 Likewise.
4245 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4246 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4247 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4248 * sysvipc/msgctl.c: Likewise.
4249 * sysvipc/msgget.c: Likewise.
4250 * sysvipc/msgrcv.c: Likewise.
4251 * sysvipc/msgsnd.c: Likewise.
4252 * sysvipc/semctl.c: Likewise.
4253 * sysvipc/semget.c: Likewise.
4254 * sysvipc/semop.c: Likewise.
4255 * sysvipc/semtimedop.c: Likewise.
4256 * sysvipc/shmat.c: Likewise.
4257 * sysvipc/shmctl.c: Likewise.
4258 * sysvipc/shmdt.c: Likewise.
4259 * sysvipc/shmget.c: Likewise.
4260 * termios/tcdrain.c: Likewise.
4261 * termios/tcflow.c: Likewise.
4262 * termios/tcflush.c: Likewise.
4263 * termios/tcgetattr.c: Likewise.
4264 * termios/tcgetpgrp.c: Likewise.
4265 * termios/tcsendbrk.c: Likewise.
4266 * termios/tcsetattr.c: Likewise.
4267 * termios/tcsetpgrp.c: Likewise.
4268 * time/adjtime.c: Likewise.
4269 * time/clock.c: Likewise.
4270 * time/getitimer.c: Likewise.
4271 * time/gettimeofday.c: Likewise.
4272 * time/setitimer.c: Likewise.
4273 * time/settimeofday.c: Likewise.
4274 * time/stime.c: Likewise.
4275 * time/time.c: Likewise.
4276
42772012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 4278
a20492cf
PT
4279 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4280 /usr/old/bin.
4281
72e182e3
PT
4282 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4283 instead of spaces.
4284 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4285
fbeafede
JM
42862012-11-03 Joseph Myers <joseph@codesourcery.com>
4287
5b5b04d6
JM
4288 [BZ #14796]
4289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
4290 FE_TONEAREST before applying Dekker multiplication and Knuth
4291 addition. Clear inexact exceptions and check for exact zero
4292 results afterwards.
4293 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4294 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4295 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4296 * math/libm-test.inc (fma_test): Add more tests.
4297 (fma_test_towardzero): Likewise.
4298 (fma_test_downward): Likewise.
4299 (fma_test_upward): Likewise.
4300 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4301 function.
4302 (libc_fesetround): New macro.
4303 (libc_fesetroundf): Likewise.
4304 (libc_fesetroundl): Likewise.
4305 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
4306 function.
4307 (libc_fesetround_387): Likewise.
4308 (libc_fesetroundf): New macro.
4309 (libc_fesetround): Likewise.
4310 (libc_fesetroundl): Likewise.
4311 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
4312 function.
4313 (libc_fesetroundf): New macro.
4314 (libc_fesetround): Likewise.
4315 (libc_fesetroundl): Likewise.
4316 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
4317 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4318 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4319 libm_hidden_ver.
4320 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4321 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4322 libm_hidden_def.
4323 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4324 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4325 libm_hidden_ver.
4326 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4327 libm_hidden_def.
4328
fbeafede
JM
4329 [BZ #3439]
4330 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4331 integer constant usable in #if and use that to give value to enum
4332 constant.
4333 (FE_DIVBYZERO): Likewise.
4334 (FE_UNDERFLOW): Likewise.
4335 (FE_OVERFLOW): Likewise.
4336 (FE_INVALID): Likewise.
4337 (FE_INVALID_SNAN): Likewise.
4338 (FE_INVALID_ISI): Likewise.
4339 (FE_INVALID_IDI): Likewise.
4340 (FE_INVALID_ZDZ): Likewise.
4341 (FE_INVALID_IMZ): Likewise.
4342 (FE_INVALID_COMPARE): Likewise.
4343 (FE_INVALID_SOFTWARE): Likewise.
4344 (FE_INVALID_SQRT): Likewise.
4345 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4346 (FE_TONEAREST): Likewise.
4347 (FE_TOWARDZERO): Likewise.
4348 (FE_UPWARD): Likewise.
4349 (FE_DOWNWARD): Likewise.
4350 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4351 (FE_DIVBYZERO): Likewise.
4352 (FE_OVERFLOW): Likewise.
4353 (FE_UNDERFLOW): Likewise.
4354 (FE_INEXACT): Likewise.
4355 (FE_TONEAREST): Likewise.
4356 (FE_DOWNWARD): Likewise.
4357 (FE_UPWARD): Likewise.
4358 (FE_TOWARDZERO): Likewise.
4359 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4360 (FE_UNDERFLOW): Likewise.
4361 (FE_OVERFLOW): Likewise.
4362 (FE_DIVBYZERO): Likewise.
4363 (FE_INVALID): Likewise.
4364 (FE_TONEAREST): Likewise.
4365 (FE_TOWARDZERO): Likewise.
4366 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4367 (FE_OVERFLOW): Likewise.
4368 (FE_UNDERFLOW): Likewise.
4369 (FE_DIVBYZERO): Likewise.
4370 (FE_INEXACT): Likewise.
4371 (FE_TONEAREST): Likewise.
4372 (FE_TOWARDZERO): Likewise.
4373 (FE_UPWARD): Likewise.
4374 (FE_DOWNWARD): Likewise.
4375 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4376 (FE_DIVBYZERO): Likewise.
4377 (FE_OVERFLOW): Likewise.
4378 (FE_UNDERFLOW): Likewise.
4379 (FE_INEXACT): Likewise.
4380 (FE_TONEAREST): Likewise.
4381 (FE_DOWNWARD): Likewise.
4382 (FE_UPWARD): Likewise.
4383 (FE_TOWARDZERO): Likewise.
4384
105ca950
CM
43852012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4386
4387 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4388
a542b389
AS
43892012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4390
4391 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4392 commands. Quote $PWD.
4393 (blacklist_exports): Don't use remove_newlines. Replace "declare
4394 -x" by "export".
4395 (remove_newlines): Remove.
4396
f62c8abc
L
43972012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4398
4399 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4400 * stdlib/stdlib.h (atof): Moved to ...
4401 * include/bits/stdlib-float.h: Here. New file.
4402 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4403 * stdlib/bits/stdlib-float.h: New file.
4404 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4405 -mno-sse -mno-mmx.
4406 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4407 <xmmintrin.h>.
4408
0155d5b2
JM
44092012-11-02 Joseph Myers <joseph@codesourcery.com>
4410
a68d0680
JM
4411 * conform/conformtest.pl (@headers): Add fenv.h.
4412 * conform/data/fenv.h-data: New file.
4413 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4414 include of <math/fenv.h>.
4415
caf7f573
JM
4416 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4417 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4418 && !UNIX98]. Enables tests for XOPEN2K8.
4419 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4420 POSIX2008]: Likewise.
4421
6c073ad6
JM
4422 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4423 (struct rusage): Do not expect type or its members.
4424
0155d5b2
JM
4425 [BZ #3439]
4426 * math/math.h (FP_NAN): Define macro to integer constant usable in
4427 #if and use that to give value to enum constant.
4428 (FP_INFINITE): Likewise.
4429 (FP_ZERO): Likewise.
4430 (FP_SUBNORMAL): Likewise.
4431 (FP_NORMAL): Likewise.
4432
b5dcacb4
AS
44332012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4434
4435 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4436 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4437 arguments.
4438
f7934be8
RM
44392012-11-02 Roland McGrath <roland@hack.frob.com>
4440
4441 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4442 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4443 autoconf-time if not.
4444 * configure.in: Remove AC_PREREQ.
4445
d7d08bde
TMQMF
44462012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4447
4448 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4449 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4450 of the internal implementation.
4451
dcdae19a
JM
44522012-11-02 Joseph Myers <joseph@codesourcery.com>
4453
4454 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4455 except include of <misc/sys/syslog.h>.
4456
d6cffd3e
AS
44572012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4458
4459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4460 function returns with a NULL context exit with zero.
4461
b3563932
TMQMF
44622012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4463
4464 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4465
b288a93d
L
44662012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4467
4468 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4469 (run_program_cmd): This.
4470 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4471 (tst_langinfo): New variable. Use it.
4472
a2421a68
SAS
44732012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4474
4475 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4476 floating point opcodes.
4477
6f796e1b
TS
44782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4479
7402596b
TS
4480 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4481 variable.
4482
d0d4f868
TS
4483 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4484
6f796e1b
TS
4485 * sysdeps/mach/hurd/powerpc: Remove directory.
4486 * sysdeps/mach/powerpc: Likewise.
4487
4da224a2
AS
44882012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4489
4490 * scripts/check-local-headers.sh: Ignore c++ headers.
4491
341dd673
TS
44922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4493
4494 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4495 __libc_cleanup_region_start argument.
4496
473611b2
JM
44972012-11-01 Joseph Myers <joseph@codesourcery.com>
4498
4499 [BZ #14784]
4500 [BZ #14785]
4501 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4502 x * y using scaling, not as x * y + z.
4503 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4504 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4505 * math/libm-test.inc (fma_test): Add more tests.
4506 (fma_test_towardzero): Likewise.
4507 (fma_test_downward): Likewise.
4508 (fma_test_upward): Likewise.
4509
4078da3d
TS
45102012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4511
4512 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4513
903252aa
JM
45142012-10-31 Joseph Myers <joseph@codesourcery.com>
4515
4516 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4517 New variable.
4518
cbc818d0
TS
45192012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4520
4521 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4522
5a03cb1e
AS
45232012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4524
4525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4526 Fix sort order.
4527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4528 Likewise.
4529
90aff2ff
TMQMF
45302012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4531
4532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4533 Fix the order of the list for glibc 2.17.
4534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4535 Likewise.
4536
1818fcb7
AS
45372012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4538
4539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4540
ef82f4da
JM
45412012-10-31 Joseph Myers <joseph@codesourcery.com>
4542
16a0e2ec
JM
4543 [BZ #14610]
4544 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4545 for low part of x being zero before using __atanl (y).
4546 * math/libm-test.inc (atan2_test): Add another test.
4547
0eb69512
JM
4548 * manual/install.texi (Configuring and compiling): Document
4549 general use of test-wrapper and test-wrapper-env.
4550 * INSTALL: Regenerated.
4551
ef82f4da
JM
4552 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4553 (__fma): Do not extract and scale down low bits on after-rounding
4554 systems when result rounded to normal precision would have normal
4555 exponent.
4556 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4557 (__fmal): Do not extract and scale down low bits on after-rounding
4558 systems when result rounded to normal precision would have normal
4559 exponent.
4560 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4561 (__fmal): Do not extract and scale down low bits on after-rounding
4562 systems when result rounded to normal precision would have normal
4563 exponent.
4564 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4565 macro.
4566 (fma_test): Add more tests.
4567 (fma_test_towardzero): Likewise.
4568 (fma_test_downward): Likewise.
4569 (fma_test_upward): Likewise.
4570
954ef0d9
L
45712012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4572
4573 * sysdeps/i386/tininess.h: Renamed to ...
4574 * sysdeps/x86/tininess.h: This.
4575 * sysdeps/x86_64/tininess.h: Removed.
4576
df61ffb2
JM
45772012-10-30 Joseph Myers <joseph@codesourcery.com>
4578
4579 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4580 input. Use $(build-program-cmd).
4581 ($(objpfx)tst-array1-static.out): Likewise.
4582 ($(objpfx)tst-array2.out): Likewise.
4583 ($(objpfx)tst-array3.out): Likewise.
4584 ($(objpfx)tst-array4.out): Likewise.
4585 ($(objpfx)tst-array5.out): Likewise.
4586 ($(objpfx)tst-array5-static.out): Likewise.
4587
01767843
CM
45882012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4589
47cc1490
CM
4590 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4591 if defined.
4592
01767843
CM
4593 * nss/nsswitch.h (nss_interface_function): Provide new
4594 macro for use with NSS functions.
4595 * grp/initgroups.c: Use new macro.
4596 * nss/getXXbyYY.c: Likewise.
4597 * nss/getXXbyYY_r.c: Likewise.
4598 * nss/getXXent.c: Likewise.
4599 * nss/getXXent_r.c: Likewise.
4600 * sysdeps/posix/getaddrinfo.c: Likewise.
4601
8321aa97
AJ
46022012-10-30 Andreas Jaeger <aj@suse.de>
4603
4604 * po/ru.po: Update Russion translation from translation project.
4605
2a27fd6d
JM
46062012-10-30 Joseph Myers <joseph@codesourcery.com>
4607
8627a232
JM
4608 [BZ #14152]
4609 [BZ #14783]
4610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4611 result and shift together with sticky bit instead of replicating
4612 round-to-nearest rounding.
4613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4614 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4615 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4616 missing underflow exceptions.
4617 (fma_test_towardzero): Add more tests.
4618 (fma_test_downward): Likewise.
4619 (fma_test_upward): Likewise.
4620
2a27fd6d
JM
4621 [BZ #14047]
4622 * sysdeps/generic/tininess.h: New file.
4623 * sysdeps/i386/tininess.h: Likewise.
4624 * sysdeps/sh/tininess.h: Likewise.
4625 * sysdeps/x86_64/tininess.h: Likewise.
4626 * stdlib/tst-strtod-underflow.c: Likewise.
4627 * stdlib/tst-tininess.c: Likewise.
4628 * stdlib/strtod_l.c: Include <tininess.h>.
4629 (round_and_return): Do not set errno for exact underflow cases.
4630 Force an underflow exception when setting errno for underflow.
4631 Determine underflow based on rounding to normal precision if
4632 TININESS_AFTER_ROUNDING.
4633 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4634 ERANGE for exact underflow cases.
4635 * stdlib/Makefile (tests): Add tst-tininess and
4636 tst-strtod-underflow.
4637 ($(objpfx)tst-tininess): Use $(link-libm).
4638 ($(objpfx)tst-strtod-underflow): Likewise.
4639
e7170363
AJ
46402012-10-30 Andreas Jaeger <aj@suse.de>
4641
e5088dc6
AJ
4642 [BZ#14767]
4643 * elf/Makefile (tests): Remove conditional for have-initfini-array
4644 since this is now always required and the variable does not exist
4645 anymore.
4646 (tests-static): Likewise.
4647 (modules-names): Likewise.
4648
e7170363 4649 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
4650
4651 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4652 merged with constructor/destructor.
4653 (init_array): Likewise.
4654 * elf/tst-array2dep.c (fini_array): Likewise.
4655 (init_array): Likewise.
4656
60457d8a
MF
46572012-10-29 Mike Frysinger <vapier@gentoo.org>
4658
4659 * manual/message.texi: Delete @cartouche tags.
4660
8bece752
PT
46612012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4662
94ce799f
PT
4663 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4664 EOPNOTSUPP.
4665 * sysdeps/mach/hurd/fsync.c: Likewise.
4666
8bece752
PT
4667 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4668 [_POSIX_REALTIME_SIGNALS]: Change condition to
4669 [_POSIX_REALTIME_SIGNALS > 0].
4670
86ebe6b1
AJ
46712012-10-27 Andreas Jaeger <aj@suse.de>
4672
4673 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4674 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4675 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4676 [__WORDSIZE != 64]: Likewise.
4677
54399c08
L
46782012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4679
4680 * iconvdata/tst-table.sh: Remove ${SHELL}.
4681 * iconvdata/tst-tables.sh: Likewise.
4682
e2211bed
DM
46832012-10-25 David S. Miller <davem@davemloft.net>
4684
4685 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4686 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4687 of strtoull.
4688
f303f97c
DM
4689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4690 ifunc-impl-list.c
4691 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4692 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4693 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4694 file.
4695
1e9d84cd
RM
46962012-10-25 Roland McGrath <roland@hack.frob.com>
4697
4698 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4699 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4700 __getdirentries.
4701
df381762
JM
47022012-10-25 Joseph Myers <joseph@codesourcery.com>
4703 Jim Blandy <jimb@codesourcery.com>
4704
4705 * scripts/cross-test-ssh.sh: New file.
4706 * manual/install.texi (Configuring and compiling): Document use of
4707 cross-test-ssh.sh.
4708 * INSTALL: Regenerated.
4709
bff64913
PT
47102012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4711
4712 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4713 EOPNOTSUPP.
4714
25fe8932
JM
47152012-10-25 Joseph Myers <joseph@codesourcery.com>
4716
4717 * Makeconfig (run-program-prefix): Fix comment.
4718
cc1290d0
JM
47192012-10-24 Joseph Myers <joseph@codesourcery.com>
4720 Jim Blandy <jimb@codesourcery.com>
4721
4722 * Makeconfig (test-wrapper): New variable,
4723 (test-wrapper-env): Likewise.
4724 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4725 (run-built-tests): Define to yes.
4726 (run-program-prefix): Use $(test-wrapper).
4727 (built-program-cmd): Likewise.
4728 * Rules (make-test-out): Use $(test-wrapper-env) and
4729 $(host-built-program-cmd).
4730 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4731 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4732 tst-pathopt.sh.
4733 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4734 $(test-wrapper-env) to tst-rtld-load-self.sh.
4735 ($(objpfx)order2.out): Use $(test-wrapper).
4736 ($(objpfx)tst-initorder.out): Likewise.
4737 ($(objpfx)tst-initorder2.out): Likewise.
4738 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4739 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4740 (test_wrapper_env): New variable. Use it to run ld.so.
4741 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4742 Use it to run ld.so.
4743 (test_wrapper_env): Likewise.
4744 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4745 $(test-wrapper) to run-iconv-test.sh.
4746 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4747 (ICONV): Use $test_wrapper.
4748 * posix/Makefile ($(objpfx)globtest.out): Pass
4749 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4750 globtest.sh, not $(run-program-prefix).
4751 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4752 (test_wrapper): Likewise.
4753 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4754 set together with run_via_rtld_prefix.
4755 (run_program_prefix): Define in terms of test_wrapper and
4756 run_via_rtld_prefix.
4757
6e6249d0
RM
47582012-10-24 Roland McGrath <roland@hack.frob.com>
4759
4760 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4761 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4762 Targets removed.
4763
4764 [BZ #14743]
4765 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4766 Declare __clock_getres, __clock_gettime, __clock_settime,
4767 __clock_nanosleep, and __clock_getcpuclockid.
4768 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4769 Remove librt_hidden_def (clock_gettime).
4770 * sysdeps/unix/clock_gettime.c: Likewise.
4771 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4772 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4773 * rt/clock_getres.c: Define __clock_getres as an alias.
4774 * sysdeps/posix/clock_getres.c: Likewise.
4775 * rt/clock_settime.c: Define __clock_settime as an alias.
4776 * sysdeps/unix/clock_settime.c: Likewise.
4777 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4778 * sysdeps/unix/clock_nanosleep.c: Likewise.
4779 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4780 * rt/clock-compat.c: New file.
4781 * rt/Makefile (librt-routines): Add clock-compat and move
4782 $(clock-routines) to ...
4783 (routines): ... here, new variable.
4784 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4785 Don't add get_clockfreq here.
4786 * rt/Versions (libc: GLIBC_2.17): New version set.
4787 Add clock_* symbols here.
4788 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4789 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4790 (GLIBC_2.17): Add clock_* symbols.
4791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4793 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4795 Likewise.
4796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4797 Likewise.
4798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4802 * NEWS: Mention the move.
4803
4804 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4805 Use __open, __read, __close rather than their public counterparts.
4806 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4807 (__get_clockfreq_via_cpuinfo): Likewise.
4808 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4809 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4810
4811 * config.h.in (HAVE_IFUNC): New #undef.
4812 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4813 was successful.
4814 * configure: Regenerated.
4815
0cae3f4b
MF
48162012-10-24 Mike Frysinger <vapier@gentoo.org>
4817
4818 * configure.in: Move READELF check to start of file.
4819 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4820 libc_cv_asm_gnu_indirect_function in the process.
4821 * configure: Regenerated.
4822
8175a253
MF
48232012-10-24 Mike Frysinger <vapier@gentoo.org>
4824
4825 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4826 send the output to /dev/null.
4827 (libc_cv_cc_with_libunwind): Likewise.
4828 (libc_cv_as_noexecstack): Likewise.
4829 * configure: Regenerate.
4830
0708a7d1
JM
48312012-10-24 Joseph Myers <joseph@codesourcery.com>
4832
10b40d85
JM
4833 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4834
0708a7d1
JM
4835 * posix/globtest.sh (TMPDIR): Do not set.
4836 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4837 (testout): Likewise.
4838
9fddec1a
AJ
48392012-10-24 Andreas Jaeger <aj@suse.de>
4840
3a8db22f
AJ
4841 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4842 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4843 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4844 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4845 posix_fadvise64, posix_fallocate64.
4846
9fddec1a
AJ
4847 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4848 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4849 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4850 Likewise.
4851 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4852 Likewise.
4853 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4854
4855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4856 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4857 <bits/fcntl-linux.h>.
4858 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4859
4860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4861 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4862 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4863 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4864 [__WORDSIZE != 64]: Likewise.
4865
ebfd1bbd
JM
48662012-10-23 Joseph Myers <joseph@codesourcery.com>
4867
03ac099f
JM
4868 * Makeconfig (run-built-tests): New variable.
4869 * Rules [$(cross-compiling) = yes]: Change condition to
4870 [$(run-built-tests) = no].
4871 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4872 to [$(run-built-tests) = yes].
4873 * elf/Makefile [$(cross-compiling) = no]: Likewise
4874 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4875 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4876 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4877 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4878 * io/Makefile [$(cross-compiling) = no]: Likewise.
4879 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4880 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4881 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4882 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4883 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4884 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4885 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4886 * string/Makefile [$(cross-compiling) = no]: Likewise.
4887
ebfd1bbd
JM
4888 * posix/Makefile ($(objpfx)globtest.out): Pass
4889 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4890 $(rtld-installed-name).
4891 * posix/globtest.sh (elf_objpfx): Remove variable.
4892 (rtld_installed_name): Likewise.
4893 (library_path): Likewise.
4894 (run_program_prefix): New variable. Use for running globtest
4895 binary.
4896
166bca24
JB
48972012-10-23 Jim Blandy <jimb@codesourcery.com>
4898 Joseph Myers <joseph@codesourcery.com>
4899
4900 * Makeconfig (host-built-program-cmd): New variable.
4901 * elf/Makefile (tst-stackguard1-ARGS): Use
4902 $(host-built-program-cmd).
4903 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4904 (tst-spawn-ARGS): Likewise.
4905 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4906
88866099
JM
49072012-10-23 Joseph Myers <joseph@codesourcery.com>
4908 Jim Blandy <jimb@codesourcery.com>
4909
4910 * Makeconfig (run-via-rtld-prefix): New variable.
4911 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4912 (built-program-cmd): Likewise.
4913
b4b4c296
AJ
49142012-10-22 Andreas Jaeger <aj@suse.de>
4915
4916 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4917 __O_RSYNC if it exists, otherwise to O_SYNC.
4918
6fb54a22
JB
49192012-10-22 Jim Blandy <jimb@codesourcery.com>
4920 Joseph Myers <joseph@codesourcery.com>
4921
4922 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4923 /dev/null.
4924 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4925 from /dev/null
4926 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4927 /dev/null.
4928
481b90b9
AJ
49292012-10-22 Andreas Jaeger <aj@suse.de>
4930
2a0e2669
AJ
4931 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4932 Define always.
4933 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4934
76e38f9a
AJ
4935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4936 bits/fcntl-linux.h.
4937
7cd37b43
AJ
4938 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4939 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4940
481b90b9
AJ
4941 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4942 to __O_LARGEFILE.
4943 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4944 to __O_LARGEFILE.
4945
aba75984
JB
49462012-10-21 Jim Blandy <jimb@codesourcery.com>
4947 Joseph Myers <joseph@codesourcery.com>
4948
4949 * config.make.in (NM): New variable.
4950
88d4247f
AJ
49512012-10-21 Andreas Jaeger <aj@suse.de>
4952
4953 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4954 definitions and declarations that are provided by
4955 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4956
f2eed205
L
49572012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4958
4959 [BZ #14683]
4960 * elf/Makefile (tests-static): Add tst-leaks1-static.
4961 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4962 ($(objpfx)tst-leaks1-static): New rule.
4963 ($(objpfx)tst-leaks1-static-mem): Likewise.
4964 (tst-leaks1-static-ENV): New macro.
4965 * elf/dl-open.c (dl_open_worker): Check the main application
4966 only if SHARED is defined.
4967 * elf/tst-leaks1-static.c: New file.
4968
335e6931
AJ
49692012-10-20 Andreas Jaeger <aj@suse.de>
4970
4971 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4972 generic values for Linux.
4973 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4974 and declarations that are provided by <bits/fcntl-linux.h> and
4975 include <bits/fcntl-linux.h>.
4976 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4977 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4978
ac5c94d3
RM
49792012-10-20 Roland McGrath <roland@hack.frob.com>
4980
4981 * io/fcntl.h: Move include of <bits/types.h> to the top and
4982 include it unconditionally.
4983
de54b33a
L
49842012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4985
228cfb01
L
4986 * wcsmbs/Makefile (tests-ifunc): New variable.
4987 (tests): Add $(tests-ifunc).
4988 * wcsmbs/test-wcschr-ifunc.c: New file.
4989 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4990 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4991 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4992 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4993 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4994
69f07e5f
L
4995 * string/Makefile (tests-ifunc): New variable.
4996 (tests): Add $(tests-ifunc).
4997 * string/test-memccpy.c (TEST_NAME): New macro.
4998 * string/test-memchr.c (TEST_NAME): Likewise.
4999 * string/test-memcmp.c (TEST_NAME): Likewise.
5000 * string/test-memcpy.c (TEST_NAME): Likewise.
5001 * string/test-memmem.c (TEST_NAME): Likewise.
5002 * string/test-memmove.c (TEST_NAME): Likewise.
5003 * string/test-memset.c (TEST_NAME): Likewise.
5004 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5005 * string/test-stpcpy.c (TEST_NAME): Likewise.
5006 * string/test-stpncpy.c (TEST_NAME): Likewise.
5007 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5008 * string/test-strcasestr.c (TEST_NAME): Likewise.
5009 * string/test-strcat.c (TEST_NAME): Likewise.
5010 * string/test-strchr.c (TEST_NAME): Likewise.
5011 * string/test-strcmp.c(TEST_NAME): Likewise.
5012 * string/test-strcpy.c (TEST_NAME): Likewise.
5013 * string/test-strcspn.c (TEST_NAME): Likewise.
5014 * string/test-strlen.c (TEST_NAME): Likewise.
5015 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5016 * string/test-strncmp.c (TEST_NAME): Likewise.
5017 * string/test-strncpy.c (TEST_NAME): Likewise.
5018 * string/test-strnlen.c (TEST_NAME): Likewise.
5019 * string/test-strpbrk.c (TEST_NAME): Likewise.
5020 * string/test-strrchr.c (TEST_NAME): Likewise.
5021 * string/test-strspn.c (TEST_NAME): Likewise.
5022 * string/test-strstr.c (TEST_NAME): Likewise.
5023 * string/test-bcopy-ifunc.c: New file.
5024 * string/test-bzero-ifunc.c: Likewise.
5025 * string/test-memccpy-ifunc.c: Likewise.
5026 * string/test-memchr-ifunc.c: Likewise.
5027 * string/test-memcmp-ifunc.c: Likewise.
5028 * string/test-memcpy-ifunc.c: Likewise.
5029 * string/test-memmem-ifunc.c: Likewise.
5030 * string/test-memmove-ifunc.c: Likewise.
5031 * string/test-mempcpy-ifunc.c: Likewise.
5032 * string/test-memset-ifunc.c: Likewise.
5033 * string/test-rawmemchr-ifunc.c: Likewise.
5034 * string/test-stpcpy-ifunc.c: Likewise.
5035 * string/test-stpncpy-ifunc.c: Likewise.
5036 * string/test-strcasecmp-ifunc.c: Likewise.
5037 * string/test-strcasestr-ifunc.c: Likewise.
5038 * string/test-strcat-ifunc.c: Likewise.
5039 * string/test-strchr-ifunc.c: Likewise.
5040 * string/test-strchrnul-ifunc.c: Likewise.
5041 * string/test-strcmp-ifunc.c: Likewise.
5042 * string/test-strcpy-ifunc.c: Likewise.
5043 * string/test-strcspn-ifunc.c: Likewise.
5044 * string/test-strlen-ifunc.c: Likewise.
5045 * string/test-strncasecmp-ifunc.c: Likewise.
5046 * string/test-strncat-ifunc.c: Likewise.
5047 * string/test-strncmp-ifunc.c: Likewise.
5048 * string/test-strncpy-ifunc.c: Likewise.
5049 * string/test-strnlen-ifunc.c: Likewise.
5050 * string/test-strpbrk-ifunc.c: Likewise.
5051 * string/test-strrchr-ifunc.c: Likewise.
5052 * string/test-strspn-ifunc.c: Likewise.
5053 * string/test-strstr-ifunc.c: Likewise.
5054
de54b33a
L
5055 * debug/Makefile (tests-ifunc): New variable.
5056 (tests): Add $(tests-ifunc).
5057 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5058 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5059 * debug/test-stpcpy_chk-ifunc.c: New file.
5060 * debug/test-strcpy_chk-ifunc.c: Likewise.
5061
88481c16
SP
50622012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5063
5064 [BZ #13601]
5065 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5066 header is not read in.
5067
135948bd
JM
50682012-10-19 Joseph Myers <joseph@codesourcery.com>
5069
89f1c388
JM
5070 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5071 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5072 directly. Pass built executable to script as
5073 $(built-program-cmd).
5074 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5075 $testprogram without using LD_LIBRARY_PATH and $ldso.
5076
e40a0d21
JM
5077 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5078 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5079 $(rtld-installed-name).
5080 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5081 (rtld_installed_name): Likewise.
5082 (library_path): Likewise.
5083 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5084 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5085 $(run-program-prefix) to tst-tables.sh.
5086 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5087 it to run tst-table-from and tst-table-to.
5088 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5089 Pass it to tst-table.sh.
5090 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5091 $(run-program-prefix) to tst-gettext.sh.
5092 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5093 tst-translit.sh.
5094 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5095 tst-gettext2.sh.
5096 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5097 to run tst-gettext.
5098 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5099 to run tst-gettext2.
5100 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5101 to run tst-translit.
5102 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5103 $(run-program-prefix) to tst-mtrace.sh.
5104 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5105 to run tst-mtrace.
5106 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5107 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5108 $(rtld-installed-name).
5109 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5110 (rtld_installed_name): Likewise.
5111 (run_program_prefix): New variable. Use it to run wordexp-test.
5112
728e272a
JM
5113 * Makeconfig (ARCH): Remove all definitions.
5114 (machine): Likewise.
5115 [ARCH]: Remove conditional code.
5116 [!objdir]: Give error.
5117 [!objdir] (objpfx): Remove.
5118 [!objdir] (common-objpfx): Likewise.
5119 [!objdir] (common-objdir): Likewise.
5120 * configure.in (config_makefile): Remove. Hardcode Makefile in
5121 AC_CONFIG_FILES call.
5122 * configure: Regenerated.
5123
d528cdcf
JM
5124 [BZ #13888]
5125 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5126 or TMPDIR.
5127 (testout): Likewise.
5128
135948bd
JM
5129 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5130 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5131 $(rtld-installed-name).
5132 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5133 (rtld_installed_name): Likwise.
5134 (runit): Remove function.
5135 (run_getconf): New variable, Use it for running getconf binary.
5136
38c78296
L
51372012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5138
5139 [BZ #14716]
5140 * string/test-memmem.c (check_result): New function.
5141 (do_one_test): Use it.
5142 (check1): New function.
5143 (test_main): Use it.
5144
d077f65f
MT
51452012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5146
5147 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5148
ced52c71
JM
51492012-10-18 Joseph Myers <joseph@codesourcery.com>
5150
5151 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5152 (_G_LSEEK64): Likewise.
5153 (_G_MMAP64): Likewise.
5154 (_G_FSTAT64): Likewise.
5155 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5156 (_G_LSEEK64): Likewise.
5157 (_G_MMAP64): Likewise.
5158 (_G_FSTAT64): Likewise.
5159 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5160 unconditional. Call __mmap64 directly.
5161 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5162 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5163 __lseek64 directly.
5164 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5165 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5166 __mmap64 directly.
5167 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5168 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5169 __lseek64 directly.
5170 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5171 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5172 __lseek64 directly.
5173 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5174 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5175 __lseek64 directly.
5176 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5177 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5178 __fxstat64 directly.
5179 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5180 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5181 unconditional.
5182 (freopen64) [!_G_OPEN64]: Remove conditional code.
5183 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5184 unconditional.
5185 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5186 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5187 unconditional.
5188 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5189 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5190 unconditional.
5191 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5192 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5193 unconditional.
5194 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5195 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5196 unconditional.
5197 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5198 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5199 unconditional.
5200 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5201 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5202 unconditional.
5203 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5204
b741de23
SP
52052012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5206
5207 [BZ #12140]
5208 * manual/memory.texi (Malloc Tunable Parameters): Add note
5209 about free list pointers overwriting some perturb bytes.
5210 Wording suggested by Roland McGrath.
5211
f9b9d9c9
JM
52122012-10-17 Joseph Myers <joseph@codesourcery.com>
5213
5214 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5215 (lgamma_test): Likewise.
5216 (tgamma_test): Likewise.
5217
172a631a
FW
52182012-10-16 Florian Weimer <fweimer@redhat.com>
5219
5220 [BZ #14700]
5221 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5222 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5223
e9f37252
MK
52242012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5225
5226 * NEWS: Mention BZ #14716.
5227 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5228 when removing AVAILABLE1_USES_J macro.
5229
d394eb74
L
52302012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5231
5232 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5233 (__bswap_64): __uint64_t for unsigned 64-bit int.
5234
ca38dc17
AS
52352012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5236
5237 * include/string.h (memmem): Declare libc hidden alias.
5238 * string/memmem.c (memmem): Define libc hidden alias.
5239 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5240 __read, __close instead of open, read, close.
5241
9a387d1f
L
52422012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5243
ac49ecaf
L
5244 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5245 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5246 global and hidden.
5247 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5248 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5249 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5250 Likewise.
5251 (__rawmemchr_sse2): Likewise.
5252 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5253 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5254 (__strchr_sse2): Likewise.
5255 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5256 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5257 (__strcasecmp_sse2): Likewise.
5258 (__strncasecmp_sse2): Likewise.
5259 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5260 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5261 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5262 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5263 (__strrchr_sse2): Likewise.
5264 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5265 ifunc-impl-list.c.
5266 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5267 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5268 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5269 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5270 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5271 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5272 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5273 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5274 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5275 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5276 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5277 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5278 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5279 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5280 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5281 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5282 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5283 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5284 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5285 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5286 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5287 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5288 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
5289 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5290 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5291 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5292 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5293 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5294 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5295 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5296
b090e8ea
L
5297 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5298 global and hidden.
5299 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5300 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5301 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5302 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5303 Likewise.
5304 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
5305 Likewise.
5306 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
5307 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
5308 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
5309 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
5310 ifunc-impl-list.c.
5311 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5312 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5313 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5314 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5315 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5316 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5317 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5318 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5319 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5320 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5321 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5322 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5323 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5324 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5325 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5326 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5327 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5328 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5329 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5330 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5331 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5332 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5333 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5334 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5335 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5336 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5337 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5338 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5339 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5340 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5341 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5342 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5343 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5344 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5345 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5346 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5347 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5348 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5349 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5350 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5351 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5352
11dd4af6
L
5353 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5354 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5355 * include/ifunc-impl-list.h: New file.
5356 * misc/ifunc-impl-list.c: Likewise.
5357 * misc/Makefile (routines): Add ifunc-impl-list.
5358 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5359 * string/test-string.h: Include <ifunc-impl-list.h>.
5360 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5361 impl_array): New variables.
5362 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5363 are defined.
5364 (test_init): Call __libc_ifunc_impl_list to initialize
5365 func_list if TEST_IFUNC and TEST_NAME are defined.
5366
9a387d1f
L
5367 * string/Makefile (strop-tests): Add bcopy and bzero.
5368 * string/test-bcopy.c: New file.
5369 * string/test-bzero.c: Likewise.
5370 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5371 defined.
5372 * string/test-memset.c: Support bzero test if TEST_BZERO is
5373 defined.
5374 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5375 __libc_memmove.
5376 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5377 __libc_memset.
5378 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5379 of memset.
5380
472371b9
JM
53812012-10-10 Joseph Myers <joseph@codesourcery.com>
5382
1e4a9536
JM
5383 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5384 * configure: Regenerated.
5385
d173d12e
JM
5386 * Makeconfig (+link-static-before-libc): Don't include
5387 $(link-static-libc).
5388
472371b9
JM
5389 * libio/libio.h (_IO_pos_t): Remove.
5390
89a3ad0b
AO
53912012-10-10 Alexandre Oliva <aoliva@redhat.com>
5392
5393 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5394 McGrath.
5395
e7451425
AO
53962012-10-10 Alexandre Oliva <aoliva@redhat.com>
5397
5398 * crypt/crypt-entry.c: Include fips-private.h.
5399 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5400 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5401 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5402 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5403
4ba74a35
AO
54042012-10-10 Alexandre Oliva <aoliva@redhat.com>
5405
5406 * crypt/crypt-private.h: Include stdbool.h.
5407 (_ufc_setup_salt_r): Return bool.
5408 * crypt/crypt-entry.c: Include errno.h.
5409 (__crypt_r): Return NULL with EINVAL for bad salt.
5410 * crypt/crypt_util.c (bad_for_salt): New.
5411 (_ufc_setup_salt_r): Check that salt is long enough and within
5412 the specified alphabet.
5413 * crypt/badsalttest.c: New file.
5414 * crypt/Makefile (tests): Add it.
5415 ($(objpfx)badsalttest): New.
5416
f96f1242
MK
54172012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5418
5419 * NEWS: Add entry for BZ #14602.
5420
0e8e0c1c
JM
54212012-10-09 Joseph Myers <joseph@codesourcery.com>
5422
5423 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5424 type-generic.
5425 * math/libm-test.inc: Update comment listing what functions and
5426 macros are tested.
5427 (isgreater_test): New function.
5428 (isgreaterequal_test): Likewise.
5429 (isless_test): Likewise.
5430 (islessequal_test): Likewise.
5431 (islessgreater_test): Likewise.
5432 (isunordered_test): Likewise.
5433 (main): Call the new functions.
5434
273edc5e
RM
54352012-10-09 Roland McGrath <roland@hack.frob.com>
5436
b8493de0
RM
5437 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5438 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5439 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5440 * sysdeps/i386/configure: Regenerated.
5441 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5442 * sysdeps/mach/configure: Regenerated.
5443 * sysdeps/mach/hurd/configure: Regenerated.
5444 * sysdeps/powerpc/configure: Regenerated.
5445 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5446 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5447 * sysdeps/s390/s390-32/configure: Regenerated.
5448 * sysdeps/s390/s390-64/configure: Regenerated.
5449 * sysdeps/sh/configure: Regenerated.
5450 * sysdeps/sparc/configure: Regenerated.
5451 * sysdeps/unix/sysv/linux/configure: Regenerated.
5452 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5453 * sysdeps/x86_64/configure: Regenerated.
5454
273edc5e
RM
5455 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5456 defined. Don't check if MAP is NULL.
5457
c8450f70
JM
54582012-10-09 Joseph Myers <joseph@codesourcery.com>
5459
5460 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5461 (_G_stat64): Likewise.
5462 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5463 (_G_stat64): Likewise.
5464 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5465 instead of struct _G_stat64.
5466 * libio/fileops.c (mmap_remap_check): Likewise.
5467 (decide_maybe_mmap): Likewise.
5468 (_IO_new_file_seekoff): Likewise.
5469 (_IO_file_stat): Likewise.
5470 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5471 _G_off64_t.
5472 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5473 instead of struct _G_stat64.
5474 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5475
57e605ba
MK
54762012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5477
5478 [BZ #14602]
5479 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5480 Replace with ...
5481 (CHECK_EOL): New macro.
5482 (two_way_short_needle): Check beginning of haystack for EOL. Use
5483 CHECK_EOL.
5484 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5485 Replace with CHECK_EOL.
5486 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5487 Replace with CHECK_EOL.
5488
ef1bb361
JM
54892012-10-08 Joseph Myers <joseph@codesourcery.com>
5490
5491 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5492 type-generic.
5493 * math/libm-test.inc: Update comment listing what functions and
5494 macros are tested.
5495 (finite_test): New function.
5496 (isinf_test): Likewise.
5497 (isnan_test): Likewise.
5498 (fpclassify_test): Test subnormal input.
5499 (isfinite_test): Likewise.
5500 (isnormal_test): Likewise.
5501 (main): Call the new functions.
5502
55f11534
JN
55032012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5504
5505 [BZ #14660]
5506 * Makerules (%.dynsym): Force C locale when running
5507 $(OBJDUMP) --dynamic-syms.
5508
1ab29350
AS
55092012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5510
5511 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5512 <stdint.h>.
5513
f1ecb7ef
DM
55142012-10-06 David S. Miller <davem@davemloft.net>
5515
5516 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5517 upper 32-bits of the length value in %o2 since we use branch-on-register
5518 tests which consider the entire 64-bit register.
5519
5d41d91a
L
55202012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5521
5522 * string/test-strstr.c (check2): Add a test for page boundary.
5523
3baddb72
DM
55242012-10-05 David S. Miller <davem@davemloft.net>
5525
5526 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5527 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5528 file.
5529 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5530 sysdep_routines.
5531 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5532 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5533 and bzero when HWCAP_SPARC_CRYPTO is present.
5534
9cee5585
L
55352012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5536
d7e0dab9
L
5537 [BZ #14602]
5538 * string/test-strstr.c (check2): New function.
5539 (test_main): Call check2.
5540
03759f47
L
5541 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5542 and bug-strchr1.
5543 * string/bug-strcasestr1.c (do_test): Moved to ...
5544 * string/test-strcasestr.c (check1): Here. New function.
5545 (do_one_test): Break out result checking code into ...
5546 (check_result): This. New function.
5547 (do_one_test): Call check_result.
5548 (test_main): Call check1.
5549 * string/bug-strchr1.c (do_test): Moved to ...
5550 * string/test-strchr.c (check1): Here. New function.
5551 (do_one_test): Break out result checking code into ...
5552 (check_result): This. New function.
5553 (do_one_test): Call check_result.
5554 (test_main): Call check1.
5555 * string/bug-strstr1.c (main): Moved to ...
046f153e 5556 * string/test-strstr.c (check1): Here. New function.
03759f47
L
5557 (do_one_test): Break out result checking code into ...
5558 (check_result): This. New function.
5559 (do_one_test): Call check_result.
5560 (test_main): Call check1.
5561 * string/bug-strcasestr1.c: Removed.
5562 * string/bug-strchr1.c: Likewise.
5563 * string/bug-strstr1.c: Likewise.
5564
53cea63e
L
5565 * elf/Makefile (dl-routines): Add hwcaps.
5566 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5567 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5568 (_dl_important_hwcaps): Moved to ...
5569 * elf/dl-hwcaps.c: Here. New file.
5570 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5571
9cee5585 5572 [BZ #14557]
bb859b06
L
5573 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5574 if IS_IN_rtld isn't defined.
5575
9cee5585
L
5576 * elf/dl-support.c (_dl_sysinfo_map): New.
5577 Include "get-dynamic-info.h" and "setup-vdso.h".
5578 (_dl_non_dynamic_init): Call setup_vdso.
5579 * elf/dynamic-link.h: Don't include <assert.h>.
5580 (elf_get_dynamic_info): Moved to ...
5581 * elf/get-dynamic-info.h: Here. New file.
5582 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5583 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5584 * elf/setup-vdso.h: Here. New file.
5585 * elf/rtld.c: Include "setup-vdso.h".
5586 (dl_main): Call setup_vdso.
5587
23c31b76
JM
55882012-10-05 Joseph Myers <joseph@codesourcery.com>
5589
28234b07
JM
5590 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5591 creal in comment listing functions tested. List finite, isinf,
5592 isnan, isless, islessequal, isgreater, isgreaterequal,
5593 islessgreater, isunordered, lgamma_r and pow10 as functions and
5594 macros not tested. Mention which functions not tested are aliases
5595 for other functions. Fix typo. Note that signs of NaNs are not
5596 tested.
5597
23c31b76
JM
5598 * scripts/config.guess: Update from config.git.
5599 * scripts/config.sub: Likewise.
5600
9043e228
RM
56012012-10-04 Roland McGrath <roland@hack.frob.com>
5602
5603 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5604 * misc/madvise.c (madvise): Renamed to __madvise.
5605 Make madvise a weak alias.
5606 * include/sys/mman.h: Declare __madvise.
5607 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5608 * sysdeps/unix/syscalls.list
5609 (madvise): Make __madvise the strong name, and madvise a weak alias.
5610 * sysdeps/unix/sysv/linux/syscalls.list
5611 (madvise, mmap): Remove redundant entries.
5612 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5613 * malloc/malloc.c (mtrim): Likewise.
5614 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5615
f57f8055
RM
56162012-10-03 Roland McGrath <roland@hack.frob.com>
5617
5618 * sysdeps/mach/hurd/dl-cache.c: File removed.
5619 * config.h.in (USE_LDCONFIG): New #undef.
5620 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5621 * configure: Regenerated.
5622 * elf/Makefile (dl-routines): Add dl-cache only under
5623 [$(use-ldconfig) = yes].
5624 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5625 cache on [USE_LDCONFIG].
5626 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5627 [USE_LDCONFIG].
5628 * elf/rtld.c (dl_main): Likewise.
5629
5bb0c10a
PT
56302012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5631
5632 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5633 _SC_LEVEL4_CACHE_LINESIZE.
5634
010188c6
RM
56352012-10-03 Roland McGrath <roland@hack.frob.com>
5636
5637 * sysdeps/unix/bsd/confstr.h: File removed.
5638
b6c5ec07
AO
56392012-10-02 Alexandre Oliva <aoliva@redhat.com>
5640
5641 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5642 sys/sdt-config.h.
5643
408223d4
RM
56442012-10-02 Roland McGrath <roland@hack.frob.com>
5645
5646 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5647 Make 'mapoff' field ElfW(Off) rather than off_t.
5648
bb9510dc
DL
56492012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5650
fc997c6e
DL
5651 * nscd/Makefile: Remove nscd-cflags and all its users.
5652 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5653 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5654
bb9510dc
DL
5655 [BZ #10631]
5656 * malloc.c (malloc_printerr): Clarify error message.
5657
05699367
L
56582012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5659
5660 [BZ #14648]
5661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5662 Set bit_FMA_Usable if FMA is supported.
5663 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5664 macro.
5665 (bit_FMA4_Usable): Updated.
5666 (index_FMA_Usable): New macro.
5667 (CPUID_FMA): Likewise
5668 (HAS_FMA): Defined with bit_FMA_Usable.
5669
51367701
RM
56702012-10-01 Roland McGrath <roland@hack.frob.com>
5671
5672 * bits/types.h (__swblk_t): Type removed.
5673 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5674 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5675 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5676 (__SWBLK_T_TYPE): Likewise.
5677 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5678 (__SWBLK_T_TYPE): Likewise.
5679 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5680 (__SWBLK_T_TYPE): Likewise.
5681 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5682 (__SWBLK_T_TYPE): Likewise.
5683
4d57bf63 56842012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 5685 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
5686
5687 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5688 (xdr_mapname): Use YPMAXMAP as maxsize.
5689 (xdr_peername): Use YPMAXPEER as maxsize.
5690 (xdr_keydat): Use YPAXRECORD as maxsize.
5691 (xdr_valdat): Use YPMAXRECORD as maxsize.
5692
93c65d43
RM
56932012-10-01 Roland McGrath <roland@hack.frob.com>
5694
497a03d6
RM
5695 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5696
93c65d43
RM
5697 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5698 * csu/init-first.c: ... here.
5699 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5700 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5701 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5702 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5703 * sysdeps/i386/init-first.c: File removed.
5704 * sysdeps/sh/init-first.c: File removed.
5705
bec749fd
JM
57062012-10-01 Joseph Myers <joseph@codesourcery.com>
5707
5708 [BZ #14645]
5709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5710 if x * y might underflow to zero and z is zero.
5711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5712 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5713 * math/libm-test.inc (min_subnorm_value): New variable.
5714 (fma_test): Add more tests.
5715 (fma_test_towardzero): Likewise.
5716 (fma_test_downward): Likewise
5717 (fma_test_upward): Likewise.
5718 (initialize): Set min_subnorm_value.
5719
8ec5b013
JM
57202012-09-29 Joseph Myers <joseph@codesourcery.com>
5721
5722 [BZ #14638]
5723 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5724 0 + 0.
5725 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5726 mode for addition resulting in exact zero.
5727 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5728 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5729 exact 0 + 0.
5730 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5731 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5732 * math/libm-test.inc (fma_test): Add more tests.
5733 (fma_test_towardzero): New function.
5734 (fma_test_downward): Likewise.
5735 (fma_test_upward): Likewise.
5736 (main): Call the new functions.
5737
b1fa802e
DM
57382012-09-28 David S. Miller <davem@davemloft.net>
5739
5740 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5741
d3b9fd9e
RM
57422012-09-28 Roland McGrath <roland@hack.frob.com>
5743
ea4d37b3
RM
5744 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5745 instead of SIGALRM.
5746
ac51c949
RM
5747 * sysdeps/gnu/_G_config.h: Moved to ...
5748 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5749 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5750 * sysdeps/generic/_G_config.h: ... here.
5751
28c195f7
RM
5752 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5753
848917f9
RM
5754 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5755
6bacf05b
RM
5756 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5757 Conditionalize target on [libnss_test1.so-version].
5758
91363dbb
RM
5759 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5760
cc87f7d8
RM
5761 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5762 (elfobjdir): Move out of conditionals.
5763
b1c608fe
RM
5764 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5765 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5766 (__nss_lookup_function): Conditionalize label remove_from_tree on
5767 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 5768
1d9a6d96
DM
57692012-09-28 David S. Miller <davem@davemloft.net>
5770
5771 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5772 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5773 file.
5774 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5775 sysdep_routines.
5776 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5777 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5778 when HWCAP_SPARC_CRYPTO is present.
5779
72581615
PT
57802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5781
5782 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5783
715a900c
JL
57842012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5785
5786 [BZ #6530]
5787 * stdio-common/vfprintf.c (process_string_arg): Revert
5788 2000-07-22 change.
5789
57902011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5791
5792 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5793 for testcase.
5794 * stdio-common/tst-sprintf.c: Include <locale.h>
5795 (main): Test sprintf's handling of incomplete multibyte
5796 characters.
5797
9bac1d86
L
57982012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5799
5800 * elf/dl-runtime.c (VERSYMIDX): Removed.
5801 * elf/dl-version.c (VERSYMIDX): Likewise.
5802 * elf/do-rel.h (VERSYMIDX): Likewise.
5803 (VALIDX): Likewise.
5804 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5805 * elf/rtld.c (VALIDX): Likewise.
5806 (ADDRIDX): Likewise.
9bac1d86
L
5807 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5808 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5809 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
5810 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5811 (VALIDX): Likewise.
5812 (ADDRIDX): Likewise.
9bac1d86 5813
b31606c0
PT
58142012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5815
5816 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5817
11541177
JL
58182012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5819
5820 [BZ #11438]
5821 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5822 to global scope.
5823 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5824 addresses are in the same scope as 192.0.2/24.
5825 * posix/gai.conf: Document new scope table defaults.
5826
adb26fae
SP
58272012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5828
5829 [BZ #5298]
5830 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5831 for ftell. Compute offsets from write pointers instead.
5832 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5833
4573c6b0
SP
58342012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5835
5836 [BZ #14543]
5837 * libio/Makefile (tests): New test case tst-fseek.
5838 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5839 combination works in wide mode.
5840 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5841 state when the external buffer state changes.
5842
aa9bbfe6
DM
58432012-09-27 David S. Miller <davem@davemloft.net>
5844
5845 [BZ #14376]
5846 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5847 pass reloc->r_addend in as the 'high' argument to
5848 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5849
784421e7
DM
5850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5851
c39bc8b8
PT
58522012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5853
5854 * rt/tst-aio2.c: Include <pthread.h>.
5855 * rt/tst-aio3.c: Likewise.
5856
1ccc2399
SE
58572012-09-27 Steve Ellcey <sellcey@mips.com>
5858
5859 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5860
31ed4153
L
58612012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5862
25f5f885
L
5863 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5864 contents on [SHARED].
31ed4153 5865
b7bfe116
MP
58662012-09-26 Marek Polacek <polacek@redhat.com>
5867
5868 [BZ #14530]
5869 [BZ #13741]
5870 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5871 for C++ and GCC <4.3 as well as for non GCC compilers.
5872
43c4edba
MT
58732012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5874
5875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5876
6a1bf82f
RM
58772012-09-25 Roland McGrath <roland@hack.frob.com>
5878
5879 * Makefile.in (all, install): Declare with .PHONY.
5880 Reported by Michael Hope <michael.hope@linaro.org>.
5881
8ad11b9a
TMQMF
58822012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5883
5884 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5885 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5886 system header.
5887 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5888 Likewise.
5889 (sydep_routines): Add the new and the internal functions.
5890 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5891 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5893 (GLIBC_2.17): Add the new function.
5894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5895 (GLIBC_2.17): Likewise.
5896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5897 (GLIBC_2.17): Likewise.
5898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5899 (GLIBC_2.17): Likewise.
5900 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5901
7e2fca8d
AM
59022012-09-25 Alan Modra <amodra@gmail.com>
5903
5904 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5905 Add release barrier before setting once_control to say
5906 initialisation is done. Add hints on lwarx. Use macro in
5907 place of isync.
5908 (clear_once_control): Add release barrier.
5909
b87c4b24
JM
59102012-09-25 Joseph Myers <joseph@codesourcery.com>
5911
d032e0d2
JM
5912 [BZ #13629]
5913 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5914 specially.
5915 * math/s_clog10.c (__clog10): Likewise.
5916 * math/s_clog10f.c (__clog10f): Likewise.
5917 * math/s_clog10l.c (__clog10l): Likewise.
5918 * math/s_clogf.c (__clogf): Likewise.
5919 * math/s_clogl.c (__clogl): Likewise.
5920 * math/Makefile (libm-calls): Add x2y2m1.
5921 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5922 (__x2y2m1): Likewise.
5923 (__x2y2m1l): Likewise.
5924 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5925 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5926 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5927 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5928 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5929 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5930 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5931 * sysdeps/i386/fpu/libm-test-ulps: Update.
5932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5933
b87c4b24
JM
5934 [BZ #14621]
5935 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5936 int as type of variable DEPTH.
5937 (glob): Use size_t instead of int as type of variables NEWCOUNT
5938 and OLD_PATHC.
5939
6d3bf199
LD
59402012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5941
22bf5c17
LD
5942 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5943 Add s_sincosf-sse2.
5944 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5945 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5946 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5947 macros for using routine as __sincosf_ia32.
5948 Use macro for function declaration and weak_alias.
5949 * sysdeps/i386/fpu/libm-test-ulps: Update.
5950
5951 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5953
5954 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
5955 subnormal argument.
5956 * math/s_cexpf.c (__cexpf): Likewise.
5957 * math/s_csinf.c (__csinf): Likewise.
5958 * math/s_csinhf.c (__csinhf): Likewise.
5959 * math/s_ctanf.c (__ctanf): Likewise.
5960 * math/s_ctanhf.c (__ctanhf): Likewise.
5961 * math/s_ccosh.c (__ccoshf): Likewise.
5962 * math/s_cexp.c (__cexpl): Likewise.
5963 * math/s_csin.c (__csin): Likewise.
5964 * math/s_csinh.c (__csinh): Likewise.
5965 * math/s_ctan.c (__ctan): Likewise.
5966 * math/s_ctanh.c (ctanh): Likewise.
5967 * math/s_ccoshl.c (__ccoshl): Likewise.
5968 * math/s_cexpl.c (__cexpl): Likewise.
5969 * math/s_csinl.c (__csinl): Likewise.
5970 * math/s_csinhl.c (__csinhl): Likewise.
5971 * math/s_ctanl.c (__ctanl): Likewise.
5972 * math/s_ctanhl.c (__ctanhl): Likewise.
5973
203e5603
JM
59742012-09-25 Joseph Myers <joseph@codesourcery.com>
5975
5976 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5977 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5978 (_IO_off_t): Define to __off_t, not _G_off_t.
5979 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5980 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5981 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5982 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5983 type of __dummy and __dummy2 fields.
5984 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5985 (_G_ssize_t): Likewise.
5986 (_G_off_t): Likewise.
5987 (_G_pid_t): Likewise.
5988 (_G_uid_t): Likewise.
5989 (_G_wchar_t): Likewise.
5990 (_G_wint_t): Likewise.
5991 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5992 (_G_ssize_t): Likewise.
5993 (_G_off_t): Likewise.
5994 (_G_pid_t): Likewise.
5995 (_G_uid_t): Likewise.
5996 (_G_wchar_t): Likewise.
5997 (_G_wint_t): Likewise.
5998 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5999 (_G_ssize_t): Likewise.
6000 (_G_off_t): Likewise.
6001 (_G_pid_t): Likewise.
6002 (_G_uid_t): Likewise.
6003 (_G_wchar_t): Likewise.
6004 (_G_wint_t): Likewise.
6005
9fab36eb
SP
60062012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6007
6008 * malloc/arena.c: Include malloc-sysdep.h.
6009 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6010 is sufficient to shrink the heap or an unmap is needed.
6011 * sysdeps/generic/malloc-sysdep.h: New file. Define
6012 new function check_may_shrink_heap.
6013 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6014 new function check_may_shrink_heap.
6015
2b4f00d1
SP
60162012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6017
6018 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6019 comments.
6020
9a9028b1
DL
60212012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6022
57c69bef
DL
6023 * catgets/test-gencat.sh: Add "set -e".
6024 * elf/tst-pathopt.sh: Likewise.
6025 * grp/tst_fgetgrent.sh: Likewise.
6026 * iconvdata/run-iconv-test.sh: Likewise.
6027 * intl/tst-gettext.sh: Likewise.
6028 * intl/tst-gettext2.sh: Likewise.
6029 * intl/tst-gettext4.sh: Likewise.
6030 * intl/tst-gettext6.sh: Likewise.
6031 * intl/tst-translit.sh: Likewise.
6032 * io/ftwtest-sh: Likewise.
6033 * libio/test-freopen.sh: Likewise.
6034 * malloc/tst-mtrace.sh: Likewise.
6035 * posix/globtest.sh: Likewise.
6036 * posix/tst-getconf.sh: Likewise.
6037 * posix/wordexp-tst.sh: Likewise.
6038 * stdio-common/tst-printf.sh: Likewise.
6039 * stdio-common/tst-unbputc.sh: Likewise.
6040 * stdlib/tst-fmtmsg.sh: Likewise.
6041 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6042 * catgets/Makefile: Do not specify -e option when running
6043 testsuite shell scripts.
6044 * elf/Makefile: Likewise.
6045 * grp/Makefile: Likewise.
6046 * iconvdata/Makefile: Likewise.
6047 * intl/Makefile: Likewise.
6048 * io/Makefile: Likewise.
6049 * libio/Makefile: Likewise.
6050 * malloc/Makefile: Likewise.
6051 * posix/Makefile: Likewise.
6052 * stdio-common/Makefile: Likewise.
6053 * stdlib/Makefile: Likewise.
6054 * sysdeps/x86_64/Makefile: Likewise.
6055
9a9028b1
DL
6056 * io/ftwtest-sh: Add copyright header.
6057 * posix/globtest.sh: Likewise.
6058 * posix/tst-getconf.sh: Likewise.
6059 * posix/wordexp-tst.sh: Likewise.
6060 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6061
ced6f16e
L
60622012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6063
94b32c39
L
6064 [BZ #13679]
6065 * Makeconfig (+link): Defined as $(+link-static) if
6066 $(build-shared) isn't yes.
6067 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6068 isn't yes.
6069 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6070
189e935b
L
6071 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6072
ced6f16e
L
6073 [BZ #14562]
6074 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6075 new chunk size with MALLOC_ALIGN_MASK.
6076
a9f8e53a
JM
60772012-09-24 Joseph Myers <joseph@codesourcery.com>
6078
6079 [BZ #5044]
6080 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6081 <rounding-mode.h>.
6082 (__printf_fphex): Determine rounding using get_rounding_mode and
6083 round_away.
6084 * stdio-common/tst-printf-round.c (struct hex_test): New
6085 structure.
6086 (hex_tests): New variable.
6087 (test_hex_in_one_mode): New function.
6088 (do_test): Also run tests for hex float output.
6089
43153109
JM
60902012-09-21 Joseph Myers <joseph@codesourcery.com>
6091
6092 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6093 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6094 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6095 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6096 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6097 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6098 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6099 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6100
8a26625d
JM
61012012-09-20 Joseph Myers <joseph@codesourcery.com>
6102
6103 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6104 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6105 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6106 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6107
f3fd569c
DL
61082012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6109
6110 [BZ #14579]
6111 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6112 mode only.
6113 * elf/tst-rtld-load-self.sh: New test.
6114 * elf/Makefile: Run it.
6115
63bbedd4
JM
61162012-09-18 Joseph Myers <joseph@codesourcery.com>
6117
6118 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6119 (tst-writev-ENV): Remove.
6120 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6121
626f8b6a
CM
61222012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6123
6124 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6125
b7aaa4d6
JM
61262012-09-17 Joseph Myers <joseph@codesourcery.com>
6127
6128 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6129 unconditional.
6130 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6131 Likewise.
6132 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6133 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6134 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6135 Likewise.
6136
65513990
L
61372012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6138
6139 [BZ #14587]
6140 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6141 * config.make.in (have-cpp-asm-debuginfo): Removed.
6142 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6143 * configure: Regenerated.
6144
784761be
JM
61452012-09-14 Joseph Myers <joseph@codesourcery.com>
6146
6147 [BZ #5044]
6148 * stdio-common/printf_fp.c: Include <stdbool.h> and
6149 <rounding-mode.h>.
6150 (___printf_fp): Determine rounding using get_rounding_mode and
6151 round_away.
6152 * stdio-common/tst-printf-round.c: New file.
6153 * stdio-common/Makefile (tests): Add tst-printf-round.
6154 (link-libm): New variable.
6155 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6156
9503345f
L
61572012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6158
6159 [BZ #14576]
6160 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6161 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6162 Likewise.
6163 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6164 Likewise.
6165
ad35fc00
JM
61662012-09-13 Joseph Myers <joseph@codesourcery.com>
6167
6168 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6169 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6170 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6171 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6172
6c9b0f68
JM
61732012-09-12 Joseph Myers <joseph@codesourcery.com>
6174
6175 [BZ #14518]
6176 * include/rounding-mode.h: New file.
6177 * sysdeps/generic/get-rounding-mode.h: Likewise.
6178 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6179 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6180 (MAX_VALUE): New macro.
6181 (MIN_VALUE): Likewise.
6182 (overflow_value): New function.
6183 (underflow_value): Likewise.
6184 (round_and_return): Use overflow_value and underflow_value to
6185 determine return values in overflow and underflow cases. Use
6186 round_away to determine rounding depending on rounding mode.
6187 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6188 determine return values in overflow and underflow cases.
6189 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6190 (struct test_results): New structure.
6191 (struct test): Use struct test_results to store expected results
6192 for all rounding modes.
6193 (TEST): Include expected results for all rounding modes.
6194 (test_in_one_mode): New function.
6195 (do_test): Use test_in_one_mode to compute and check results.
6196 Check results for all rounding modes.
6197 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6198 $(link-libm).
6199
19fcedd5
AM
62002012-12-09 Allan McRae <allan@archlinux.org>
6201
1e9d84cd 6202 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 6203
8bbfd2f1
JM
62042012-09-11 Joseph Myers <joseph@codesourcery.com>
6205
6206 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6207 (_G_int32_t): Likewise.
6208 (_G_uint16_t): Likewise.
6209 (_G_uint32_t): Likewise.
6210 (_G_HAVE_BOOL): Likewise.
6211 (_G_HAVE_ATEXIT): Likewise.
6212 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6213 (_G_HAVE_IO_FILE_OPEN): Likewise.
6214 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6215 (_G_int32_t): Likewise.
6216 (_G_uint16_t): Likewise.
6217 (_G_uint32_t): Likewise.
6218 (_G_HAVE_BOOL): Likewise.
6219 (_G_HAVE_ATEXIT): Likewise.
6220 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6221 (_G_HAVE_IO_FILE_OPEN): Likewise.
6222 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6223 (_G_int32_t): Likewise.
6224 (_G_uint16_t): Likewise.
6225 (_G_uint32_t): Likewise.
6226 (_G_HAVE_BOOL): Likewise.
6227 (_G_HAVE_ATEXIT): Likewise.
6228 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6229 (_G_HAVE_IO_FILE_OPEN): Likewise.
6230
b1dc5912
L
62312012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6232
6233 * csu/libc-tls.c: Update copyright years.
6234
0e886ef9
JM
62352012-09-10 Joseph Myers <joseph@codesourcery.com>
6236
28361c5e
JM
6237 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6238 [!_G_USING_THUNKS]: Remove conditional code.
6239 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6240 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6241
0e886ef9
JM
6242 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6243 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6244 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6245 (_G_VTABLE_LABEL_PREFIX): Likewise.
6246 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6247 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6248 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6249 (_G_VTABLE_LABEL_PREFIX): Likewise.
6250 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6251 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6252 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6253 (_G_VTABLE_LABEL_PREFIX): Likewise.
6254 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6255
bcba7aa2
L
62562012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6257
6258 * libio/Makefile: Include ../Makeconfig before tests.
6259 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6260 only if $(build-shared) is yes.
6261
06585ee8
L
6262 * iconv/gconv_db.c: Update copyright years.
6263
80ccd52c
LD
62642012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6265
6266 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6267 unwind info if defined PIC. Fix special cases description.
6268 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6269
6270 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6271 DP_HI_MASK entry.
6272 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6273
691bc9c1
L
62742012-09-07 H.J. Lu <hongjiu.lu@intel.com>
6275
3d9b46b3
L
6276 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6277
de2139a9
L
6278 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6279 is NULL.
6280
5ca78dd0
L
6281 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6282 (LDLIBS-tst-chk4): This.
6283 (LDFLAGS-tst-chk5): Renamed to ...
6284 (LDLIBS-tst-chk5): This.
6285 (LDFLAGS-tst-chk6): Renamed to ...
6286 (LDLIBS-tst-chk6): This.
6287 (LDFLAGS-tst-lfschk4): Renamed to ...
6288 (LDLIBS-tst-lfschk4): This.
6289 (LDFLAGS-tst-lfschk5): Renamed to ...
6290 (LDLIBS-tst-lfschk5): This.
6291 (LDFLAGS-tst-lfschk6): Renamed to ...
6292 (LDLIBS-tst-lfschk6): This.
6293
691bc9c1
L
6294 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6295 on $(common-objpfx)soversions.mk.
6296
65cafb1c
JM
62972012-09-07 Joseph Myers <joseph@codesourcery.com>
6298
6299 [BZ #10014]
6300 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6301 example host name.
6302
c78ab094
SP
63032012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6304
6305 * malloc/arena.c (arena_get_retry): New function that gets
6306 another arena for the caller to try its request on.
6307 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
6308 current arena cannot fulfill the request.
6309 (__libc_memalign): Likewise.
6310 (__libc_memalign): Likewise.
6311 (__libc_pvalloc): Likewise.
6312 (__libc_calloc): Likewise.
6313
01f49f59
JT
63142012-09-05 John Tobey <john.tobey@gmail.com>
6315
6316 [BZ #13542]
6317 * manual/arith.texi (Operations on Complex): Fix description
6318 of carg branch cut.
6319
4c23fed5
JM
63202012-09-06 Joseph Myers <joseph@codesourcery.com>
6321
1d3c8572
JM
6322 [BZ #10014]
6323 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6324 host name.
6325
4c23fed5
JM
6326 [BZ #10038]
6327 * manual/memory.texi (Memory): Make order of menu items match
6328 order of sections.
6329
04570aaa
L
63302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6331
6332 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6333 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6334 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6335
b80af2f4
L
63362012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6337
6338 * csu/libc-tls.c (static_dtv): Renamed to ...
6339 (_dl_static_dtv): This. Make it global.
6340 (_dl_initial_dtv): Removed.
6341 (__libc_setup_tls): Updated.
6342 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6343 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6344 DL_INITIAL_DTV.
6345
2abe9f15
PM
63462012-09-06 Petr Machata <pmachata@redhat.com>
6347
6348 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6349 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6350 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6351 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6352
0948c3af
L
63532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6354
6355 [BZ #14545]
6356 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6357 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6358 freeing dtv[-1].
6359
a5055ad1
L
63602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6361
6362 [BZ #14544]
6363 * Makeconfig (link-static-before-libc): Replace $(+prector)
6364 with $(+prectorT).
6365 (link-static-after-libc): Replace $(+postctor) with
6366 $(+postctorT).
6367 (link-bounded): Replace $(+prector)/$(+postctor) with
6368 $(+prectorT)/$(+postctorT).
6369 (+prectorT): New macro.
6370 (+postctorT): Likewise.
6371
ed8c2ecd
JM
63722012-09-06 Joseph Myers <joseph@codesourcery.com>
6373
6374 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6375 (round_str): Handle values above the maximum for IBM long double
6376 as inexact.
6377 * stdlib/tst-strtod-round.c (tests): Regenerated.
6378
14c996c8
AK
63792012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6380
6381 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6382 assembler flag.
6383 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6384 zarch_nohighgprs around the zarch optimized routines.
6385 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6386 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6387 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6388 for zarch.
6389
430d6ce6
DM
63902012-09-05 David S. Miller <davem@davemloft.net>
6391
6392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6393
ff04dda4
DM
6394 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6395 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6396 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6397 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6398 entries.
6399
24d4e01b
AO
64002012-09-05 Alexandre Oliva <aoliva@redhat.com>
6401
6402 * malloc/arena.c: Fold copyright years.
6403 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6404
61d58174
AO
64052012-09-05 Alexandre Oliva <aoliva@redhat.com>
6406
6407 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6408
20196a5e
AO
64092012-09-05 Alexandre Oliva <aoliva@redhat.com>
6410
6411 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6412
5c447383
AO
64132012-09-05 Alexandre Oliva <aoliva@redhat.com>
6414
6415 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6416 change internal state upon failure.
6417
fad64255
AO
64182012-09-05 Alexandre Oliva <aoliva@redhat.com>
6419
6420 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6421 * malloc/memusage.c (mmap): Likewise.
6422 (mmap64, mremap): Likewise. Adjust name in comment.
6423
1ffb8c90
SP
64242012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6425
6426 * libio/fileops.c: Fix typos in comments.
6427 * libio/oldfileops.c: Likewise.
6428 * libio/wfileops.c: Likewise.
6429
6ef9cc37
SP
64302012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6431
6432 [BZ #1349]
6433 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6434 (tst-malloc-usable-ENV): Set environment for test case.
6435 * malloc/hooks.c (malloc_check_get_size): New function to get
6436 requested size.
6437 * malloc/malloc.c (musable): Use malloc_check_get_size.
6438 * malloc/tst-malloc-usable.c: New test case.
6439
4d038ae3
AS
64402012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6441
6442 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6443
c4e85184
AM
64442012-09-05 Allan McRae <allan@archlinux.org>
6445
b9dafc56 6446 [BZ #13966]
c4e85184
AM
6447 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6448 determine header location.
6449 * configure: Regenerated.
6450
e1343020
AS
64512012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6452
6453 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6454 float format.
6455 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
6456 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6457 format.
e1343020
AS
6458 (test): Regenerate.
6459
0a9f1987
DM
64602012-09-04 David S. Miller <davem@davemloft.net>
6461
6462 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6463 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6464 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6465
29237804
FW
64662012-09-04 Florian Weimer <fweimer@redhat.com>
6467
6468 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6469 failures.
6470
edb3cb88
FW
6471 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6472
60160d83
JM
64732012-09-04 Joseph Myers <joseph@codesourcery.com>
6474
6475 [BZ #9914]
6476 * libio/iogetdelim.c: Include <limits.h>.
6477 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6478 + len + 1 would overflow.
6479
bcd6c8dc
AJ
64802012-09-03 Andreas Jaeger <aj@suse.de>
6481
6482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6483 * sysdeps/i386/fpu/libm-test-ulps: Update.
6484
4ffffbd2
LD
64852012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6486
6487 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6488 Add s_sinf-sse2, s_conf-sse2.
6489
6490 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6491 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6492 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6493 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6494
6495 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6496 for using routine as __sinf_ia32.
6497 Use macro for function declaration and weak_alias.
6498 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6499 for using routine as __cosf_ia32.
6500 Use macro for function declaration and weak_alias.
6501
6502 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6503 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6504
6505 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6506 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6508
6509 * math/libm-test.inc (cos_test): Add more test cases.
6510 (sin_test): Likewise.
6511 (sincos_test): Likewise.
6512
511fa286
AK
65132012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6514
6515 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6516 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6517 hidden.
6518 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6519
5f30cfec
L
65202012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6521
6522 [BZ #14538]
6523 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6524 first element of the GOT.
6525 (elf_machine_load_address): Return the difference between
6526 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6527
0786794f
AM
65282012-09-01 Allan McRae <allan@archlinux.org>
6529
5f30cfec
L
6530 [BZ #13412]
6531 * configure.in (AWK): Require gawk version 3.0 or later.
6532 * configure: Regenerated.
0786794f 6533
26889eac
JM
65342012-09-01 Joseph Myers <joseph@codesourcery.com>
6535
6536 * sysdeps/unix/sysv/linux/kernel-features.h
6537 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6538 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6539 [__NR_clock_getres]: Make code unconditional.
6540 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6541 (clock_getcpuclockid): Remove code left unreachable by removal of
6542 conditionals.
6543 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6544 code unconditional.
6545 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6546 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6547 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6548 Make code unconditional.
6549 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6550 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6551 * sysdeps/unix/sysv/linux/clock_settime.c
6552 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6553 conditional code.
6554 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6555 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6556
d22e28b0
L
65572012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6558
6559 [BZ #14476]
6560 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6561 scripts/test-installation.pl.
6562
6563 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6564 and $ld_so_version if it is set.
6565
050af9c4
SP
65662012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6567
6568 [BZ #14516]
6569 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6570 failure if reading from procfs failed.
6571 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6572
ad845c0b
JM
65732012-08-27 Joseph Myers <joseph@codesourcery.com>
6574
6575 * sysdeps/unix/sysv/linux/kernel-features.h
6576 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6577 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6578 Remove conditional code.
6579 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6580 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6581 Remove conditional code.
6582 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6583 * sysdeps/unix/sysv/linux/i386/fxstat.c
6584 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6585 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6586 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6587 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6588 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6589 * sysdeps/unix/sysv/linux/i386/lxstat.c
6590 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6591 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6592 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6593 Remove conditional code.
6594 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6595 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6596 Remove conditional code.
6597 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6598 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6599 <kernel-features.h>.
6600 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6601 Remove.
6602 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6603 Remove conditional code.
6604 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6605 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6606 Remove conditional.
6607
5dbf56af
MF
66082012-08-27 Mike Frysinger <vapier@gentoo.org>
6609
6610 [BZ #5400]
6611 * NEWS: Add fixed bug number.
6612
d6e70f43
JM
66132012-08-27 Joseph Myers <joseph@codesourcery.com>
6614
7efb4737
JM
6615 [BZ #14519]
6616 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6617 underflowing exponent in case of negative sign.
6618 * stdlib/tst-strtod-round-data: Add more tests.
6619 * stdlib/tst-strtod-round.c (tests): Regenerated.
6620
af92131a
JM
6621 [BZ #3479]
6622 * stdlib/strtod_l.c (NDIG): Remove.
6623 (HEXNDIG): Likewise.
6624 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6625 smallest representable value.
6626 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6627 lie within an exact representation of 1/2 ulp of the result.
6628 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6629 unconditionally.
6630 (TENS_P9_IDX): Define unconditionally.
6631 (TENS_P9_SIZE): Likewise.
6632 (TENS_P10_IDX): Likewise.
6633 (TENS_P10_SIZE): Likewise.
6634 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6635 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6636 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6637 entries for 10^2^13 and 10^2^14.
6638 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6639 (TENS_P13_IDX): Define.
6640 (TENS_P13_SIZE): Likewise.
6641 (TENS_P14_IDX): Likewise.
6642 (TENS_P14_SIZE): Likewise.
6643 (_fpioconst_pow10): Change array size to
6644 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6645 unconditional.
6646 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6647 1024]: Add entries for 10^2^13 and 10^2^14.
6648 [LAST_POW10 > _LAST_POW10]: Remove #error.
6649 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6650 (_fpioconst_pow10): Change array size to
6651 FPIOCONST_POW10_ARRAY_SIZE.
6652 * stdlib/gen-fpioconst.c: New file.
6653 * stdlib/gen-tst-strtod-round.c: Likewise.
6654 * stdlib/tst-strtod-round-data: Likewise.
6655 * stdlib/tst-strtod-round.c: Likewise.
6656 * stdlib/Makefile (tests): Add tst-strtod-round.
6657
d6e70f43
JM
6658 [BZ #14459]
6659 * stdlib/strtod_l.c: Include <stdint.h>.
6660 (NDEBUG): Do not define.
6661 (round_and_return): Change EXPONENT parameter to type intmax_t.
6662 Rearrange calculations to avoid internal overflow possibilities.
6663 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6664 Rearrange calculations to avoid internal overflow possibilities.
6665 Assert that number fits inside MPNSIZE limbs.
6666 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6667 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6668 calculations and add assertions to avoid internal overflow
6669 possibilities. Add casts to avoid signed/unsigned operations.
6670 * stdlib/tst-strtod-overflow.c: New file.
6671 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6672
1f529f7d
MP
66732012-08-25 Marek Polacek <polacek@redhat.com>
6674
6675 * time/time.h: Fix some typos in comments.
6676
59a629f1
RM
66772012-08-23 Roland McGrath <roland@hack.frob.com>
6678
6679 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6680 * posix/tst-rfc3484-2.c: Likewise.
6681 * posix/tst-rfc3484-3.c: Likewise.
6682
d3bafbc9
SM
66832012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6684
6685 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6686 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6687
4efcc022
JM
66882012-08-23 Joseph Myers <joseph@codesourcery.com>
6689
6690 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6691 #include of fxstatat64.c.
6692
3cc3ef96
RM
66932012-08-22 Roland McGrath <roland@hack.frob.com>
6694
f04e2132
RM
6695 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6696 * shadow/getspent_r.c: Likewise.
6697 * shadow/getspnam.c: Likewise.
6698 * shadow/getspnam_r.c: Likewise.
6699 * gshadow/getsgent.c: Likewise.
6700 * gshadow/getsgent_r.c: Likewise.
6701 * gshadow/getsgnam.c: Likewise.
6702 * gshadow/getsgnam_r.c: Likewise.
6703 * inet/getnetbyad.c: Likewise.
6704 * inet/getnetbyad_r.c: Likewise.
6705 * inet/getnetbynm.c: Likewise.
6706 * inet/getnetbynm_r.c: Likewise.
6707 * inet/getnetent.c: Likewise.
6708 * inet/getnetent_r.c: Likewise.
6709 * inet/getproto.c: Likewise.
6710 * inet/getproto_r.c: Likewise.
6711 * inet/getprtent.c: Likewise.
6712 * inet/getprtent_r.c: Likewise.
6713 * inet/getprtname.c: Likewise.
6714 * inet/getprtname_r.c: Likewise.
6715 * inet/getrpcbyname.c: Likewise.
6716 * inet/getrpcbyname_r.c: Likewise.
6717 * inet/getrpcbynumber.c: Likewise.
6718 * inet/getrpcbynumber_r.c: Likewise.
6719 * inet/getrpcent.c: Likewise.
6720 * inet/getrpcent_r.c: Likewise.
6721 * inet/getaliasent.c: Likewise.
6722 * inet/getaliasent_r.c: Likewise.
6723 * inet/getaliasname.c: Likewise.
6724 * inet/getaliasname_r.c: Likewise.
6725 * nscd/getgrgid_r.c: Likewise.
6726 * nscd/getgrnam_r.c: Likewise.
6727 * nscd/gethstbyad_r.c: Likewise.
6728 * nscd/gethstbynm3_r.c: Likewise.
6729 * nscd/getpwnam_r.c: Likewise.
6730 * nscd/getpwuid_r.c: Likewise.
6731 * nscd/getsrvbynm_r.c: Likewise.
6732 * nscd/getsrvbypt_r.c: Likewise.
6733 * nscd/gai.c: Likewise.
6734
c53d909c
RM
6735 * configure.in (build_nscd): New substituted variable, set
6736 by --disable-build-nscd and defaults to $use_nscd.
6737 * configure: Regenerated.
6738 * config.make.in (build-nscd): New substituted variable.
6739 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6740 Change conditional to require [$(build-nscd) = yes] as well.
6741 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6742
3cc3ef96
RM
6743 [BZ# 13696]
6744 * configure.in (use_nscd): New substituted variable, set by
6745 --disable-nscd. If enabled, define USE_NSCD.
6746 * configure: Regenerated.
6747 * config.h.in: Add USE_NSCD.
6748 * config.make.in (use-nscd): New substituted variable.
6749 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6750 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6751 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6752 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6753 (CFLAGS-getgrnam_r.c): Likewise.
6754 (CFLAGS-initgroups.c): Likewise.
6755 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6756 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6757 Variables removed.
6758 * inet/getnetgrent_r.c
6759 (nscd_setnetgrent): New function, broken out of ...
6760 (setnetgrent): ... here. Call it.
6761 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6762 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6763 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6764 * nscd/Makefile (routines, aux): Move definitions after include of
6765 Makeconfig. Conditionalize on [$(use-nscd) != no].
6766 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6767 Conditionalize on [USE_NSCD].
6768 (is_nscd, nscd_init_cb): Likewise.
6769 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6770 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6771 * nss/nss_db/db-init.c: Likewise.
6772 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6773 [USE_NSCD].
6774 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6775 (make_request): Use it.
6776 (cache_valid_p): New function.
6777 (__check_pf): Use it.
6778 * NEWS: Add item for --disable-nscd.
6779
07e51550
DL
67802012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6781
6782 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6783 to support sed >= 4.2.1-20-ga9bf076.
6784 * configure: Regenerated.
6785
35a5b08b
RM
67862012-08-22 Roland McGrath <roland@hack.frob.com>
6787
6788 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6789 Conditionalize whole body on [IREL].
6790
8479f23a
JL
67912012-08-22 Jeff Law <law@redhat.com>
6792
6793 [BZ #14505]
6794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6795 if the family is PF_UNSPEC.
6796
48da0b21
MF
67972012-08-22 Mike Frysinger <vapier@gentoo.org>
6798
6799 * Makerules (lib-version): Rename from V.
6800 (install-lib-nosubdir): Change V to lib-version.
6801
15d0da8c
WS
68022012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6803
6804 [BZ #14252]
6805 * powerpc32/power6/wcschr.c: New file.
6806 * powerpc32/power6/wcscpy.c: New file.
6807 * powerpc32/power6/wcsrchr.c: New file.
6808 * powerpc64/power6/wcschr.c: New file.
6809 * powerpc64/power6/wcscpy.c: New file.
6810 * powerpc64/power6/wcsrchr.c: New file.
6811
bcca0895
MK
68122012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6813
6814 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6815 (two_way_short_needle): Use it.
5a4aaa33
RM
6816 * string/strstr.c (AVAILABLE1_USES_J): Define.
6817 * string/strcasestr.c: Likewise.
99677e57
MK
6818
6819 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6820 array references.
6821 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6822
400726de
MK
6823 [BZ #11607]
6824 * NEWS: Add an entry.
6825 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6826 define their defaults.
6827 (two_way_short_needle): Detect end-of-string on-the-fly.
6828 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6829 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6830 * string/bug-strcasestr1.c: New test.
6831 * string/Makefile: Run it.
6832
20a71f2c
MK
68332012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6834
6835 [BZ #11607]
6836 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6837 the first character.
6838
21ad0558
RM
68392012-08-21 Roland McGrath <roland@hack.frob.com>
6840
6841 * csu/elf-init.c (__libc_csu_irel): Function removed.
6842 * csu/libc-start.c (apply_irel): New function.
6843 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6844
0e1d9911
JM
68452012-08-21 Joseph Myers <joseph@codesourcery.com>
6846
6847 * sysdeps/unix/sysv/linux/kernel-features.h
6848 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6849 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6850 <kernel-features.h>.
6851 [__NR_fadvise64_64]: Make code unconditional.
6852 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6853 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6854 !__NR_fadvise64_64)]: Likewise.
6855 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6856 !__NR_fadvise64_64))]: Likewise.
6857 [__NR_fadvise64]: Make code unconditional.
6858 [!__NR_fadvise64]: Remove conditional code.
6859 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6860 <kernel-features.h>.
6861 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6862 unconditional.
6863 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6864 conditional code.
6865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6866 not include <kernel-features.h>.
6867 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6868 unconditional.
6869 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6870 conditional code.
6871 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6872 include <kernel-features.h>.
6873 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6874 unconditional.
6875 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6876 conditional code.
6877
14a50c9d
WS
68782012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6879
6880 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6881 slight instruction rearrangements per scrollpipe analysis.
6882 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6883
c0f4faf0
RM
68842012-08-20 Roland McGrath <roland@hack.frob.com>
6885
696da859
RM
6886 * manual/syslog.texi (syslog; vsyslog, closelog):
6887 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6888 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6889
c0f4faf0
RM
6890 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6891 DSOCAPS to match condition on defining it.
6892
348363b2
JM
68932012-08-20 Joseph Myers <joseph@codesourcery.com>
6894
a35cbf28
JM
6895 * sysdeps/unix/sysv/linux/kernel-features.h
6896 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6898 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6899 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6901 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6902 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6904 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6905 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6906
445f7ecd
JM
6907 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6908 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6909
348363b2
JM
6910 * sysdeps/unix/sysv/linux/kernel-features.h
6911 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6912 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6913 unconditional.
6914 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6915 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6916 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6917 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6918 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6919 Make code unconditional.
6920 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6921 (__mmap64) [!__NR_mmap2]: Likewise.
6922 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6923 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6924 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6925 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6926 [__NR_mmap2]: Make code unconditional.
6927 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6928 (__mmap64) [!__NR_mmap2]: Likewise.
6929
bc5bc0e5
AK
69302012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6931
6932 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6933
88d506de
AJ
69342012-08-18 Andreas Jaeger <aj@suse.de>
6935
6936 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6937
493387d2
MF
69382012-08-18 Mike Frysinger <vapier@gentoo.org>
6939
6940 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6941 * include/unistd.h (__have_sock_cloexec): Likewise.
6942 (__have_pipe2): Likewise.
6943 (__have_dup3): Likewise.
6944
a277af22
MF
69452012-08-18 Mike Frysinger <vapier@gentoo.org>
6946
6947 [BZ #9685]
6948 * include/unistd.h (__have_pipe2): Change define into an extern int.
6949 (__have_dup3): Likewise.
6950 * socket/have_sock_cloexec.c: Include fcntl.h.
6951 (__have_pipe2): New variable.
6952 (__have_dup3): Likewise.
6953
fdab8fd3
MF
69542012-08-17 Mike Frysinger <vapier@gentoo.org>
6955
6956 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6957
31035e80
MP
69582012-08-17 Marek Polacek <polacek@redhat.com>
6959
6960 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6961 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6962
3bd9e993
RM
69632012-08-17 Roland McGrath <roland@hack.frob.com>
6964
c91c505f
RM
6965 * configure.in: Add AC_SUBST for sysheaders.
6966 * configure: Regenerated.
6967 * config.make.in (sysheaders): New substituted variable.
6968
7c6f9d53
RM
6969 * sysdeps/unix/mkfifo.c: Moved ...
6970 * sysdeps/posix/mkfifo.c: ... here.
6971 * sysdeps/unix/mkfifoat.c: Moved ...
6972 * sysdeps/posix/mkfifoat.c: ... here.
6973
6974 * sysdeps/unix/utime.c: Moved ...
6975 * sysdeps/posix/utime.c: ... here.
6976
6977 * sysdeps/unix/time.c: Moved ...
6978 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
6979 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6980 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
6981
6982 * sysdeps/unix/nice.c: Moved ...
6983 * sysdeps/posix/nice.c: ... here.
6984
6985 * sysdeps/unix/alarm.c: Moved ...
6986 * sysdeps/posix/alarm.c: ... here.
6987
3bd9e993
RM
6988 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6989
d1f09384
JL
69902012-08-17 Jeff Law <law@redhat.com>
6991
6992 * intl/Makefile (codeset_mo): New variable.
6993 ($(codeset_mo)): New target.
6994 (tst-codeset.out): Depend on that. Remove explicit rule.
6995 (tst-gettext3.out, tst-gettext5.out): Likewise.
6996 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6997 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6998 * intl/tst-codeset.sh: Remove.
6999 * intl/tst-gettext3.sh: Likewise.
7000 * intl/tst-gettext5.sh: Likewise.
7001
2ae1ae5c
RM
70022012-08-17 Roland McGrath <roland@hack.frob.com>
7003
c31fdb83
RM
7004 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7005 * sysdeps/unix/syscalls.list: ... here.
7006
a0844057
RM
7007 * sysdeps/posix/getaddrinfo.c
7008 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7009 (gaiconf_init, gaiconf_reload): Use them.
7010 [!_STATBUF_ST_NSEC]
7011 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7012 Define using time_t rather than struct timespec.
7013
750c1f2a
RM
7014 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7015 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7016 Macros removed.
7017 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7018 [!NO_THREADS].
7019 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7020 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7021 Likewise.
7022
2ae1ae5c
RM
7023 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7024 __libc_cleanup_push argument.
7025
e66a42f5
RM
7026 * bits/param.h: New file.
7027 * misc/sys/param.h: New file.
7028 * include/sys/param.h: New file.
7029 * misc/Makefile (headers): Add bits/param.h.
7030 * sysdeps/generic/sys/param.h: File removed.
7031 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7032 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7033 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 7034 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 7035
b7c08a66
RM
7036 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7037 last change.
7038
b2e1c562
RM
7039 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7040 [_IO_MTSAFE_IO].
7041 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7042 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7043 New macros.
7044
c75ccd4c
RM
7045 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7046 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7047 rather than -D_IO_MTSAFE_IO conditionally.
7048 * stdio-common/Makefile (CPPFLAGS): Likewise.
7049 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7050 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7051 Use $(libio-mtsafe).
7052 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7053 of -D_IO_MTSAFE_IO.
7054 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7055 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7056 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7057 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7058 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7059 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7060 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7061 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7062 (CFLAGS-fread_u_chk.c): Likewise.
7063 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7064 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7065 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7066 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7067 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7068 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7069 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7070 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7071 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7072
7073 * libio/Makefile: Test [$(libc-reentrant) = yes]
7074 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7075
7076 * Makeconfig
7077 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7078 * sysdeps/pthread/configure: File removed.
7079 * sysdeps/pthread/Makeconfig: New file.
7080 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7081 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7082
d9195db8
GB
70832012-08-16 Gary Benson <gbenson@redhat.com>
7084
7085 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7086 unmapping the first object in a namespace.
7087
86466cd9
RM
70882012-08-16 Roland McGrath <roland@hack.frob.com>
7089
7090 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7091 (__internal_setnetgrent): ... this. Add internal_function to
7092 definition. Add libc_hidden_def.
7093 (setnetgrent): Update caller.
7094 (internal_endnetgrent): Renamed to ...
7095 (__internal_endnetgrent): ... this. Add internal_function to
7096 definition. Add libc_hidden_def.
7097 (endnetgrent): Update caller.
7098 (internal_getnetgrent_r): Renamed to ...
7099 (__internal_getnetgrent_r): ... this. Add internal_function to
7100 definition. Add libc_hidden_def.
7101 (__getnetgrent_r): Update caller.
7102 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7103
c3c8283c
JM
71042012-08-16 Joseph Myers <joseph@codesourcery.com>
7105
7106 * stdlib/longlong.h: Update from GCC.
7107
db1ee0a8
RM
71082012-08-16 Roland McGrath <roland@hack.frob.com>
7109
7110 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7111 on _QL, which is set by umul_ppmm but never used.
7112 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7113 variables, which are set by GMP macros but never used.
7114 * stdio-common/_itowa.c (_itowa): Likewise.
7115 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7116 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7117
30f69637
CD
71182012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7119
7120 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7121 struct La_sh_regs is not constant.
7122 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7123 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7124 and struct La_sparc64_regs are not constant.
7125
93a78ac4
JM
71262012-08-16 Joseph Myers <joseph@codesourcery.com>
7127
7128 * sysdeps/unix/sysv/linux/kernel-features.h
7129 (__ASSUME_POSIX_TIMERS): Remove.
7130 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7131 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7132 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7133 Make code unconditional.
7134 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7135 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7136 Make code unconditional.
7137 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7138 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7139 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7140 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7141 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7142 Make code unconditional.
7143 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7144 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7145 (__libc_missing_posix_timers): Remove.
7146
dd924cd7
RM
71472012-08-15 Roland McGrath <roland@hack.frob.com>
7148
4b4f2771
RM
7149 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7150 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7151
601c888b
RM
7152 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7153
176790a7
RM
7154 * elf/dl-sym.c: Include <stdlib.h>.
7155
329bc018
RM
7156 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7157 constants, which avoids warnings in 32-bit builds.
7158
e04e272d
RM
7159 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7160 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7161
952bf94a
RM
7162 * misc/lseek.c: File moved to ...
7163 * io/lseek.c: ... here.
7164
7c99b50a
RM
7165 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7166
dd924cd7
RM
7167 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7168 shifting LEN more than 31 bits at once.
7169
b3f479a8
LD
71702012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7171
7172 [BZ #14195]
8c4ae0d4
RM
7173 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7174 segmentation fault for a case of two empty input strings.
b3f479a8
LD
7175 * string/test-strncasecmp.c (check1): Renamed to...
7176 (bz12205): ...this.
7177 (bz14195): Add new testcase for two empty input strings and N > 0.
7178 (test_main): Call new testcase, adapt for renamed function.
7179
9c55864e
AJ
71802012-08-15 Andreas Jaeger <aj@suse.de>
7181
7182 [BZ #14090]
7183 * crypt/md5test2.c: New test, based on test supplied by Serge
7184 Belyshev <belyshev@depni.sinp.msu.ru>.
7185 * crypt/Makefile (xtests): Add md5test-giant..
7186 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7187
02dcb6c5
PE
71882012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7189
7190 [BZ #14090]
7191 * crypt/md5.c (md5_process_block): Don't assume the buffer
7192 length is less than 2**32.
7193 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7194 length is less than 2**64.
7195
a3f95dcc
RM
71962012-08-15 Roland McGrath <roland@hack.frob.com>
7197
be75d758
RM
7198 * string/str-two-way.h: Include <sys/param.h>.
7199 (MAX): Macro removed.
7200
7312ca90
RM
7201 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7202 Move #define and #undef of memmove to just before and after
7203 including <string.h>.
7204
9a0a5486
RM
7205 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7206 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7207 and after including <string.h>. Move declarations of
7208 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7209 to before #include "string/memmove.c".
7210
67cc348d
RM
7211 * include/dirent.h: Declare __getdirentries.
7212
a3f95dcc
RM
7213 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7214 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7215
ca98e171
MF
72162012-08-14 Mike Frysinger <vapier@gentoo.org>
7217
7218 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7219 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7220 * sysdeps/i386/configure: Regenerated.
7221 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7222 STABS_CURRENT_FILE, and STABS_FUN.
7223 (END): Remove call to STABS_FUN_END.
7224 (STABS_CURRENT_FILE1): Delete.
7225 (STABS_CURRENT_FILE): Likewise.
7226 (STABS_FUN): Likewise.
7227 (STABS_FUN_END): Likewise.
7228 (STABS_FUN2): Likewise.
7229 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7230 * sysdeps/x86_64/configure: Regenerated.
7231
5908bf46
RM
72322012-08-14 Roland McGrath <roland@hack.frob.com>
7233
7234 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 7235 * elf/dl-lookup.c: Likewise.
5908bf46 7236
f2c05b9e
JM
72372012-08-14 Joseph Myers <joseph@codesourcery.com>
7238
7239 * sysdeps/unix/sysv/linux/kernel-features.h
7240 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7241 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7242 unconditionally.
7243 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7244 unconditionally.
7245 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7246 condition on __ASSUME_CLONE_THREAD_FLAGS.
7247
e11f5155
AJ
72482012-08-14 Andreas Jaeger <aj@suse.de>
7249
7250 * sysdeps/i386/fpu/libm-test-ulps: Update.
7251
51a9ba86
MK
72522012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7253
2fdd4f78
AJ
7254 * include/atomic.h (atomic_exchange_and_add): Split into ...
7255 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7256 New atomic macros.
51a9ba86 7257
ba6cba9e
MT
72582012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7259
7260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7261
42443a47
JL
72622012-08-13 Jeff Law <law@redhat.com>
7263
7264 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7265 null byte in the output string.
7266
121dce05
JM
72672012-08-10 Joseph Myers <joseph@codesourcery.com>
7268
7269 * sysdeps/unix/sysv/linux/kernel-features.h
7270 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7271 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7272 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7273 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7274 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7275 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
7276 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7277
bf51f568
JL
72782012-08-09 Jeff Law <law@redhat.com>
7279
7280 [BZ #13939]
7281 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7282 When avoid_arena is set, don't retry in the that arena. Pick the
7283 next one, whatever it might be.
7284 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7285 (arena_lock): Pass in new parameter to arena_get2.
7286 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7287 arena_get2.
7288 (__libc_malloc): Unify retrying after main arena failure with
7289 __libc_memalign version.
7290 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7291
f85fa270
L
72922012-08-09 H.J. Lu <hongjiu.lu@intel.com>
7293
7294 [BZ #14166]
7295 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7296 to __redirect_strstr.
7297 (__strstr_sse42): Use typeof __redirect_strstr.
7298 (__strstr_ia32): Likewise.
7299 (__libc_strstr): New prototype.
7300 (strstr): Renamed to ...
7301 (__libc_strstr): This.
7302 (strstr): New strong alias of __libc_strstr.
7303 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7304 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
7305 __redirect_time.
7306 Include <time.h>.
7307 (__libc_time): New prototype.
7308 (time_ifunc): Replace time with __libc_time.
7309 (time): New strong alias and hidden definition of __libc_time.
7310 (__GI_time): Remove strong alias.
7311 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
7312 Include <stddef.h>.
7313 (memmove): Redefined to __redirect_memmove.
7314 (__memmove_sse2): Use typeof __redirect_memmove.
7315 (__memmove_ssse3): Likewise.
7316 (__memmove_ssse3_back): Likewise.
7317 (__libc_memmove): New prototype.
7318 (memmove): Renamed to ...
7319 (__libc_memmove): This.
7320 (memmove): New strong alias of __libc_memmove.
7321
33b4a91e
MS
73222012-08-08 Mark Salter <msalter@redhat.com>
7323
7324 * elf/elf.h
7325 (R_MN10300_TLS_GD): Define.
7326 (R_MN10300_TLS_LD): Likewise.
7327 (R_MN10300_TLS_LDO): Likewise.
7328 (R_MN10300_TLS_GOTIE): Likewise.
7329 (R_MN10300_TLS_IE): Likewise.
7330 (R_MN10300_TLS_LE): Likewise.
7331 (R_MN10300_TLS_DTPMOD): Likewise.
7332 (R_MN10300_TLS_DTPOFF): Likewise.
7333 (R_MN10300_TLS_TPOFF): Likewise.
7334 (R_MN10300_SYM_DIFF): Likewise.
7335 (R_MN10300_ALIGN): Likewise.
7336 (R_MN10300_NUM): Update.
7337
b36137f1
JM
73382012-08-08 Joseph Myers <joseph@codesourcery.com>
7339
7340 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7341 Remove.
7342
cdd915fd
RM
73432012-08-08 Roland McGrath <roland@hack.frob.com>
7344
a2433aac
RM
7345 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7346
cdd915fd
RM
7347 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7348 sysdeps/unix -> sysdeps/posix move.
7349 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7350
bf9b740a
AM
73512012-08-07 Allan McRae <allan@archlinux.org>
7352
7353 [BZ #14303]
7354 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7355 (SUNOS_CPP): Likewise.
7356 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7357 not found.
7358 (open_input): Call CPP using execvp.
7359
93df14ee
JM
73602012-08-07 Joseph Myers <joseph@codesourcery.com>
7361
7362 * sysdeps/unix/sysv/linux/kernel-features.h
7363 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7364 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7365 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7366 (__ASSUME_WAITID_SYSCALL): Likewise.
7367 * sysdeps/unix/sysv/linux/dl-execstack.c
7368 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7369 code unconditional.
7370 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7371 conditional code.
7372 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7373 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7374 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7375 code.
7376 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7377 unconditional.
7378 [__ASSUME_WAITID_SYSCALL]: Likewise.
7379 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7380
d34689de
RM
73812012-08-07 Roland McGrath <roland@hack.frob.com>
7382
a281decc
RM
7383 * sysdeps/unix/closedir.c: Renamed to ...
7384 * sysdeps/posix/closedir.c: ... here.
7385 * sysdeps/unix/dirfd.c: Renamed to ...
7386 * sysdeps/posix/dirfd.c: ... here.
7387 * sysdeps/unix/dirstream.h: Renamed to ...
7388 * sysdeps/posix/dirstream.h: ... here.
7389 * sysdeps/unix/fdopendir.c: Renamed to ...
7390 * sysdeps/posix/fdopendir.c: ... here.
7391 * sysdeps/unix/opendir.c: Renamed to ...
7392 * sysdeps/posix/opendir.c: ... here.
7393 * sysdeps/unix/readdir.c: Renamed to ...
7394 * sysdeps/posix/readdir.c: ... here.
7395 * sysdeps/unix/readdir_r.c: Renamed to ...
7396 * sysdeps/posix/readdir_r.c: ... here.
7397 * sysdeps/unix/rewinddir.c: Renamed to ...
7398 * sysdeps/posix/rewinddir.c: ... here.
7399 * sysdeps/unix/seekdir.c: Renamed to ...
7400 * sysdeps/posix/seekdir.c: ... here.
7401 * sysdeps/unix/telldir.c: Renamed to ...
7402 * sysdeps/posix/telldir.c: ... here.
7403 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7404 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7405 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7406 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7407
22895b47
RM
7408 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7409 * bits/fcntl.h: ... here.
7410
707a53b6
RM
7411 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7412 not 0.
7413 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7414 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7415 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7416 (struct flock): Move l_start, l_len to the beginning.
7417 Use __pid_t for l_pid.
7418 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7419 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7420 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7421 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7422 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7423 [__USE_LARGEFILE64] (struct flock64): New type.
7424 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7425
f0bd3e25
RM
7426 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7427 * bits/dirent.h: ... here.
7428
d34689de
RM
7429 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7430 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7431
6dad2c06
JM
74322012-08-07 Joseph Myers <joseph@codesourcery.com>
7433
7434 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7435 Change from 2.6.0 to 2.6.16.
7436 * sysdeps/unix/sysv/linux/configure: Regenerated.
7437 * sysdeps/unix/sysv/linux/kernel-features.h
7438 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7439 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7440 version.
7441 (__ASSUME_UTIMES): Likewise.
7442 (__ASSUME_CLONE_STOPPED): Remove.
7443 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7444 architectures, not kernel version.
7445 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7446 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7447 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7448 (__ASSUME_WAITID_SYSCALL): Likewise.
7449 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7450 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7451 * README: State 2.6.16 as minimum Linux kernel version. Do not
7452 refer to older versions.
7453
03af9520
RM
74542012-08-06 Roland McGrath <roland@hack.frob.com>
7455
8e49df1d
RM
7456 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7457 Define alphasort64 as an alias.
7458 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7459 Define versionsort64 as an alias.
7460 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7461 Define scandir64 as an alias.
7462 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7463 Define scandirat64 as an alias.
7464 * dirent/alphasort64.c (alphasort64):
7465 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7466 * dirent/versionsort64.c: Likewise.
7467 * dirent/scandir64.c: Likewise.
7468 * dirent/scandirat64.c: Likewise.
7469 * sysdeps/wordsize-64/alphasort.c: File removed.
7470 * sysdeps/wordsize-64/alphasort64.c: File removed.
7471 * sysdeps/wordsize-64/scandir.c: File removed.
7472 * sysdeps/wordsize-64/scandir64.c: File removed.
7473 * sysdeps/wordsize-64/scandirat.c: File removed.
7474 * sysdeps/wordsize-64/scandirat64.c: File removed.
7475 * sysdeps/wordsize-64/versionsort.c: File removed.
7476 * sysdeps/wordsize-64/versionsort64.c: File removed.
7477 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7478 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7479 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7480 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7481 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7482 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7483 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7484 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7485
7486 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7487 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7488 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7489 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7490 [defined __arch64__ || defined __sparcv9]
7491 (__INO_T_MATCHES_INO64_T): New macro.
7492 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7493 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7494 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7495 * sysdeps/unix/sysv/linux/bits/dirent.h
7496 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7497 (_DIRENT_MATCHES_DIRENT64): New macro.
7498
03af9520
RM
7499 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7500 Define lockf64 as an alias.
7501 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7502 Define fseeko64 as an alias.
7503 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7504 Define ftello64 as an alias.
7505 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7506 Define _IO_fgetpos64 and fgetpos64 as aliases.
7507 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7508 Define _IO_fsetpos64 and fsetpos64 as aliases.
7509 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7510 Conditionalize body on this.
7511 * libio/fseeko64.c: Likewise.
7512 * libio/ftello64.c: Likewise.
7513 * libio/iofgetpos64.c: Likewise.
7514 * libio/iofsetpos64.c: Likewise.
7515 * sysdeps/wordsize-64/lockf.c: File removed.
7516 * sysdeps/wordsize-64/lockf64.c: File removed.
7517 * sysdeps/wordsize-64/fseeko.c: File removed.
7518 * sysdeps/wordsize-64/fseeko64.c: File removed.
7519 * sysdeps/wordsize-64/ftello.c: File removed.
7520 * sysdeps/wordsize-64/ftello64.c: File removed.
7521 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7522 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7523 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7524 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7525 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7526 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7527 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7528 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7529 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7530 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7531 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7532 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7533 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7534 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7535
7536 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7537 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7538 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7539 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7540 [defined __arch64__ || defined __sparcv9]
7541 (__OFF_T_MATCHES_OFF64_T): New macro.
7542 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7543 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7544 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7545 (__OFF_T_MATCHES_OFF64_T): New macro.
7546
c5757acd
L
75472012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7548
7549 * stdlib/secure-getenv.c (__secure_getenv): Replace
7550 GLIBC_2_16 with GLIBC_2_17.
7551
3a31811e
L
75522012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7553
7554 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7555 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7556
faa2bccb
DM
75572012-08-03 David S. Miller <davem@davemloft.net>
7558
7559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7560
85fe1997
JM
75612012-08-03 Joseph Myers <joseph@codesourcery.com>
7562
7563 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7564 Remove.
7565 (__ASSUME_CORRECT_SI_PID): Likewise.
7566 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7567 (__ASSUME_TMPFS_NAME): Likewise.
7568 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7569 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7570 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7571 (HAVE_AUX_SECURE): Make definition unconditional.
7572 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7573 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7574
4f75b7a0
RM
75752012-08-03 Roland McGrath <roland@hack.frob.com>
7576
7577 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7578 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7579 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7580 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7581 __eloop_threshold instead of SYMLOOP_MAX.
7582
7583 * sysdeps/generic/eloop-threshold.h: New file.
7584 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7585 of MAXSYMLINKS.
7586 * elf/chroot_canon.c (chroot_canon): Likewise.
7587
7aab07e4
JM
75882012-08-03 Joseph Myers <joseph@codesourcery.com>
7589
7590 [BZ #13717]
7591 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7592 Change to 2.6.0 everywhere.
7593 * sysdeps/unix/sysv/linux/configure: Regenerated.
7594 * sysdeps/unix/sysv/linux/kernel-features.h
7595 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7596 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7597 kernel versions.
7598 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7599 (__ASSUME_FUTEX_REQUEUE): Remove.
7600 (__ASSUME_STATFS64): Define unconditionally.
7601 (__ASSUME_AT_SECURE): Likewise.
7602 (__ASSUME_CORRECT_SI_PID): Likewise.
7603 (__ASSUME_TGKILL): Define without depending on kernel version for
7604 i386.
7605 (__ASSUME_UTIMES): Likewise.
7606 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7607 kernel version.
7608 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7609 (__ASSUME_TMPFS_NAME): Likewise.
7610 * README: Update reference to Linux kernel versions.
7611
b67e9372
MP
76122012-08-02 Marek Polacek <polacek@redhat.com>
7613
1f529f7d 7614 [BZ# 14150]
b67e9372
MP
7615 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7616 libc_cv_asm_type_prefix with %.
7617 * configure: Regenerated.
d2441631
RM
7618 * include/libc-symbols.h: Remove comment about
7619 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
7620 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7621 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7622 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7623 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7624 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7625 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7626 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7627 * elf/tst-unique2mod1.c: Likewise.
7628 * elf/tst-unique1mod2.c: Likewise.
7629 * elf/tst-unique1mod1.c: Likewise.
7630 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7631 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7632 Replace ASM_TYPE_DIRECTIVE with .type.
7633 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7634 * sysdeps/i386/sysdep.h: Likewise.
7635 * sysdeps/x86_64/sysdep.h: Likewise.
7636 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
7637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7638 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 7639 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
7640 * sysdeps/powerpc/powerpc32/sysdep.h:
7641 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
7642 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7643 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7644 * sysdeps/i386/fpu/e_powf.S: Likewise.
7645 * sysdeps/i386/fpu/e_expl.S: Likewise.
7646 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7647 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7648 * sysdeps/i386/fpu/e_pow.S: Likewise.
7649 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7650 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7651 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7652 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7653 * sysdeps/i386/fpu/e_log2.S: Likewise.
7654 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7655 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7656 * sysdeps/i386/fpu/e_powl.S: Likewise.
7657 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7658 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7659 * sysdeps/i386/fpu/e_logl.S: Likewise.
7660 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7661 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7662 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7663 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7664 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7665 * sysdeps/i386/fpu/e_log.S: Likewise.
7666 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7667 * sysdeps/i386/fpu/e_logf.S: Likewise.
7668 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7669 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7670 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7671 * sysdeps/i386/fpu/e_log10.S: Likewise.
7672 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7673 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7674 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7675 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7676 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7677 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7678 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7679 * sysdeps/i386/i686/strtok.S: Likewise.
7680 * sysdeps/i386/i386-mcount.S: Likewise.
7681 * sysdeps/i386/strtok.S: Likewise.
7682 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7683 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7684 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7685 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7686 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7687 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7688 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7689 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7690 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7691 * sysdeps/x86_64/_mcount.S: Likewise.
7692 * sysdeps/x86_64/strtok.S: Likewise.
7693 * sysdeps/sh/_mcount.S: Likewise.
7694
2747bf9a
RM
76952012-08-01 Roland McGrath <roland@hack.frob.com>
7696
7697 * libio/iofopen.c: Include <fcntl.h>.
7698 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7699 (_IO_fopen64, fopen64): Define as aliases.
7700 * libio/iofopen64.c: Include <fcntl.h>.
7701 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7702 Conditionalize body on this.
7703 * sysdeps/wordsize-64/iofopen.c: File removed.
7704 * sysdeps/wordsize-64/iofopen64.c: File removed.
7705
3fb791b8
MP
77062012-08-01 Marek Polacek <polacek@redhat.com>
7707
7708 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7709 Use dlfcn directly instead of a variable.
7710 (binfmt-subdir): Do not define.
7711 (dlfcn): Likewise.
7712
a9f1039f
JM
77132012-08-01 Joseph Myers <joseph@codesourcery.com>
7714
23bddc06
JM
7715 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7716 Remove all definitions.
7717 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7718 <kernel-features.h>.
7719 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7720 (miss_F_GETOWN_EX): Remove all definitions.
7721 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7722 macro definition.
7723 [!__ASSUME_FCNTL64]: Remove conditional code.
7724 [__ASSUME_FCNTL64]: Make code unconditional.
7725 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7726 <kernel-features.h>.
7727 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7728 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7729 (lockf64) [__NR_fcntl64]: Make code unconditional.
7730 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7731
a9f1039f
JM
7732 * sysdeps/unix/sysv/linux/kernel-features.h
7733 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7734 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7735 Make code unconditional.
7736 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7737 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7739 [__NR_vfork]: Make code unconditional.
7740 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7741 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7743 [__NR_vfork]: Make code unconditional.
7744 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7745 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7746
09c0ee5f
RM
77472012-08-01 Roland McGrath <roland@hack.frob.com>
7748
48aec5b9
RM
7749 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7750 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7751
cd97c966
RM
7752 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7753 Define mkstemp64 as an alias.
3f55550c
RM
7754 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7755 Define mkstemps64 as an alias.
cd97c966
RM
7756 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7757 Define mkostemp64 as an alias.
b8625cfc
RM
7758 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7759 Define mkostemps64 as an alias.
cd97c966
RM
7760 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7761 Conditionalize body on this.
7762 * misc/mkostemp64.c: Likewise.
b8625cfc 7763 * misc/mkostemps64.c: Likewise.
3f55550c 7764 * misc/mkstemps64.c: Likewise.
cd97c966
RM
7765 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7766 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7767 * sysdeps/wordsize-64/mkostemp.c: File removed.
7768 * sysdeps/wordsize-64/mkstemp.c: File removed.
7769 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7770 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7771 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7772 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7773
09c0ee5f
RM
7774 [BZ #14138]
7775 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7776 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7777 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7778 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7779
7780 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7781 compat_symbol macros from <shlib-compat.h> rather than the underlying
7782 default_symbol_version and symbol_version macros, so that DEFAULT
7783 lines in shlib-versions are respected.
7784 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7785
7e66ee51
FW
77862012-08-01 Florian Weimer <fweimer@redhat.com>
7787
7788 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7789 Declare with warn_unused_result.
7790 (setgid, setregid, setegid, setresgid): Likewise.
7791 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7792 Likewise.
7793 * WUR-REPORT: Remove set*id functions.
7794
d2a54255
PT
77952012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7796
7797 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7798
7ecdb005
RM
77992012-07-31 Roland McGrath <roland@hack.frob.com>
7800
789bd351
RM
7801 * include/sys/socket.h (__libc_accept, __libc_accept4):
7802 Add attribute_hidden.
7803 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7804
40ce302d
RM
7805 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7806 use of PTR_MANGLE.
7807 * inet/getnetgrent_r.c (setup): Likewise.
7808
7ecdb005
RM
7809 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7810
e2eabb2c
DM
78112012-07-31 David S. Miller <davem@davemloft.net>
7812
7813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7814
d0419dbf
JM
78152012-07-31 Joseph Myers <joseph@codesourcery.com>
7816
7817 [BZ #13629]
7818 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7819 value between 1.0 and 2.0 and smaller part has absolute value less
7820 than 1.0.
7821 * math/s_clog10.c (__clog10): Likewise.
7822 * math/s_clog10f.c (__clog10f): Likewise.
7823 * math/s_clog10l.c (__clog10l): Likewise.
7824 * math/s_clogf.c (__clogf): Likewise.
7825 * math/s_clogl.c (__clogl): Likewise.
7826 * math/libm-test.inc (clog_test): Add more tests.
7827 (clog10_test): Likewise.
7828 * sysdeps/i386/fpu/libm-test-ulps: Update.
7829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7830
2bc13872
FW
78312012-07-31 Florian Weimer <fweimer@redhat.com>
7832
7833 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7834 Exit with zero in case no suitable GID is found, and write a
7835 message to standard error.
7836
bea9b193
RM
78372012-07-30 Roland McGrath <roland@hack.frob.com>
7838
7839 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7840 rather than to 1.
7841 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7842 (MAXPATHLEN): Removed.
7843 (NOGROUP, NODEV): New macros.
7844 (setbit, clrbit, isset, isclr): New macros.
7845 (howmany, roundup, powerof2): New macros.
7846 (DEV_BSIZE): New macro.
7847
7848 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7849 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7850
7851 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7852 definition on [!__NO_LONG_DOUBLE_MATH].
7853
7854 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7855 PTR_MANGLE and PTR_DEMANGLE.
7856
7857 * socket/accept4.c (accept4): Rename to __libc_accept4.
7858 Define accept4 as a weak alias.
7859
7860 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7861 on [_DIRENT_HAVE_D_TYPE].
7862 * io/ftw.c (ftw_dir): Likewise.
7863
7864 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7865
7866 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7867
7868 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7869 Use the BSD numbers rather than the arbitrary ones we had.
7870 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7871 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7872 (SIGXCPU, SIGXFSZ): New macros.
7873 (_NSIG): Now 32.
7874
7875 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7876 initializer on [_LIBC_REENTRANT].
7877
7878 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7879 definitions inside [_POSIX_MAPPED_FILES].
7880
7881 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7882
7883 * dirent/opendir.c: Include <fcntl.h>.
7884
7885 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7886 (__libc_getspecific): Likewise.
7887 (__libc_key_create): Likewise.
7888
7889 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7890 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7891 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7892 (tmpfile64): Define as alias.
7893 * sysdeps/wordsize-64/tmpfile.c: File removed.
7894 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7895 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7896 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7897
7898 * stdio-common/vfscanf.c: Include <stdbool.h>.
7899 * nss/makedb.c: Likewise.
7900 * stdio-common/_i18n_number.h: Likewise.
7901 * argp/argp-help.c: Likewise.
7902 * posix/wordexp.c: Likewise.
7903 * sysdeps/posix/spawni.c: Likewise.
7904 * nss/nss_files/files-initgroups.c: Likewise.
7905 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7906 * nss/nss_files/files-initgroups.c: Likewise.
7907 * nss/nss_db/db-netgrp.c: Likewise.
7908 * nss/nss_db/db-initgroups.c: Likewise.
7909 * io/fchmodat.c: Include <sys/stat.h>.
7910
7911 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7912 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7913
7914 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7915 [HAVE_MMAP].
7916
7917 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7918 Add multiple inclusion protection.
7919
e5abc686
DM
79202012-07-27 David S. Miller <davem@davemloft.net>
7921
7922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7923
815e6fa3
GB
79242012-07-27 Gary Benson <gbenson@redhat.com>
7925
7926 [BZ #14298]
7927 * elf/rtld.c: Include <stap-probe.h>.
7928 (dl_main): Added static probes "init_start" and "init_complete".
7929 * elf/dl-load.c: Include <stap-probe.h>.
7930 (lose): Take new parameter "nsid".
7931 Added static probe "map_failed".
7932 (_dl_map_object_from_fd): Pass namespace id to lose.
7933 Added static probe "map_start".
7934 (open_verify): Pass namespace id to lose.
7935 * elf/dl-open.c: Include <stap-probe.h>.
7936 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7937 and "reloc_complete".
7938 * elf/dl-close.c: Include <stap-probe.h>.
7939 (_dl_close_worker): Added static probes "unmap_start" and
7940 "unmap_complete".
7941 * elf/rtld-debugger-interface.txt: New file documenting the above.
7942
9f98c16c
RM
79432012-07-26 Roland McGrath <roland@hack.frob.com>
7944
7945 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7946 rather than a string variable.
7947 * sunrpc/rpc_main.c (h_output): Likewise.
7948 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7949
f3c22df3
PT
79502012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7951
7952 * inet/check_native.c: New file.
7953
3129cfc6
JM
79542012-07-26 Joseph Myers <joseph@codesourcery.com>
7955
da865e95
JM
7956 [BZ #13629]
7957 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7958 if larger part has absolute value 1.0.
7959 * math/s_clog10.c (__clog10): Likewise.
7960 * math/s_clog10f.c (__clog10f): Likewise.
7961 * math/s_clog10l.c (__clog10l): Likewise.
7962 * math/s_clogf.c (__clogf): Likewise.
7963 * math/s_clogl.c (__clogl): Likewise.
7964 * math/libm-test.inc (clog_test): Add more tests.
7965 (clog10_test): Likewise.
7966 * sysdeps/i386/fpu/libm-test-ulps: Update.
7967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7968
3129cfc6
JM
7969 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7970 (pltexit): Likewise.
7971 (La_regs): Likewise.
7972 (La_retval): Likewise.
7973 (int_retval): Likewise.
7974 Update #error for removed macros to refer only to definitions in
7975 tst-audit.h.
7976 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7977 macro.
7978 (pltexit): Likewise.
7979 (La_regs): Likewise.
7980 (La_retval): Likewise.
7981 (int_retval): Likewise.
7982 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7983 macro.
7984 (pltexit): Likewise.
7985 (La_regs): Likewise.
7986 (La_retval): Likewise.
7987 (int_retval): Likewise.
7988 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7989 macro.
7990 (pltexit): Likewise.
7991 (La_regs): Likewise.
7992 (La_retval): Likewise.
7993 (int_retval): Likewise.
7994 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7995 macro.
7996 (pltexit): Likewise.
7997 (La_regs): Likewise.
7998 (La_retval): Likewise.
7999 (int_retval): Likewise.
8000 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8001 macro.
8002 (pltexit): Likewise.
8003 (La_regs): Likewise.
8004 (La_retval): Likewise.
8005 (int_retval): Likewise.
8006 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8007 macro.
8008 (pltexit): Likewise.
8009 (La_regs): Likewise.
8010 (La_retval): Likewise.
8011 (int_retval): Likewise.
8012 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8013 macro definitions in tst-audit.h.
8014 * sysdeps/i386/tst-audit.h: New file.
8015 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8016 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8017 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8018 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8019 * sysdeps/sh/tst-audit.h: Likewise.
8020 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8021 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8022 * sysdeps/x86_64/tst-audit.h: Likewise.
8023
bfc07087
AJ
80242012-07-26 Andreas Jaeger <aj@suse.de>
8025
b1b2aaf8
AJ
8026 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8027 ptrace.
8028
8029 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8030 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8031 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8032 PTRACE_O_MASK.
8033 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8034 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8035 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8036
bfc07087
AJ
8037 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8038 value.
8039
8040 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8041 _sigsys.
8042 (si_call_addr, si_syscall, si_arch): Define new macro.
8043 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8044 _sigsys.
8045 (si_call_addr, si_syscall, si_arch): Define new marcro.
8046 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8047 _sigsys.
8048 (si_call_addr, si_syscall, si_arch): Define new macro.
8049 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8050 _sigsys.
8051 (si_call_addr, si_syscall, si_arch): Define new macro.
8052
89b4b02f
JM
80532012-07-25 Joseph Myers <joseph@codesourcery.com>
8054
8055 [BZ #13717]
8056 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8057 Change to 2.4.21 where previously 2.4.1.
8058 * sysdeps/unix/sysv/linux/configure: Regenerated.
8059 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8060 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8061 Linux kernel version.
8062 (__ASSUME_STD_AUXV): Remove.
8063 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8064 kernel version.
8065 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8066 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8067 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8068 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8069 (__ASSUME_NETLINK_SUPPORT): Likewise.
8070 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8071 (__no_netlink_support): Remove conditional definition.
8072 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8073 Remove.
8074 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8075 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8076 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8077 (if_nameindex_ioctl): Remove.
8078 (if_nameindex_netlink): Do not handle __no_netlink_support.
8079 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8080 code.
8081 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8082 Remove conditional code.
8083 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8084 code.
8085 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8086 unconditional.
8087 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8088 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8089 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8090 Remove.
8091 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8092 [!__ASSUME_STD_AUXV]: Remove conditional code.
8093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8094 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8095 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8097 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8098 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8099 code.
8100 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8102 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8103 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8104 conditional code.
8105 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8107 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8108 code.
8109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8110 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8111 conditional code.
8112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8113 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8114 code unconditional.
8115 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8116 conditional code.
8117 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8118 unconditional.
8119 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8120 conditional code.
8121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8122 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8123 unconditional.
8124 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8125 conditional code.
8126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8127 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8128 code unconditional.
8129 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8130 conditional code.
8131 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8132 unconditional.
8133 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8134 conditional code.
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8136 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8137 code unconditional.
8138 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8139 conditional code.
8140 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8141 unconditional.
8142 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8143 conditional code.
8144
842a39cd
AS
81452012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8146
8147 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8148 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8149 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8150 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8151 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8152 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8153 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8154 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8155 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8156 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8157 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8158 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8159 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8160 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8161 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8162 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8163 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8164 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8165 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8167 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8168 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8169 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8170
84b3fd84
FW
81712012-07-25 Florian Weimer <fweimer@redhat.com>
8172
8173 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
8174 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8175 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8176 Introduce __libc_secure_getenv.
0c7936d5
FW
8177 * stdlib/Versions (2.17): Add secure_getenv
8178 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8179 * stdlib/secure-getenv.c: Rename __secure_getenv to
8180 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8181 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
8182 * stdlib/tst-secure-getenv.c: New.
8183 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
8184 * manual/startup.texi (Environment Access): Document
8185 secure_getenv.
84b3fd84
FW
8186 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8187 __libc_secure_getenv.
8188 * inet/ruserpass.c (ruserpass): Likewise.
8189 * malloc/mtrace.c (mtrace): Likewise.
8190 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 8191 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
8192 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8193 * sysdeps/posix/tempname.c: Likewise. Evaluate
8194 HAVE_SECURE_GETENV.
8195 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 8196 __secure_getenv to __libc_secure_getenv.
84b3fd84 8197 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
8198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8199 Likewise.
8200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8201 Likewise.
8202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8204 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 8209
56e49b71
JM
82102012-07-25 Joseph Myers <joseph@codesourcery.com>
8211
8212 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8213 (struct La_i86_retval): Likewise.
8214 (struct La_x86_64_regs): Likewise.
8215 (struct La_x86_64_retval): Likewise.
8216 (struct La_x32_regs): Likewise.
8217 (struct La_x32_retval): Likewise.
8218 (struct La_ppc32_regs): Likewise.
8219 (struct La_ppc32_retval): Likewise.
8220 (struct La_ppc64_regs): Likewise.
8221 (struct La_ppc64_retval): Likewise.
8222 (struct La_sh_regs): Likewise.
8223 (struct La_sh_retval): Likewise.
8224 (struct La_s390_32_regs): Likewise.
8225 (struct La_s390_32_retval): Likewise.
8226 (struct La_s390_64_regs): Likewise.
8227 (struct La_s390_64_retval): Likewise.
8228 (struct La_sparc32_regs): Likewise.
8229 (struct La_sparc32_retval): Likewise.
8230 (struct La_sparc64_regs): Likewise.
8231 (struct La_sparc64_retval): Likewise.
8232 (struct audit_ifaces): Remove architecture-specific pltenter and
8233 pltexit members.
8234 * sysdeps/i386/ldsodefs.h: New file.
8235 * sysdeps/powerpc/ldsodefs.h: Likewise.
8236 * sysdeps/s390/ldsodefs.h: Likewise.
8237 * sysdeps/sh/ldsodefs.h: Likewise.
8238 * sysdeps/sparc/ldsodefs.h: Likewise.
8239 * sysdeps/x86_64/ldsodefs.h: Likewise.
8240
354691b7
MP
82412012-07-25 Marek Polacek <polacek@redhat.com>
8242
8243 [BZ #6808]
8244 * math/libm-test.inc (yn_test): Add another test.
8245 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8246 to ERANGE when the result is +-Inf.
8247 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8248 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8249 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8250 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8251
bf9e2071
JM
82522012-07-24 Joseph Myers <joseph@codesourcery.com>
8253
8254 * conform/data/time.h-data (NULL): Use macro-constant. Require
8255 equal to 0.
8256 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8257 clock_t.
8258 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8259
57633811
TS
82602012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8261
8262 * configure.in <sysdeps resolving>: Correct printing
8263 Implies_before.
8264 * configure: Regenerate.
8265
c23c33b0
TS
82662012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8267
8268 * math/w_ilogb.c: Include <limits.h>.
8269 * math/w_ilogbl.c: Likewise.
8270
b5982523
JM
82712012-07-20 Joseph Myers <joseph@codesourcery.com>
8272
8273 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8274 va_copy. Document allowing for unavailable va_copy only as
8275 pre-C99 compatibility.
8276 * manual/string.texi (Copying and Concatenation): Use va_copy
8277 instead of __va_copy in concat example.
8278
ac4ea442
PT
82792012-07-20 Pino Toscano <toscano.pino@tiscali.it>
8280
8281 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8282 (__sendto): Use create_address_port. Initialize APORT and deallocate
8283 it if not null.
8284
f98eafbd
PT
8285 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8286 with O_NOLINK passed to __file_name_lookup.
8287
898c7aab
PT
8288 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
8289 with O_NOLINK passed to __file_name_lookup.
8290
0ced335a
PT
8291 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
8292 negative N or less than NGIDS.
8293
b3404dbd
PT
8294 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8295 type to string_t. Set ERANGE as errno and return it if NAME is not big
8296 enough. Use memcpy instead of strncpy.
8297
0f48659e
JM
82982012-07-20 Joseph Myers <joseph@codesourcery.com>
8299
8300 * elf/Makefile (check-data): Remove.
8301 (localplt.data): New vpath directive.
8302 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8303 instead of $(check-data).
8304 * scripts/data/localplt-generic.data: Move to ...
8305 * sysdeps/generic/localplt.data: ... here.
8306 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
8307 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
8308 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
8309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8310 ... here.
8311 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
8312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8313 ... here.
8314 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
8315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
8316 ... here.
8317 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8319 ... here.
8320 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8322 ... here.
8323 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8325 ... here.
8326
d37cbdaa
AZ
83272012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8328
8329 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8330 PPC32 and PPC64 files.
8331 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8332 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8333
46f85fc2
AK
83342012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8335
8336 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8337 __makecontext_ret to ...
8338 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8339 ... here and call exit if uc_link is NULL. New file.
8340 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8341 __makecontext_ret.S.
8342 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8343 __makecontext_ret to ...
8344 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8345 ... here and call exit if uc_link is NULL. New file.
8346 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8347 __makecontext_ret.S.
8348
08f43f9b
AK
83492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8350
8351 * elf/elf.h (R_390_IRELATIVE): New definition.
8352 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8353 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8354 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8355 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8356 (elf_machine_lazy_rel): Likewise.
8357 * sysdeps/s390/dl-irel.h: New file.
8358 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8359 * sysdeps/s390/s390-64/memset.S: New asm code.
8360 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8361 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8362 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8363 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8364 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8365 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8366 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8367 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8368 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8369 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8370 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8371 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8372 * sysdeps/s390/s390-32/memset.S: New asm code.
8373 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8374
3b05db33
MP
83752012-07-17 Marek Polacek <polacek@redhat.com>
8376
8377 [BZ #14349]
8378 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8379 * sysdeps/s390/s390-64/configure.in: Likewise.
8380 * sysdeps/sparc/configure.in: Likewise.
8381 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8382 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8383 * sysdeps/i386/configure.in: Likewise.
8384 * sysdeps/x86_64/configure.in: Likewise.
8385 * sysdeps/sh/configure.in: Likewise.
8386 * sysdeps/s390/s390-32/configure: Regenerated.
8387 * sysdeps/s390/s390-64/configure: Likewise.
8388 * sysdeps/x86_64/configure: Likewise.
8389 * sysdeps/sh/configure: Likewise.
8390 * sysdeps/powerpc/powerpc64/configure: Likewise.
8391 * sysdeps/powerpc/powerpc32/configure: Likewise.
8392 * sysdeps/sparc/configure: Likwise.
8393 * sysdeps/i386/configure: Likewise.
8394
a66877c6
MP
8395 * elf/dl-open.c: Comment fixes.
8396
cfc82fd8
JM
83972012-07-17 Joseph Myers <joseph@codesourcery.com>
8398
bd29910a
JM
8399 * Makefile [CXX] (check-data): Remove.
8400 [CXX] (c++-types.data): New vpath directive.
8401 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8402 vpath. Do not allow for C++ type data being missing.
8403 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8404 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8405 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8406 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8407 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8408 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8409 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8411 ... here.
8412 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8414 ... here.
8415 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8417 ... here.
8418 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8420 ... here.
8421 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8423 ... here.
8424 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8426 ... here.
8427 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8429 ... here.
8430 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8432
cfc82fd8
JM
8433 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8434 definitions to architecture-specific files.
8435 (TLS_IE): Likewise.
8436 (TLS_LD): Likewise.
8437 (TLS_GD): Likewise.
8438 * sysdeps/i386/tls-macros.h: New file.
8439 * sysdeps/powerpc/tls-macros.h: Likewise.
8440 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8441 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8442 * sysdeps/sh/tls-macros.h: Likewise.
8443 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8444 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8445 * sysdeps/x86_64/tls-macros.h: Likewise.
8446
f7db3170
TS
84472012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8448
07cbfc23
TS
8449 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8450 zero value for regular exit case.
8451
f7db3170
TS
8452 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8453 (__start_context): Preserve zero value for regular exit case.
8454
dc97c227
TS
84552012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8456 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8457
8458 * manual/setjmp.texi (setcontext): Clarify normal process
8459 termination when uc_link is the null pointer.
8460 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8461 exit call.
8462
d0cd7d02
AS
84632012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8464
8465 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8466 preprocessor. Test for each exception mask separately.
8467
dd318934
AJ
84682012-07-16 Andreas Jaeger <aj@suse.de>
8469
8470 * po/ru.po: Update from translation team.
8471
8048311a
JM
84722012-07-15 Joseph Myers <joseph@codesourcery.com>
8473
8474 * conform/data/string.h-data (NULL): Use macro-constant. Require
8475 equal to 0.
8476 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8477 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8478 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8479 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8481
b637d46e
AJ
84822012-07-13 Andreas Jaeger <aj@suse.de>
8483
8484 * po/fr.po: Update from translation team.
8485
541428fe
MP
84862012-07-12 Marek Polacek <polacek@redhat.com>
8487
8488 [BZ #14173]
8489 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8490 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8491 loop condition.
8492
ec332e94
JM
84932012-07-12 Joseph Myers <joseph@codesourcery.com>
8494
8495 [BZ #13717]
8496 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8497 Change to 2.4.1 where previously 2.4.0.
8498 * sysdeps/unix/sysv/linux/configure: Regenerated.
8499 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8500 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8501 version.
8502 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8503 (__ASSUME_AT_CLKTCK): Remove.
8504 (__ASSUME_AT_PAGESIZE): Likewise.
8505 (__ASSUME_AT_XID): Likewise.
8506 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8507 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8508 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8509 unconditionally.
8510 (HAVE_AUX_PAGESIZE): Likewise.
8511 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8512 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8513 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8514
7b6e99be
JB
85152012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8516
8517 [BZ #14307]
8518 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8519 the temporary buffer used to invoke __gethostbyname2_r,
8520 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8521 host_data / struct gaih_addrtuple.
8522 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8523 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8524 header file nss/nsswitch.h.
8525 * nss/nsswitch.h (global scope): Add definition of implementation
8526 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8527 resolv/nss_dns/dns-host.c).
8528
608404eb
AJ
85292012-07-11 Andreas Jaeger <aj@suse.de>
8530
8531 * po/fr.po: Update from translation team.
8532
71220aca
AJ
8533 * po/sv.po: Update from translation team
8534 * po/fr.po: Another update from translation team.
8535
28cfe843
AZ
85362012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8537
8538 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8539 for subnormals or multiply small sinh result by itself.
8540 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8542
6b90f981
DM
85432012-07-11 David S. Miller <davem@davemloft.net>
8544
8545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8546
c6825772
AS
85472012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8548
8549 [BZ #14347]
8550 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8551 (INTERNAL_MARK): Shift it here.
8552
7b8e0d49
MP
85532012-07-10 Marek Polacek <polacek@redhat.com>
8554
8555 [BZ #14151]
8556 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8557 libc_cv_asm_global_directive with .globl.
8558 * configure: Regenerated.
8559 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8560 with .globl.
8561 * sysdeps/i386/configure: Regenerated.
8562 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8563 with .globl.
8564 * sysdeps/x86_64/configure: Regenerated.
8565 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8566 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8567 * elf/tst-unique2mod2.c: Likewise.
8568 * elf/tst-unique2mod1.c: Likewise.
8569 * elf/tst-unique1mod2.c: Likewise.
8570 * elf/tst-unique1mod1.c: Likewise.
8571 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8572 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8573 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8574 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8575 * sysdeps/mach/sysdep.h: Likewise.
8576 * sysdeps/i386/sysdep.h: Likewise.
8577 * sysdeps/i386/i386-mcount.S: Likewise.
8578 * sysdeps/x86_64/_mcount.S: Likewise.
8579 * sysdeps/x86_64/sysdep.h: Likewise.
8580 * sysdeps/sh/_mcount.S: Likewise.
8581 * sysdeps/sh/sysdep.h: Likewise.
8582 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8583 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8584 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8585 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8586 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8587 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8588 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8589 * locale/localeinfo.h: Likewise.
8590 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8591 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8592
6c55cda3
RM
85932012-07-09 Roland McGrath <roland@hack.frob.com>
8594
8595 [BZ #14336]
8596 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8597 system".
8598 * manual/message.texi (The Uniforum approach): Likewise.
8599 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8600 (glibc iconv Implementation): Likewise.
8601
638a572e
JM
86022012-07-09 Joseph Myers <joseph@codesourcery.com>
8603
8604 [BZ #14337]
8605 * math/s_clog.c (__clog): Avoid scaling a value down where that
8606 could result in underflow.
8607 * math/s_clog10.c (__clog10): Likewise.
8608 * math/s_clog10f.c (__clog10f): Likewise.
8609 * math/s_clog10l.c (__clog10l): Likewise.
8610 * math/s_clogf.c (__clogf): Likewise.
8611 * math/s_clogl.c (__clogl): Likewise.
8612 * math/libm-test.inc (clog_test): Add more tests.
8613 (clog10_test): Likewise.
8614 * sysdeps/i386/fpu/libm-test-ulps: Update.
8615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8616
261f4859
AS
86172012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8618
0abaf3e4
AS
8619 [BZ #14283]
8620 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8621 by 7 not 8 to examine high bit of fractional part.
8622
261f4859
AS
8623 [BZ #14042]
8624 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8625 for call to __mcount_internal.
8626 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8627 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8628 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8629
f17ac40d
JM
86302012-07-06 Joseph Myers <joseph@codesourcery.com>
8631
9ad63c23
JM
8632 [BZ #14154]
8633 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8634 approximation for values within 0x1p-13f of an odd multiple of
8635 pi/4.
8636 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8637 exception. Add more tests.
8638 * sysdeps/i386/fpu/libm-test-ulps: Update.
8639
f17ac40d
JM
8640 [BZ #6778]
8641 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8642 inputs and return -1 for them. Do not check for +Inf in case not
8643 reachable for +Inf.
8644 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8645 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8646 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8647 and return -1 for them. Do not check for +Inf in case not
8648 reachable for +Inf.
8649 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8650 define.
8651 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8652 and return -1 for them. Do not check for +Inf in case not
8653 reachable for +Inf.
8654 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8655 spurious underflow.
8656 * sysdeps/i386/fpu/libm-test-ulps: Update.
8657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8658
fb21f89b
MF
86592012-07-06 Mike Frysinger <vapier@gentoo.org>
8660
8661 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8662
cdfe2c5e
JM
86632012-07-05 Joseph Myers <joseph@codesourcery.com>
8664
8665 [BZ #14157]
8666 [BZ #14331]
8667 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8668 could result in spurious underflow. Scale down values above
8669 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8670 * math/s_csqrtf.c (__csqrtf): Likewise.
8671 * math/s_csqrtl.c (__csqrtl): Likewise.
8672 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8673 spurious underflow.
8674 * sysdeps/i386/fpu/libm-test-ulps: Update.
8675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8676
70d35b67
AS
86772012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8678
704bc459
AS
8679 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8680 xopen-msg.sed.
8681 * catgets/xopen-msg.awk: New file.
8682 * catgets/xopen-msg.sed: Removed.
8683
70d35b67
AS
8684 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8685 po2text.sed.
8686 * intl/po2test.awk: New file.
8687 * intl/po2test.sed: Removed.
8688
ca61cf32
JM
86892012-07-04 Joseph Myers <joseph@codesourcery.com>
8690
8691 [BZ #14328]
8692 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8693 or multiply small sinh result by itself.
8694 * math/s_ctanf.c (__ctanf): Likewise.
8695 * math/s_ctanh.c (__ctanh): Likewise.
8696 * math/s_ctanhf.c (__ctanhf): Likewise.
8697 * math/s_ctanhl.c (__ctanhl): Likewise.
8698 * math/s_ctanl.c (__ctanl): Likewise.
8699 * math/libm-test.inc (ctan_test_tonearest): New function.
8700 (ctan_test_towardzero): Likewise.
8701 (ctan_test_downward): Likewise.
8702 (ctan_test_upward): Likewise.
8703 (ctanh_test_tonearest): Likewise.
8704 (ctanh_test_towardzero): Likewise.
8705 (ctanh_test_downward): Likewise.
8706 (ctanh_test_upward): Likewise.
8707 (main): Call these new functions.
8708 * sysdeps/i386/fpu/libm-test-ulps: Update.
8709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8710
ca48a46a
MF
87112012-07-03 Mike Frysinger <vapier@gentoo.org>
8712
8713 * .gitignore: Delete /ports entry.
8714
9d63d37d
AJ
87152012-07-03 Andreas Jaeger <aj@suse.de>
8716
8717 * po/bg.po: Update from translation team.
8718 * po/cs.po: Likewise.
8719 * po/de.po: Likewise.
8720 * po/hr.po: Likewise.
8721 * po/nl.pl: Likewise.
8722 * po/pl.po: Likewise.
8723 * po/vi.po: Likewise.
8724
370ca3d2
JM
87252012-07-03 Joseph Myers <joseph@codesourcery.com>
8726
95f5a9a8
JM
8727 * Makeconfig [!+link] (+link-before-libc): New variable.
8728 [!+link] (+link-after-libc): Likewise.
8729 [!+link] (+link-tests): Likewise.
8730 [!+link] (+link): Define in terms of $(+link-before-libc) and
8731 $(+link-after-libc).
8732 [!+link-static] (+link-static-before-libc): New variable.
8733 [!+link-static] (+link-static-after-libc): Likewise.
8734 [!+link-static] (+link-static-tests): Likewise.
8735 [!+link-static] (+link-static): Define in terms of
8736 $(+link-static-before-libc) and $(+link-static-after-libc).
8737 [build-shared] (link-libc-before-gnulib): New variable.
8738 [build-shared] (link-libc-tests): Likewise.
8739 [build-shared] (link-libc): Define in terms of
8740 $(link-libc-before-gnulib).
8741 [!build-shared] (link-libc-tests): New variable.
8742 (link-libc-static-tests): New variable.
8743 [!gnulib] (gnulib-arch): New variable.
8744 [!gnulib] (gnulib-tests): Likewise.
8745 [!gnulib] (static-gnulib-arch): Likewise.
8746 [!gnulib] (static-gnulib-tests): Likewise.
8747 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8748 Define with "=" instead of ":=".
8749 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8750 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8751 * Rules (binaries-all-notests): New variable.
8752 (binaries-all-tests): Likewise.
8753 (binaries-static-notests): Likewise.
8754 (binaries-static-tests): Likewise.
8755 (binaries-all): Define using $(binaries-all-notests) and
8756 $(binaries-all-tests).
8757 (binaries-static): Define using $(binaries-static-notests) and
8758 $(binaries-static-tests).
8759 (binaries-shared-tests): New variable.
8760 (binaries-shared-notests): Likewise.
8761 (binaries-shared): Remove variable.
8762 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8763 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8764 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8765 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8766 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8767 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8768 * elf/Makefile (sln-modules): New variable.
8769 (extra-objs): Add $(sln-modules:=.o).
8770 (ldconfig-modules): Add static-stubs.
8771 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8772 * elf/static-stubs.c: New file.
8773
7a845b2c
JM
8774 [BZ #14283]
8775 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8776 by 7 not 8 to examine high bit of fractional part. Use volatile
8777 variables when splitting into final array of floats if
8778 __FLT_EVAL_METHOD__ != 0.
8779 * math/libm-test.inc (cos_test): Add another test.
8780 (sin_test): Likewise.
8781 * sysdeps/i386/fpu/libm-test-ulps: Update.
8782
e2283f38
JM
8783 [BZ #14273]
8784 * math/libm-test.inc (cosh_test): Add more tests.
8785
370ca3d2
JM
8786 * version.h (RELEASE): Set to "development".
8787 (VERSION): Set to "2.16.90".
8788
ee9247c3
CD
87892012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8790
8791 * NEWS: Update copyright. Remove last-updated date.
8792 Mention math library bug fixes and timezone data changes.
8793 * README: Mention GNU/Hurd, x32, and HPPA support status.
8794
4648c381
TS
87952012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8796
8797 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8798
aac78a43
AJ
87992012-06-27 Andreas Jaeger <aj@suse.de>
8800
8801 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8802
ed3dbfad
AJ
88032012-06-25 Andreas Jaeger <aj@suse.de>
8804
8805 * sysdeps/s390/fpu/libm-test-ulps: Update.
8806
4d0ee855
AS
88072012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8808 Thomas Schwinge <thomas@codesourcery.com>
8809
8810 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8811 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8812 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8813 fanotify_mark.
8814
af1bce34
TS
88152012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8816
a9fa33ba
TS
8817 * sysdeps/mach/start.c: Remove file.
8818 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8819 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8820 * sysdeps/sh/init-first.c: Likewise.
8821
58f902b8
TS
8822 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8823 registers for frame unwinding purposes, add CFI directives.
8824 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8825 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8826 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8827 Likewise.
8828
1518f58b
TS
8829 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8830 __fortify_fail returning.
8831 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8832
db9b5059
TS
8833 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8834 sysdeps/sh/____longjmp_chk.S.
8835 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8836 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8837 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8838 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8839
967705fe
TS
8840 * sysdeps/sh/abort-instr.h: New file.
8841 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8842 process in case exit returns.
8843
a9def8c4
TS
8844 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8845 initialize the GOT register before use.
8846
2a649725
TS
8847 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8848 calculation of ARGC > 4.
8849
af1bce34
TS
8850 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8851 meaningful names to some local labels.
8852
d230f50a
KK
88532012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8854 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8855
8856 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8857 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8858 (__arch_compare_and_exchange_val_16_acq): Likewise.
8859 (__arch_compare_and_exchange_val_32_acq): Likewise.
8860 (atomic_exchange_and_add): Fix gUSA sequence.
8861 (atomic_add): Likewise.
8862 (atomic_add_negative): Likewise.
8863 (atomic_add_zero): Likewise.
8864 (atomic_bit_test_set): Likewise.
8865
0479b305
AS
88662012-06-22 Andreas Schwab <schwab@redhat.com>
8867
8868 [BZ #13579]
8869 * include/link.h (struct link_map): Add l_free_initfini.
8870 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8871 l_initfini.
8872 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8873 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8874 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8875 set.
8876
0e3933b9
CD
88772012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8878
8879 * configure.in: Use AC_LANG_SOURCE.
8880 * configure: Regenerate.
8881
4248b1b1
RM
88822012-06-22 Roland McGrath <roland@hack.frob.com>
8883
8884 * configure.in (libc_cv_localstatedir): New substituted variable.
8885 * configure: Regenerated.
8886 * config.make.in (localstatedir): New variable, substituted from
8887 libc_cv_localstatedir.
8888 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8889 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8890 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8891 * sysdeps/gnu/configure: Regenerated.
8892
006dd861
JL
88932012-06-21 Jeff Law <law@redhat.com>
8894
8895 [BZ #14277]
8896 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8897 free. Simplify list management for _LIBC case.
8898
79662d42
JM
88992012-06-21 Joseph Myers <joseph@codesourcery.com>
8900
b7abb4bf
JM
8901 [BZ #14273]
8902 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8903 Clear sign bit of 64-bit integer value before comparing against
8904 overflow value.
8905
79662d42
JM
8906 * sysdeps/mach/configure: Regenerated.
8907
1f150908
L
89082012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8909
8910 [BZ #14278]
8911 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8912
28363bbf
JL
89132012-06-21 Jeff Law <law@redhat.com>
8914
8915 [BZ #13882]
8916 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8917 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 8918 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
8919 * elf/dl-open.c (dl_open_worker): Likewise.
8920
09615db4
CD
89212012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8922
8923 * scripts/list-sources.sh: Scan PORTS for translations.
8924 * po/libc.pot: Regenerated.
8925
2174c6dd
AJ
89262012-06-21 Andreas Jaeger <aj@suse.de>
8927
8928 [BZ #12194]
8929 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8930 warning.
8931 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8932 * bits/byteswap-16.h (__bswap_16): Likewise.
8933 * bits/byteswap.h (__bswap_constant_16): Likewise.
8934
3ee947b1
L
89352012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8936
8937 [BZ #14117]
a2f34833
L
8938 * sysdeps/i386/fpu_control.h: Removed.
8939 * sysdeps/x86_64/fpu_control.h: Moved to ...
8940 * sysdeps/x86/fpu_control.h: Here.
8941
3ee947b1
L
8942 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8943 (_FPU_SETCW): Likewise.
8944
ed1825f8
L
89452012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8946
25f1282a
L
8947 [BZ #14117]
8948 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8949 * sysdeps/x86/fpu/bits/mathinline.h: This.
8950 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8951
ed1825f8
L
8952 [BZ #14050]
8953 [BZ #14117]
8954 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8955 functions if __x86_64__ is defined.
8956
36d54b74
CLT
89572012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8958
8959 * string/endian.h: Add !__ASSEMBLER__ condition for including
8960 conversion interfaces.
8961
10285c21
JM
89622012-06-15 Joseph Myers <joseph@codesourcery.com>
8963
8964 [BZ #14241]
8965 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8966 of ABS(x) in calculating zero to negative powers other than odd
8967 integers.
8968 * math/libm-test.inc (pow_test): Add more tests.
8969
06c5abbd
AJ
89702012-06-15 Andreas Jaeger <aj@suse.de>
8971
8972 * manual/contrib.texi (Contributors): Update entry of Liubov
8973 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8974 Machado Filho.
8975
a3aeac40
CH
89762012-06-15 Cyril Hrubis <metan@ucw.cz>
8977
8978 * string/string.h: Add __wur to GNU version of strerror_r.
8979
49bdf4c1
L
89802012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8981
8982 [BZ #14229]
8983 * string/Makefile (tests): Add tst-strtok_r.
8984 * string/tst-strtok_r.c: New file.
8985 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8986 RAX_LP/RDX_LP on SAVE_PTR.
8987
834f9b8d
RM
89882012-06-14 Roland McGrath <roland@hack.frob.com>
8989
8990 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8991
75fa1921
JM
89922012-06-14 Joseph Myers <joseph@codesourcery.com>
8993
8994 * libm_test.inc (csqrt_test): Allow more spurious underflow
8995 exceptions.
8996 (j0_test): Likewise.
8997 (j1_test): Likewise.
8998 (y0_test): Likewise.
8999 (y1_test): Likewise.
9000
771766df
CD
90012012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9002
9003 * po/Makefile (libc.pot): Use UTF-8 charset.
9004
ceb9e56b
PP
90052012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9006
9007 [BZ #14210]
9008 Suppress sign-conversion warning from FD_SET.
9009 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9010 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9011 not unsigned long int.
9012 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9013
ddb28975
L
90142012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9015
9016 [BZ #14050]
9017 [BZ #14117]
9018 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9019 __extern_always_inline instead of __extern_inline.
9020 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9021 (__signbit): Likewise.
9022 (__signbitl): Support C++ namespace.
9023 (lrintf): New inline function.
9024 (lrint): Likewise.
9025 (llrintf): Likewise.
9026 (llrint): Likewise.
9027 (fmaxf): Likewise.
9028 (fmax): Likewise.
9029 (fminf): Likewise.
9030 (fmin): Likewise.
9031 (rint): Likewise.
9032 (rintf): Likewise.
9033 (ceil): Likewise.
9034 (ceilf): Likewise.
9035 (floor): Likewise.
9036 (floorf): Likewise.
9037 (nearbyint): Likewise.
9038 (nearbyintf): Likewise.
9039
d7b4fb26
TS
90402012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9041
9042 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9043 non-default versions.
9044
eb55f5c2
RM
90452012-06-11 Roland McGrath <roland@hack.frob.com>
9046
9047 [BZ #14218]
9048 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9049
366af02c
TS
90502012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9051
99ff6e5c
TS
9052 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9053 (FE_UPWARD, FE_DOWNWARD): Don't define.
9054 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9055 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9056
366af02c
TS
9057 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9058 reading it.
9059 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9060 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9061
793ea851
KK
90622012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9063
9064 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9065 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9066 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9067 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9068
a728a38f
L
90692012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9070
9071 [BZ #14117]
c08010c7
L
9072 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9073 * sysdeps/i386/fpu/Implies: New file.
9074 * sysdeps/x86_64/fpu/Implies: Likewise.
9075 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9076 * sysdeps/x86/fpu/bits/fenv.h: This.
9077
a728a38f
L
9078 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9079 __SSE_MATH__.
9080
6e230d11
SP
90812012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9082
9083 [BZ #14134]
9084 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9085 character 0xffff that matches the last element of the
9086 conversion table.
9087
1b671feb
AZ
90882012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9089
9090 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9091 fmodl commit.
9092
6043738b
AZ
90932012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9094
9095 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9096 values higher than 25.6283.
9097
34ae0b32
AZ
90982012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9099
9100 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9101 subnormal exponent extraction and add some __builtin_expect.
9102 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9103 Fix for subnormal mantissa calculation.
9104
1214ec8f
MF
91052012-06-04 Mike Frysinger <vapier@gentoo.org>
9106
9107 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9108 cpu2 is -1 and errno is not ENOSYS.
9109
f3d1f93c
L
91102012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9111
9112 [BZ #14117]
0e4a3cd7
L
9113 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9114 * sysdeps/x86/bits/string.h: This.
9115 * sysdeps/x86_64/bits/string.h: Removed.
9116
6704c645
L
9117 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9118 if not compiling for x86-64, but compiling for >= i486.
9119
48495318
L
9120 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9121 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9122
14adcbfc
L
9123 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9124 New macro from Linux kernel 3.4.0.
9125 (FP_XSTATE_MAGIC2): Likewise.
9126 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9127 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9128 (struct _fpx_sw_bytes): New struct.
9129 (struct _xsave_hdr): Likewise.
9130 (struct _ymmh_state): Likewise.
9131 (struct _xstate): Likewise.
9132
68e408ab
L
9133 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9134 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9135 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9136 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9137 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9138 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9139
f3d1f93c
L
9140 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9141 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9142 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9143 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9144 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9145 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9146
d9dc34cd
TMQMF
91472012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9148
9149 [BZ #13743]
9150 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9151 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9152 (sysdep_headers): Include sys/platform/ppc.h.
9153 * sysdeps/powerpc/test-gettimebase.c: Test for
9154 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9155 * manual/Makefile (appendices): Include platform.texi.
9156 * manual/contrib.texi (Contributors): Update @node pointers.
9157 * manual/maint.texi (Maintenance): Likewise.
9158 (Platform): New node.
9159 * manual/platform.texi: New file. Document the new features.
9160
4af3879c
SP
91612012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9162 Jakub Jelinek <jakub@redhat.com>
9163
9164 [BZ #14188]
9165 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9166 where __builtin_expect is unavailable.
9167
2fd6ff13
DM
91682012-06-03 David S. Miller <davem@davemloft.net>
9169
9170 * stdlib/longlong.h: Updated from GCC.
9171
173f7220
AS
91722012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9173
9174 [BZ #14042]
9175 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9176 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9177 __mcount_internal.
9178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9179 (GLIBC_2.16): Likewise.
9180
f34a1c6f
L
91812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9182
9183 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9184
88a4576f
JM
91852012-06-01 Joseph Myers <joseph@codesourcery.com>
9186
ea32bcdd
JM
9187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9188 (default-abi): New variable.
9189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9190 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9191 variable.
9192 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9193 Likewise.
9194 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9195 Likewise.
9196 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9197 Likewise.
9198
88a4576f
JM
9199 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9200 definition. Document in comment.
9201
402fe938
DM
92022012-06-01 David S. Miller <davem@davemloft.net>
9203
9204 * stdlib/longlong.h: Updated from GCC.
9205
3553723f
L
92062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9207
9208 [BZ #14117]
3bd872c4
L
9209 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9210 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9211 sys/debugreg.h sys/io.h here.
9212 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9213 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9214 sys/io.h.
9215 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9216 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9217 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9218 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9219 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9220 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9221
3553723f
L
9222 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9223 Define only if __x86_64__ is defined.
9224
4842e4fe
JM
92252012-06-01 Joseph Myers <joseph@codesourcery.com>
9226
c5bfe3d5
JM
9227 [BZ #14048]
9228 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9229 Use int64_t for variable i.
9230 * math/libm-test.inc (fmod_test): Add more tests.
9231
4842e4fe
JM
9232 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9233 z computation is not scheduled after fetestexcept.
9234 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9235 Use math_force_eval instead of asm to ensure calculation scheduled
9236 before exception test.
9237 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9238 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9239
efb73488
AJ
92402012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9241
9242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9243 computation is not scheduled after fetestexcept.
9244
29bcce7c
L
92452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9246
9247 [BZ #14117]
9248 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9249 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9250
73a68f94
AZ
92512012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9252
9253 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9254 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9255
67b6df78
L
92562012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9257
edf2933a 9258 [BZ #14117]
ebc64a18
L
9259 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9260 <bits/wordsize.h>.
9261 (__WCHAR_MIN): Support __WORDSIZE == 64.
9262 (__WCHAR_MAX): Likewise.
9263
edf2933a
L
9264 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9265 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9266
57c6cf40
L
9267 [BZ #14183]
9268 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9269 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9270
67b6df78 9271 [BZ #14117]
8eb6281e
L
9272 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9273 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9274
aac639f4
L
9275 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9276 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9277
67b6df78
L
9278 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9279 Defined to 1 if __x86_64__ isn't defined.
9280 (_STAT_VER_LINUX_OLD): New.
9281 (st_atime): Remove duplicate.
9282 (st_mtime): Likewise.
9283 (st_ctime): Likewise.
9284
1c2cfe81
DM
92852012-05-31 David S. Miller <davem@davemloft.net>
9286
9287 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9288 entries.
9289
5be8418c
AS
92902012-06-01 Andreas Schwab <schwab@linux-m68k.org>
9291
e7725326
AS
9292 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9293 gen-libm-test.pl.
9294
5be8418c
AS
9295 [BZ #14132]
9296 * elf/dl-reloc.c: Include <_itoa.h>.
9297 (_dl_reloc_bad_type): Remove use of INTUSE.
9298 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9299 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9300 * stdio-common/psiginfo.c (psiginfo): Likewise.
9301 * stdio-common/psignal.c (psignal): Likewise.
9302 * string/strsignal.c (strsignal): Likewise.
9303 * include/signal.h (_sys_siglist): Declare hidden proto.
9304 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
9305 INTVARDEF with libc_hidden_data_def.
9306 * stdio-common/itoa-udigits.c: Likewise.
9307 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
9308 (_itoa_lower_digits_internal): Remove declaration.
9309 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
9310 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
9311 (_sys_sigabbrev_internal): Remove aliases.
9312 (_sys_siglist): Define hidden alias.
9313
507352f1
MT
93142012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
9315
9316 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9317 bits/sysctl.h.
9318
42bbb1c3
L
93192012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9320
9321 [BZ #14117]
6bd784b6
L
9322 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9323 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9324
8bca20f0
L
9325 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9326 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9327 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9328 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9329 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9330 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9331
f9e890a9
L
9332 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9333 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9334 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9335
471101a1
L
9336 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9337 with __addr.
9338 (insw): Likewise.
9339 (insl): Likewise.
9340 (outsb): Likewise.
9341 (outsw): Likewise.
9342 (outsl): Likewise.
9343
6451c862
L
9344 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9345 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9346 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9347
a254b8c9
L
9348 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9349 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9350 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9351 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9352 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9353 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9354
b8dfdd92
L
9355 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9356 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9357
578cd270
L
9358 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9359 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9360
de662f5f
L
9361 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9362 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9363 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9364
25653439
L
9365 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9366 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9367 to ...
9368 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9369
6bad24a0
L
9370 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9371 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9372 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9373
42bbb1c3
L
9374 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9375 for x86-64.
9376 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9377
2d10d547
JM
93782012-05-31 Joseph Myers <joseph@codesourcery.com>
9379
9380 * math/math.h (M_El): Use two more decimal places.
9381 (M_LOG2El): Likewise.
9382 (M_LOG10El): Likewise.
9383 (M_LN2l): Likewise.
9384 (M_LN10l): Likewise.
9385 (M_PIl): Likewise.
9386 (M_PI_2l): Likewise.
9387 (M_PI_4l): Likewise.
9388 (M_1_PIl): Likewise.
9389 (M_2_PIl): Likewise.
9390 (M_2_SQRTPIl): Likewise.
9391 (M_SQRT2l): Likewise.
9392 (M_SQRT1_2l): Likewise.
9393
f230c29b
DM
93942012-05-31 David S. Miller <davem@davemloft.net>
9395
9396 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9397 values between float registers.
9398 * sysdeps/sparc/sparc64/memset.S: Likewise.
9399 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9400
fed806c3
MF
94012012-05-31 Mike Frysinger <vapier@gentoo.org>
9402
9403 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9404 -D_FORTIFY_SOURCE=1.
9405 (CPPFLAGS-tst-longjmp_chk.c): Define.
9406 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9407 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9408 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9409 CFLAGS-tst-wchar-h.c.
9410
30917259
MP
94112012-05-31 Marek Polacek <polacek@redhat.com>
9412
9413 [BZ #14132]
9414 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9415 __endmntent_internal): Remove declaration.
9416 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9417 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9418 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9419
1c58d5dc
DM
94202012-05-30 David S. Miller <davem@davemloft.net>
9421
9422 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9423 (___Q_simulate_exceptions): Use real FP ops rather than writing
9424 into the %fsr.
9425 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9426 Likewise.
9427
7dc00e0d
L
94282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9429
9430 [BZ #14117]
0bd53985
L
9431 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9432 * sysdeps/x86/bits/xtitypes.h: This.
9433
3a257e66
L
9434 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9435 * sysdeps/x86/bits/wordsize.h: This.
9436
62f62904
L
9437 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9438 * sysdeps/x86/bits/huge_vall.h: This.
9439
404fe9d9
L
9440 * sysdeps/i386/bits/select.h: Removed.
9441 * sysdeps/x86_64/bits/select.h: Renamed to ...
9442 * sysdeps/x86/bits/select.h: This.
9443
d48d0446
L
9444 * sysdeps/i386/bits/setjmp.h: Removed.
9445 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9446 * sysdeps/x86/bits/setjmp.h: This.
9447
7dc00e0d
L
9448 * sysdeps/i386/bits/mathdef.h: Removed.
9449 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9450 * sysdeps/x86/bits/mathdef.h: This.
9451
03277f8f
AS
94522012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9453
9454 [BZ #14132]
9455 * include/sys/socket.h (__connect_internal)
9456 (__libc_sa_len_internal): Remove declaration.
9457 (__connect, __libc_sa_len): Declare hidden_proto.
9458 (SA_LEN): Remove use of INTUSE.
9459 * socket/connect.c: Add libc_hidden_def.
9460 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9461 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9462 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9463 alias.
9464 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9465 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9466 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9467 of adding _internal alias.
9468
13764867
L
94692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9470
9471 [BZ #14117]
6bd97696
L
9472 * sysdeps/i386/bits/link.h: Removed.
9473 * sysdeps/i386/bits/linkmap.h: Likewise.
9474 * sysdeps/x86_64/bits/link.h: Renamed to ...
9475 * sysdeps/x86/bits/link.h: This.
9476 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9477 * sysdeps/x86/bits/linkmap.h: This.
9478
f726f0bb
L
9479 * sysdeps/i386/bits/endian.h: Removed.
9480 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9481 * sysdeps/x86/bits/endian.h: This.
9482
13764867
L
9483 * sysdeps/i386/bits/byteswap.h: Removed.
9484 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9485 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9486 * sysdeps/x86/bits/byteswap.h: This.
9487 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9488 * sysdeps/x86/bits/byteswap-16.h: This.
9489 * sysdeps/i386/Implies: Add x86.
9490 * sysdeps/x86_64/Implies: Likewise.
9491
ae251b0b
DM
94922012-05-30 David S. Miller <davem@davemloft.net>
9493
9494 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9495 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9496 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9497 (FP_TRAPPING_EXCEPTIONS): Define.
9498 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9499 (FP_TRAPPING_EXCEPTIONS): Define.
9500 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9501 subnormals only when inexact has been signalled or underflow
9502 exceptions are enabled.
9503 (_FP_PACK_CANONICAL): Likewise.
9504
d5c90867
L
95052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9506
9507 [BZ #14183]
9508 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9509 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9510
63f1549e
RH
95112012-05-30 Richard Henderson <rth@twiddle.net>
9512
8d8f2279
RH
9513 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9514 with #ifndef NOT_IN_libc.
9515
63f1549e
RH
9516 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9517 marked to avoid plt entry.
9518
0ab0291b
L
95192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9520
9521 [BZ #14112]
9522 * Makeconfig (default-abi): New macro.
9523 (abi-includes): Likewise.
9524 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9525 $(abi-$(default-abi)-lib-soname) for soname if defined.
9526 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9527 abi-variants.
9528 * Makefile (installed-stubs): Likewise.
9529 * include/stubs-biarch.h: Removed.
9530 * scripts/lib-names.awk: Only handle one library at a time.
9531 * scripts/soversions.awk: Remove WORDSIZE support.
9532 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9533 entries.
9534 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9535 Removed.
9536 (syscall-list-default-condition): Likewise.
9537 (syscall-list-default-condition): Likewise.
9538 (syscall-list-includes): Likewise.
9539 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9540 syscall-list-* with abi-*. Handle undefined abi-variants.
9541 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9542 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9543 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9544 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9545 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9546 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9547 Removed.
9548 (syscall-list-32-options): Likewise.
9549 (syscall-list-32-condition): Likewise.
9550 (syscall-list-64-options): Likewise.
9551 (syscall-list-64-condition): Likewise.
9552 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9553 macro.
9554 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9555 Renamed to ...
9556 (abi-*): This.
9557 (abi-64-ld-soname): New macro.
9558 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9559 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9560 Renamed to ...
9561 (abi-*): This.
9562 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9563 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9564
4da0431d
JM
95652012-05-30 Joseph Myers <joseph@codesourcery.com>
9566
3a85279c
JM
9567 * sysdeps/unix/sysv/linux/kernel-features.h
9568 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9569 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9570 include <kernel-features.h>.
9571 [!__NR_ftruncate64]: Remove conditional code.
9572 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9573 [__NR_ftruncate64]: Make code unconditional.
9574 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9575 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9576 include <kernel-features.h>.
9577 [!__NR_ftruncate64]: Remove conditional code.
9578 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9579 [__NR_ftruncate64]: Make code unconditional.
9580 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9582 include <kernel-features.h>.
9583 [!__NR_ftruncate64]: Remove conditional code.
9584 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9585 [__NR_ftruncate64]: Make code unconditional.
9586 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9588 include <kernel-features.h>.
9589 [!__NR_ftruncate64]: Remove conditional code.
9590 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9591 [__NR_ftruncate64]: Make code unconditional.
9592 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9593
4da0431d
JM
9594 * configure.in (libc_cv_fpie): Weaken to a compile test using
9595 LIBC_TRY_CC_OPTION.
9596 * configure: Regenerated.
9597
11ef492c
AK
95982012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9599
9600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9604 Refreshed.
9605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9611 Refreshed.
9612
d66ef399
DM
96132012-05-27 David S. Miller <davem@davemloft.net>
9614
9615 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9616 (___Q_zero): New.
9617 (__Q_simulate_exceptions): Return void. Change to simulate
9618 exceptions by writing into the %fsr.
9619 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9620 (__Qp_handle_exceptions): Likewise.
9621 (numbers): Delete.
9622 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9623 __Qp_handle_exceptions.
9624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9625 __Qp_handle_exceptions.
9626 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9627 as unused and give dummy FP_RND_NEAREST initializer.
9628 (FP_INHIBIT_RESULTS): Define.
9629 (___Q_simulate_exceptions): Update declaration.
9630 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9631 formatting.
9632 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9633 as unused and give dummy FP_RND_NEAREST initializer.
9634 (__Qp_handle_exceptions): Update declaration.
9635 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9636 formatting.
9637
04fb54b5
TS
96382012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9639
9640 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9641 the temporary FPU control word.
9642 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9643 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9644 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9645 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9646 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9647 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9648 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9649 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9650 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9651 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9652 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9653
3f99608f
KK
96542012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9655
9656 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9657 fields.
9658
65a4de4e
CLT
96592012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9660
9661 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9662 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9663 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9664 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9665 Likewise.
9666 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9667 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9668 Likewise.
9669
15749d40
UD
96702012-05-27 Ulrich Drepper <drepper@gmail.com>
9671
9672 * po/h.po: Update from translation team.
9673
25dbcb27
AS
96742012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9675
3d3f8e55
AS
9676 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9677
25dbcb27
AS
9678 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9679 handling of denormals.
9680 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9681 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9682 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9683 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9684 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9685 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9687 Likewise.
9688
7ad47a80 96892012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
9690
9691 [BZ #14152]
9692 * math/libm-test.inc (fma_test): Don't always expect underflow
9693 exception.
9694
9c6ea9fa
SP
96952012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9696
9697 [BZ #12416]
9698 * elf/tst-execstack.c: Include stackinfo.h.
9699 (do_test): Adjust test case to ensure that pthread_getattr_np
9700 behaviour remains the same after marking stack executable.
9701
a8239222
JM
97022012-05-25 Joseph Myers <joseph@codesourcery.com>
9703
9704 * sysdeps/unix/sysv/linux/kernel-features.h
9705 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9706 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9707 kernel-features.h.
9708 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9709 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9710 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9711 kernel-features.h.
9712 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9713 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9714
918b5606
L
97152012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9716
9717 * configure.in: Define the default includes to being none.
9718 * configure: Regenerated.
9719
3a097cc7
RM
97202012-05-25 Roland McGrath <roland@hack.frob.com>
9721
8422c9a5
RM
9722 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9723 * sysdeps/x86_64/setjmp.S: Likewise.
9724 * sysdeps/i386/bsd-setjmp.S: Likewise.
9725 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9726 * sysdeps/i386/setjmp.S: Likewise.
9727 * sysdeps/i386/__longjmp.S: Likewise.
9728 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9729 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9730
3a097cc7
RM
9731 * include/stap-probe.h: New file.
9732 * configure.in: Handle --enable-systemtap.
9733 * configure: Regenerated.
9734 * config.h.in (USE_STAP_PROBE): New #undef.
9735 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9736 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9737 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9738
21708942
JM
97392012-05-25 Joseph Myers <joseph@codesourcery.com>
9740
9741 [BZ #13717]
9742 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9743 to 2.4.0 where earlier.
9744 * sysdeps/unix/sysv/linux/configure: Regenerated.
9745 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9746 <kernel-features.h>.
9747 [__ASSUME_32BITUIDS]: Make code unconditional.
9748 [!__ASSUME_32BITUIDS]: Remove conditional code.
9749 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9750 <kernel-features.h>.
9751 [__ASSUME_32BITUIDS]: Make code unconditional.
9752 [!__ASSUME_32BITUIDS]: Remove conditional code.
9753 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9754 [__ASSUME_32BITUIDS]: Make code unconditional.
9755 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9756 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9757 <kernel-features.h>.
9758 [__ASSUME_32BITUIDS]: Make code unconditional.
9759 [!__ASSUME_32BITUIDS]: Remove conditional code.
9760 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9761 <kernel-features.h>.
9762 [__ASSUME_32BITUIDS]: Make code unconditional.
9763 [!__ASSUME_32BITUIDS]: Remove conditional code.
9764 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9765 <kernel-features.h>.
9766 [__ASSUME_32BITUIDS]: Make code unconditional.
9767 [!__ASSUME_32BITUIDS]: Remove conditional code.
9768 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9769 <kernel-features.h>.
9770 [__ASSUME_32BITUIDS]: Make code unconditional.
9771 [!__ASSUME_32BITUIDS]: Remove conditional code.
9772 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9773 <kernel-features.h>.
9774 [__ASSUME_32BITUIDS]: Make code unconditional.
9775 [!__ASSUME_32BITUIDS]: Remove conditional code.
9776 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9777 <kernel-features.h>.
9778 [__ASSUME_32BITUIDS]: Make code unconditional.
9779 [!__ASSUME_32BITUIDS]: Remove conditional code.
9780 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9781 <kernel-features.h>.
9782 [__ASSUME_32BITUIDS]: Make code unconditional.
9783 [!__ASSUME_32BITUIDS]: Remove conditional code.
9784 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9785 <kernel-features.h>.
9786 [__ASSUME_32BITUIDS]: Make code unconditional.
9787 [!__ASSUME_32BITUIDS]: Remove conditional code.
9788 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9789 <kernel-features.h>.
9790 [__ASSUME_32BITUIDS]: Make code unconditional.
9791 [!__ASSUME_32BITUIDS]: Remove conditional code.
9792 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9793 <kernel-features.h>.
9794 [__ASSUME_32BITUIDS]: Make code unconditional.
9795 [!__ASSUME_32BITUIDS]: Remove conditional code.
9796 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9797 <kernel-features.h>.
9798 [__NR_setresgid] (__setresgid): Do not declare.
9799 [__ASSUME_32BITUIDS]: Make code unconditional.
9800 [!__ASSUME_32BITUIDS]: Remove conditional code.
9801 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9802 <kernel-features.h>.
9803 [__NR_setresuid] (__setresuid): Do not declare.
9804 [__ASSUME_32BITUIDS]: Make code unconditional.
9805 [!__ASSUME_32BITUIDS]: Remove conditional code.
9806 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9807 <kernel-features.h>.
9808 [__ASSUME_32BITUIDS]: Make code unconditional.
9809 [!__ASSUME_32BITUIDS]: Remove conditional code.
9810 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9811 <kernel-features.h>.
9812 [__ASSUME_32BITUIDS]: Make code unconditional.
9813 [!__ASSUME_32BITUIDS]: Remove conditional code.
9814 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9815 <kernel-features.h>.
9816 [__ASSUME_32BITUIDS]: Make code unconditional.
9817 [!__ASSUME_32BITUIDS]: Remove conditional code.
9818 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9819 <kernel-features.h>.
9820 [__ASSUME_32BITUIDS]: Make code unconditional.
9821 [!__ASSUME_32BITUIDS]: Remove conditional code.
9822 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9823 <kernel-features.h>.
9824 [__ASSUME_32BITUIDS]: Make code unconditional.
9825 [!__ASSUME_32BITUIDS]: Remove conditional code.
9826 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9827 <kernel-features.h>.
9828 [__ASSUME_32BITUIDS]: Make code unconditional.
9829 [!__ASSUME_32BITUIDS]: Remove conditional code.
9830 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9831 <kernel-features.h>.
9832 [__ASSUME_32BITUIDS]: Make code unconditional.
9833 [!__ASSUME_32BITUIDS]: Remove conditional code.
9834 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9835 <kernel-features.h>.
9836 [__ASSUME_32BITUIDS]: Make code unconditional.
9837 [!__ASSUME_32BITUIDS]: Remove conditional code.
9838 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9839 <kernel-features.h>.
9840 [__ASSUME_32BITUIDS]: Make code unconditional.
9841 [!__ASSUME_32BITUIDS]: Remove conditional code.
9842 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9843 <kernel-features.h>.
9844 [__ASSUME_32BITUIDS]: Make code unconditional.
9845 [!__ASSUME_32BITUIDS]: Remove conditional code.
9846 * sysdeps/unix/sysv/linux/kernel-features.h
9847 (__ASSUME_SETRESUID_SYSCALL): Remove.
9848 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9849 (__ASSUME_32BITUIDS): Likewise.
9850 (__ASSUME_LDT_WORKS): Likewise.
9851 (__ASSUME_O_DIRECTORY): Likewise.
9852 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9853 architecture but not kernel version.
9854 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9855 (__ASSUME_MMAP2_SYSCALL): Likewise.
9856 (__ASSUME_STAT64_SYSCALL): Likewise.
9857 (__ASSUME_IPC64): Likewise.
9858 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9859 <kernel-features.h>.
9860 [__ASSUME_32BITUIDS]: Make code unconditional.
9861 [!__ASSUME_32BITUIDS]: Remove conditional code.
9862 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9863 <kernel-features.h>.
9864 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9865 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9866 132096]: Remove conditional code.
9867 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9868 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9869 <kernel-features.h>.
9870 [__ASSUME_32BITUIDS]: Make code unconditional.
9871 [!__ASSUME_32BITUIDS]: Remove conditional code.
9872 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9873 <kernel-features.h>.
9874 [__ASSUME_32BITUIDS]: Make code unconditional.
9875 [!__ASSUME_32BITUIDS]: Remove conditional code.
9876 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9877 <kernel-features.h>.
9878 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9879 unconditional.
9880 (__setresgid): Do not declare.
9881 [__ASSUME_32BITUIDS]: Make code unconditional.
9882 [!__ASSUME_32BITUIDS]: Remove conditional code.
9883 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9884 <kernel-features.h>.
9885 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9886 unconditional.
9887 (__setresuid): Do not declare.
9888 [__ASSUME_32BITUIDS]: Make code unconditional.
9889 [!__ASSUME_32BITUIDS]: Remove conditional code.
9890 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9891 <kernel-features.h>.
9892 [__ASSUME_32BITUIDS]: Make code unconditional.
9893 [!__ASSUME_32BITUIDS]: Remove conditional code.
9894 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9895 <kernel-features.h>.
9896 [__ASSUME_32BITUIDS]: Make code unconditional.
9897 [!__ASSUME_32BITUIDS]: Remove conditional code.
9898
a386f1cc
RH
98992012-05-25 Richard Henderson <rth@twiddle.net>
9900
9901 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9902 dl_hwcap to ifunc resolver.
9903 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9904 elf_ifunc_invoke.
9905 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9906 dl_hwcap to ifunc resolver.
9907 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9908
b6550497
JM
99092012-05-24 Joseph Myers <joseph@codesourcery.com>
9910
9911 [BZ #14153]
9912 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9913 for |x| <= 2**-26, not 2**-57.
9914 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9915 exception.
9916
b0bc23a1
JL
99172012-05-24 Jeff Law <law@redhat.com>
9918
9919 * stdio-common/Makefile (tests): Add bug25.
9920 * stdio-common/bug25.c: New test.
9921
347c92e9
L
99222012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9923
9924 [BZ #13576]
9925 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9926 multiple of MALLOC_ALIGNMENT in size.
9927 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9928
6bcc8b3f
JM
99292012-05-24 Joseph Myers <joseph@codesourcery.com>
9930
9931 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9932 Require >= 256.
9933 (FILENAME_MAX): Use macro-int-constant.
9934 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9935 (_IOFBF): Use macro-int-constant.
9936 (_IOLBF): Likewise.
9937 (_IONBF): Likewise.
9938 (SEEK_CUR): Likewise.
9939 (SEEK_END): Likewise.
9940 (SEEK_SET): Likewise.
9941 (TMP_MAX): Likewise.
9942 (EOF): Use macro-int-constant. Require < 0.
9943 (NULL): Use macro-constant. Require == 0.
9944 (stdin): Require type to be FILE *.
9945 (stdout): Likewise.
9946 (stderr): Likewise.
9947 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9948 macro-int-constant.
9949 (EXIT_SUCCESS): Likewise.
9950 (NULL): Use macro-constant. Require == 0.
9951 (RAND_MAX): Use macro-int-constant.
9952 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9953 [C99-based standards] (strtof): Require function.
9954 [C99-based standards] (strtold): Likewise.
9955 [C99-based standards] (strtoll): Likewise.
9956 [C99-based standards] (strtoull): Likewise.
9957 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9958 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9959 [ISO || ISO99 || ISO11] (math.h): Likewise.
9960 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9961 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9962 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9963
d18ea0c5
AS
99642012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9965
9966 [BZ #14132]
56d25bb8
AS
9967 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9968 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9969 * intl/dgettext.c (DCGETTEXT): Likewise.
9970 * intl/gettext.c (DCGETTEXT): Likewise.
9971 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9972 * posix/regex_internal.h (gettext): Likewise.
9973 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9974 Remove declaration.
9975 * include/argz.h (__argz_count_internal)
9976 (__argz_stringify_internal): Remove declaration.
9977 (__argz_count, __argz_stringify): Declare hidden proto.
9978 * intl/dcgettext.c: Remove use of INTDEF.
9979 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9980 * string/argz-stringify.c: Likewise.
9981 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9982 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9983 Declare hidden proto.
d18ea0c5
AS
9984 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9985 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9986 Declare hidden proto.
9987 * include/stdio.h (__asprintf_internal): Don't declare.
9988 (__asprintf): Don't define as macro. Declare hidden proto.
9989 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9990 (__fsetlocking): Declare hidden proto.
9991 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9992 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9993 hidden proto.
9994 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9995 (_IO_setlinebuf): Remove use of INTUSE.
9996 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9997 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9998 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9999 Remove declaration.
10000 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10001 (_IO_do_flush): Remove use of INTUSE.
10002 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10003 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10004 (_IO_adjust_column, _IO_least_wmarker)
10005 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10006 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10007 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10008 (_IO_default_doallocate, _IO_wdefault_doallocate)
10009 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10010 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10011 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10012 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10013 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10014 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10015 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10016 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10017 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10018 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10019 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10020 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10021 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10022 proto.
10023 (_IO_flush_all_internal, _IO_adjust_column_internal)
10024 (_IO_default_uflow_internal, _IO_default_finish_internal)
10025 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10026 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10027 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10028 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10029 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10030 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10031 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10032 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10033 (_IO_file_close_internal, _IO_file_close_it_internal)
10034 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10035 (_IO_file_init_internal, _IO_file_attach_internal)
10036 (_IO_file_fopen_internal, _IO_file_read_internal)
10037 (_IO_file_sync_internal, _IO_file_seek_internal)
10038 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10039 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10040 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10041 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10042 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10043 (_IO_list_all_internal, _IO_link_in_internal)
10044 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10045 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10046 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10047 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10048 (_IO_do_write_internal, _IO_padn_internal)
10049 (_IO_getline_info_internal, _IO_getline_internal)
10050 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10051 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10052 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10053 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10054 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10055 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10056 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10057 with libc_hidden_ver, remove use of INTUSE.
10058 * libio/genops.c: Likewise.
10059 * libio/freopen.c: Likewise.
10060 * libio/freopen64.c: Likewise.
10061 * libio/iofclose.c: Likewise.
10062 * libio/iofdopen.c: Likewise.
10063 * libio/iofflush.c: Likewise.
10064 * libio/iofflush_u.c: Likewise.
10065 * libio/iofgets.c: Likewise.
10066 * libio/iofgets_u.c: Likewise.
10067 * libio/iofopen.c: Likewise.
10068 * libio/iofopncook.c: Likewise.
10069 * libio/iofread.c: Likewise.
10070 * libio/iofread_u.c: Likewise.
10071 * libio/ioftell.c: Likewise.
10072 * libio/iofwrite.c: Likewise.
10073 * libio/iogetline.c: Likewise.
10074 * libio/iogets.c: Likewise.
10075 * libio/iogetwline.c: Likewise.
10076 * libio/iopadn.c: Likewise.
10077 * libio/iopopen.c: Likewise.
10078 * libio/ioseekoff.c: Likewise.
10079 * libio/ioseekpos.c: Likewise.
10080 * libio/iosetbuffer.c: Likewise.
10081 * libio/iosetvbuf.c: Likewise.
10082 * libio/ioungetc.c: Likewise.
10083 * libio/ioungetwc.c: Likewise.
10084 * libio/iovdprintf.c: Likewise.
10085 * libio/iovsprintf.c: Likewise.
10086 * libio/iovsscanf.c: Likewise.
10087 * libio/memstream.c: Likewise.
10088 * libio/obprintf.c: Likewise.
10089 * libio/oldfileops.c: Likewise.
10090 * libio/oldiofclose.c: Likewise.
10091 * libio/oldiofdopen.c: Likewise.
10092 * libio/oldiofopen.c: Likewise.
10093 * libio/oldiopopen.c: Likewise.
10094 * libio/oldstdfiles.c: Likewise.
10095 * libio/putc.c: Likewise.
10096 * libio/setbuf.c: Likewise.
10097 * libio/setlinebuf.c: Likewise.
10098 * libio/stdfiles.c: Likewise.
10099 * libio/strops.c: Likewise.
10100 * libio/vasprintf.c: Likewise.
10101 * libio/vscanf.c: Likewise.
10102 * libio/vsnprintf.c: Likewise.
10103 * libio/vswprintf.c: Likewise.
10104 * libio/wfiledoalloc.c: Likewise.
10105 * libio/wfileops.c: Likewise.
10106 * libio/wgenops.c: Likewise.
10107 * libio/wmemstream.c: Likewise.
10108 * libio/wstrops.c: Likewise.
10109 * libio/__fpurge.c: Likewise.
10110 * libio/__fsetlocking.c: Likewise.
10111 * assert/assert.c: Likewise.
10112 * debug/fgets_chk.c: Likewise.
10113 * debug/fgets_u_chk.c: Likewise.
10114 * debug/fread_chk.c: Likewise.
10115 * debug/fread_u_chk.c: Likewise.
10116 * debug/gets_chk.c: Likewise.
10117 * debug/obprintf_chk.c: Likewise.
10118 * debug/vasprintf_chk.c: Likewise.
10119 * debug/vdprintf_chk.c: Likewise.
10120 * debug/vsnprintf_chk.c: Likewise.
10121 * debug/vsprintf_chk.c: Likewise.
10122 * malloc/mtrace.c: Likewise.
10123 * misc/error.c: Likewise.
10124 * misc/syslog.c: Likewise.
10125 * stdio-common/asprintf.c: Likewise.
10126 * stdio-common/fxprintf.c: Likewise.
10127 * stdio-common/getw.c: Likewise.
10128 * stdio-common/isoc99_fscanf.c: Likewise.
10129 * stdio-common/isoc99_scanf.c: Likewise.
10130 * stdio-common/isoc99_vfscanf.c: Likewise.
10131 * stdio-common/isoc99_vscanf.c: Likewise.
10132 * stdio-common/isoc99_vsscanf.c: Likewise.
10133 * stdio-common/printf-prs.c: Likewise.
10134 * stdio-common/printf_fp.c: Likewise.
10135 * stdio-common/printf_fphex.c: Likewise.
10136 * stdio-common/printf_size.c: Likewise.
10137 * stdio-common/putw.c: Likewise.
10138 * stdio-common/scanf.c: Likewise.
10139 * stdio-common/sprintf.c: Likewise.
10140 * stdio-common/tmpfile.c: Likewise.
10141 * stdio-common/vfprintf.c: Likewise.
10142 * stdio-common/vfscanf.c: Likewise.
10143 * stdlib/strfmon_l.c: Likewise.
10144 * sunrpc/openchild.c: Likewise.
10145 * sunrpc/xdr_stdio.c: Likewise.
10146 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10147 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10148
d6c33fda
RM
101492012-05-24 Roland McGrath <roland@hack.frob.com>
10150
c1487492
RM
10151 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10152
10153 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10154 in the third column, to generate for the shared library an IFUNC
10155 that uses _dl_vdso_vsym.
10156 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10157 * Makeconfig (object-suffixes-noshared): New variable.
10158
10159 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10160 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10161 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10162 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10163
d6c33fda
RM
10164 [BZ #14132]
10165 * include/sys/time.h (__gettimeofday): Remove macro.
10166 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10167 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10168 Remove INTDEF.
10169 (__gettimeofday): Add libc_hidden_def.
10170 (gettimeofday): Add libc_hidden_weak.
10171 * sysdeps/mach/gettimeofday.c: Likewise.
10172 * sysdeps/posix/gettimeofday.c: Likewise.
10173 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10174 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10175 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10176 (__gettimeofday_internal): Remove strong_alias.
10177 (__gettimeofday): Add libc_hidden_def.
10178 (gettimeofday): Add libc_hidden_weak.
10179 * sysdeps/unix/syscalls.list (gettimeofday):
10180 Remove __gettimeofday_internal alias.
10181
b5a2bbe6
L
101822012-05-24 Daniel Jacobowitz <drow@false.org>
10183 H.J. Lu <hongjiu.lu@intel.com>
10184
10185 [BZ #12495]
10186 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10187 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10188 (largebin_index_32_big): New.
10189 (largebin_index): Use it for 16-byte alignment.
10190 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10191 correction with front_misalign.
10192
cfba4fda
L
101932012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10194
7f907421
L
10195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10197 Likewise.
10198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10199 Likewise.
10200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10201 Likewise.
10202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10203 Likewise.
10204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10205 Likewise.
10206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10207 Likewise.
10208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10209 Likewise.
10210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10211 Likewise.
10212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10213 Likewise.
10214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10215 Likewise.
10216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10217 Likewise.
10218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10219 Likewise.
10220
cfba4fda
L
10221 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10222 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10223
80bad0cc
JM
102242012-05-24 Joseph Myers <joseph@codesourcery.com>
10225
7a25eb06
JM
10226 [BZ #10846]
10227 [BZ #14036]
10228 * math/libm-test.inc (exp_test): Add test from bug 14036.
10229 (pow_test): Add test from bug 10846.
10230
795405f9
JM
10231 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10232 and other flags.
10233 (special_function): Do not include flags in test name.
10234 (parse_args): Likewise.
10235 * sysdeps/i386/fpu/libm-test-ulps: Update.
10236 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10237 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10238 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10240
80bad0cc
JM
10241 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10242 exceptions.
10243 * math/libm-test.inc ("Philosophy"): Update comment about
10244 exception testing.
10245 (UNDERFLOW_EXCEPTION): New macro.
10246 (UNDERFLOW_EXCEPTION_OK): Likewise.
10247 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10248 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10249 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10250 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10251 (INVALID_EXCEPTION_OK): Update value.
10252 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10253 (OVERFLOW_EXCEPTION_OK): Likewise.
10254 (IGNORE_ZERO_INF_SIGN): Likewise.
10255 (test_exceptions): Handle underflow exceptions.
10256 (acos_test): Update for underflow exception expectations.
10257 (cexp_test): Likewise.
10258 (clog_test): Likewise.
10259 (clog10_test): Likewise.
10260 (csqrt_test): Likewise.
10261 (ctan_test): Likewise.
10262 (ctanh_test): Likewise.
10263 (exp_test): Likewise.
10264 (exp10_test): Likewise.
10265 (exp2_test): Likewise.
10266 (expm1_test): Likewise.
10267 (fma_test): Likewise.
10268 (j0_test): Likewise.
10269 (jn_test): Likewise.
10270 (nexttoward_test): Likewise.
10271 (pow_test): Likewise.
10272 (scalbn_test): Likewise.
10273 (scalbln_test): Likewise.
10274 (tan_test): Likewise.
10275 (y1_test): Likewise.
10276 * sysdeps/i386/fpu/libm-test-ulps: Update.
10277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10278
9e0e3d0b
DM
102792012-05-23 David S. Miller <davem@davemloft.net>
10280
10281 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10282 (__libc_sigaction): Remove unused local variables.
10283
ccd0a08f
L
102842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10285
10286 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10287
62bdf9a6
PE
102882012-05-23 Paul Eggert <eggert@cs.ucla.edu>
10289
f8591f80
PE
10290 mktime: avoid signed integer overflow
10291 * time/mktime.c (__mktime_internal): Do not mishandle the case
10292 where diff == INT_MIN.
10293
94c7d826
PE
10294 mktime: simplify computation of average
10295 * time/mktime.c (ranged_convert): Use new time_t_avg function
10296 instead of rolling our own (probably-slower) code.
10297
ce73d683
PE
10298 mktime: do not assume signed right shift propagates sign bit
10299 * time/mktime.c (isdst_differ): New static function.
10300 (__mktime_internal): No need to normalize tm_isdst now.
10301 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10302 tm_isdst values.
10303
72a22e59
PE
10304 mktime: merge another wrapv change from gnulib
10305 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
10306 from some compilers.
10307
68605433
PE
10308 mktime: remove incorrect attempt at unusual arithmetics
10309 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
10310 The code didn't really work on such machines anyway.
10311 (TYPE_MINIMUM): Assume two's complement.
10312 (twos_complement_arithmetic): Verify that long_int and time_t
10313 are two's complement (or unsigned, in the latter case).
10314
03cf7fe3
PE
10315 mktime: check signed shifts on long_int and time_t, too
10316 * time/mktime.c (SHR): Check that shifts work as desired
10317 on the types long_int and time_t too, as SHR is used on
10318 such types.
10319
f04dfbc2
PE
10320 mktime: do not assume 'long' is wide enough
10321 * time/mktime.c (verify): Move decl up.
10322 (long_int): New type.
10323 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10324 to remove assumption in the code that 'long' is wide enough to
10325 store year values. This assumption is not true on x32 and on
10326 some non-glibc platforms.
10327
62bdf9a6
PE
10328 mktime: merge wrapv change from gnulib
10329 * time/mktime.c (WRAPV): New macro.
10330 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10331 (guess_time_tm, __mktime_internal): Do not assume that signed
10332 integer overflow wraps around; modern compilers generate code
10333 where this assumption is no longer valid.
10334
5e292e4f
L
103352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10336
10337 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10338 Replace "jmp L(pseudo_end)" with "ret".
10339 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10340 Likewise.
10341
8caf8c87
AJ
103422012-05-23 Andreas Jaeger <aj@suse.de>
10343
10344 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10345 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10346
1a09dc56
AJ
103472012-05-23 Andreas Jaeger <aj@suse.de>
10348 Maximilian Attems <max@stro.at>
10349
10350 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10351 New macros.
10352
1c87aba0
L
103532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10354
10355 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10356 code so that pseudo_end is just ret and the stack pointer is
10357 correct also for static library in error case.
10358
40e45bd5
JM
103592012-05-23 Joseph Myers <joseph@codesourcery.com>
10360
c2670533
JM
10361 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10362 move to syscalls.list.
10363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10367
40e45bd5
JM
10368 * manual/install.texi (Running make install): Do not mention Linux
10369 kernel version for which pt_chown is not needed.
10370 (Linux): Do not mention problems with nscd with 2.0 kernels.
10371 * INSTALL: Regenerated.
10372
be08eda5
AJ
103732012-05-23 Andreas Jaeger <aj@suse.de>
10374
10375 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10376 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10377 macro.
10378 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10379 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10380 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10381 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10382 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10383 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10384 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10385 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10386 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10387 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10388 * sysdeps/unix/sysv/linux/bits/in.h
10389 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10390
a6a056bb
RM
103912012-05-22 Roland McGrath <roland@hack.frob.com>
10392
10393 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10394 (PREPARE_VERSION): Just use assert instead, it will be elided
10395 under [NDEBUG] anyway.
10396
c9009328
L
103972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10398
10399 * sysdeps/unix/sysv/linux/Makefile: Include
10400 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 10401 (sysdep_routines): Remove sysctl.
c9009328
L
10402 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10403 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10404 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10405 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10406 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10407
73338355
AJ
104082012-05-22 Andreas Jaeger <aj@suse.de>
10409
10410 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10411 that pseudo_end is just ret and the stack pointer is correct also
10412 for static library in error case.
10413
d44638b0
PP
104142012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10415
10416 [BZ #14122]
10417 * nss/nsswitch.c (defconfig_entries): New variable.
10418 (__nss_database_lookup): Don't leak defconfig entries.
10419 (nss_parse_service_list): Don't leak on error paths.
10420 (free_database_entries): New function.
10421 (free_defconfig): New function.
10422 (free_mem): Move common code to free_database_entries.
10423
31a39bd8
L
104242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10425
da0331a8
L
10426 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10427 Add arch_prctl.
10428 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10429
31a39bd8
L
10430 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10431 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10432 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10433 New macro.
10434 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10435 (INTERNAL_SYSCALL_TYPES): Likewise.
10436 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10437 (LOAD_REGS_TYPES_[1-6]): Likewise.
10438 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10439 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10440
45470df3
AZ
104412012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10442
10443 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10444 copysignl for GLIBC_2_0.
10445 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10446 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10447 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10448 logbl for GLIBC_2_0.
10449 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10450 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10451
98a61bcb
L
104522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10453
a4f6e481
L
10454 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10455 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10456
f63d5db6
L
10457 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10458 Use "neg %eax".
10459
98a61bcb
L
10460 * time/mktime.c: Update copyright years.
10461
95770f14
PE
104622012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10463
6226efbd
PE
10464 mktime: merge comment-quoting-style change from gnulib
10465 * time/mktime.c: Quote 'like this' in comments.
10466 The GNU coding standards suggest that we no longer quote `like this',
10467 as "`" and "'" are typically rendered asymmetrically nowadays.
10468 The typical gnulib style is to quote 'like this' when quoting
10469 code, and "like this" when quoting English.
10470
b99e4f78
PE
10471 * time/mktime.c (compile-command): Add "-I.".
10472
643e01e6
PE
10473 mktime: merge mktime-internal.h change from gnulib
10474 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10475
2554247d
PE
10476 mktime: merge time_r change from gnulib
10477 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10478
826dd0ab
PE
10479 mktime: merge DEBUG change from gnulib
10480 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10481 case system <time.h> has a #define.
10482
bd83aabe
PE
10483 mktime: merge <sys/types.h> change from gnulib
10484 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10485 since <time.t> is now guaranteed to define time_t.
10486
95770f14
PE
10487 mktime: merge HAVE_CONFIG_H change from gnulib
10488 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10489
5e1a27a9
L
104902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10491
0e44a77e
L
10492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10493 Use "neg %eax".
10494
5e1a27a9
L
10495 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10496 __rlim_t cast.
10497 (struct rusage): Use anonymous union to pad each field to
10498 __syscall_slong_t.
10499
46259bec
DM
105002012-05-21 David S. Miller <davem@davemloft.net>
10501
10502 * Makefules (o-iterator): Remove .s cases.
10503 (compile-command.s): Delete.
10504 (COMPILE.s): Delete.
10505 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10506
59f0c22e
JM
105072012-05-21 Joseph Myers <joseph@codesourcery.com>
10508
10509 * configure.in (libc_cv_predef_stack_protector): Only consider
10510 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10511 * configure: Regenerated.
10512
20c07380
L
105132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10514
bbb3154b
L
10515 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10516 New macro. Use R*LP on int and pointer.
10517 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
10518 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10519 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
10520 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10521
20c07380
L
10522 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10523 [__WORDSIZE_TIME64_COMPAT32] instead of
10524 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10525 (struct utmp): Likewise.
10526 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10527 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10528 Renamed to ...
10529 (__WORDSIZE_TIME64_COMPAT32): This.
10530 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10531 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10532 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10533 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10534 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10535 (__WORDSIZE_TIME64_COMPAT32): New macro.
10536
d8d1017e
AJ
105372012-05-21 Andreas Jaeger <aj@suse.de>
10538
10539 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10540 only if [SHARED]. Add prototype for __wcschr_ia32.
10541
6c7fb145
RM
105422012-05-21 Roland McGrath <roland@hack.frob.com>
10543
10544 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10545 of %rbp unmolested in the jmp_buf while mangling the low bits.
10546 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10547 unmolested high bits of %rbp while demangling the low bits.
10548 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10549
66274218
AJ
105502012-05-21 Andreas Jaeger <aj@suse.de>
10551
07c58f8f
AJ
10552 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10553 * sunrpc/svc_simple.c: Use it for registerrpc.
10554 * sunrpc/xcrypt.c: Use it for passwd2des.
10555
66274218
AJ
10556 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10557
61f65140
L
105582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10559
10560 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10561 Don't define if [__SYSCALL_WORDSIZE != 32].
10562 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10563 New macro.
10564
5fefb436
AJ
105652012-05-21 Bruno Haible <bruno@clisp.org>
10566 Andreas Jaeger <aj@suse.de>
10567
10568 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10569 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10570 inptr and inend for must_buffer_ch.
10571 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10572 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10573 * stdio-common/Makefile (tests): Remove bug15.
10574 (bug15-ENV): Remove macro.
10575 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10576 anymore.
10577
d8e272ab
AJ
105782012-05-19 Andreas Jaeger <aj@suse.de>
10579 Roland McGrath <roland@hack.frob.com>
10580
10581 * manual/contrib.texi: Completely rewritten. It contains now an
10582 alphabetical list of contributors and their contributions.
10583
4a56a162
RH
105842012-05-21 Richard Henderson <rth@twiddle.net>
10585
10586 * misc/getauxval.c (__getauxval): Use unsigned long int.
10587 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10588 (getauxval): Use unsigned long int.
10589
d024d23c
L
105902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10591
10592 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10593
cbc00a03
RM
105942012-05-21 Roland McGrath <roland@hack.frob.com>
10595
10596 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10597 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10598 __alignof__ (long double).
10599
478143fa
AZ
106002012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10601
10602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10603
c7683a6d
RH
106042012-05-20 Richard Henderson <rth@twiddle.net>
10605
10606 * misc/getauxval.c: New file.
10607 * misc/sys/auxv.h: New file.
10608 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10609 (routines): Add getauxval.
10610 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10611 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10612 * elf/dl-sysdep.c (_dl_auxv): Remove.
10613 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10614 * elf/dl-support.c (_dl_auxv): New variable.
10615 (_dl_aux_init): Initialize it.
10616 * manual/startup.texi (Auxiliary Vector): New node.
10617 * sysdeps/generic/bits/hwcap.h: New file.
10618 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10619 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10620 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10621 * sysdeps/sparc/sysdep.h: ... here. Include it.
10622 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10623 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
10624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10625 Update.
c7683a6d
RH
10626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10629 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10634
a6f1845d
AZ
106352012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10636
10637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10638
cbcbe830
DM
106392012-05-19 David S. Miller <davem@davemloft.net>
10640
10641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10642
e0b16cc2
JM
106432012-05-19 Joseph Myers <joseph@codesourcery.com>
10644
10645 [BZ #14123]
10646 * math/s_ccosh.c: Include <float.h>
10647 (__ccosh): Avoid internal overflow calculating sinh and cosh
10648 values before multiplying by sin and cos values.
10649 * math/s_ccoshf.c: Likewise.
10650 * math/s_ccoshl.c: Likewise.
10651 * math/s_csin.c: Likewise.
10652 * math/s_csinf.c: Likewise.
10653 * math/s_csinl.c: Likewise.
10654 * math/s_csinh.c: Likewise.
10655 * math/s_csinhf.c: Likewise.
10656 * math/s_csinhl.c: Likewise.
10657 * math/libm-test.inc (ccos_test): Add more tests.
10658 (ccosh_test): Likewise.
10659 (csin_test): Likewise.
10660 (csinh_test): Likewise.
10661 * sysdeps/i386/fpu/libm-test-ulps: Update.
10662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10663
6ad13e08
L
106642012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10665
f66f0ce8
L
10666 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10667 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10668
6ad13e08
L
10669 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10670
b1d072a7
JM
106712012-05-19 Joseph Myers <joseph@codesourcery.com>
10672
10673 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10674 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10675 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10676 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10677 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10678 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10679 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10680 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10681 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10682 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10683 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10684 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10685 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10686 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10687 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10688 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10689 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10690 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10691 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10692 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10693 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10694 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10695 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10696 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10697 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10698 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10699 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10700 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10701 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10702 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10703 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10704
9eae47cb
AJ
107052012-05-18 Andreas Jaeger <aj@suse.de>
10706
10707 * csu/.gitignore: Delete.
10708
bb07f69f
L
107092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10710
10711 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10712 (timex): Use __syscall_slong_t.
10713
e6bdb741
AJ
107142012-05-18 Andreas Jaeger <aj@suse.de>
10715 Carlos O'Donell <carlos_odonell@mentor.com>
10716
10717 * manual/install.texi (Configuring and compiling): Update
10718 description about files modified in the source directory.
d6c33fda 10719 * INSTALL: Regenerated.
e6bdb741 10720
1b74487e
L
107212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10722
10723 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10724 value. Use "or" to set return value to -1.
10725 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10726 negate return value.
10727
a88b64b9
TMQMF
107282012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10729
10730 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10731 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10732 failure if the compiler has Graphite support disabled.
10733 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10734 Likewise.
10735 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10736 CFLAGS-memmove.c): Likewise.
10737 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10738 Likewise.
10739
3707636e
L
107402012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10741
610b8622
L
10742 * sysdeps/x86_64/x32/_itoa.h: New file.
10743
7cd195df
L
10744 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10745 getdents system call only if kernel and user dirents have the
10746 same d_ino and d_off.
10747
94b07d20
L
10748 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10749 LLONG_MAX != LONG_MAX.
10750 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10751 (_fitoa_word): Likewise.
10752
18298070
L
10753 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10754 years.
10755 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10756 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10757 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10758
553c7ea4
L
10759 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10760 include <bits/wordsize.h>. Check __x86_64__ instead of
10761 __WORDSIZE.
10762 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10763 if __x86_64__ is defined. Use anonymous union on fpstate.
10764
3707636e
L
10765 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10766 anonymous union.
10767
b53ef01a
AS
107682012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10769
37fb1dc0
AS
10770 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10771 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10772 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10773 Refer to _rtld_local_ro instead of _rtld_global_ro.
10774 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10775 Likewise.
10776 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10777 Likewise.
10778 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10779 Likewise.
10780 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10781 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10782 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10783
b53ef01a
AS
10784 * sysdeps/powerpc/powerpc32/dl-machine.c
10785 (__elf_machine_runtime_setup) [PROF]: Don't reference
10786 _dl_prof_resolve.
10787
7a185db2
AJ
107882012-05-18 Andreas Jaeger <aj@suse.de>
10789
10790 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10791 function only available for GCCs before 3.4 since GCC 3.4
10792 introduced a builtin.
10793 (lrint): Likewise.
10794 (llrintf): Likewise.
10795 (llrint): Likewise.
10796 (fmaxf): Likewise.
10797 (fmax): Likewise.
10798 (fminf): Likewise.
10799 (fmin): Likewise.
10800 (rint): Likewise.
10801 (rintf): Likewise.
10802 (nearbyint): Likewise.
10803 (nearbyintf): Likewise.
10804 (ceil): Likewise.
10805 (ceilf): Likewise.
10806 (floor): Likewise.
10807 (floorf): Likewise.
10808
3e5aef87
L
108092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10810
428bd707
L
10811 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10812 on both fields and cast pointer to __syscall_ulong_t.
10813
3e5aef87
L
10814 * bits/types.h (__fsword_t): New type.
10815 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10816 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10817 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10818 (__FSWORD_T_TYPE): Likewise.
10819 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10820 (__FSWORD_T_TYPE): Likewise.
10821 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10822 (__FSWORD_T_TYPE): Likewise.
10823 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10824 (__FSWORD_T_TYPE): Likewise.
10825 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10826 __SWORD_TYPE with __fsword_t.
10827 (statfs64): Likewise.
10828
1ba7c3dc
DM
108292012-05-17 David S. Miller <davem@davemloft.net>
10830
10831 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10832
59910343
AJ
108332012-05-17 Andreas Jaeger <aj@suse.de>
10834
10835 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10836 warning.
10837
2e4c1e9e
L
108382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10839
10840 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10841
de7f5ce7
AJ
108422012-05-17 Andreas Jaeger <aj@suse.de>
10843
10844 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10845 when it is used.
10846
286abc3d
CM
108472012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10848
10849 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10850
477cc68e
L
108512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10852
10853 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10854 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10855
1a0994f5
CD
108562012-05-17 Andreas Jaeger <aj@suse.de>
10857 Carlos O'Donell <carlos_odonell@mentor.com>
10858
10859 [BZ #14059]
10860 * sysdeps/x86_64/multiarch/init-arch.h
10861 (bit_YMM_Usable): Rename to...
10862 (bit_AVX_Usable): ... this.
10863 (bit_FMA4_Usable): New macro.
10864 (bit_XMM_state): New macro.
10865 (bit_YMM_state): New macro.
10866 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10867 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10868 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10869 (CPUID_OSXSAVE): New macro.
10870 (CPUID_AVX): New macro.
10871 (CPUID_FMA4): New macro.
10872 (index_YMM_Usable): Rename to...
10873 (index_AVX_Usable): ... this.
10874 (HAS_AVX): Use HAS_ARCH_FEATURE.
10875 (HAS_FMA4): Likewise.
10876 (HAS_YMM_USABLE): Remove.
10877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10878 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10879 are present.
10880 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10881 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10882 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10883 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10884 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10885
0af797de
CM
108862012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10887
10888 * math/libm-test.c: Support platforms without multiple rounding modes.
10889 * math/bug-nextafter.c: Support platforms without FP exceptions.
10890 * math/bug-nexttoward.c: Likewise.
10891 * math/test-fenv.c: Likewise.
10892 * math/test-misc.c: Likewise.
10893 * stdlib/bug-getcontext.c: Likewise.
10894
e39745ff
AJ
108952012-05-17 Andreas Jaeger <aj@suse.de>
10896
10897 * manual/examples/search.c (critter_cmp): Change signature to
10898 avoid warnings.
10899 * manual/string.texi (Collation Functions): Likewise.
10900
48970aba
L
109012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10902
10903 * bits/types.h: Fold copyright years.
10904 * bits/typesizes.h: Likewise.
10905 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10906 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10907 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10908 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10909 * time/time.h: Likewise.
10910
bedee953
PP
109112012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10912
10913 [BZ #208]
10914 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10915 in instead of returning them. Return void.
10916 (__libc_mallinfo): Accumulate over all arenas.
10917 (__malloc_stats): Adjust for change in int_mallinfo interface.
10918
61653dfb
RM
109192012-05-16 Roland McGrath <roland@hack.frob.com>
10920
30b99d79
RM
10921 [BZ #10375]
10922 * configure.in (NM): Add AC_CHECK_TOOL for it.
10923 (libc_extra_cflags): New substituted variable.
10924 Check for -fstack-protector being used implicitly.
10925 * configure: Regenerated.
10926 * config.make.in (config-extra-cflags): New variable,
10927 gets @libc_extra_cflags@.
10928 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10929
61653dfb
RM
10930 [BZ #10375]
10931 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10932 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10933 * configure: Regenerated.
10934 * config.make.in (CPPUNDEFS): New substituted variable.
10935 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10936 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10937 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10938
661768bb
L
109392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10940
10941 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10942 (mq_attr): Use __syscall_slong_t.
10943
d4261567
L
109442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10945
10946 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10947 Check __x86_64__ instead of __WORDSIZE.
10948 (_STAT_VER_LINUX): Likewise.
10949 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10950 __syscall_ulong_t and __syscall_slong_t.
10951 (stat64): Likewise.
10952
cf3ff365
L
109532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10954
10955 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10956
76cf3e4d
L
109572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10958
10959 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10960
a637753a
L
109612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10962
10963 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10964 __syscall_ulong_t.
10965
d5e05119
L
10966 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10967 include <bits/wordsize.h>. Check __x86_64__ instead of
10968 __WORDSIZE.
10969 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10970 defined.
10971 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10972
f62ee380
L
10973 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10974 include <bits/wordsize.h>. Check __x86_64__ instead of
10975 __WORDSIZE.
10976 (user_regs_struct): Use "__extension__ unsigned long long"
10977 instead of "unsigned long" if __x86_64__ is defined.
10978 (user): Likewise. Pad after pointer field if __ILP32__ is
10979 defined.
10980
4e124ced
JM
109812012-05-16 Joseph Myers <joseph@codesourcery.com>
10982
6a3951a0
JM
10983 * configure.in (makeinfo): Require version 4.5 or later. Allow
10984 versions 5 to 9.
10985 * configure: Regenerated.
10986 * manual/install.texi (texinfo): Increase version requirement to
10987 4.5 or later.
10988 * INSTALL: Regenerated.
10989
4e124ced
JM
10990 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10991
953ca31a
L
109922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10993
10994 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10995
617aca05
L
10996 * sysdeps/x86_64/x32/ffs.c: New file.
10997
5762f7ae
L
10998 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10999 __syscall_ulong_t.
11000 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11001 defined. Use __syscall_ulong_t.
11002 (shminfo): Use __syscall_ulong_t.
11003 (shm_info): Likewise.
11004
a26b6856
L
11005 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11006 __syscall_ulong_t.
11007
cb2b9ef7
L
11008 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11009 <bits/wordsize.h>.
11010 (msgqnum_t): Use __syscall_ulong_t.
11011 (msglen_t): Likewise.
11012 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11013 __syscall_ulong_t.
11014
34683bb0
L
11015 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11016 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11017
84a68786
L
11018 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11019
48baa5f1
L
11020 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11021 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11022
180be88b
L
11023 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11024 __syscall_slong_t.
11025
5e90c8ad
L
11026 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11027 include <bits/wordsize.h>. Check __x86_64__ instead of
11028 __WORDSIZE.
11029
23dfb58b
L
11030 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11031 "unsigned long long int" if __x86_64__ is defined.
11032 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11033
ce5d54b0
L
11034 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11035 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11036 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11037
13dc9eac
L
11038 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11039 <stdint.h>.
11040 (GET_PC): Cast to uintptr_t first.
11041 (GET_FRAME): Likewise.
11042 (GET_STACK): Likewise.
11043
a7895d15
L
11044 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11045 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11046 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11047 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11048 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11049 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11050 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11051 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11052 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11053 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11054 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11055 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11056 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11057 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11058 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11059 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11060 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11061 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11062 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11063 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11064 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11065 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11066 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11067 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11068 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11069 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11070 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11071 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11072 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11073
656416c9
AS
110742012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11075
5bd66283
AS
11076 * Makerules (+depfiles): Also collect depfiles from .oS in
11077 $(extra-objs).
11078 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11079 .oS, $(libnldbl-routines)).
11080
656416c9
AS
11081 * Makerules (native-compile-mkdep-flags): Define.
11082 * sunrpc/Makefile (extra-objs): Add $(addprefix
11083 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11084 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11085 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11086 calling $(make-target-directory).
11087
a46f2169
L
110882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11089
11090 * bits/types.h (__snseconds_t): Removed.
11091 * time/time.h (struct timespec): Replace __snseconds_t with
11092 __syscall_slong_t.
11093 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11094 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11095 Likewise.
11096 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11097 (__SNSECONDS_T_TYPE): Likewise.
11098 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11099 (__SNSECONDS_T_TYPE): Likewise.
11100 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11101 (__SNSECONDS_T_TYPE): Likewise.
11102
6af6528b
L
111032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11104
11105 * sysdeps/mach/hurd/bits/typesizes.h
11106 (__SYSCALL_SLONG_TYPE): New macro.
11107 (__SYSCALL_ULONG_TYPE): Likewise.
11108
de986b56
L
111092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11110
11111 * bits/types.h (__syscall_slong_t): New type.
11112 (__syscall_ulong_t): Likewise.
11113
11114 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11115 (__SYSCALL_ULONG_TYPE): Likewise.
11116 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11117 (__SYSCALL_SLONG_TYPE): Likewise.
11118 (__SYSCALL_ULONG_TYPE): Likewise.
11119 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11120 (__SYSCALL_SLONG_TYPE): Likewise.
11121 (__SYSCALL_ULONG_TYPE): Likewise.
11122 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11123 (__SYSCALL_SLONG_TYPE): Likewise.
11124 (__SYSCALL_ULONG_TYPE): Likewise.
11125
85736dc7
L
111262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11127
11128 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11129 Add sigaltstack-offsets.sym.
11130 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11131 <sigaltstack-offsets.h>.
11132 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11133 longjmp_msg pointer.
11134 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11135 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11136 signal stack.
11137 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11138
cc03b296
JM
111392012-05-15 Joseph Myers <joseph@codesourcery.com>
11140
a9538892
JM
11141 * elf/stackguard-macros.h: Remove file.
11142 * sysdeps/generic/stackguard-macros.h: New file.
11143 * sysdeps/i386/stackguard-macros.h: Likewise.
11144 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11145 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11146 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11147 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11148 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11149 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11150 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11151 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11152 <elf/stackguard-macros.h>.
11153
cc03b296
JM
11154 [BZ #14109]
11155 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11156 __aligned__ in attribute.
11157 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11158 (gregset_t): Likewise.
11159
93171016
L
111602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11161
11162 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11163 * sysdeps/x86_64/64/Implies-after: Here. New file.
11164 * sysdeps/x86_64/x32/Implies-after: New file.
11165
d86813a0
L
111662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11167
11168 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11169 and access return value for _dl_profile_fixup. Use R10_LP to
11170 load frame size.
11171
2953ec75
L
111722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11173
11174 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11175
3b550e9e
L
111762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11177
11178 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11179 * sysdeps/x86_64/x32/sysdep.h: New file.
11180
eda41706
L
111812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11182
11183 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11184 * sysdeps/x86_64/setjmp.S: Likewise.
11185
9ea01d93
AZ
111862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11187
11188 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11189 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11190 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11191 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11192 remove unused global constant.
11193
02a91938
CM
111942012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11195
11196 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11197 include of <not-cancel.h>.
11198
6540185f
RM
111992012-05-15 Roland McGrath <roland@hack.frob.com>
11200
11201 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11202
509072a0
AJ
112032012-05-15 Jeff Law <law@redhat.com>
11204 Andreas Jaeger <aj@suse.de>
11205
11206 [BZ #13594]
11207 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11208 out from...
11209 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11210 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11211 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11212 code changing __hst_map_handle.map.
11213
ba75122d
RM
112142012-05-15 Roland McGrath <roland@hack.frob.com>
11215
11216 * configure.in (sysnames): Look for Implies-before and Implies-after
11217 files.
11218 * configure: Regenerated.
11219
890d8bd8
L
112202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11221
11222 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11223 8-byte data alignment with LP_SIZE alignment.
11224
f6ee6623
L
112252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11226
11227 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11228 into R10_LP.
11229
ea2626f6
L
112302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11231
11232 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11233
085f715e
L
112342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11235
11236 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11237 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11238 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11239 Likewise.
11240 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11241
be8498fc
L
112422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11243
11244 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11245 (stackinfo_sub_sp): Likewise.
11246
70bc83b9
L
112472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11248
11249 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11250 RAX_LP.
11251
9bc0b730
L
112522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11253
11254 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11255 into R*_LP.
11256
6d2850e7
L
112572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11258
11259 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11260 sizes into R*_LP.
11261
3cb84561
L
112622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11263
11264 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11265
54e2ed81
L
112662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11267
11268 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11269 into R11_LP and load __x86_64_shared_cache_size_half into
11270 R8_LP.
11271
8a17f349
L
112722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11273
11274 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11275 R8_LP.
11276
777b1eea
AZ
112772012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11278
11279 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11280 logb for POWER7.
11281 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11282 logbf for POWER7.
11283 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11284 logbl for POWER7.
11285 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11286 powerpc32/power7/fpu/s_logb.c via #include.
11287 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11288 powerpc32/power7/fpu/s_logbf.c via #include.
11289 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
11290 powerpc32/power7/fpu/s_logbl.c via #include.
11291
d20d4ac2
JM
112922012-05-15 Joseph Myers <joseph@codesourcery.com>
11293
11294 * README.libm: Remove file.
11295
6cdef1ab
L
112962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11297
11298 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11299 count for x32. Use R*_LP and omit operand-size suffix.
11300
0b254d8f
L
113012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11302
11303 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11304 * sysdeps/x86_64/64/shlib-versions: Here. New file.
11305 * sysdeps/x86_64/x32/shlib-versions: New file.
11306
ceb809dc
RM
113072012-05-14 Roland McGrath <roland@hack.frob.com>
11308
11309 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
11310 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11311 Use _dl_fatal_printf instead.
11312
37f1abd4
JM
113132012-05-14 Joseph Myers <joseph@codesourcery.com>
11314
11315 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
11316 set if not set by the user. Do not allow for being unset.
11317 * sysdeps/unix/sysv/linux/configure: Regenerated.
11318
11de3a33
L
113192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11320
11321 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11322 the `q' suffix from lea and replace .quad with ASM_ADDR.
11323
e02f153a
L
113242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11325
11326 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11327 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11328 instead of $17.
11329 (PTR_DEMANGLE): Likewise.
11330
520ae0fd
L
113312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11332
11333 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11334 (LP_OP): Likewise.
11335 (ASM_ADDR): Likewise.
11336 (RAX_LP): Likewise.
11337 (RBP_LP): Likewise.
11338 (RBX_LP): Likewise.
11339 (RCX_LP): Likewise.
11340 (RDI_LP): Likewise.
11341 (RSI_LP): Likewise.
11342 (RSP_LP): Likewise.
11343 (R8_LP): Likewise.
11344 (R9_LP): Likewise.
11345 (R10_LP): Likewise.
11346 (R10_LP): Likewise.
11347 (R11_LP): Likewise.
11348 (R12_LP): Likewise.
11349 (R13_LP): Likewise.
11350 (R14_LP): Likewise.
11351 (R15_LP): Likewise.
11352
b985be81
L
113532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11354
11355 * sysdeps/x86_64/x32/dl-machine.h: New file.
11356
6a4888ff
AJ
113572012-05-14 Andreas Jaeger <aj@suse.de>
11358
11359 * manual/Makefile (subdir): Remove export of subdir.
11360 (all): Remove target.
11361 (.PHONY): Remove all from list.
11362 (mkinstalldirs): Remove.
11363 (.PHONY): Remove installdirs from list.
11364 ($(inst_infodir)/libc.info): Use make-target-directory.
11365 (installdirs): Remove.
11366 (subdir_%): Remove.
11367 (glibc-targets): Remove.
11368 (lib): Remove.
11369 (stubs): Remove.
11370 ($(objpfx)stubs ../po/manual.pot): Remove.
11371 ($(objpfx)stamp%): Remove.
11372 (make-target-directory): Remove.
11373 (subdir_install): Remove.
11374 (routines): Remove.
11375 (aux): Remove.
11376 (sources): Remove.
11377 (objects): Remove.
11378 (headers): Remove.
11379
11380 [BZ #13750]
11381 * manual/.gitignore: Remove, it's not needed anymore.
11382 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11383 all files in it.
11384 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11385 directory.
11386 (texis): Renamed to $(objpfx)texis.
11387 (texis-path): New, contains path to generated files.
11388 (chapters.%): Use texis-path for complete path, add extra argument
11389 libc-texinfo.sh.
11390 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11391 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11392 (summary,texi, stamp-summary): Use complete path of
11393 files. Generate files in build dir.
11394 (dir-add.texi): Build in build dir.
11395 (libm-err.texi,stamp-libm-err): Likewise.
11396 (version.texi, stamp-version): Likewise.
11397 (.%c.texi): Likewise.
11398 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11399 (mostlyclean): Remove target.
11400 (realclean): Remove target.
11401 (generated): Add new variable with contents from mostlyclean and
11402 realclean, remove entries duplicated in common-mostlyclean, add
11403 stamp-libm-err and stamp-version.
11404 (generated-dirs): Add libc directory.
11405 ($(inst_infodir)/libc.info): Install files from build dir.
11406
11407 * manual/install.texi (Configuring and compiling): Adjust since
11408 the info files are not part of the tar ball anymore.
11409
7ac77294
AJ
114102012-05-14 Andreas Jaeger <aj@suse.de>
11411
11412 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11413 variable.
11414
ffb7875d
JM
114152012-05-14 Joseph Myers <joseph@codesourcery.com>
11416
11417 [BZ #13717]
11418 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11419 to 2.2.0 where earlier.
11420 * sysdeps/unix/sysv/linux/configure: Regenerated.
11421 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11422 Remove conditional code.
11423 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11424 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11425 Remove conditional code.
11426 [!__NR_lchown]: Likewise.
11427 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11428 [__NR_lchown]: Likewise.
11429 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11430 comment referencing __ASSUME_LCHOWN_SYSCALL.
11431 * sysdeps/unix/sysv/linux/i386/sigaction.c
11432 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11433 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11434 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11435 Remove conditional code.
11436 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11437 (__protocol_available): Remove #if 0 code.
11438 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11439 conditional code.
11440 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11441 * sysdeps/unix/sysv/linux/kernel-features.h
11442 (__ASSUME_GETCWD_SYSCALL): Don't define.
11443 (__ASSUME_REALTIME_SIGNALS): Likewise.
11444 (__ASSUME_PREAD_SYSCALL): Likewise.
11445 (__ASSUME_PWRITE_SYSCALL): Likewise.
11446 (__ASSUME_POLL_SYSCALL): Likewise.
11447 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11448 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11449 non-SPARC.
11450 (__ASSUME_SIOCGIFNAME): Don't define.
11451 (__ASSUME_MSG_NOSIGNAL): Likewise.
11452 (__ASSUME_SENDFILE): Define unconditionally.
11453 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11454 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11455 conditional code.
11456 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11457 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11458 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11459 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11460 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11461 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11462 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11464 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11465 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11467 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11468 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11470 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11471 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11473 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11474 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11476 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11477 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11479 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11480 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11482 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11483 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11485 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11486 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11487 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11488 Remove conditional code.
11489 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11490 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11491 Remove conditional code.
11492 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11493 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11494 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11495 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11496 Remove conditional code.
11497 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11498 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11499 Remove conditional code.
11500 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11501 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11502 Remove conditional code.
11503 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11504 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11505 Remove conditional code.
11506 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11507 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11508 Remove conditional code.
11509 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11510 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11511 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11512 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11513 * sysdeps/unix/sysv/linux/sigaction.c
11514 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11515 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11516 * sysdeps/unix/sysv/linux/sigpending.c
11517 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11518 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11519 * sysdeps/unix/sysv/linux/sigprocmask.c
11520 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11521 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11522 * sysdeps/unix/sysv/linux/sigsuspend.c
11523 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11524 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11525 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11526 (__libc_missing_rt_sigs): Remove.
11527 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11528 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11529 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11530 Remove conditional code.
11531 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11532 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11533 return 1.
11534 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11535 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11536 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11537 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11538
1bfb7291
AJ
115392012-05-14 Andreas Jaeger <aj@suse.de>
11540
caae5a81
AJ
11541 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11542 it's not used in glibc.
11543 (__coshm1): Likewise.
11544 (__acosh1p): Likewise.
11545 (__sgn): Likewise.
11546
1bfb7291
AJ
11547 * manual/string.texi (Copying and Concatenation): Add missing
11548 variable in concat example.
11549 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11550
c044d724
L
115512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11552
144c5467 11553 [BZ #14103]
c044d724
L
11554 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11555 __builtin_clzl with __builtin_clzll.
11556
2523c62b
L
115572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11558
11559 [BZ #14104]
11560 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11561 libc_freeres_ptr.
11562
d7bb4c42
LD
115632012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11564
11565 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11566 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11567 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11568 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11569
9dc4e1fb
MF
115702012-05-14 Mike Frysinger <vapier@gentoo.org>
11571
11572 * NEWS: Update ia64 info.
11573
c7df0112
AS
115742012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11575
11576 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11577 used as bcopy.
11578
dc70356c
TS
115792012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11580
11581 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11582 * sysdeps/unix/syscalls.list (dup3): Likewise.
11583 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11584 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11585
9fb1a21f
L
115862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11587
11588 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11589 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11590
4822a2a5
L
115912012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11592
11593 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11594 thread pointer.
11595 (TLS_IE): Use mov/add instead of movq/addq to load thread
11596 pointer.
11597 (TLS_GD_PREFIX): New.
11598 (TLS_GD): Use it.
11599
842b81d6
DM
116002012-05-11 David S. Miller <davem@davemloft.net>
11601
11602 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11603 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11604 (_FPU_SETCW): Likewise.
11605
1cf463cd
L
116062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11607
11608 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11609 is 32-byte aligned.
11610
60cc4a18
AS
116112012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11612
11613 [BZ #11837]
11614 * iconvdata/gb18030.c: Update tables.
11615 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11616 characters specially.
11617 (BODY for TO_LOOP): Add encoding of missing ranges.
11618
febb44a4
TS
116192012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11620
11621 [BZ #13673]
11622 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11623 * sysdeps/mach/hurd/dup3.c: Likewise.
11624 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11625 * sysdeps/powerpc/memmove.c:: Likewise.
11626
0a10fb9e
L
116272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11628
11629 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11630 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11631
df8a552f
L
116322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11633
11634 * elf/elf.h (R_X86_64_RELATIVE64): New.
11635 (R_X86_64_NUM): Updated.
11636 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11637 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11638 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11639 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11640 tst-quad1pie tst-quad2pie
11641 (modules-names): Add tst-quadmod1 tst-quadmod2.
11642 ($(objpfx)tst-quad1): New dependency.
11643 ($(objpfx)tst-quad2): Likewise.
11644 ($(objpfx)tst-quad1pie): Likewise.
11645 ($(objpfx)tst-quad2pie): Likewise.
11646 * sysdeps/x86_64/tst-quad1.c: New file.
11647 * sysdeps/x86_64/tst-quad1pie.c: New file.
11648 * sysdeps/x86_64/tst-quad2.c: Likewise.
11649 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11650 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11651 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11652 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11653 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11654
f34d6f84
ST
116552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11656
f42d41d1
ST
11657 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11658 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11659 * streams/stropts.h (t_scalar_t): Define type.
11660
3c3571fc
ST
11661 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11662 (_PATH_PRESERVE): Set to "/var/lib".
11663 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11664
61f06bd3
ST
11665 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11666 instead of int.
11667
918d4d71
ST
11668 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11669 if __dir_mkfile succeeded.
11670
f34d6f84
ST
11671 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11672 checking for _hurd_dtablesize. Unlock it right after having
11673 finished _hurd_dtable allocation.
11674
10589b4a
TS
116752012-05-10 Thomas Schwinge <thomas@schwinge.name>
11676
674cdbc7
TS
11677 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11678 * sysdeps/mach/hurd/configure: Regenerated.
11679 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11680 special-casing to...
11681 * sysdeps/gnu/configure.in: ... this new file.
11682 * sysdeps/unix/sysv/linux/configure: Regenerated.
11683 * sysdeps/gnu/configure: New generated file.
11684
8e41b99f
TS
11685 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11686 for Linux: use nsec instead of usec, as well as:
11687 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11688 members of type struct timespec.
11689 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11690 New macros.
11691 (struct stat64): Likewise.
11692 (_STATBUF_ST_NSEC): New macro.
11693 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11694
10589b4a
TS
11695 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11696 __strtoul_internal rather than strtoul.
11697
63643c85
PT
116982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11699
11700 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11701 and reject them.
11702
3faebe6a
ST
117032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11704
11705 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11706 which preserves existing values.
11707 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11708
c6474b07
PT
117092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11710
11711 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11712 TIMEOUT values. Return EINVAL for NFDS values either negative or
11713 greater than FD_SETSIZE.
11714
1043890b
ST
117152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11716
11717 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11718 allocated, call __vm_protect to finish enabling the existing space, and
11719 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11720 allocate the remainder.
11721
37ed8b9b
PT
117222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11723
11724 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11725 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11726
db653660
ST
117272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11728
37ed8b9b
PT
11729 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11730 sysdeps/mach/hurd/readlink.c.
b29d4053 11731
db653660
ST
11732 * posix/tst-sysconf.c (posix_options): Only use
11733 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11734 _POSIX_SYNCHRONIZED_IO when they are defined
11735 * sysdeps/mach/hurd/bits/posix_opt.h:
11736 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11737 (_XOPEN_REALTIME): Undefine macro.
11738 (_XOPEN_REALTIME_THREADS): Undefine macro.
11739 (_XOPEN_SHM): Undefine macro.
11740 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11741 macro to -1.
11742 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11743 macro to -1.
11744 (_POSIX_ASYNC_IO): Undefine macro.
11745 (_POSIX_PRIORITIZED_IO): Undefine macro.
11746 (_POSIX_SPIN_LOCKS): Define macro to -1.
11747
ee16e894
ST
11748 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11749 SA_NODEFER, SA_RESETHAND.
11750 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11751 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11752 F_DUPFD_CLOEXEC.
11753
6103ae3b
TS
117542012-05-10 Thomas Schwinge <thomas@schwinge.name>
11755
11756 * elf/Makefile (pldd-modules): Define unconditionally.
11757
80b4e5f3
TS
117582012-05-10 Thomas Schwinge <thomas@schwinge.name>
11759
11760 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11761
edadcbd6
ST
117622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11763
11764 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11765 Return ENOENT when name is empty.
11766 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11767
80694780
TS
117682012-05-10 Thomas Schwinge <thomas@schwinge.name>
11769
1792c087
TS
11770 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11771
80694780
TS
11772 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11773
6b645f0d
ST
117742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11775
80694780
TS
11776 Fix mlock in all cases except non-readable pages.
11777 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11778 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 11779
6b645f0d
ST
11780 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11781 (__mkdir): When path is `/', just fail with EEXIST.
11782 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11783
e468f8a3
TS
117842012-05-10 Thomas Schwinge <thomas@schwinge.name>
11785
11786 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11787 <sys/uio.h> (for writev).
11788 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11789 and <sys/param.h> (for MIN).
11790
a4186cff
PT
117912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11792
11793 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11794 REQUESTED_TIME. Properly set the remaining time and return EINTR
11795 if interrupted.
11796
510bbf14
TS
117972012-05-10 Thomas Schwinge <thomas@schwinge.name>
11798
11799 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11800 Depend on against $(link-rpcuserlibs).
11801
5d5722e8
ST
118022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11803
a4186cff
PT
11804 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11805 (__libc_stack_end): Do not use attribute_relro.
11806 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11807 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 11808 to libthread-provided value.
a4186cff
PT
11809 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11810 attribute_relro.
5d5722e8 11811
37233df9
TS
118122012-05-10 Thomas Schwinge <thomas@schwinge.name>
11813
be971a2b
TS
11814 [BZ #3748]
11815 * bits/libc-lock.h (__libc_once_get): New macro.
11816 * sysdeps/mach/bits/libc-lock.h: Likewise.
11817 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11818 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11819 instead of using implementation details.
11820
37233df9
TS
11821 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11822 * libio/freopen.c: Likewise.
11823 * libio/freopen64.c: Likewise.
11824 * misc/syslog.c: Likewise.
11825 * nscd/connections.c: Likewise.
11826 * nscd/netgroupcache.c: Likewise.
11827 * sysdeps/posix/getcwd.c: Likewise.
11828
38de94a5
RM
118292012-05-10 Roland McGrath <roland@hack.frob.com>
11830
11831 * math/w_ilogbf.c: Add #include <limits.h>.
11832
67530489
ST
118332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11834
a4186cff 11835 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
11836 path instead of returning without unlocking.
11837
67530489
ST
11838 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11839 immediate-write ioctls.
11840 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11841
5aa3a74a
TS
118422012-05-10 Thomas Schwinge <thomas@schwinge.name>
11843
18bad2ae
TS
11844 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11845 __builtin_frame_address instead of making assumptions about the
11846 location of the return address relative to DATA. Force early load of
11847 the return address.
11848 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11849 __builtin_frame_address.
11850
5aa3a74a
TS
11851 dup3 for GNU Hurd.
11852 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11853 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11854 implement dup3 and do some further code clean-ups.
11855 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11856 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11857
ecd0de9a
ST
118582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11859
cd9fa985
ST
11860 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11861
a4186cff
PT
11862 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11863 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11864 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11865 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11866 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11867 d->port.lock.
802ca5a5 11868
a4186cff
PT
11869 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11870 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11871 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 11872
bcf55240
TS
118732012-05-10 Thomas Schwinge <thomas@schwinge.name>
11874
6960eb42
TS
11875 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11876 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11877 definitions.
11878
eb43375f
TS
11879 accept4 for GNU Hurd.
11880 * include/sys/socket.h (__libc_accept4): New prototype.
11881 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11882 to implement __libc_accept4.
11883 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11884 __libc_accept4.
11885 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11886
bcf55240
TS
11887 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11888 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11889 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11890 signal-defines.sym.
11891
6178c55b
ST
118922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11893
a4186cff 11894 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 11895
6f080c2f
TS
118962012-05-10 Thomas Schwinge <thomas@schwinge.name>
11897
11898 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11899 assertion on O_CLOEXEC flag.
11900 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11901 * hurd/intern-fd.c: Likewise.
11902 * hurd/port2fd.c: Likewise.
11903
bcfe3a54
ST
119042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11905
11906 [BZ #3906]
11907 * bits/in.h (IPV6_PKTINFO): Define new macro.
11908 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11909
89c9aa49
AZ
119102012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11911
11912 [BZ #13954]
11913 [BZ #13955]
11914 [BZ #13956]
11915 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11916 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11917 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11918 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11919 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11920 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11921 * math/libm-test.inc (logb_test) : Additional logb tests.
11922
021db4be
AJ
119232012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11924 Andreas Jaeger <aj@suse.de>
11925
11926 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11927 * configure: Regenerated.
11928 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11929 * config.make.in (link-obsolete-rpc): New substituted variable.
11930 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11931 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11932 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11933 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11934 so that libc.a contains the symbols.
11935 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11936 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11937 * sunrpc/auth_none.c: Likewise.
11938 * sunrpc/auth_unix.c: Likewise.
11939 * sunrpc/authdes_prot.c: Likewise.
11940 * sunrpc/authuxprot.c: Likewise.
11941 * sunrpc/clnt_gen.c: Likewise.
11942 * sunrpc/clnt_perr.c: Likewise.
11943 * sunrpc/clnt_raw.c: Likewise.
11944 * sunrpc/clnt_simp.c: Likewise.
11945 * sunrpc/clnt_tcp.c: Likewise.
11946 * sunrpc/clnt_udp.c: Likewise.
11947 * sunrpc/clnt_unix.c: Likewise.
11948 * sunrpc/des_crypt.c: Likewise.
11949 * sunrpc/des_soft.c: Likewise.
11950 * sunrpc/get_myaddr.c: Likewise.
11951 * sunrpc/key_call.c: Likewise.
11952 * sunrpc/key_prot.c: Likewise.
11953 * sunrpc/netname.c: Likewise.
11954 * sunrpc/pm_getmaps.c: Likewise.
11955 * sunrpc/pm_getport.c: Likewise.
11956 * sunrpc/pmap_clnt.c: Likewise.
11957 * sunrpc/pmap_prot.c: Likewise.
11958 * sunrpc/pmap_prot2.c: Likewise.
11959 * sunrpc/pmap_rmt.c: Likewise.
11960 * sunrpc/publickey.c: Likewise.
11961 * sunrpc/rpc_cmsg.c: Likewise.
11962 * sunrpc/rpc_common.c: Likewise.
11963 * sunrpc/rpc_dtable.c: Likewise.
11964 * sunrpc/rpc_prot.c: Likewise.
11965 * sunrpc/rpc_thread.c: Likewise.
11966 * sunrpc/rtime.c: Likewise.
11967 * sunrpc/svc.c: Likewise.
11968 * sunrpc/svc_auth.c: Likewise.
11969 * sunrpc/svc_raw.c: Likewise.
11970 * sunrpc/svc_run.c: Likewise.
11971 * sunrpc/svc_tcp.c: Likewise.
11972 * sunrpc/svc_udp.c: Likewise.
11973 * sunrpc/svc_unix.c: Likewise.
11974 * sunrpc/svcauth_des.c: Likewise.
11975 * sunrpc/xcrypt.c: Likewise.
11976 * sunrpc/xdr.c: Likewise.
11977 * sunrpc/xdr_array.c: Likewise.
11978 * sunrpc/xdr_float.c: Likewise.
11979 * sunrpc/xdr_intXX_t.c: Likewise.
11980 * sunrpc/xdr_mem.c: Likewise.
11981 * sunrpc/xdr_rec.c: Likewise.
11982 * sunrpc/xdr_ref.c: Likewise.
11983 * sunrpc/xdr_sizeof.c: Likewise.
11984 * sunrpc/xdr_stdio.c: Likewise.
11985
b5c086a2
RM
119862012-05-10 Roland McGrath <roland@hack.frob.com>
11987
11988 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11989 change. Update copyright years.
11990
6d74dd09
JM
119912012-05-10 Joseph Myers <joseph@codesourcery.com>
11992
11993 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11994
28e72501
MK
119952012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11996 Joseph Myers <joseph@codesourcery.com>
11997 Paul Pluzhnikov <ppluzhnikov@google.com>
11998
11999 [BZ #14012]
12000 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12001 requiring rpcgen.
12002 [cross-compiling] (extra-libs): Likewise.
12003 [cross-compiling] (extra-libs-others): Likewise.
12004 [cross-compiling] (librpcsvc-routines): Likewise.
12005 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12006 [cross-compiling] (omit-deps): Likewise.
12007 (sunrpc-CPPFLAGS): New variable.
12008 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12009 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12010 (cross-rpcgen-objs): New variable.
12011 (extra-objs): Append $(cross-rpcgen-objs).
12012 ($(cross-rpcgen-objs)): New rule.
12013 ($(objpfx)cross-rpcgen): Likewise.
12014 (rpcgen-cmd): Define to use $(built-program-file). Expand
12015 comment.
12016 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12017 ($(objpfx)x%.stmp): Likewise.
12018 * sunrpc/proto.h [IS_IN_build] (_): Define.
12019 [IS_IN_build] (_libc_intl_domainname): Likewise.
12020
c8c59454
L
120212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12022
12023 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12024 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12025 and R_X86_64_TPOFF64.
12026
6f27cd16
JM
120272012-05-10 Joseph Myers <joseph@codesourcery.com>
12028
12029 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12030 sysdeps/unix/sysv/syscalls.list.
12031 (stime): Likewise.
12032 (utime): Likewise.
12033 * sysdeps/unix/sysv/syscalls.list: Remove file.
12034
02467e1c
PE
120352012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12036
12037 [BZ #3440]
12038 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12039 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12040 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12041 (__LC_IDENTIFICATION): Make these macros useful in #if
12042 expressions, as required by C99.
12043
da392631
AS
120442012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12045
12046 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12047 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12048 after this.
12049
8115f29b
L
120502012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12051
12052 * stdlib/longlong.h: Updated from GCC.
12053
bdd74070
AJ
120542012-05-09 Andreas Jaeger <aj@suse.de>
12055
edfe0dbe
AJ
12056 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12057 default is first entry.
12058 (run_mode): Set type.
12059 (main): Remove informal message about syslog.
12060 (options): Fix typo.
12061
bcfe3a54
ST
12062 [BZ #14053]
12063 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 12064 to asm.
bcfe3a54
ST
12065 (lrint): Likewise.
12066 (llrintf): Likewise.
12067 (llrint): Likewise.
12068 (rint): Likewise.
12069 (rintf): Likewise.
12070 (nearbyint): Likewise.
12071 (nearbyintf): Likewise.
bdd74070 12072
91d8d69e
AJ
120732012-05-09 Andreas Jaeger <aj@suse.de>
12074 Pedro Alves <palves@redhat.com>
12075
12076 * nscd/nscd.c (run_mode): Use enum.
12077 (main): Cleanup coding style issue.
12078
bb90b80b
AJ
120792012-05-09 Alexandre Oliva <aoliva@redhat.com>
12080 Andreas Jaeger <aj@suse.de>
12081
bcfe3a54
ST
12082 * nscd/nscd.c (go_background): Replaced with...
12083 (run_mode): ... this.
bb90b80b 12084 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
12085 (options): Add -F --foreground.
12086 (main): Implement it.
12087 (parse_opt): Parse it.
bb90b80b 12088
1a4b75a1
AJ
120892012-05-09 Andreas Jaeger <aj@suse.de>
12090
12091 [BZ #14083]
12092 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12093 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12094 -Wconversion warning.
12095 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12096 Likewise.
12097
b1cc2472
JM
120982012-05-09 Joseph Myers <joseph@codesourcery.com>
12099
12100 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12101 == 0.
12102 (LC_ALL): Use macro-int-constant.
12103 (LC_COLLATE): Likewise.
12104 (LC_CTYPE): Likewise.
12105 (LC_MESSAGES): Likewise.
12106 (LC_MONETARY): Likewise.
12107 (LC_NUMERIC): Likewise.
12108 (LC_TIME): Likewise.
12109 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12110 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12111 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12112 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12113 Specify type.
12114 [C99-based standards] (float_t): Expect type.
12115 [C99-based standards] (double_t): Expect type.
12116 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12117 type.
12118 [C99-based standards] (HUGE_VALL): Likewise.
12119 [C99-based standards] (INFINITY): Likewise.
12120 [C99-based standards] (NAN): Likewise.
12121 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12122 [C99-based standards] (FP_NAN): Likewise.
12123 [C99-based standards] (FP_NORMAL): Likewise.
12124 [C99-based standards] (FP_SUBNORMAL): Likewise.
12125 [C99-based standards] (FP_ZERO): Likewise.
12126 [C99-based standards] (FP_FAST_FMA): Use
12127 optional-macro-int-constant. Specify type. Require == 1.
12128 [C99-based standards] (FP_FAST_FMAF): Likewise.
12129 [C99-based standards] (FP_FAST_FMAL): Likewise.
12130 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12131 [C99-based standards] (FP_ILOGBNAN): Likewise.
12132 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12133 Specify type.
12134 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12135 [C99-based standards] (math_errhandling): Specify type.
12136 [ISO99 || ISO11] (signgam): Do not allow.
12137 [non-C99-based standards] (copysignf): Do not allow.
12138 [non-C99-based standards] (exp2f): Likewise.
12139 [non-C99-based standards] (log2f): Likewise.
12140 [non-C99-based standards] (modff): Allow.
12141 [non-C99-based standards] (erff): Do not allow.
12142 [non-C99-based standards] (erfcf): Likewise.
12143 [non-C99-based standards] (gammaf): Likewise.
12144 [non-C99-based standards] (hypotf): Likewise.
12145 [non-C99-based standards] (j0f): Likewise.
12146 [non-C99-based standards] (j1f): Likewise.
12147 [non-C99-based standards] (jnf): Likewise.
12148 [non-C99-based standards] (lgammaf): Likewise.
12149 [non-C99-based standards] (tgammaf): Likewise.
12150 [non-C99-based standards] (y0f): Likewise.
12151 [non-C99-based standards] (y1f): Likewise.
12152 [non-C99-based standards] (ynf): Likewise.
12153 [non-C99-based standards] (isnanf): Likewise.
12154 [non-C99-based standards] (acoshf): Likewise.
12155 [non-C99-based standards] (asinhf): Likewise.
12156 [non-C99-based standards] (atanhf): Likewise.
12157 [non-C99-based standards] (cbrtf): Likewise.
12158 [non-C99-based standards] (expm1f): Likewise.
12159 [non-C99-based standards] (ilogbf): Likewise.
12160 [non-C99-based standards] (log1pf): Likewise.
12161 [non-C99-based standards] (logbf): Likewise.
12162 [non-C99-based standards] (nextafterf): Likewise.
12163 [non-C99-based standards] (remainderf): Likewise.
12164 [non-C99-based standards] (rintf): Likewise.
12165 [non-C99-based standards] (scalbf): Likewise.
12166 [non-C99-based standards] (copysignl): Likewise.
12167 [non-C99-based standards] (exp2l): Likewise.
12168 [non-C99-based standards] (log2l): Likewise.
12169 [non-C99-based standards] (modfl): Allow.
12170 [non-C99-based standards] (erfl): Do not allow.
12171 [non-C99-based standards] (erfcl): Likewise.
12172 [non-C99-based standards] (gammal): Likewise.
12173 [non-C99-based standards] (hypotl): Likewise.
12174 [non-C99-based standards] (j0l): Likewise.
12175 [non-C99-based standards] (j1l): Likewise.
12176 [non-C99-based standards] (jnl): Likewise.
12177 [non-C99-based standards] (lgammal): Likewise.
12178 [non-C99-based standards] (tgammal): Likewise.
12179 [non-C99-based standards] (y0l): Likewise.
12180 [non-C99-based standards] (y1l): Likewise.
12181 [non-C99-based standards] (ynl): Likewise.
12182 [non-C99-based standards] (isnanl): Likewise.
12183 [non-C99-based standards] (acoshl): Likewise.
12184 [non-C99-based standards] (asinhl): Likewise.
12185 [non-C99-based standards] (atanhl): Likewise.
12186 [non-C99-based standards] (cbrtl): Likewise.
12187 [non-C99-based standards] (expm1l): Likewise.
12188 [non-C99-based standards] (ilogbl): Likewise.
12189 [non-C99-based standards] (log1pl): Likewise.
12190 [non-C99-based standards] (logbl): Likewise.
12191 [non-C99-based standards] (nextafterl): Likewise.
12192 [non-C99-based standards] (remainderl): Likewise.
12193 [non-C99-based standards] (rintl): Likewise.
12194 [non-C99-based standards] (scalbl): Likewise.
12195 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12196 [non-C99-based standards] (FP_*): Do not allow.
12197 [C99-based standards] (FP_*): Change to
12198 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12199 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12200 allow.
12201 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12202 (SIG_ERR): Likewise.
12203 [X/Open-based standards] (SIG_HOLD): Likewise.
12204 (SIG_IGN): Likewise.
12205 (SIGABRT): Use macro-int-constant. Specify type. Require
12206 positive value.
12207 (SIGFPE): Likewise.
12208 (SIGILL): Likewise.
12209 (SIGINT): Likewise.
12210 (SIGSEGV): Likewise.
12211 (SIGTER): Likewise.
12212 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12213 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12214 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12215 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12216 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12217 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12218 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12219 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12220 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12221 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12222 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12223 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12224 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12225 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12226 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12227 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12228 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12229 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12230 [X/Open-based standards] (SIGTRAP): Likewise.
12231 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12232 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12233 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12234 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12235 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12236 allow.
12237
b9f1922d
IW
122382012-05-08 Ian Wienand <ianw@vmware.com>
12239
12240 [BZ #14080]
12241 * time/tzset.c (__tzset_parse_tz): Update default rules for
12242 daylight time changes in the Energy Policy Act of 2005.
12243
1db86e88
AJ
122442012-05-09 Andreas Jaeger <aj@suse.de>
12245
12246 [BZ #13983]
12247 * elf/ldconfig.c (parse_conf): Change string to make clear that
12248 ldconfig only issued a warning if ld.so.conf does not exist.
12249
dee4a4e3
DM
122502012-05-08 David S. Miller <davem@davemloft.net>
12251
ee0db190
DM
12252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12253 movxtod instead of popping the value on the stack.
12254
dee4a4e3
DM
12255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12256
6a43ec98
CD
122572012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12258
12259 * config.h.in: Add HAVE_ARM_PCS_VFP.
12260
05c2c961
RMG
122612012-05-08 Roland Mc Grath <roland@hack.frob.com>
12262
bcfe3a54
ST
12263 [BZ #13979]
12264 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12265 checking but the checks are disabled for any reason.
05c2c961 12266
4b30f61a
L
122672012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12268
12269 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12270 and ELF64_R_TYPE with ELFW(R_TYPE).
12271
eee2bc67
JM
122722012-05-08 Joseph Myers <joseph@codesourcery.com>
12273
7ea5391a
JM
12274 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12275 (ulimit): Likewise.
12276
eee2bc67
JM
12277 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12278 (settimeofday): Likewise.
12279
abb66a67
MF
122802012-05-08 Mike Frysinger <vapier@gentoo.org>
12281
12282 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
12283 a struct th_u2 inside the union, and move tu_block/tu_code into
12284 a new th_u3 union of tu_block/tu_code inside of that. Move
12285 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
12286 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
12287 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12288 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
12289 (th_stuff): Change to th_u1.tu_stuff.
12290 (th_data): Define.
12291 (th_msg): Change to th_u1.th_u2.tu_data.
12292
7f18b530
DM
122932012-05-07 David S. Miller <davem@davemloft.net>
12294
05760585
DM
12295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12296
7f18b530
DM
12297 [BZ #14074]
12298 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12299 (SETUP_PIC_REG): Use it.
12300 (SETUP_PIC_REG_LEAF): Use it.
12301
495fd99f
JM
123022012-05-07 Joseph Myers <joseph@codesourcery.com>
12303
12304 [BZ #13885]
12305 [BZ #13923]
12306 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12307 USE_AS_EXPM1L.
12308 (EXPL_FINITE): Likewise.
12309 (FLDLOG): Likewise.
12310 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12311 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12312 e_expl.S.
12313 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12314 USE_AS_EXPM1L.
12315 (EXPL_FINITE): Likewise.
12316 (FLDLOG): Likewise.
12317 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12318 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12319 e_expl.S.
12320 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12321 test of -max_value argument for long double.
12322 * sysdeps/i386/fpu/libm-test-ulps: Update.
12323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12324
6693d694
DM
123252012-05-06 David S. Miller <davem@davemloft.net>
12326
12327 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12328 quad soft-float symbols whose references which are compiler
12329 generated.
12330 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12331
6c23e11c
JM
123322012-05-06 Joseph Myers <joseph@codesourcery.com>
12333
d8b82cad
JM
12334 [BZ #13884]
12335 [BZ #13914]
12336 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12337 USE_AS_EXP10L.
12338 (EXPL_FINITE): Likewise.
12339 (FLDLOG): Likewise.
12340 (c0): Likewise.
12341 (c1): Likewise.
12342 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12343 Adjust comments for base varying.
12344 (__expl_finite): Change alias to EXPL_FINITE.
12345 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12346 e_expl.S.
12347 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12348 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12349 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12350 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12351 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12352 USE_AS_EXP10L.
12353 (EXPL_FINITE): Likewise.
12354 (FLDLOG): Likewise.
12355 (c0): Likewise.
12356 (c1): Likewise.
12357 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12358 Adjust comments for base varying.
12359 (__expl_finite): Change alias to EXPL_FINITE.
12360 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12361 tests for bugs.
12362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12363
6c23e11c
JM
12364 [BZ #14064]
12365 * math/libm-test.inc (check_float_internal): Correct ulp
12366 calculation for subnormal expected results.
12367
29ba805c
AJ
123682012-05-06 Andreas Jaeger <aj@suse.de>
12369
12370 * Makeconfig (+math-flags): New, set to -frounding-math.
12371 (+cflags): Add +math-flags so that all of glibc gets compiled with
12372 it.
12373
12374 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12375
7b17aeda
JM
123762012-05-05 Joseph Myers <joseph@codesourcery.com>
12377
5779f134
JM
12378 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12379 Disable one test.
12380
41498f4d
JM
12381 [BZ #13787]
12382 [BZ #13922]
12383 [BZ #14036]
12384 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12385 (__ieee754_expl): Allow for and saturate large arguments.
12386 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12387 (u_threshold): Likewise.
12388 (__exp): Call __ieee754_exp before checking for overflow and
12389 underflow.
12390 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12391 (u_threshold): Likewise.
12392 (__expf): Call __ieee754_expf before checking for overflow and
12393 underflow.
12394 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12395 (u_threshold): Likewise.
12396 (__expl): Call __ieee754_expl before checking for overflow and
12397 underflow.
12398 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12399 (__ieee754_expl): Allow for and saturate large arguments.
12400 * math/libm-test.inc (exp_test): Add another test. Do not allow
12401 missing overflow exception on overflow.
12402 (expm1_test): Do not allow missing overflow exception on overflow.
12403
6698b8bf
JM
12404 * sysdeps/i386/fpu/e_expl.c: Move to ...
12405 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12406 rather than using inline asm.
12407 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12408 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12409 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12410
7b17aeda
JM
12411 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12412 (nice): Likewise.
12413 (poll): Likewise.
12414 (signal): Likewise.
12415 (time): Likewise.
12416 (times): Likewise.
12417
f7c85819
JM
124182012-05-04 Joseph Myers <joseph@codesourcery.com>
12419
12420 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12421 sysdeps/unix/common/syscalls.list.
12422 (fchmod): Likewise.
12423 (fchown): Likewise.
12424 (ftruncate): Likewise.
12425 (getrusage): Likewise.
12426 (gettimeofday): Likewise.
12427 (setpgid): Likewise.
12428 (setregid): Likewise.
12429 (setreuid): Likewise.
12430 (sigaction): Likewise.
12431 (truncate): Likewise.
12432 (vhangup): Likewise.
12433 * sysdeps/unix/common/syscalls.list: Remove file.
12434 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12435 * sysdeps/unix/sysv/linux/Implies: Likewise.
12436
336270d0
L
124372012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12438
12439 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12441 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12442 Moved to ...
12443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12444 Here.
12445 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12446 to ...
12447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12448 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12449 to ...
12450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12451 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12452 to ...
12453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12454 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12455 to ...
12456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12457 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12458 to ...
12459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12460 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12461 to ...
12462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12463 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12464 to ...
12465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12466 Here.
12467 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12468 to ...
12469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12470 Here.
12471 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12472 to ...
12473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12474 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12475 Moved to ...
12476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12477 Here.
12478 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12479 to ...
12480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12481
d128e450
JM
124822012-05-04 Joseph Myers <joseph@codesourcery.com>
12483
fa8ee516
JM
12484 * sysdeps/unix/common/bits/dirent.h: Remove file.
12485 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12486
d128e450
JM
12487 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12488 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12489 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12490 * sysdeps/unix/bsd/isatty.c: Likewise.
12491 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12492 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12493 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12494
ff8faaf0 124952012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 12496
62881be4 12497 [BZ #13563]
31dc8730
AZ
12498 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12499 long double comparison inaccuracies.
12500 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12502
6fef930c
AS
125032012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12504
12505 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12506 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12507
8f203e6c
JM
125082012-05-04 Joseph Myers <joseph@codesourcery.com>
12509
12510 [BZ #14049]
12511 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12512 nonzero digits before rounding a hex value.
12513 * stdlib/tst-strtod.c (tests): Add another test.
12514
5197d9c2
AK
125152012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12516
12517 * sysdeps/s390/fpu/libm-test-ulps: Update.
12518
f0c1dedf
AJ
125192012-05-03 Andreas Jaeger <aj@suse.de>
12520
12521 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12522 does not get optimized out.
12523 (malloc_opt_barrier): New.
12524
a65ef2ae 125252012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 12526 Roland McGrath <roland@hack.frob.com>
a65ef2ae 12527
2b942cb7 12528 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 12529 intermediate file deletion.
2b942cb7 12530 (generated): Add .symlist files.
a65ef2ae 12531
54b71e02
JM
125322012-05-03 Joseph Myers <joseph@codesourcery.com>
12533
12534 [BZ #13775]
12535 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12536 Redirect under this condition.
12537 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12538 [__USE_GNU] (__dprintf_chk): Not under this condition.
12539 [__USE_GNU] (__vdprintf_chk): Likewise.
12540 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12541 under this condition.
12542 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12543 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12544 [__USE_XOPEN2K8] (vdprintf): Likewise.
12545 [__USE_GNU] (__dprintf_chk): Not under this condition.
12546 [__USE_GNU] (__vdprintf_chk): Likewise.
12547 [__USE_GNU] (dprintf): Likewise.
12548 [__USE_GNU] (vdprintf): Likewise.
12549
d3dfcc41
RM
125502012-05-03 Roland McGrath <roland@hack.frob.com>
12551
12552 * elf/Makefile (common-generated): Set this instead of generated for
12553 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12554 $(all-built-dso)-derived lists.
12555
7ac30cc5
AJ
125562012-05-03 Andreas Jaeger <aj@suse.de>
12557
0c51e550
AJ
12558 * sysdeps/i386/fpu/libm-test-ulps: Update.
12559
7ac30cc5
AJ
12560 * FAQ: Removed.
12561 * FAQ.in: Likewise.
12562 * scripts/gen-FAQ.pl: Likewise.
12563 * manual/install.texi (Installation): Point to online location of
12564 FAQ.
12565 * Makefile (files-for-dist): Remove FAQ.
12566 (FAQ): Remove.
12567
d4c2917f
AM
125682012-05-02 Allan McRae <allan@archlinux.org>
12569
12570 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12571 (LDFLAGS-reldepmod5.so): Likewise.
12572 (LDFLAGS-reldep6mod1.so): Likewise.
12573 (LDFLAGS-reldep6mod4.so): Likewise.
12574 (LDFLAGS-reldep8mod3.so): Likewise.
12575 (LDFLAGS-unload4mod1.so): Likewise.
12576 (LDFLAGS-unload4mod2.so): Likewise.
12577 (LDFLAGS-tst-initorder): Likewise.
12578 (LDFLAGS-tst-initordera2.so): Likewise.
12579 (LDFLAGS-tst-initordera3.so): Likewise.
12580 (LDFLAGS-tst-initordera4.so): Likewise.
12581 (LDFLAGS-tst-initorderb2.so): Likewise.
12582 (LDFLAGS-noload): Likewise.
12583 (LDFLAGS-next): Likewise.
12584 (LDFLAGS-order2mod1.so): Likewise.
12585 (LDFLAGS-order2mod2.so): Likewise.
12586 (LDFLAGS-tst-initorder2): Likewise.
12587 (LDFLAGS-tst-initorder2a.so): Likewise.
12588 (LDFLAGS-tst-initorder2b.so): Likewise.
12589 (LDFLAGS-tst-initorder2c.so): Likewise.
12590 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12591
d77f993f
DM
125922012-05-02 David S. Miller <davem@davemloft.net>
12593
12594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12595
171a70b4
PP
125962012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12597
12598 [BZ #14055]
12599 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12600
0be196ad
AJ
126012012-05-02 Andreas Jaeger <aj@suse.de>
12602
12603 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12604 since we manipulate rounding mode.
12605 (CPPFLAGS-test-idouble.c): Likewise.
12606 (CPPFLAGS-test-ifloat.c): Likewise.
12607 (CFLAGS-test-ldouble.c): Likewise.
12608 (CFLAGS-test-double.c): Likewise.
12609 (CFLAGS-test-float.c): Likewise.
12610 (CFLAGS-test-misc.c): Likewise.
12611 (CFLAGS-test-test-fenv.c): Likewise.
12612
4f9d04aa
AZ
126132012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12614
2b942cb7
RM
12615 [BZ #2550]
12616 [BZ #2570]
12617 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12618 comparisons to determine direction to adjust input.
4f9d04aa 12619
82a79e7d
RM
126202012-05-01 Roland McGrath <roland@hack.frob.com>
12621
f5a01ca9
RM
12622 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12623 output to the target.
12624
90fe4186
RM
12625 * scripts/localplt.awk: New file.
12626 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12627 (check-localplt-CFLAGS): Variable removed.
12628 ($(all-built-dso:=.jmprel)): New static pattern rule.
12629 (generated): Add those targets.
12630 (localplt-built-dso): New variable.
12631 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12632
12633 * elf/check-localplt.c: File removed.
12634
82397ed6
RM
12635 * scripts/check-execstack.awk: New file.
12636 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12637 (check-execstack-CFLAGS): Variable removed.
12638 ($(objpfx)check-execstack.h): Target removed.
12639 ($(objpfx)execstack-default): New target.
12640 (generated): Add that instead of check-execstack.h.
12641 ($(all-built-dso:=.phdr)): New static pattern rule.
12642 (generated): Add those targets.
12643 * elf/check-execstack.c: File removed.
12644
82a79e7d
RM
12645 * scripts/check-textrel.awk: New file.
12646 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12647 (check-textrel-CFLAGS): Variable removed.
12648 (all-built-dso): Use := to define.o
12649 ($(all-built-dso:=.dyn)): New static pattern rule.
12650 (generated): Add those targets.
12651 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12652 * config.make.in (READELF): New substituted variable.
12653 * elf/check-textrel.c: File removed.
12654
62fde54f 126552012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 12656
615605c9
JM
12657 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12658 allow.
12659 * conform/data/ctype.h-data [C99-based standards] (isblank):
12660 Expect function.
12661 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12662 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12663 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12664 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12665 Specify type. Require positive value.
12666 (EILSEQ): Likewise.
12667 (ERANGE): Likewise.
12668 [ISO || POSIX] (EILSEQ): Do not expect.
12669 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12670 Specify type. Require positive value.
12671 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12672 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12673 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12674 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12675 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12676 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12677 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12678 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12679 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12680 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12681 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12682 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12683 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12684 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12685 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12686 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12687 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12688 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12689 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12690 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12691 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12692 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12693 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12694 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12695 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12696 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12697 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12698 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12699 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12700 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12701 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12702 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12703 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12704 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12705 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12706 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12707 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12708 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12709 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12710 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12711 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12712 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12713 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12714 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12715 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12716 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12717 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12718 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12719 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12720 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12721 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12722 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12723 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12724 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12725 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12726 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12727 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12728 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12729 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12730 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12731 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12732 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12733 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12734 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12735 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12736 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12737 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12738 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12739 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12740 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12741 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12742 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12743 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12744 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12745 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12746 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12747 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12748 Require >= 2.
12749 (FLT_ROUNDS): Expect as macro, not constant.
12750 (FLT_MANT_DIG): Use macro-int-constant.
12751 (DBL_MANT_DIG): Likewise.
12752 (LDBL_MANT_DIG): Likewise.
12753 (FLT_DIG): Likewise.
12754 (DBL_DIG): Likewise.
12755 (LDBL_DIG): Likewise.
12756 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12757 (DBL_MIN_EXP): Likewise.
12758 (LDBL_MIN_EXP): Likewise.
12759 (FLT_MAX_EXP): Use macro-int-constant.
12760 (DBL_MAX_EXP): Likewise.
12761 (LDBL_MAX_EXP): Likewise.
12762 (FLT_MAX_10_EXP): Likewise.
12763 (DBL_MAX_10_EXP): Likewise.
12764 (LDBL_MAX_10_EXP): Likewise.
12765 (FLT_MAX): Use macro-constant.
12766 (DBL_MAX): Likewise.
12767 (LDBL_MAX): Likewise.
12768 (FLT_EPSILON): Use macro-constant. Give upper bound.
12769 (DBL_EPSILON): Likewise.
12770 (LDBL_EPSILON): Likewise.
12771 (FLT_MIN): Likewise.
12772 (DBL_MIN): Likewise.
12773 (LDBL_MIN): Likewise.
12774 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12775 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12776 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12777 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12778 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12779 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12780 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12781 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12782 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12783 [ISO11] (FLT_TRUE_MIN): Likewise.
12784 [ISO11] (LDBL_TRUE_MIN): Likewise.
12785 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12786 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12787 (SCHAR_MIN): Use macro-int-constant. Specify type.
12788 (SCHAR_MAX): Likewise.
12789 (UCHAR_MAX): Likewise.
12790 (CHAR_MIN): Likewise.
12791 (CHAR_MAX): Likewise.
12792 (MB_LEN_MAX): Use macro-int-constant.
12793 (SHRT_MIN): Use macro-int-constant. Specify type.
12794 (SHRT_MAX): Likewise.
12795 (USHRT_MAX): Likewise.
12796 (INT_MAX): Likewise.
12797 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12798 bound negative.
12799 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12800 bound with "U".
12801 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12802 bound with "L".
12803 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12804 bound negative. Suffix upper bound with "L".
12805 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12806 bound with "UL".
12807 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12808 Specify type.
12809 [C99-based standards] (LLONG_MAX): Likewise.
12810 [C99-based standards] (ULLONG_MAX): Likewise.
12811 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12812 == 0.
12813 [ISO11] (max_align_t): Require type.
12814 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12815
c9140a62
JM
12816 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12817 from $CFLAGS, without defining away __attribute__ calls.
12818 (checknamespace): Use $CFLAGS_namespace.
12819
9af0bf29
JM
12820 * conform/conformtest.pl (@keywords): Only include C99 keywords
12821 for standards based on C99 or C11.
12822
343222a2
JM
12823 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12824 Disable tests.
12825 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12826 UNIX98]: Likewise.
12827
661f8cf0
JM
12828 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12829 usability of symbols in #if.
12830
ee74b9cb
JM
12831 * conform/conformtest.pl: If macro or constant types start
12832 "promoted:", expect the symbol to be of the following type
12833 promoted by the integer promotions.
62fde54f 12834
aafc49b3
JM
12835 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12836 in one place. Also handle "macro-constant".
12837
fefdf574
JM
12838 * conform/conformtest.pl: Only accept expected macro values with
12839 "==". Parse all "macro" lines in one place.
12840 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12841
f2d922fe
JM
12842 * conform/conformtest.pl: Handle braced types on "constant" lines
12843 instead of handling "typed-constant".
12844 * conform/data/signal.h-data: Use "constant" instead of
12845 "typed-constant".
12846
d22956c9
JM
12847 * conform/conformtest.pl: Handle "optional-" at start of lines in
12848 one place rather than duplicating several cases. Handle each
12849 format of "macro" line with initial "optional-".
12850
028e2e38
JM
12851 * conform/conformtest.pl: Only accept expected constant or
12852 optional-constant values with "==". Parse all "constant" lines in
12853 one place. Parse all "optional-constant" lines in one place.
12854 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12855 * conform/data/fmtmsg.h-data: Likewise.
12856 * conform/data/netinet/in.h-data: Likewise.
12857 * conform/data/tar.h-data: Likewise.
12858 * conform/data/limits.h-data: Use "==" form on "constant" and
12859 "optional-constant" lines.
12860
1b8f2850
JM
12861 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12862 Use -std=c99 for XOPEN2K.
12863 (@knownproblems): Remove.
12864 (newtoken): Don't check %isknown.
12865
a05a144b
JM
12866 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12867 Do not expect macro.
12868 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12869 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12870 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12871 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12872 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12873 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12874 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12875 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12876 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12877 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12878 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12879 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12880 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12881 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12882 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12883 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12884 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12885 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12886 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12887 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12888 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12889 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12890 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12891 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12892 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12893 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12894 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12895 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12896 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12897 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12898 [XPG3] (acosh): Likewise.
12899 [XPG3] (asinh): Likewise.
12900 [XPG3] (atanh): Likewise.
12901 [XPG3] (cbrt): Likewise.
12902 [XPG3] (expm1): Likewise.
12903 [XPG3] (ilogb): Likewise.
12904 [XPG3] (log1p): Likewise.
12905 [XPG3] (logb): Likewise.
12906 [XPG3] (nextafter): Likewise.
12907 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12908 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12909 [XPG3] (remainder): Likewise.
12910 [XPG3] (rint): Likewise.
12911 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12912 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12913 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12914 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12915 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12916 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12917 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12918 [UNIX98 || XOPEN2K] (scalb): Expect.
12919 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12920 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12921 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12922 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12923 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12924 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12925 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12926 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12927 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12928 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12929 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12930 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12931 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12932 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12933 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12934 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12935 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12936 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12937 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12938 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12939 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12940 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12941 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12942 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12943 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12944 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12945 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12946 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12947 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12948 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12949 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12950 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12951 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12952 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12953 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12954 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12955 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12956 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12957 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12958 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12959 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12960 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12961 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12962 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12963 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12964 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12965 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12966 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12967 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12968 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12969 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12970 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12971 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12972 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12973 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12974 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12975 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12976 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12977 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12978 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12979 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12980 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12981 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12982 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12983 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12984 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12985 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12986 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12987 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12988 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12989 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12990 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12991 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12992 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12993 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12994 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12995 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12996 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12997 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12998 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12999 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13000 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13001 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13002 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13003 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13004 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13005 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13006 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13007 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13008 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13009 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13010 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13011 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13012 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13013 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13014 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13015 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13016 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13017 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13018 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13019 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13020 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13021 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13022 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13023 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13024 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13025 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13026 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13027 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13028 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13029 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13030 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13031 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13032 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13033 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13034 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13035 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13036 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13037 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13038 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13039 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13040 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13041 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13042 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13043 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13044 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13045 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13046 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13047 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13048 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13049 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13050 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13051 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13052 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13053 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13054 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13055 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13056
73c5ebe3
JM
13057 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13058 _XOPEN_SOURCE_EXTENDED for XPG4.
13059
39c33b6c
JM
13060 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13061
62fde54f
JM
13062 * Makeconfig (localtime): Remove variable.
13063 (inst_localtime-file): Likewise.
13064
0741d64c
AS
130652012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13066
13067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13068 Update.
13069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13070 Update.
13071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13072 Update.
13073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13074 Update.
13075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13076 Update.
13077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13078 Update.
13079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13080 Update.
13081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13082 Update.
13083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13084 Update.
13085
7cb029ee
JM
130862012-05-01 Joseph Myers <joseph@codesourcery.com>
13087
13088 [BZ #2550]
13089 [BZ #2570]
13090 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13091 comparisons to determine direction to adjust input.
13092 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13093 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13094 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13095 Likewise.
13096 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13097 Likewise.
13098 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13099 Likewise.
13100 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13101 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13102 Likewise.
13103 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13104 Likewise.
13105 * math/libm-test.inc (nexttoward_test): Add more tests.
13106
412bd966
AS
131072012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13108
13109 [BZ #14040]
13110 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13111 in version GLIBC_2.1, not GLIBC_2.0.
13112 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13113 Likewise.
13114
9568c0c2
JM
131152012-04-30 Joseph Myers <joseph@codesourcery.com>
13116
adfbc8ac
JM
13117 [BZ #13942]
13118 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13119 (1 - x) * (1 + x).
13120 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13121 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13122 * math/libm-test.inc (acos_test): Add more tests.
13123 (asin_test): Likewise.
13124 * sysdeps/i386/fpu/libm-test-ulps: Update.
13125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13126
5ba3cc69
JM
13127 [BZ #14034]
13128 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13129 of square root.
13130 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13131 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13132 * math/libm-test.inc (acos_test_tonearest): New function.
13133 (acos_test_towardzero): Likewise.
13134 (acos_test_downward): Likewise.
13135 (acos_test_upward): Likewise.
13136 (asin_test_tonearest): Likewise.
13137 (asin_test_towardzero): Likewise.
13138 (asin_test_downward): Likewise.
13139 (asin_test_upward): Likewise.
13140 (main): Call the new functions.
13141 * sysdeps/i386/fpu/libm-test-ulps: Update.
13142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13143
9568c0c2
JM
13144 [BZ #13884]
13145 [BZ #13924]
13146 * math/e_exp10.c: Include <float.h>.
13147 (__ieee754_exp10): Handle underflow here rather than multiplying
13148 large negative argument by M_LN10.
13149 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13150 of __ieee754_expf.
13151 * math/e_exp10l.c: Include <float.h>.
13152 (__ieee754_exp10l): Handle underflow here rather than multiplying
13153 large negative argument by M_LN10l.
13154 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13155 spurious overflow exception on underflow.
13156
5ac3ea17
MP
131572012-04-29 Marek Polacek <polacek@redhat.com>
13158
13159 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13160 (__fortify_function): New macro.
13161 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13162 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13163 __extern_always_inline.
13164 * libio/bits/stdio2.h: Likewise.
13165 * libio/bits/stdio.h: Likewise.
13166 * string/string.h: Likewise.
13167 * string/bits/string3.h: Likewise.
13168 * include/stdio.h: Likewise.
13169 * stdlib/bits/stdlib.h: Likewise.
13170 * stdlib/stdlib.h: Likewise.
13171 * rt/bits/mqueue2.h: Likewise.
13172 * rt/mqueue.h: Likewise.
13173 * posix/bits/unistd.h: Likewise.
13174 * posix/unistd.h: Likewise.
13175 * io/bits/poll2.h: Likewise.
13176 * io/bits/fcntl2.h: Likewise.
13177 * io/fcntl.h: Likewise.
13178 * io/sys/poll.h: Likewise.
13179 * misc/bits/syslog.h: Likewise.
13180 * misc/bits/syslog-ldbl.h: Likewise.
13181 * misc/sys/syslog.h: Likewise.
13182 * socket/bits/socket2.h: Likewise.
13183 * socket/sys/socket.h: Likewise.
13184 * debug/tst-chk1.c: Likewise.
13185 * wcsmbs/bits/wchar2.h: Likewise.
13186 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13187 * wcsmbs/wchar.h: Likewise.
13188
ecf0ebfb
AJ
131892012-04-29 Andreas Jaeger <aj@suse.de>
13190
13191 * Makerules (tests): Remove enable-check-abi protection.
13192 (check-abi-warn): Remove.
13193 (check-abi-%): Remove check-abi-warn usage.
13194
13195 * configure.in: Remove check-abi configure option.
13196 * configure: Regenerated.
13197 * config.make.in (enable-check-abi): Remove.
13198
6d5c57fa
AS
131992012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13200
24c5d07e 13201 [BZ #14033]
ded5180a
AS
13202 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13203 double functions to double *_finite functions.
13204
7e0d315d
AS
13205 [BZ #13941]
13206 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13207 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13208 LDBL_MIN_EXP.
13209 * stdio-common/Makefile (tests): Add tst-sprintf3.
13210 * stdio-common/tst-sprintf3.c: New file.
13211
6d5c57fa
AS
13212 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13213 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13214
0749ff8b
JM
132152012-04-28 Joseph Myers <joseph@codesourcery.com>
13216
13217 * conform/conformtest.pl: Remove duplicate typed-constant
13218 handling.
13219
8dbd5d7b
DM
132202012-04-28 David S. Miller <davem@davemloft.net>
13221
13222 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13223 (check-abi-%): Remove AWK script prerequisite and explicit
13224 abilist directory.
13225 (check-abi): Rewrite to just diff the symlist with the abilist.
13226 (config-tls, config-abi-config): Delete, no longer used.
13227 (update-abi-%): Remove AWK script and explicit abilist directory.
13228 (update-abi): Rewrite to simply compare and conditionally copy the
13229 symlist and the sysdep abilist file. Remove update-abi-config
13230 checks.
13231 * abilist/ld.abilist: Remove.
13232 * abilist/libBrokenLocale.abilist: Remove.
13233 * abilist/libanl.abilist: Remove.
13234 * abilist/libcrypt.abilist: Remove.
13235 * abilist/libdl.abilist: Remove.
13236 * abilist/librt.abilist: Remove.
13237 * abilist/libthread_db.abilist: Remove.
13238 * abilist/libutil.abilist: Remove.
13239 * scripts/extract-abilist.awk: Remove.
13240 * scripts/merge-abilist.awk: Remove.
13241 * sysdeps/generic/libcidn.abilist: New file.
13242 * sysdeps/generic/libnss_compat.abilist: New file.
13243 * sysdeps/generic/libnss_db.abilist: New file.
13244 * sysdeps/generic/libnss_dns.abilist: New file.
13245 * sysdeps/generic/libnss_files.abilist: New file.
13246 * sysdeps/generic/libnss_hesiod.abilist: New file.
13247 * sysdeps/generic/libnss_nis.abilist: New file.
13248 * sysdeps/generic/libnss_nisplus.abilist: New file.
13249 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13250 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13251 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13252 file.
13253 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13254 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13255 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13256 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13257 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13258 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13259 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13260 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13261 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13262 file.
13263 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13264 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13265 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13266 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13267 file.
13268 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13269 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13270 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13271 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13272 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13273 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13274 file.
13275 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13276 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13277 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13278 file.
13279 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13281 New file.
13282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13283 New file.
13284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13285 New file.
13286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13287 New file.
13288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
13289 New file.
13290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13291 New file.
13292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
13293 New file.
13294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13295 New file.
13296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13297 New file.
13298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13299 New file.
13300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13301 New file.
13302 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13303 New file.
13304 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
13305 New file.
13306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
13307 file.
13308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13309 New file.
13310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13311 New file.
13312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
13313 file.
13314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13315 New file.
13316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13317 New file.
13318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13319 file.
13320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13321 New file.
13322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13323 New file.
13324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13325 New file.
13326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13327 New file.
13328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13329 New file.
13330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13331 New file.
13332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13334 file.
13335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13336 New file.
13337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13338 file.
13339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13340 file.
13341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13342 file.
13343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13344 file.
13345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13346 file.
13347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13348 New file.
13349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13350 file.
13351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13352 file.
13353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13354 New file.
13355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13356 file.
13357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13359 file.
13360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13361 New file.
13362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13363 file.
13364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13365 file.
13366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13367 file.
13368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13369 file.
13370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13371 file.
13372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13373 New file.
13374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13375 file.
13376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13377 file.
13378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13379 New file.
13380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13381 file.
13382 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13383 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13384 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13385 file.
13386 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13387 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13388 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13389 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13390 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13391 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13392 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13393 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13394 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13395 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13398 file.
13399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13400 New file.
13401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13402 file.
13403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13404 file.
13405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13406 file.
13407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13408 file.
13409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13410 file.
13411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13412 New file.
13413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13414 New file.
13415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13416 file.
13417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13418 New file.
13419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13420 file.
13421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13423 file.
13424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13425 New file.
13426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13427 file.
13428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13429 file.
13430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13431 file.
13432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13433 file.
13434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13435 file.
13436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13437 New file.
13438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13439 New file.
13440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13441 file.
13442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13443 New file.
13444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13445 file.
13446
41d73a1b
JM
134472012-04-28 Joseph Myers <joseph@codesourcery.com>
13448
13449 * conform/conformtest.pl: Fix typo in handling typed-constant from
13450 allow-header.
13451
28aeeda4
JM
134522012-04-27 Joseph Myers <joseph@codesourcery.com>
13453
adae8f5e
JM
13454 * README: Cut down references to pre-2.6 Linux kernels and
13455 Linuxthreads. Update lists of configurations in libc and ports
13456 and sort alphabetically. Say "or newer" with Linux kernel version
13457 requirements.
13458
28aeeda4
JM
13459 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13460
a462cb63
RA
134612012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13462
13463 [BZ #887]
13464 * math/libm-test.inc (logb_test_downward): New test to expose
13465 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13466 rounding mode.
13467
6ad3493e
JM
134682012-04-27 Joseph Myers <joseph@codesourcery.com>
13469
13470 [BZ #14027]
13471 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13472 to be done.
13473 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13474 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13475
2ce4f015
JM
134762012-04-26 Joseph Myers <joseph@codesourcery.com>
13477
5aeb141a
JM
13478 * sysdeps/unix/i386/brk.S: Remove file.
13479 * sysdeps/unix/i386/dl-brk.S: Likewise.
13480 * sysdeps/unix/i386/pipe.S: Likewise.
13481 * sysdeps/unix/i386/sigreturn.S: Likewise.
13482 * sysdeps/unix/i386/syscall.S: Likewise.
13483 * sysdeps/unix/i386/vfork.S: Likewise.
13484 * sysdeps/unix/i386/wait.S: Likewise.
13485
7143acae
JM
13486 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13487 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13488
2ce4f015
JM
13489 * configure.in (arm*-none*): Do not allow without
13490 --enable-hacker-mode.
13491 (netbsd*): Remove case setting base_os.
13492 (386bsd*): Likewise.
13493 (freebsd*): Likewise.
13494 (bsdi*): Likewise.
13495 (osf*): Likewise.
13496 (sunos*): Likewise.
13497 (ultrix*): Likewise.
13498 (newsos*): Likewise.
13499 (dynix*): Likewise.
13500 (*bsd*): Likewise.
13501 (sysv*): Likewise.
13502 (isc*): Likewise.
13503 (esix*): Likewise.
13504 (sco*): Likewise.
13505 (minix*): Likewise.
13506 (irix4*): Likewise.
13507 (irix6*): Likewise.
13508 (solaris[2-9]*): Likewise.
13509 (none): Likewise.
13510 * configure: Regenerated.
13511
0ac229c8
AZ
135122012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13513
13514 [BZ #11521]
13515 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13516 overflow or cancellation in calculating denominator.
13517 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13518 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13519 down expression to avoid unexpected rounding in newer GCCs.
13520 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13521
33f244f4
DM
135222012-04-26 David S. Miller <davem@davemloft.net>
13523
13524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13525 long-double compat symbols.
13526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13539
cfa1f3e8
DM
135402012-04-25 David S. Miller <davem@davemloft.net>
13541
13542 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13543 HWCAP_* values only after the memory barriers have been defined.
13544 (atomic_full_barrier): Define.
13545 (atomic_read_barrier): Define.
13546 (atomic_write_barrier): Define.
13547
6e236b92
SP
135482012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13549
13550 * shlib-versions: Add libgcc_s version information.
13551 * sysdeps/generic/libgcc_s.h: Remove.
13552 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13553 libgcc_s.h.
13554 * sysdeps/gnu/unwind-resume.c: Likewise.
13555 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13556
aab39a09
DM
135572012-04-25 David S. Miller <davem@davemloft.net>
13558
13559 * sysdeps/unix/sparc/brk.S: Delete.
13560 * sysdeps/unix/sparc/dl-brk.S: Delete.
13561 * sysdeps/unix/sparc/pipe.S: Delete.
13562 * sysdeps/unix/sparc/sysdep.S: Delete.
13563 * sysdeps/unix/sparc/sysdep.h: Delete.
13564 * sysdeps/unix/sparc/vfork.S: Delete.
13565 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13566 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13567 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13568 ret_ERRVAL, r0, r1, MOVE): Define.
13569 (JUMPTARGET): Remove.
13570 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13571 sysdeps/unix/sparc/sysdep.h
13572 (ENTRY, END): Remove.
13573 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13574
a3cc4f48
JM
135752012-04-25 Joseph Myers <joseph@codesourcery.com>
13576
2ed8cda2
JM
13577 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13578 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13579 -DIS_IN_build.
13580
35d76d59
JM
13581 * timezone/README: Update upstream location and email address for
13582 tzcode and tzdata.
13583 * timezone/zdump.c: Update from tzcode 2012b.
13584 * timezone/zic.c: Likewise.
13585
a3cc4f48
JM
13586 * configure.in (libc_cv_as_needed): Remove test.
13587 * configure: Regenerated.
13588 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13589 conditional definition.
13590 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13591 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13592 * config.make.in (have-as-needed): Remove variable.
13593
ceab42c3
SP
135942012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13595 Paul Pluzhnikov <ppluzhnikov@google.com>
13596
13597 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13598 strings correctly.
13599
3ce2865f
CLT
136002012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13601
13602 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13603 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13604 * sysdeps/sh/strlen.S: Likewise.
13605
f37e0d68
JM
136062012-04-24 Joseph Myers <joseph@codesourcery.com>
13607
ae186e9a
JM
13608 * sysdeps/unix/fork.S: Remove file.
13609 * sysdeps/unix/i386/fork.S: Likewise.
13610 * sysdeps/unix/sparc/fork.S: Likewise.
13611
b96914af
JM
13612 * sysdeps/unix/system.c: Remove file.
13613 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13614
f37e0d68
JM
13615 * sysdeps/unix/getegid.S: Remove file.
13616 * sysdeps/unix/geteuid.S: Likewise.
13617
87ef29ca
RM
136182012-04-24 Roland McGrath <roland@hack.frob.com>
13619
83bcd236
RM
13620 * scripts/check-localplt.awk: New file.
13621 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13622 of diff.
13623 * scripts/data/localplt-generic.data: Add a comment.
13624
87ef29ca
RM
13625 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13626 NODE when __dir_mkfile failed.
13627 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13628 Reported by Ludovic Courtès <ludo@gnu.org>.
13629
e5a6e567
AJ
136302012-04-24 Andreas Jaeger <aj@suse.de>
13631
13632 * Makerules (common-clean): Also remove gen-as-const-headers
13633 files.
13634
c1820385
JM
136352012-04-24 Joseph Myers <joseph@codesourcery.com>
13636
13637 * Makerules (native-compile): Do not change working directory for
13638 build. Use $(OUTPUT_OPTION) in command.
13639 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13640
94e02fc4
AZ
136412012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13642
13643 [BZ #13886]
13644 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13645 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13646 * math/libm-test.inc (floor_test): Add more tests.
13647 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13648
3a533ca3
JM
136492012-04-24 Joseph Myers <joseph@codesourcery.com>
13650
940ab4b3
JM
13651 * sysdeps/unix/getdents.c: Remove file.
13652 * sysdeps/unix/sysv/getdents.c: Likewise.
13653 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13654
90e037bd
JM
13655 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13656 sysdeps/unix/mman/syscalls.list.
13657 (mmap): Likewise.
13658 (mprotect): Likewise.
13659 (msync): Likewise.
13660 (munmap): Likewise.
13661 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13662 * sysdeps/unix/mman/syscalls.list: Remove.
13663 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13664
3a533ca3
JM
13665 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13666 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13667 * configure: Regenerated.
13668 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13669 $(libgcc_s_suffix).
13670 * config.make.in (libgcc_s_suffix): Remove variable.
13671
1ad743de
JM
136722012-04-23 Joseph Myers <joseph@codesourcery.com>
13673
4ad451e2
JM
13674 * sysdeps/unix/sysv/gethostname.c: Move to ...
13675 * sysdeps/posix/gethostname.c: ... here.
13676
5e37ce39
JM
13677 * sysdeps/unix/execve.S: Remove file.
13678
1ad743de
JM
13679 * sysdeps/unix/_exit.S: Remove file.
13680
4e681b5b
AJ
136812012-04-23 Andreas Jaeger <aj@suse.de>
13682
13683 [BZ #13739]
13684 * manual/Makefile: Remove make dist support, there's no
13685 need for a stand-alone documentation tar ball.
13686 (TEXI2DVI): Define always, it's not in Makeconfig.
13687 (dist): Removed.
13688 (tar-it): Removed.
13689 (edition): Removed.
13690 (glibc-doc-$(edition).tar): Removed
13691 (%.Z): Removed.
13692 (%.gz): Removed.
13693 (%.uu): Removed.
13694 (ETAGS): Remove, it's in Makeconfig.
13695 (move-if-change): Remove, it's in Makeconfig.
13696
38686a03 136972012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
13698
13699 [BZ #13970]
13700 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13701 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13702 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13703 (strtod_l, strtof_l, strtold_l): Remove __wur.
13704 It is not necessarily an error to ignore strtol's return value.
13705 One can reliably look at the stored endptr to decide whether
13706 the number had valid syntax.
13707
7c0616fa
AJ
137082012-04-21 Andreas Jaeger <aj@suse.de>
13709
803cb6b7 13710 [BZ #13739]
7c0616fa
AJ
13711 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13712
b0fe253f
JM
137132012-04-21 Joseph Myers <joseph@codesourcery.com>
13714
13715 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13716 * sysdeps/unix/sysv/Versions: Remove file.
13717
8280f22d
MT
137182012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13719
13720 [BZ #13927]
13721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13722
75ce411f 137232012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
13724
13725 [BZ #7064]
13726 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13727 version from __vm86.
13728
097d59fa
JM
137292012-04-20 Joseph Myers <joseph@codesourcery.com>
13730
a90f3bcb
JM
13731 * sysdeps/unix/common/lxstat.c: Remove file.
13732 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13733
edc7ea78
JM
13734 * sysdeps/unix/sysv/Makefile: Remove file.
13735
cb78c221
JM
13736 * sysdeps/unix/sysv/direct.h: Remove file.
13737
efa6a45f
JM
13738 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13739 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13740 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13741 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13742 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13743 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13744 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13745
9c9f2d0c
JM
13746 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13747
4541c83b
JM
13748 * sysdeps/unix/xmknod.c: Remove file.
13749 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13750
f5d153a0
JM
13751 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13752
aa746595
JM
13753 * sysdeps/unix/sysv/i386/time.S: Remove file.
13754
cce5905e
JM
13755 * sysdeps/unix/fxstat.c: Remove file.
13756 * sysdeps/unix/xstat.c: Likewise.
13757 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13758
37fa3841
JM
13759 * sysdeps/unix/sysv/sigaction.c: Remove file.
13760
ff1962a3
JM
13761 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13762 (sysdep_headers): Remove variable.
13763 [termio.h not in sysdep_headers] (generated): Likewise.
13764 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13765 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13766 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13767 * sysdeps/unix/sysv/tcflow.c: Likewise.
13768 * sysdeps/unix/sysv/tcflush.c: Likewise.
13769 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13770 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13771 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13772 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13773 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13774
e7740d31
JM
13775 * sysdeps/unix/siglist.c: Remove file.
13776
ee06f18b
JM
13777 * sysdeps/unix/getppid.S: Remove file.
13778
097d59fa
JM
13779 * sysdeps/unix/mkdir.c: Remove file.
13780 * sysdeps/unix/rmdir.c: Likewise.
13781
ff3d51ec
AS
137822012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13783
13784 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13785 ERR_MAX value.
13786 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13787 errlist-compat value.
13788
50f81fd7
DM
137892012-04-18 David S. Miller <davem@davemloft.net>
13790
13791 * sysdeps/generic/memcopy.h (reg_char): Delete.
13792 * debug/strcat_chk.c: Use char, not reg_char.
13793 * debug/strcpy_chk.c: Likewise.
13794 * debug/strncat_chk.c: Likewise.
13795 * debug/strncpy_chk.c: Likewise.
13796 * string/memchr.c: Likewise.
13797 * string/memrchr.c: Likewise.
13798 * string/rawmemchr.c: Likewise.
13799 * string/strcat.c: Likewise.
13800 * string/strchr.c: Likewise.
13801 * string/strchrnul.c: Likewise.
13802 * string/strcmp.c: Likewise.
13803 * string/strcpy.c: Likewise.
13804 * string/strncat.c: Likewise.
13805 * string/strncmp.c: Likewise.
13806 * string/strncpy.c: Likewise.
13807
8ff41c46
WS
138082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13809
13810 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13811 __builtin_memcopy is called when src and dest ranges are known to not
13812 overlap.
13813
6b652f46
WS
138142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13815
13816 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13817 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13818 fwd_align_merge macro call.
13819 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13820 bwd_align_merge macro call.
13821 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13822
b282631e
WS
138232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13824
13825 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13826 bwd_align_merge macros.
13827 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13828 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13829 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13830
95aa737c
DM
138312012-04-18 David S. Miller <davem@davemloft.net>
13832
13833 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13834
7a99a614
AJ
138352012-04-18 Andreas Jaeger <aj@suse.de>
13836
13837 [BZ# 6794]
13838 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13839 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13840 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13841
13842 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13843 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13844 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13845
13846 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13847 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13848 Adjust for changed ldbl-128 files.
13849
13850 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13851 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13852 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13853
e5270c23
DM
138542012-04-17 David S. Miller <davem@davemloft.net>
13855
13856 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13857
fb5e92c9
AS
138582012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13859
13860 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13861 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13862 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13863 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13864 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13865 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13866
76da7265
AZ
138672012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13868
13869 [BZ #6794]
13870 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13871 * math/libm-test.inc: Add ilogb errno and exception tests.
13872 * math/w_ilogb.c: New file: ilogb wrapper.
13873 * math/w_ilogbf.c: New file: ilogbf wrapper.
13874 * math/w_ilogbl.c: New file: ilogbl wrapper.
13875 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13876 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13877 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13878 exception being thrown with 0.0 as argument.
13879 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13880 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13881 exception being thrown with 0.0 as argument.
13882 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13883 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13884 exception being thrown with 0.0 as argument.
13885 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13886 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13887 exception being thrown with 0.0 as argument.
13888 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13889 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 13890 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
13891 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13892 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13893 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13894 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13895 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13896 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13897
0396e69d
PB
138982012-04-17 Petr Baudis <pasky@ucw.cz>
13899
13900 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13901 with altivec.
13902
750b5926
MP
139032012-04-16 Marek Polacek <polacek@redhat.com>
13904
13905 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13906
751728a1
MP
139072012-04-16 Marek Polacek <polacek@redhat.com>
13908
13909 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13910 operands of fdivp instruction.
13911
34a27407
L
139122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13913
13914 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13915 * elf/tst-auditmod3b.c: Likewise.
13916 * elf/tst-auditmod4b.c: Likewise.
13917 * elf/tst-auditmod5b.c: Likewise.
13918 * elf/tst-auditmod6b.c: Likewise.
13919 * elf/tst-auditmod6c.c: Likewise.
13920 * elf/tst-auditmod7b.c: Likewise.
13921 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13922 * sysdeps/x86_64/preconfigure.in: Likewise.
13923 * sysdeps/x86_64/preconfigure: Regenerated.
13924
7e73e17d
L
139252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13926
13927 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13928 __ILP32__.
13929
c7a6ab72
AB
139302012-04-13 Antoine Balestrat <merkil33@gmail.com>
13931
13932 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13933 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13934
a9e8e0e0
CL
139352012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13936
13937 [BZ #13973]
13938 * locale/iso-639.def: Fix gl language name. Spotted by
13939 Yaron Shahrabani.
13940
ec98af7d
RM
139412012-04-12 Roland McGrath <roland@hack.frob.com>
13942
13943 [BZ #2074]
13944 * libio/libio.h (__io_write_fn): Update comment.
13945
247c3ede
PB
139462012-04-12 Petr Baudis <pasky@ucw.cz>
13947
13948 [BZ #2074]
13949 * stdio.texi (Hook Functions): The user provided writer function
13950 is not allowed to return -1.
13951
55939d6d
DM
139522012-04-11 David S. Miller <davem@davemloft.net>
13953
13954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13955
90020f5a
MF
139562012-04-11 Mike Frysinger <vapier@gentoo.org>
13957
13958 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13959 Add a leading slash to rtkaio.
13960
288f9098
JM
139612012-04-11 Jim Meyering <meyering@redhat.com>
13962
90020f5a
MF
13963 [BZ #11959]
13964 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13965 It is not necessarily an error to ignore fwrite's return
13966 value. One can reliably use ferror to test for errors after
13967 the fact.
288f9098 13968
4be2b570
L
139692012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13970
13971 * bits/types.h (__snseconds_t): New type.
13972 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13973
13974 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13975 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13976 (__SNSECONDS_T_TYPE): Likewise.
13977 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13978 (__SNSECONDS_T_TYPE): Likewise.
13979 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13980 (__SNSECONDS_T_TYPE): Likewise.
13981
288f9098 139822012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
13983
13984 [BZ #2636]
13985 * manual/time.texi (Processor Time): Return type of times is
13986 elapsed real time since an arbitrary point in the past.
13987 (CPU Time): Move CLK_TCK from here...
13988 (Processor Time): ...to here. Correct description.
13989 * manual/conf.texi (Constants for Sysconf): Correct description of
13990 _SC_CLK_TCK.
13991
d7dd4413
DM
139922012-04-10 David S. Miller <davem@davemloft.net>
13993
13994 [BZ #13967]
13995 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13996 where the is a gap between DT_REL(A) and DT_JMPREL.
13997
b46068fc
L
139982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13999
14000 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14001 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14002 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14003
73d65cc3
SP
140042012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14005
14006 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14007 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14008 (dl_main): Handle --inhibit-cache.
14009 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14010 _dl_inhibit_cache.
14011 * elf/dl-load.c (_dl_map_object): Use it.
14012 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14013
bcc8d661
JM
140142012-04-09 Joseph Myers <joseph@codesourcery.com>
14015
8f9a2fae
JM
14016 [BZ #13872]
14017 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14018 (__ieee754_powl): Saturate large exponents rather than testing for
14019 overflow of y*log2(x).
14020 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14021 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14022 exceptions.
14023
bcc8d661
JM
14024 [BZ #11521]
14025 * math/s_ctan.c: Include <float.h>.
14026 (__ctan): Avoid internal overflow or cancellation in calculating
14027 denominator.
14028 * math/s_ctanf.c: Likewise.
14029 * math/s_ctanl.c: Likewise.
14030 * math/s_ctanh.c: Likewise.
14031 * math/s_ctanhf.c: Likewise.
14032 * math/s_ctanhl.c: Likewise.
14033 * math/libm-test.inc (ctan_test): Add more tests.
14034 (ctanh_test): Likewise.
14035 * sysdeps/i386/fpu/libm-test-ulps: Update.
14036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14037
823fbbb4
AJ
140382012-04-09 Andreas Jaeger <aj@suse.de>
14039
03879793
AJ
14040 [BZ #6894]
14041 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14042 is an optional BSD extension.
14043
823fbbb4
AJ
14044 [BZ #10254]
14045 * manual/stdio.texi (Opening Streams): Document additional fopen
14046 parameters.
14047
8de131cb
RM
140482012-04-09 Roland McGrath <roland@hack.frob.com>
14049
14050 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14051 %eax without telling the compiler.
14052
c0ed9d7d
CD
140532012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14054
14055 [BZ # 13963]
14056 * manual/install.texi: Use sourceware.org.
14057
c483f6b4
JM
140582012-04-09 Joseph Myers <joseph@codesourcery.com>
14059
d7dd9453
JM
14060 [BZ #13873]
14061 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14062 (__ieee754_pow): Generate overflow and underflow using huge*huge
14063 and tiny*tiny rather than just returning constant infinity or zero
14064 for large exponents.
14065 * math/libm-test.inc (pow_test): Require overflow exceptions for
14066 applicable cases of large exponents.
14067
c483f6b4
JM
14068 [BZ #706]
14069 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14070 (__ieee754_pow): Use iterative multiplication algorithm only for
14071 integer exponents with absolute value below 1024. Check for odd
14072 integer exponents when using algorithm for real exponents.
14073 * math/libm-test.inc (pow_test): Add more tests.
14074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14075
d2de7579
JM
140762012-04-08 Joseph Myers <joseph@codesourcery.com>
14077
14078 [BZ #13705]
14079 * math/libm-test.inc (exp_test): Do not allow overflow exception
14080 on underflow test.
14081
f77f1232
AJ
140822012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14083
14084 [BZ #13705]
14085 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14086 instead of __kernel_standard_f.
14087
3884932b
MF
140882012-04-08 Mike Frysinger <vapier@gentoo.org>
14089
14090 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14091 * sysdeps/x86_64/memset_chk.S: Likewise.
14092
54472e9c
AJ
140932012-04-08 Andreas Jaeger <aj@suse.de>
14094
6ab0fbfc
AJ
14095 [BZ #10153]
14096 * manual/startup.texi (Environment Access): Describe return value
14097 for putenv and setenv.
14098
61efba8c
AJ
14099 [BZ #6895]
14100 * manual/filesys.texi (Directory Entries): Add description for
14101 DT_LNK.
14102
95c3f29a
AJ
14103 [BZ #6890]
14104 * manual/filesys.texi (Directory Entries): Clarify that it's file
14105 system not operating system in the description of DT_UNKNOWN.
14106
54472e9c
AJ
14107 [BZ #6578]
14108 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14109
624254b1
SC
141102012-04-08 Stephen Compall <s11@member.fsf.org>
14111
14112 [BZ #6649]
14113 * manual/llio.texi (Opening and Closing Files): Add cross
14114 reference to explain mode argument.
14115
1e4920e0
MF
141162012-04-07 Mike Frysinger <vapier@gentoo.org>
14117
14118 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14119 * sysdeps/x86_64/memset_chk.S: Likewise.
14120
5ed848f3
DM
141212012-04-07 David S. Miller <davem@davemloft.net>
14122
14123 * elf/elf.h (R_SPARC_WDISP10): Define.
14124 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14125 R_SPARC_SIZE32.
14126 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14127 R_SPARC_SIZE64 and R_SPARC_H34.
14128
96154cd8
CD
141292012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14130
14131 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14132 conditions and remove no longer applicable assertion.
14133
9904dc47
L
141342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14135
14136 * bits/byteswap.h: Include <features.h>.
14137 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14138 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14139
f8887d0a
L
141402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14141
14142 * bits/byteswap.h (__bswap_16): Removed.
14143 Include <bits/byteswap-16.h> to get __bswap_16.
14144 * sysdeps/i386/bits/byteswap.h: Likewise.
14145 * sysdeps/s390/bits/byteswap.h: Likewise.
14146 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14147 * bits/byteswap-16.h: New file.
14148 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14149 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14150 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14151 * string/Makefile (headers): Add bits/byteswap-16.h.
14152
62470f60
PP
141532012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14154
14155 [BZ #13895]
14156 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14157 extra indirection.
14158 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14159 * nss/tst-nss-static.c: New.
14160
4dad7bab
RM
141612012-04-06 Robert Millan <rmh@gnu.org>
14162
14163 [BZ #6486]
14164 * manual/llio.texi (File Position Primitive): lseek
14165 refers to WHENCE when it really means OFFSET.
14166
e9142a17
AJ
141672012-04-06 Andreas Jaeger <aj@suse.de>
14168
2c040eff
AJ
14169 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14170 strncmp declarations.
14171
e9142a17
AJ
14172 * abilist/libc.abilist: Add __poll and __ppoll.
14173
ff9f1c5f
DM
141742012-04-05 David S. Miller <davem@davemloft.net>
14175
dcd2ae90
DM
14176 * scripts/check-local-headers.sh: Accept a host triplet in the
14177 path matched by the exclude regexp.
14178
993eb054
DM
14179 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14180 definition.
14181 * sysdeps/powerpc/powerpc32/dl-machine.h
14182 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14183 * sysdeps/s390/s390-32/dl-machine.h
14184 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14185 * sysdeps/sparc/sparc32/dl-machine.h
14186 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14187 * sysdeps/sparc/sparc64/dl-machine.h
14188 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14189
ff9f1c5f
DM
14190 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14191 lazy binding.
48e2e132 14192 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
14193 undefined symbol errors.
14194
48e2e132 14195 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
14196 DT_NEEDED entries.
14197
e80d6f94
MM
141982012-04-05 Michael Matz <matz@suse.de>
14199
14200 [BZ #13592]
14201 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14202
349fa79f
AJ
142032012-04-05 Andreas Jaeger <aj@suse.de>
14204
14205 [BZ #13908]
14206 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14207 comment.
14208
f402708f
KK
142092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14210
14211 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14212 which ROUND is no valid rounding mode.
14213
2ecccfc9
KK
142142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14215
14216 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14217 read again.
14218 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14219
8a53f50f
KK
142202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14221
14222 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14223 an exception using FPU order intentionally.
14224
142252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14226
14227 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14228 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14229 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14230 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14231
d653abb7
SJ
142322012-04-05 Simon Josefsson <simon@josefsson.org>
14233
14234 [BZ #12340]
14235 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14236 EINVAL when BUFLEN is too smal.
14237
c3b1bf7d
TS
142382012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14239
14240 [BZ #13553]
14241 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14242 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14243
b1aa60f3
AJ
142442012-04-03 Andreas Jaeger <aj@suse.de>
14245
c3b1bf7d 14246 [BZ #13938]
67f60a26
AJ
14247 * manual/setjmp.texi (System V contexts): Fix sentence.
14248
b1aa60f3
AJ
14249 [BZ #13926]
14250 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14251 New macro for this case.
14252 [!__GNUC__] (__bswap_64): New inline function for this case.
14253 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14254 * bits/byteswap.h: Likewise.
14255 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14256 ull, guard with __GLIBC_HAVE_LONG_LONG.
14257
14258 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14259 __GLIBC_HAVE_LONG_LONG.
14260
14261 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14262 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14263
39c59c35
TMQMF
142642012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14265
14266 [BZ #13691]
14267 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14268 inptr and inend, rather than using last_ch.
14269
135ffda8
DM
142702012-04-02 David S. Miller <davem@davemloft.net>
14271
14272 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14273 * stdio-common/printf-parse.h (read_int): Change return type to
14274 'int', return -1 on INT_MAX overflow.
14275 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14276 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
14277 overflows INT_MAX. Check for overflow of in-format-string precision
14278 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
14279 SIZE_MAX not INT_MAX for integer overflow test.
14280 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14281 skip the construct in the format string but do not record anything.
14282 * stdio-common/bug22.c: Adjust to test both width/prevision
14283 INT_MAX overflow as well as total length INT_MAX overflow. Check
14284 explicitly for proper errno values.
14285
228c019e
TS
142862012-04-02 Thomas Schwinge <thomas@codesourcery.com>
14287
302cadd3
TS
14288 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
14289 CHAR_MAX.
14290 * string/test-strcmp.c [! WIDE]: Likewise.
14291 * time/tst-mktime2.c: Likewise for INT_MAX.
14292 * string/test-string.h: #include <sys/param.h> for MIN.
14293
228c019e
TS
14294 * csu/init-first.c (__libc_init_first): Call __ctype_init.
14295 * sysdeps/i386/init-first.c (init): Likewise.
14296 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14297 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14298 * sysdeps/sh/init-first.c (init): Likewise.
14299
cfa633f5
UD
143002012-04-01 Ulrich Drepper <drepper@gmail.com>
14301
14302 * po/ru.po: Update from translation team.
d1635ef8 14303 * po/vi.po: Likewise.
cfa633f5 14304
6cd0a5ea
SP
143052012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14306
14307 * resolv/nss_dns/dns-host.c: Merge copyright years.
14308
4b43400f
LD
143092012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14310
14311 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14312 Optimize memcpy with prefetch if
14313 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14314 src, dst pointers have unequal 16 byte alignments.
14315
48c41d04
SP
143162012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14317
14318 [BZ #13928]
14319 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14320 from a CNAME entry and return the minimum ttl for the query.
14321 (gaih_getanswer_slice): Likewise.
14322
b8dc394d
JL
143232012-03-30 Jeff Law <law@redhat.com>
14324
14325 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14326 due to long keys.
14327 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14328 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14329
2f5a5ed0
JL
14330 * resolv/nss_dns/dns-host.c: Update copyright year.
14331
1d39e359
UD
143322012-03-30 Ulrich Drepper <drepper@gmail.com>
14333
c030f70c 14334 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 14335 requests to save a system call. Fix check that all bytes are sent.
c030f70c 14336
1d39e359
UD
14337 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14338 comments for sendmmsg.
14339
143402012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
14341
14342 [BZ #13691]
14343 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14344 with only 1 character between 0x0041 and 0x01b0.
14345 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14346 * wcsmbs/tst-mbsnrtowcs.c: New file.
14347
20fde227
DM
143482012-03-29 David S. Miller <davem@davemloft.net>
14349
14350 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14351 small copies by hand.
14352
984a4237
JL
143532012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14354
14355 [BZ #13761]
14356 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14357 _nss_compat_initgroups_dyn): Fall back to malloc/free
14358 for large group memberships.
14359
18c9d62b
DM
143602012-03-28 David S. Miller <davem@davemloft.net>
14361
88d85d4f
DM
14362 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14363 that branches into memcpy.
14364 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14365 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14366 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14367 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14368 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14369 bits.
14370 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14371 implementation too.
14372 * sysdeps/sparc/mempcpy.S: New file.
14373
e5aa83e1
DM
14374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14375 the IFUNC routine in the libc case.
14376 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14377
88570753
DM
14378 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14379 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14380 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14381 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14382 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14383 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14384 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14385 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14386
249d7567
DM
14387 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14388 loop to 256 bytes instead of 64 bytes and fix test signedness.
14389
18c9d62b
DM
14390 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14391 * sysdeps/sparc/sparc32/Makefile: rather than here...
14392 * sysdeps/sparc/sparc64/Makefile: and here.
14393
05f3d1f6
UD
143942012-03-28 Ulrich Drepper <drepper@gmail.com>
14395
14396 * malloc/mallocbug.c: Avoid warnings about unused variables.
14397
86ae07a8
JL
143982012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14399
14400 [BZ #13760]
14401 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14402 in the right place. Discard and retry query if response is
14403 larger than input buffer size.
14404
41bf21a1
JM
144052012-03-28 Joseph Myers <joseph@codesourcery.com>
14406
d6270972
JM
14407 [BZ #369]
14408 [BZ #2678]
14409 [BZ #3866]
14410 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14411 x for large integer exponent.
14412 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14413 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14414 sign of result as needed afterwards.
14415 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14416 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14417 result for underflowing pow the same as for overflow.
14418 (__kernel_standard_l): Handle powl overflow and underflow here
14419 rather than calling __kernel_standard.
14420 * math/libm-test.inc (pow_test): Add more tests.
14421
414fca03 14422 [BZ #3868]
41bf21a1
JM
14423 [BZ #13879]
14424 [BZ #13910]
14425 [BZ #13911]
14426 [BZ #13912]
14427 [BZ #13913]
14428 [BZ #13915]
14429 [BZ #13916]
14430 [BZ #13917]
14431 [BZ #13918]
14432 [BZ #13919]
14433 [BZ #13920]
14434 [BZ #13921]
14435 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14436 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14437 (__kernel_standard_l): New function.
14438 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14439 __kernel_standard.
14440 * math/w_acosl.c (__acosl): Likewise.
14441 * math/w_asinl.c (__asinl): Likewise.
14442 * math/w_atan2l.c (__atan2l): Likewise.
14443 * math/w_atanhl.c (__atanhl): Likewise.
14444 * math/w_coshl.c (__coshl): Likewise.
14445 * math/w_exp10l.c (__exp10l): Likewise.
14446 * math/w_exp2l.c (__exp2l): Likewise.
14447 * math/w_fmodl.c (__fmodl): Likewise.
14448 * math/w_hypotl.c (__hypotl): Likewise.
14449 * math/w_j0l.c (__j0l, __y0l): Likewise.
14450 * math/w_j1l.c (__j1l, __y1l): Likewise.
14451 * math/w_jnl.c (__jnl, __ynl): Likewise.
14452 * math/w_lgammal.c (__lgammal): Likewise.
14453 * math/w_log10l.c (__log10l): Likewise.
14454 * math/w_log2l.c (__log2l): Likewise.
14455 * math/w_logl.c (__logl): Likewise.
14456 * math/w_powl.c (__powl): Likewise.
14457 * math/w_remainderl.c (__remainderl): Likewise.
14458 * math/w_scalbl.c (sysv_scalbl): Likewise.
14459 * math/w_sinhl.c (__sinhl): Likewise.
14460 * math/w_sqrtl.c (__sqrtl): Likewise.
14461 * math/w_tgammal.c (__tgammal): Likewise.
14462 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14463 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14464 * math/libm-test.inc (acos_test): Add more tests.
14465 (acosh_test): Likewise.
14466 (asin_test): Likewise.
14467 (atanh_test): Likewise.
14468 (exp_test): Likewise.
14469 (exp10_test): Likewise.
14470 (exp2_test): Likewise.
14471 (expm1_test): Likewise.
14472 (lgamma_test): Likewise.
14473 (log_test): Likewise.
14474 (log10_test): Likewise.
14475 (log1p_test): Likewise.
14476 (log2_test): Likewise.
14477 (pow_test): Do not allow some spurious overflow exceptions.
14478 (sqrt_test): Add more tests.
14479 (tgamma_test): Likewise.
14480 (y0_test): Likewise.
14481 (y1_test): Likewise.
14482 (yn_test): Likewise.
14483
dd62fda6
AB
144842012-03-27 Anton Blanchard <anton@samba.org>
14485
14486 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14487 MAP_HUGETLB.
14488 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14489 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14490 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14491
1e3cdfda
AJ
144922012-03-27 David S. Miller <davem@davemloft.net>
14493
b855ab85
DM
14494 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14495
1e3cdfda
AJ
14496 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14497 have-as-vis3 check.
14498
144992012-03-27 Andreas Jaeger <aj@suse.de>
14500
14501 * sysdeps/x86_64/elf/configure.in: Moved to ...
14502 * sysdeps/x86_64/configure.in: ... here.
14503 * sysdeps/x86_64/elf/start.S: Moved to ...
14504 * sysdeps/x86_64/start.S: ... here.
14505 * sysdeps/x86_64/elf/configure: Delete.
14506
14507 * sysdeps/x86_64/configure.in: Merge contents from
14508 sysdeps/i386/configure.in (without i686 check).
14509
14510 * sysdeps/i386/elf/Versions: Merge into ...
14511 * sysdeps/i386/Versions: ... this.
14512 * sysdeps/i386/elf/Versions: Delete file.
14513 * sysdeps/i386/elf/start.S: Moved to ...
14514 * sysdeps/i386/start.S: ...here.
14515 * sysdeps/i386/elf/configure.in: Merge into...
14516 * sysdeps/i386/configure.in: ...here.
14517 * sysdeps/i386/elf/configure.in: Delete file.
14518 * sysdeps/i386/elf/configure: Delete file.
14519
14520 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14521 * debug/backtracesyms.c: ... here.
14522 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14523 * debug/backtracesymsfd.c: ... here.
14524 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14525 * sysdeps/generic/ifunc-sel.h: ... here.
14526
14527 * sysdeps/unix/i386/start.c: Delete file.
14528 * sysdeps/unix/sparc/start.c: Delete file.
14529 * sysdeps/unix/start.c: Delete file.
14530
14531 * sysdeps/sh/elf/configure.in: Moved to ...
14532 * sysdeps/sh/configure.in: ... here.
14533 * sysdeps/sh/elf/start.S: Moved to ...
14534 * sysdeps/sh/start.S: ... here.
14535 * sysdeps/sh/elf/configure: Delete file.
14536
14537 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14538 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14539 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14540 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14541 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14542 * sysdeps/powerpc/powerpc64/start.S: here.
14543 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14544 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14545 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14546 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14547 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14548
14549 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14550 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14551 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14552 * sysdeps/powerpc/powerpc32/start.S: ... here.
14553 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14554 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14555 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14556
14557 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14558 * sysdeps/powerpc/ifunc-sel.h: ... here.
14559 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14560 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14561
14562 * sysdeps/sparc/elf/configure.in: Moved to ...
14563 * sysdeps/sparc/configure.in: ... here.
14564 * sysdeps/sparc/elf/configure: Delete file.
14565 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14566 * sysdeps/sparc/sparc32/start.S: ... here.
14567 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14568 * sysdeps/sparc/sparc64/start.S: ... here.
14569 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14570 * sysdeps/sparc/sparc32/Makefile: ... this.
14571 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14572 * sysdeps/sparc/sparc64/Makefile: ... this.
14573
14574 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14575 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14576 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14577 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14578 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14579 * sysdeps/s390/s390-32/setjmp.S: ... here.
14580 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14581 * sysdeps/s390/s390-32/configure.in: ... here.
14582 * sysdeps/s390/s390-32/elf/configure: Delete file.
14583 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14584 * sysdeps/s390/s390-32/start.S: ... here.
14585
14586 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14587 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14588 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14589 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14590 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14591 * sysdeps/s390/s390-64/setjmp.S: ... here.
14592 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14593 * sysdeps/s390/s390-64/configure.in: ... here
14594 * sysdeps/s390/s390-64/elf/configure: Delete file.
14595 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14596 * sysdeps/s390/s390-64/start.S: ... here.
14597 * sysdeps/s390/s390-64/elf/configure: Delete.
14598
14599 * configure.in: Remove support for elf directories in sysdeps.
14600
14601 * configure: Regenerated.
14602 * sysdeps/i386/configure: Regenerated.
14603 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14604 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14605 * sysdeps/s390/s390-32/configure: Regenerated.
14606 * sysdeps/s390/s390-64/configure: Regenerated.
14607 * sysdeps/sh/configure: Regenerated.
14608 * sysdeps/sparc/configure: Regenerated.
14609 * sysdeps/x86_64/configure: Regenerated.
14610
a3f61311
AS
146112012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14612
c876e002
AS
14613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14614
a3f61311
AS
14615 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14616 denormal result into account.
14617
ac4c54f0
RM
146182012-03-25 Roland McGrath <roland@hack.frob.com>
14619
14620 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14621 Reported by Allan McRae <allan@archlinux.org>.
14622
6a9b9c02
JL
146232012-03-23 Jeff Law <law@redhat.com>
14624
14625 * nss/getnssent.c (__nss_getent): Fix typo.
14626
4c42a0c1
DM
146272012-03-23 David S. Miller <davem@davemloft.net>
14628
14629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14630
1532c7ac
L
146312012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14632
14633 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14634 to pad to uint64_t for each field.
14635 (dl_tls_index): Replace unsigned long with uint64_t.
14636
3ff42526
PP
146372012-03-23 Daniel Jacobowitz <dmj@google.com>
14638 Paul Pluzhnikov <ppluzhnikov@google.com>
14639
14640 [BZ #6528]
14641 * grp/Makefile (otherlibs): Don't set it.
14642 * inet/Makefile (otherlibs): Likewise.
14643 * login/Makefile (otherlibs): Likewise.
14644 * nscd/Makefile (otherlibs): Likewise.
14645 * posix/Makefile (otherlibs): Likewise.
14646 * pwd/Makefile (otherlibs): Likewise.
14647 * rt/Makefile (otherlibs): Likewise.
14648 * sunrpc/Makefile (otherlibs): Likewise.
14649 * nss/Makefile (otherlibs): Likewise.
14650 Add libnss_files to routines and static-only-routines.
14651 ($(objpfx)getent): Remove rule.
14652 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14653 static-only-routines.
14654
7c69cd14
JM
146552012-03-22 Joseph Myers <joseph@codesourcery.com>
14656
14657 [BZ #13892]
14658 * math/s_cexp.c: Include <float.h>.
14659 (__cexp): Handle exp result overflowing not necessarily
14660 overflowing both real and imaginary parts of result.
14661 * math/s_cexpf.c: Likewise.
14662 * math/s_cexpl.c: Likewise.
14663 * math/libm-test.inc (cexp_test): Add more tests.
14664 * sysdeps/i386/fpu/libm-test-ulps: Update.
14665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14666
81b035fe
L
146672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14668
14669 * include/link.h (ELFW): New macro.
14670 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14671 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14672
1da7940c
L
146732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14674
14675 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14676 with uint64_t.
14677
b749dbb9
L
146782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14679
14680 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14681 declaration.
14682 (struct La_x32_retval): Likewise.
14683
2ff87f3f
L
146842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14685
14686 * sysdeps/x86_64/preconfigure.in: New file.
14687 * sysdeps/x86_64/preconfigure: New generated file.
14688
c0df8e69
JM
146892012-03-22 Joseph Myers <joseph@codesourcery.com>
14690
48e44791
JM
14691 [BZ #13824]
14692 * math/e_exp2l.c: Include <float.h>.
14693 (__ieee754_exp2l): Handle overflow and underflow cases
14694 separately. Only pass fractional part of argument to
14695 __ieee754_expl.
14696 * math/libm-test.inc (exp2_test): Add more tests.
14697
c0df8e69
JM
14698 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14699 negating x to take absolute value.
14700 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14701 Likewise.
14702 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14703 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14704 Likewise.
14705 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14706 computing low part if x was negated.
14707 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14708
c8e43ba7
L
147092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14710
14711 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14712 la_x32_gnu_pltexit.
14713 (pltexit): Cast int_retval to ptrdiff_t.
14714 * elf/tst-auditmod3b.c: Likewise.
14715 * elf/tst-auditmod4b.c: Likewise.
14716 * elf/tst-auditmod5b.c: Likewise.
14717 * elf/tst-auditmod6b.c: Likewise.
14718 * elf/tst-auditmod6c.c: Likewise.
14719 * elf/tst-auditmod7b.c: Likewise.
14720
14721 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14722 and x32_gnu_pltexit.
14723
14724 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14725 __ELF_NATIVE_CLASS.
14726 (La_x32_regs): New macro.
14727 (La_x32_retval): Likewise.
14728 (la_x32_gnu_pltenter): New function prototype.
14729 (la_x32_gnu_pltexit): Likewise.
14730
7998fa78
AS
147312012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14732
dcb33988
AS
14733 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14734 exponent.
14735
233fc563
AS
14736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14737
7998fa78
AS
14738 * configure.in (libc_cv_cc_nofma): Check for option to disable
14739 generation of FMA instructions.
14740 * configure: Regenerate.
14741 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14742 * sysdeps/ieee754/dbl-64/Makefile: New file.
14743 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14744 Remove brandred-fma4.
14745 (CFLAGS-brandred-fma4.c): Remove.
14746 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14747 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14748 define.
14749 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14750 define.
14751
8e95c99a
L
147522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14753
14754 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14755 LLONG_MAX != LONG_MAX.
14756 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14757 (_fitoa_word): Likewise.
14758 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14759 LLONG_MAX != LONG_MAX.
14760 * stdio-common/_itowa.h: Include <_itoa.h>.
14761 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14762 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14763 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14764 only if not defined.
14765 (_ITOA_WORD_TYPE): Likewise.
14766 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14767 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14768
6f4db457
DM
147692012-03-21 David S. Miller <davem@davemloft.net>
14770
14771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14772
7785fe5a
L
147732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14774
14775 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14776 of x86_64 when setting libc_cv_slibdir, libdir and
14777 libc_cv_localedir.
14778 * sysdeps/unix/sysv/linux/configure: Regenerated.
14779
4535cd55
JM
147802012-03-21 Joseph Myers <joseph@codesourcery.com>
14781
14782 * manual/lang.texi (Old Varargs): Remove section.
14783 (How Variadic): Update menu.
14784 (va_start): Do not mention varargs.h.
14785
17228132
TS
147862012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14787 Joseph Myers <joseph@codesourcery.com>
14788
14789 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14790 link test.
14791 * configure: Regenerated.
14792
8149f976
TS
147932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14794
05f3d1f6
UD
14795 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14796 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14797 conformtest.pl
8149f976 14798
1a4ac776
JM
147992012-03-21 Joseph Myers <joseph@codesourcery.com>
14800
be22ce65
JM
14801 * NOTES: Remove.
14802 * Makefile (files-for-dist): Remove NOTES.
14803 (NOTES): Remove rule.
14804 * README: Don't refer to NOTES.
14805 * manual/creature.texi: Don't include macros.texi.
14806 * manual/intro.texi (creature.texi): Remove comment referring to
14807 NOTES.
14808
40b601fb
JM
14809 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14810 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14811 * configure: Regenerated.
14812 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14813 LIBC_TRY_CC_OPTION.
14814 (libc_cv_as_i686): Likewise.
14815 (libc_cv_cc_avx): Likewise.
14816 (libc_cv_cc_sse2avx): Likewise.
14817 (libc_cv_cc_fma4): Likewise.
14818 (libc_cv_cc_novzeroupper): Likewise.
14819 * sysdeps/i386/configure: Regenerated.
14820
1a4ac776
JM
14821 [BZ #13883]
14822 * sysdeps/i386/fpu/s_cexp.S: Remove.
14823 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14824 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14825 * math/libm-test.inc (cexp_test): Add more tests.
14826 * sysdeps/i386/fpu/libm-test-ulps: Update.
14827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14828
a458e7fe
AM
148292012-03-21 Allan McRae <allan@archlinux.org>
14830
14831 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14832
0cb7efc5
JM
148332012-03-21 Joseph Myers <joseph@codesourcery.com>
14834
14835 [BZ #13871]
14836 * math/w_exp2.c: Do not include <float.h>.
14837 (o_threshold, u_threshold): Remove.
14838 (__exp2): Calculate result before checking finiteness and calling
14839 __kernel_standard.
14840 * math/w_exp2f.c: Likewise.
14841 * math/w_exp2l.c: Likewise.
14842 * math/libm-test.inc (exp2_test): Require overflow exception for
14843 1e6 input.
2460d3aa
JM
14844
14845 [BZ #3866]
14846 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14847 range of signed 64-bit integers before using fistpll. Remove
14848 checks for whether integers fit in mantissa bits.
14849 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14850 the range of signed 32-bit integers before using fistpl. Remove
14851 checks for whether integers fit in mantissa bits.
14852 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14853 (__ieee754_powl): Test for y outside the range of signed 64-bit
14854 integers before using fistpll. Reduce 64-bit values to 63-bit
14855 ones as needed.
14856 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14857 divide-by-zero is raised for zero to large negative powers.
14858 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14859 (__ieee754_powl): Test for y outside the range of signed 64-bit
14860 integers before using fistpll. Reduce 64-bit values to 63-bit
14861 ones as needed.
14862 * math/libm-test.inc (pow_test): Add more tests.
14863
eb96ffb0
L
148642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14865
14866 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14867 <stdio-common/_itoa.h>.
14868 * debug/segfault.c: Likewise.
14869 * elf/dl-cache.c: Likewise.
14870 * elf/dl-minimal.c: Likewise.
14871 * elf/dl-misc.c: Likewise.
14872 * elf/dl-sysdep.c: Likewise.
14873 * elf/dl-version.c: Likewise.
14874 * elf/rtld.c: Likewise.
14875 * hurd/hurdsock.c: Likewise.
14876 * hurd/lookup-retry.c: Likewise.
14877 * malloc/malloc.c: Likewise.
14878 * malloc/mtrace.c: Likewise.
14879 * nscd/nscd_getgr_r.c: Likewise.
14880 * nscd/nscd_getpw_r.c: Likewise.
14881 * nscd/nscd_getserv_r.c: Likewise.
14882 * posix/getopt_init.c: Likewise.
14883 * posix/wordexp.c: Likewise.
14884 * stdio-common/_itoa.c: Likewise.
14885 * stdio-common/printf_fphex.c: Likewise.
14886 * stdio-common/vfprintf.c: Likewise.
14887 * string/_strerror.c: Likewise.
14888 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14889 * sysdeps/i386/i686/hp-timing.h: Likewise.
14890 * sysdeps/mach/_strerror.c: Likewise.
14891 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14892 * sysdeps/mach/hurd/sethostid.c: Likewise.
14893 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14894 * sysdeps/mach/xpg-strerror.c: Likewise.
14895 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14896 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14897 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14898 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14899 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14900 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14901 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14902 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14903 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14904 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14905 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14906 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14907 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14908 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14909 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14910 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14911 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14912 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14913 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14914 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14915 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14916
14917 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14918
14919 * stdio-common/_itoa.h: Moved to ...
14920 * sysdeps/generic/_itoa.h: Here.
14921
14922 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14923
14924 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14925 instead of "_itoa.h" and "_itowa.h".
14926 * stdio-common/vfprintf.: Likewise.
14927
d1af992d
L
149282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14929
14930 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14931 <bits/wordsize.h>.
14932 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14933 (__signbit): Likwise.
14934 (llrintf): Likwise.
14935 (llrint): Likwise.
14936
114883e0
L
149372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14938
14939 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14940 __WORDSIZE != 64.
14941
c135cc1b
JM
149422012-03-20 Joseph Myers <joseph@codesourcery.com>
14943
14944 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14945 OVERFLOW_EXCEPTION_OK.
14946 * math/libm-test.inc ("Philosophy"): Update comment about
14947 exception testing.
14948 (OVERFLOW_EXCEPTION): Define.
14949 (OVERFLOW_EXCEPTION_OK): Likewise.
14950 (INVALID_EXCEPTION_OK): Renumber.
14951 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14952 (IGNORE_ZERO_INF_SIGN): Likewise.
14953 (test_exceptions): Handle FE_OVERFLOW.
14954 (exp10_test): Expect overflow exceptions.
14955 (exp2_test): Likewise.
14956 (expm1_test): Likewise.
14957 (nextafter_test): Likewise.
14958 (pow_test): Likewise.
14959 (scalbn_test): Likewise.
14960 (scalbln_test): Likewise.
14961
95443d88
L
149622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14963
14964 * sysdeps/x86_64/bits/atomic.h
14965 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14966 64bit integer.
14967 (atomic_exchange_acq): Likewise.
14968 (__arch_exchange_and_add_body): Likewise.
14969 (__arch_add_body): Likewise.
14970 (atomic_add_negative): Likewise.
14971 (atomic_add_zero): Likewise.
14972
490df6c4
L
149732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14974
c2722551 14975 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
14976 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14977
5e52b189
L
149782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14979
14980 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14981 Check __x86_64__ instead of __WORDSIZE.
14982
a9879d4c
L
149832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14984
14985 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14986
5df98260
DM
149872012-03-19 David S. Miller <davem@davemloft.net>
14988
e1497744
DM
14989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14990
5df98260
DM
14991 * sysdeps/sparc/fpu/fenv_private.h: New file.
14992 * sysdeps/sparc/fpu/math_private.h: Use it.
14993 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14994 Remove.
14995 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14996 (libc_feholdexcept_setroundl): Remove.
14997 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14998 Remove.
14999 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15000 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15001
b4c35121
L
150022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15003
15004 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15005 int64_t instead of long int.
15006 (INSERT_WORDS64): Likwise.
15007
56965fd7
L
150082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15009
15010 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15011 _Unwind_GetCFA return to _Unwind_Ptr first.
15012
83d1aec8
JM
150132012-03-19 Joseph Myers <joseph@codesourcery.com>
15014
1897ad44
JM
15015 [BZ #13629]
15016 * math/s_clog.c: Include <float.h>.
15017 (__clog): Scale large or subnormal inputs.
15018 * math/s_clogf.c: Likewise.
15019 * math/s_clogl.c: Likewise.
15020 * math/s_clog10.c: Include <float.h>.
15021 (M_LOG10_2): Define.
15022 (__clog10): Scale large or subnormal inputs.
15023 * math/s_clog10f.c: Likewise.
15024 * math/s_clog10l.c: Likewise.
15025 * math/libm-test.inc (clog_test): Add more tests.
15026 (clog10_test): Likewise.
15027 * sysdeps/i386/fpu/libm-test-ulps: Update.
15028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15029
7726d6a9
JM
15030 [BZ #11451]
15031 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15032 x and y.
15033 * math/libm-test.inc (atan2_test): Add another test.
15034
83d1aec8
JM
15035 * Makerules (common-objdir-compile): Remove.
15036 * sysdeps/unix/Makefile (config-generated): Do not add
15037 $(unix-generated) to variable.
15038 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15039 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15040 Remove rule.
15041 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15042 Likewise.
15043 [generic bits/local_lim.h] (before-compile): Do not append to
15044 variable.
15045 [generic bits/local_lim.h] (common-generated): Likewise.
15046 [generic sys/param.h] (before-compile): Do not append to variable.
15047 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15048 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15049 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15050 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15051 include.
15052 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15053 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15054 [generic sys/param.h] ($(addprefix
15055 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15056 [generic sys/param.h] (common-generated): Do not append to
15057 variable.
15058 [generic sys/param.h] (sysdep_headers): Likewise.
15059 [generic bits/errno.h] (before-compile): Do not append to
15060 variable.
15061 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15062 rule.
15063 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15064 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15065 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15066 [generic bits/errno.h] (common-generated): Do not append to
15067 variable.
15068 [generic bits/ioctls.h] (before-compile): Do not append to
15069 variable.
15070 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15071 rule.
15072 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15073 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15074 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15075 rule.
15076 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15077 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15078 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15079 [generic bits/ioctls.h] (common-generated): Do not append to
15080 variable.
15081 [generic sys/syscall.h] (syscall.h): Remove variable.
15082 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15083 rule.
15084 [generic sys/syscall.h] (before-compile): Do not append to
15085 variable.
15086 [generic sys/syscall.h] (common-generated): Likewise.
15087 * sysdeps/unix/errnos-tmpl.c: Remove file.
15088 * sysdeps/unix/errnos.awk: Likewise.
15089 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15090 * sysdeps/unix/ioctls.awk: Likewise.
15091 * sysdeps/unix/mk-local_lim.c: Likewise.
15092 * sysdeps/unix/snarf-ioctls: Likewise.
15093
4851a949
RH
150942012-03-19 Richard Henderson <rth@twiddle.net>
15095
bd37f2ee
RH
15096 * sysdeps/i386/fpu/fenv_private.h: New file.
15097 * sysdeps/i386/fpu/math_private.h: Use it.
15098 (math_opt_barrier, math_force_eval): Remove.
15099 (libc_feholdexcept_setround_53bit): Remove.
15100 (libc_feupdateenv_53bit): Remove.
15101 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15102 (math_opt_barrier, math_force_eval): Remove.
15103 (libc_feholdexcept): Remove.
15104 (libc_feholdexcept_setround): Remove.
15105 (libc_fetestexcept, libc_fesetenv): Remove.
15106 (libc_feupdateenv_test): Remove.
15107 (libc_feupdateenv, libc_feholdsetround): Remove.
15108 (libc_feresetround): Remove.
15109
d0adc922
RH
15110 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15111 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15112
0fe0f1f8
RH
15113 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15114 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15115 (libc_feupdateenv_testl): New.
15116 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15117 (libc_feupdateenv_testf): New.
15118 (libc_feupdateenv): Use libc_feupdateenv_test.
15119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15120 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15121
eb92c487
RH
15122 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15123 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15124 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15125 (libc_feresetround_noex): New.
15126 (libc_feresetround_noexf): New.
15127 (libc_feresetround_noexl): New.
15128 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15129 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15130 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15131 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15132 SET_RESTORE_ROUND.
15133 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15134 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15135 (__cos): Likewise.
15136 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15137 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15138 SET_RESTORE_ROUND_NOEX.
15139 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15140 SET_RESTORE_ROUND_NOEXF.
15141 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15142 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15143 (libc_feholdsetroundf): New.
15144 (libc_feresetround, libc_feresetroundf): New.
15145
7d2e8012
RH
15146 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15147 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15148 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15149
b4dabbb4
RH
15150 * sysdeps/generic/math_private.h: Include <fenv.h>.
15151 (default_libc_feholdexcept): New.
15152 (default_libc_feholdexcept_setround): New.
15153 (default_libc_fesetenv, default_libc_feupdateenv): New.
15154 (libc_feholdexcept): Only define if undefined.
15155 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15156 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15157 (libc_feholdexcept_setroundl): Likewise.
15158 (libc_feholdexcept_setround_53bit): Likewise.
15159 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15160 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15161 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15162 (libc_feupdateenv_53bit): Likewise.
15163 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15164 (libc_feholdexcept): Convert from macro to inline function.
15165 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15166 (libc_fesetenv, libc_feupdateenv): Likewise.
15167
4851a949
RH
15168 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15169 not previously defined.
15170 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15171 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15172 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15173 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15174 * sysdeps/ieee754/flt-32/math_private.h: New file.
15175 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15176 math_private.h below SET_FLOAT_WORD.
15177 (__isnan, __isinf_ns, __finite): Remove.
15178 (__isnanf, __isinf_nsf, __finitef): Remove.
15179
e79d442e
AS
151802012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15181
15182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15183
90b80344
DM
151842012-03-17 David S. Miller <davem@davemloft.net>
15185
15186 [BZ #6471]
15187 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15188 for 2.16.
15189
edc21804
DM
151902012-03-16 David S. Miller <davem@davemloft.net>
15191
77e927af
DM
15192 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15193 warnings.
15194
374976dd
DM
15195 [BZ #6471]
15196 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15197 properly.
15198 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15199 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15200 sysdep_routines when subdir is sysvipc.
15201 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15202 __getshmlba helper.
15203
edc21804
DM
15204 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15205
473c3ef3
L
152062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15207
15208 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15209 [__LP64__].
15210
eb0f39b6
L
152112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15212
15213 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15214 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15215 (__lround): Renamed to ...
15216 (__llround): This. Replace long int with long long int.
15217 Define lround functions as aliases of llround functions.
15218 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15219
6b6cd74b
L
152202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15221
15222 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15223 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15224 adresses to uintptr_t. Replace "long int" and "unsigned long
15225 int" with "greg_t" on va_arg.
15226
f1a77b01
L
152272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15228
15229 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15230 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15231
15232 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15233 Move e_machine check before EI_CLASS check. Handle x32
15234 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15235 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15236 SKIP_EM_IA_64 and include
15237 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15238
15239 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15240 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15241 (add_system_dir): New macro.
15242
15243 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15244 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15245
11b90b9f
JM
152462012-03-16 Joseph Myers <joseph@codesourcery.com>
15247
c36e1d23
JM
15248 [BZ #2551]
15249 [BZ #2552]
15250 [BZ #2553]
15251 [BZ #2554]
15252 [BZ #2562]
15253 [BZ #2563]
15254 [BZ #2565]
15255 [BZ #2566]
15256 [BZ #2576]
15257 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15258 (y0): Likewise.
15259 * math/w_j0f.c (j0f): Likewise.
15260 (y0f): Likewise.
15261 * math/w_j0l.c (__j0l): Likewise.
15262 (__y0l): Likewise.
15263 * math/w_j1.c (j1): Likewise.
15264 (y1): Likewise.
15265 * math/w_j1f.c (j1f): Likewise.
15266 (y1f): Likewise.
15267 * math/w_j1l.c (__j1l): Likewise.
15268 (__y1l): Likewise.
15269 * math/w_jn.c (jn): Likewise.
15270 (yn): Likewise.
15271 * math/w_jnf.c (jnf): Likewise.
15272 (ynf): Likewise.
15273 * math/w_jnl.c (__jnl): Likewise.
15274 (__ynl): Likewise.
15275 * math/libm-test.inc (j0_test): Add more tests.
15276 (j1_test): Likewise.
15277 (jn_test): Likewise. Add trailing semicolon to existing test.
15278 (y0_test): Likewise.
15279 (y1_test): Likewise.
15280 * sysdeps/i386/fpu/libm-test-ulps: Update.
15281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15282
11b90b9f
JM
15283 [BZ #13851]
15284 [BZ #13854]
15285 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15286 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15287 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15288 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
15289 (__tanl): Set errno for infinite argument.
15290 * sysdeps/i386/fpu/mptan.c: Remove.
15291 * sysdeps/i386/fpu/s_tan.S: Likewise.
15292 * sysdeps/i386/fpu/s_tanl.S: Likewise.
15293 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
15294 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15295 * math/libm-test.inc (tan_test): Add more tests and enable more
15296 tests for double and long double.
15297 * sysdeps/i386/fpu/libm-test-ulps: Update.
15298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15299
6a1bd2a1
JK
153002012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15301
15302 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15303 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15304
10a803e0
RM
153052012-03-16 Roland McGrath <roland@hack.frob.com>
15306
15307 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
15308 * configure.in: Use it for both main tree and add-ons.
15309 * configure: Regenerated.
15310
f196c7f7
L
153112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15312
15313 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
15314
8848d99d
JM
153152012-03-16 Joseph Myers <joseph@codesourcery.com>
15316
96cbe7f4
JM
15317 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15318 in comment.
15319
8848d99d
JM
15320 [BZ #13851]
15321 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15322 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15323 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15324 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15325 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15326 infinite argument.
15327 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15328 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15329 != 0 for prec == 2.
15330 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15331 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15332 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15333 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15334 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15335 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15336 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15337 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15338 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15339 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15340 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15341 * math/libm-test.inc (cos_test): Add more tests and enable more
15342 tests for long double.
15343 (sin_test): Likewise.
15344 (sincos_test): Likewise.
15345 * sysdeps/i386/fpu/libm-test-ulps: Update.
15346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15347
dd7f4703
DM
153482012-03-16 David S. Miller <davem@davemloft.net>
15349
15350 * sysdeps/sparc/fpu/math_private.h: New file.
15351
006f1daa
DM
153522012-03-15 David S. Miller <davem@davemloft.net>
15353
c0c83bc8
DM
15354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15355 file.
e6a62e18 15356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
15357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15358 file.
e6a62e18
DM
15359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15364 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15365 sysdep routines.
15366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15367
88cb87d9
DM
15368 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15369 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15370
006f1daa 15371 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
15372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15373 sparc-ifunc.h
006f1daa 15374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
15375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15376 Likewise.
15377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15378 Likewise.
006f1daa
DM
15379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
15382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15383 Likewise.
006f1daa
DM
15384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
15388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15389 Likewise.
15390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15391 Likewise.
006f1daa
DM
15392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15396 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15397 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15398 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15399 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15400 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15401 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15407 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15408 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15409 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15410 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15411 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15412 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15413 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15414 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15415 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15416
11e0098e
AS
154172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15418
15419 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15420 scaling.
15421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15422
e85b09d0
AJ
154232012-03-15 Andreas Jaeger <aj@suse.de>
15424
15425 [BZ #13852]
15426 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15427 ieee754/flt-32 implementation for sin, cos and sincos.
15428 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15429 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15430 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15431 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15432 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15433 ieee754/flt-32 implementation for tan.
15434
15435 * math/libm-test.inc (cos_test): Enable some large input tests for
15436 float as well
15437 (sin_test): Likewise.
15438 (sincos_test): Likewise.
15439 (tan_test): Add tests for large input.
15440
15441 * sysdeps/i386/fpu/libm-test-ulps: Update.
15442
81c64153
AJ
154432012-03-15 Andreas Jaeger <aj@suse.de>
15444
15445 [BZ #13658]
15446 * math/libm-test.inc (cos_test): Add more test cases.
15447 (sin_test): Likewise.
15448 (sincos_test): Likewise.
15449
7bbfa5c6
AJ
154502012-03-15 Andreas Jaeger <aj@suse.de>
15451
15452 [BZ #13837]
15453 * math/libm-test.inc (cos_test): Add a test case for large input
15454 value.
15455 (sin_test): Likewise.
15456 (sincos_test): Likewise.
15457
154582012-03-15 Andreas Jaeger <aj@suse.de>,
15459 Joseph Myers <joseph@codesourcery.com>
15460
15461 [BZ #13658]
0671f479 15462 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
15463 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15464 * sysdeps/i386/fpu/branred.c: Likewise.
15465 * sysdeps/i386/fpu/dosincos.c: Likewise.
15466 * sysdeps/i386/fpu/mpa.c: Likewise.
15467 * sysdeps/i386/fpu/s_cos.S: Likewise.
15468 * sysdeps/i386/fpu/s_sin.S: Likewise.
15469 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15470 * sysdeps/i386/fpu/sincos32.c: Likewise.
15471
15472 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15473 Define.
15474 (libc_feupdateenv_53bit): Define.
15475 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15476 Define.
15477 (libc_feupdateenv_53bit): Define.
15478
15479 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15480 53 bit (without extend i386 double precision).
15481
15482 * math/libm-test.inc (sincos_test): Add tests for large input.
15483 (sin): Likewise.
15484 (cos): Likewise.
15485
15486 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15487
9cad04ea
AS
154882012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15489
15490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15491
f7062b9a
DM
154922012-03-15 David S. Miller <davem@davemloft.net>
15493
15494 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15495 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15496 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15497 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
15509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15510 file.
f7062b9a 15511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
15512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15513 file.
f7062b9a 15514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
15515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15516 file.
f7062b9a 15517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
15518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15519 file.
f7062b9a
DM
15520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15521 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15522 fmin/fmax sysdep routines.
15523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15524
7bd951ff
DM
155252012-03-14 David S. Miller <davem@davemloft.net>
15526
559398ab
DM
15527 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15528 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15529 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15531 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15532 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15533 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15534 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15536 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15538 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15547 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15548 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15549 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15550 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15551 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15552 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15553 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15554 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15555 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15556 routines.
15557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15558 file.
559398ab 15559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
15560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15561 file.
559398ab 15562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
15563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15564 file.
559398ab 15565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
15566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15567 file.
559398ab 15568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
15569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15570 file.
559398ab 15571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
15572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15573 file.
15574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15575 file.
15576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15577 file.
15578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15579 file.
15580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15581 New file.
15582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15583 file.
15584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15585 file.
559398ab 15586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
15587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15588 file.
559398ab 15589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15591 file.
559398ab 15592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
15593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15594 file.
559398ab 15595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
15596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15597 VIS3 routines.
559398ab
DM
15598
15599 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15600 New file.
15601
5a1c1e32
DM
15602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15603
eae47a36
DM
15604 * sysdeps/sparc/configure.in: New file.
15605 * sysdeps/sparc/configure: Generate.
15606 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15607 * configure: Regenerate.
15608 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15609 * config.make.in (have-as-vis3): New.
15610 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15611 available use -Av9d instead of -Av9a.
15612 * sysdeps/sparc/sparc64/Makefile: Likewise.
15613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
15614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15615 New file.
15616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15617 file.
15618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15619 New file.
15620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15621 file.
eae47a36
DM
15622 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15623 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15624 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15625 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15626 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15627
c0c83bc8
DM
15628 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15629 fzeros/fnegs to load 0x80000000 into a float register instead of
15630 using the stack.
7bd951ff
DM
15631 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15632
bd951ccb
JM
156332012-03-14 Joseph Myers <joseph@codesourcery.com>
15634
15635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15636 bits/syscall.h.
15637 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15638 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15639 ($(inst_includedir)/bits/syscall.h): Remove rule.
15640 ($(objpfx)bits/syscall.d): Include instead of
15641 $(objpfx)syscall-list.d.
15642 (generated): Change syscall-list.h and syscall-list.d to
15643 bits/syscall.h and bits/syscall.d.
15644
bb4e6db2
RM
156452012-03-14 Roland McGrath <roland@hack.frob.com>
15646
15647 [BZ #13846]
15648 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15649
aa4a2ae1
JM
156502012-03-14 Joseph Myers <joseph@codesourcery.com>
15651
e456826d
JM
15652 [BZ #13841]
15653 * math/s_csqrt.c: Include <float.h>.
15654 (__csqrt): Scale large or subnormal inputs.
15655 * math/s_csqrtf.c: Likewise.
15656 * math/s_csqrtl.c: Likewise.
15657 * math/libm-test.inc (csqrt_test): Add more tests.
15658 * sysdeps/i386/fpu/libm-test-ulps: Update.
15659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15660
aa4a2ae1
JM
15661 [BZ #13840]
15662 * math/libm-test.inc (hypot_test): Add more tests.
15663
7c10fd35
DM
156642012-03-13 David S. Miller <davem@davemloft.net>
15665
15666 [BZ #13840]
15667 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15668 double-precision for the calculation instead of scaling.
15669
f453b98b
JM
156702012-03-13 Joseph Myers <joseph@codesourcery.com>
15671
15672 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15673 manipulate bits before adding and subtracting TWO52[sx].
15674 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15675 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15676 Likewise.
15677 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15678
09a3453f
DM
156792012-03-13 David S. Miller <davem@davemloft.net>
15680
8e59da90
DM
15681 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15682 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15683 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15684 rtld-global-offsets.h
15685 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15686
2a8ab7f2
DM
15687 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15688 large parameters.
15689
10f62770
DM
15690 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15691
5f0bdb18
DM
15692 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15693 'err' in the ifdef scope in which it is actually used.
15694
09a3453f
DM
15695 * nss/nss_db/db-init.c: Include string.h
15696
b4b2eb5e
DM
156972012-03-12 David S. Miller <davem@davemloft.net>
15698
98bb2f1c
DM
15699 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15700 masking out of the most significant byte of random value used.
15701 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15702 Fix coding style in previous change.
15703
b4b2eb5e
DM
15704 * sysdeps/unix/sysv/linux/kernel-features.h
15705 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15706 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15707 expression.
15708 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15709 later.
15710
6e226b09
DM
157112012-03-11 David S. Miller <davem@davemloft.net>
15712
a1bcbd40
DM
15713 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15714 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15715 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15716 for 'resultvar' otherwise things get truncated on 64-bit.
15717
cb9d6174
DM
15718 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15719 Fix masking out of the most significant byte of random value used.
15720
6e226b09
DM
15721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15722
058c132d
AS
157232012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15724
15725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15726
2d2cd515
DM
157272012-03-09 David S. Miller <davem@davemloft.net>
15728
15729 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15730 variables with appropriate CPP guards.
15731 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15732 frame pointer, not the stack pointer. Correct layout comments. Fix test
15733 on resulting framesize and the management of the outregs buffer for pltexit.
15734 Preserve floating point return values across _dl_call_pltexit call.
15735 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15736 framesize and the management of the outregs buffer for pltexit.
15737 Preserve floating point return values across _dl_call_pltexit
15738 call.
15739 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15740 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15741 (print_exit): Fix format string for return register value.
15742
9a07f9d0
JM
157432012-03-10 Joseph Myers <joseph@codesourcery.com>
15744
15745 * sunrpc/Makefile (others): Add rpcgen.
15746 ($(objpfx)rpcgen): Remove special build rule and dependency on
15747 libc.
15748 * sunrpc/rpcgen.c: New file.
15749
547b5e30
PE
157502012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15751
c524201a
PE
15752 [BZ #13673]
15753 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15754 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15755 * sysdeps/i386/crti.S: Likewise.
15756 * sysdeps/i386/crtn.S: Likewise.
15757 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15758 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15759 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15760 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15761 * sysdeps/sh/crti.S: Likewise.
15762 * sysdeps/sh/crtn.S: Likewise.
15763 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15764
7b6235f2
PE
15765 [BZ #13673]
15766 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15767 with URL.
15768 * locale/programs/locfile-kw.gperf: Likewise.
15769 * locale/programs/charmap-kw.h: Regenerated.
15770 * locale/programs/locfile-kw.h: Likewise.
15771
547b5e30
PE
15772 [BZ #13673]
15773 * intl/plural.y: Replace FSF snail mail address with URL.
15774 * intl/plural.c: Regenerated.
15775
5f0a5dae
RH
157762012-03-09 Richard Henderson <rth@twiddle.net>
15777
15778 * include/math_private.h: Remove file.
15779 * math/math_private.h: Move file ...
15780 * sysdeps/generic/math_private.h: ... here.
15781
b8c03620
RH
15782 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15783 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15784 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15785
4e234f5d 15786 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
15787 and <math_private.h>.
15788 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15789 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15790 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15791 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15792 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15793 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15794 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15795 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15796 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15797 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15799 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15800 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15801 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15802 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15803 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15804 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15805 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15806 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15807 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15808 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15809 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15810 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15811 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15812 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15813 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15814 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15815 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15816 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15817 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15818 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15819 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15820 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15821 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15822 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15823 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15824 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15825 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15826 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15827 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15828 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15829 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15830 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15831 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15832 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15833 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15834 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15835 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15836 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15837 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15838 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15839 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15840 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15841 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15842 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15843 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15844 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15845 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15846 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15847 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15848 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15849 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15850 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15851 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15852 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15853 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15854 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15855 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15856 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15857 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15858 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15859 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15860 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15861 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15862 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15863 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15864 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15865 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15866 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15867 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15868 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15869 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15870 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15871 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15872 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15873 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15874 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15875 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15876 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15877 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15878 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15879 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15880 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15881 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15882 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15883 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15884 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15885 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15886 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15887 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15888 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15889 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15890 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15891 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15892 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15893 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15894 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15895 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15896 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15897 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15898 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15899 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15900 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15901 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15902 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15903 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15904 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15905 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15906 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15907 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15908 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15909 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15910 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15911 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15912 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15913 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15914 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15915 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15916 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15917 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15918 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15919 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15920 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15921 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15922 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15923 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15924 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15925 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15926 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15927 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15928 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15929 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15930 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15931 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15932 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15933 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15934 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15935 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15936 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15937 * sysdeps/ieee754/k_standard.c: Likewise.
15938 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15939 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15940 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15941 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15942 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15943 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15944 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15945 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15946 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15947 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15948 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15949 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15950 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15951 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15952 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15953 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15954 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15955 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15956 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15957 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15958 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15959 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15960 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15961 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15962 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15963 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15964 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15965 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15966 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15967 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15968 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15969 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15970 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15971 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15972 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15973 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15974 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15975 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15976 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15977 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15978 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15979 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15980 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15981 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15982 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15983 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15984 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15985 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15986 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15987 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15988 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15989 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15990 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15991 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15992 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15993 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15994 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15995 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15996 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15997 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15998 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15999 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16000 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16001 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16002 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16003 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16004 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16005 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16006 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16007 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16008 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16009 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16010 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16011 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16012 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16013 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16014 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16015 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16016 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16017 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16018 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16019 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16020 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16021 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16022 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16023 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16024 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16025 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16026 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16027 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16028 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16029 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16030 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16031 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16032 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16033 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16034 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16035 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16036 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16037 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16038 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16039 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16040 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16041 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16042 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16043 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16044 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16045 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16046 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16047 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16048 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16049 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16050 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16051 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16052 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16053 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16054 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16055 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16056 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16057 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16058 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16059 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16060 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16061 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16062 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16063 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16064 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16065 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16066 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16067 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16068 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16069 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16070 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16071 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16072 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16073 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16074 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16075 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16076 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16077 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16078 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16079 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16080 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16081 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16082 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16083 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16084 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16085 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16086 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16087 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16088 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16089 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16090 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16091 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16092 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16093 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16094 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16095 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16096 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16097 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16098 * sysdeps/ieee754/s_lib_version.c: Likewise.
16099 * sysdeps/ieee754/s_matherr.c: Likewise.
16100 * sysdeps/ieee754/s_signgam.c: Likewise.
16101 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16102 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16103 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16104 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16105 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16106 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16107 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16108 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16109 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16110 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16111 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16112 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16113 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16114 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16115 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16116 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16117 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16118 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16119 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16120 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16121 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 16122
1991fa03
JM
161232012-03-09 Joseph Myers <joseph@codesourcery.com>
16124
16125 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16126 * sunrpc/rpc_main.c: Likewise.
16127 * sunrpc/rpc_svcout.c: Likewise.
16128
60d6f5a6
DM
161292012-03-09 David S. Miller <davem@davemloft.net>
16130
16131 * include/math_private.h: New file.
16132
4962050e
JM
161332012-03-09 Joseph Myers <joseph@codesourcery.com>
16134
02a6f887
JM
16135 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16136 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16137 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16138 from <bits/socket_type.h>.
16139 (enum __socket_type): Don't define here.
16140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16141 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16142 bits/socket_type.h.
16143
c6e013c1
JM
16144 [BZ #13566]
16145 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16146 checking __USE_GNU.
16147
4962050e
JM
16148 * Makerules ($(inst_includedir)/%.h): New rule.
16149 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16150 (install-others): Remove variable setting.
16151 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16152
38842f45
RH
161532012-03-08 Richard Henderson <rth@twiddle.net>
16154
67bb6da6
RH
16155 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16156 from macro to inline function; merge with the
16157 !__LIBC_INTERNAL_MATH_INLINES version.
16158 (__ieee754_sqrtf): Likewise.
16159
15194b4b
RH
16160 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16161 to inline function.
16162 (__rintf, __floor, __floorf): Likewise.
16163
64e21ede
RH
16164 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16165 macro to inline function.
16166 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16167
38842f45
RH
16168 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16169 not <math/math_private.h>.
16170
c64bf5fe
DM
161712012-03-08 David S. Miller <davem@davemloft.net>
16172
16173 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16174 copyright year.
16175 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16176
82d86f28
TS
161772012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16178
16179 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16180 normalization.
16181 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16182 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16183
aea5d727
UD
161842012-03-08 Ulrich Drepper <drepper@gmail.com>
16185
16186 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16187 be defined individually, they must be defined as a block. Define
16188 S for printing a string instead of hidint the different by using a
16189 macro for adding the 'l'.
16190 * stdio-common/tst-fphex-wide.c: Adjust.
16191
70bca0a3
MP
161922012-03-07 Marek Polacek <polacek@redhat.com>
16193
16194 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16195
65b81130
MP
161962012-03-08 Marek Polacek <polacek@redhat.com>
16197
16198 [BZ #13806]
16199 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16200 * stdio-common/tst-fphex.c: Define a few macros to make the
16201 test reusable. Use them.
16202 * stdio-common/tst-fphex-wide.c: New file.
16203
07037eeb
JM
162042012-03-08 Joseph Myers <joseph@codesourcery.com>
16205
a7a93d50
JM
16206 [BZ #6911]
16207 * manual/macros.texi (gnusystems): New macro.
16208 (nongnusystems): Likewise.
16209 (gnulinuxhurdsystems): Likewise.
16210 (gnuhurdsystems): Likewise..
16211 (gnulinuxsystems): Likewise.
16212 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16213 variants of the GNU system, not "GNU system".
16214 * manual/conf.texi: Likewise.
16215 * manual/errno.texi: Likewise. Update example of errno macro
16216 expansion.
16217 * manual/filesys.texi: Likewise.
16218 (getumask): Document as specific to GNU/Hurd.
16219 * manual/install.texi: Likewise. Reword some references to
16220 GNU/Linux.
16221 * manual/intro.texi: Likewise.
16222 * manual/io.texi: Likewise.
16223 (File Name Portability): Detail which constraints are inapplicable
16224 to all GNU systems and which are only inapplicable to GNU/Hurd.
16225 * manual/job.texi: Likewise.
16226 * manual/llio.texi: Likewise.
16227 (O_NOCTTY): Document as present on GNU/Linux.
16228 * manual/maint.texi: Likewise.
16229 * manual/memory.texi: Likewise.
16230 * manual/pattern.texi: Likewise.
16231 * manual/pipe.texi: Likewise.
16232 * manual/process.texi: Likewise.
16233 * manual/resource.texi: Likewise.
16234 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16235 child on GNU/Hurd.
16236 * manual/setjmp.texi: Likewise.
16237 * manual/signal.texi: Likewise.
16238 * manual/startup.texi: Likewise.
16239 * manual/stdio.texi: Likewise.
16240 * manual/terminal.texi: Likewise.
16241 (ONLCR): Document as POSIX.
16242 (OXTABS): Document availability on GNU/Linux as XTABS.
16243 (ONOEOT): Document availability separately from other bits.
16244 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16245 * manual/time.texi: Likewise.
16246 * manual/users.texi: Likewise.
16247 * INSTALL: Regenerated.
16248 * sysdeps/gnu/errlist.c: Regenerated.
16249
07037eeb
JM
16250 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16251 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16252 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16253 puts.
16254 * configure: Regenerated.
16255
d1d3431a
JM
162562012-03-07 Joseph Myers <joseph@codesourcery.com>
16257
af6a1e37
JM
16258 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16259 default includes instead of AC_HEADER_CHECK.
16260 * sysdeps/i386/configure: Regenerated.
16261
d1d3431a
JM
16262 [BZ #10716]
16263 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16264 * math/s_cacoshf.c (__cacoshf): Likewise.
16265 * math/s_cacoshl.c (__cacoshl): Likewise.
16266 * math/s_casinh.c (__casinh): Set signs of result from argument.
16267 * math/s_casinhf.c (__casinhf): Likewise.
16268 * math/s_casinhl.c (__casinhl): Likewise.
16269 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16270 (casinh_test): Add more tests.
16271 * sysdeps/i386/fpu/libm-test-ulps: Update.
16272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16273
482ff4da
UD
162742012-03-07 Ulrich Drepper <drepper@gmail.com>
16275
872fda05
UD
16276 * po/zh_TW.po: Update from translation team.
16277
a4300c7a
UD
16278 * login/Makefile (distribute): Remove variable.
16279 * catgets/Makefile: Likewise.
16280 * mach/Makefile: Likewise.
16281 * malloc/Makefile: Likewise.
16282 * misc/Makefile: Likewise.
16283 * iconv/Makefile: Likewise.
16284 * nscd/Makefile: Likewise.
16285 * hurd/Makefile: Likewise.
16286 * manual/Makefile: Likewise.
16287 * locale/Makefile: Likewise.
16288 * intl/Makefile: Likewise.
16289 * conform/Makefile: Likewise.
16290 * nss/Makefile: Likewise.
16291 * time/Makefile: Likewise.
16292 * soft-fp/Makefile: Likewise.
16293 * dirent/Makefile: Likewise.
16294 * gmon/Makefile: Likewise.
16295 * po/Makefile: Likewise.
16296 * rt/Makefile: Likewise.
16297 * socket/Makefile: Likewise.
16298 * math/Makefile: Likewise.
16299 * signal/Makefile: Likewise.
16300 * debug/Makefile: Likewise.
16301 * elf/Makefile: Likewise.
16302 * timezone/Makefile: Likewise.
16303 * stdlib/Makefile: Likewise.
16304 * iconvdata/Makefile: Likewise.
16305 * sunrpc/Makefile: Likewise.
16306 * io/Makefile: Likewise.
16307 * argp/Makefile: Likewise.
16308 * inet/Makefile: Likewise.
16309 * hesiod/Makefile: Likewise.
16310 * grp/Makefile: Likewise.
16311 * csu/Makefile: Likewise.
16312 * wctype/Makefile: Likewise.
16313 * crypt/Makefile: Likewise.
16314 * libio/Makefile: Likewise.
16315 * string/Makefile: Likewise.
16316 * nis/Makefile: Likewise.
16317 * resolv/Makefile: Likewise.
16318 * stdio-common/Makefile: Likewise.
16319 * wcsmbs/Makefile: Likewise.
16320 * dlfcn/Makefile: Likewise.
16321 * posix/Makefile: Likewise.
16322
3b7c4e74 16323 [BZ #6959]
482ff4da
UD
16324 * timezone/Makefile: Don't install timezone files, just the programs
16325 and scripts.
16326
f72ed77d
UD
163272012-03-06 Ulrich Drepper <drepper@gmail.com>
16328
a000466f
UD
16329 * nss/databases.def: Add missing gshadow entry.
16330
f72ed77d
UD
16331 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16332
a53b7a4e
MP
163332012-03-06 Marek Polacek <polacek@redhat.com>
16334
16335 [BZ #13726]
16336 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16337 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16338 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16339 * stdio-common/tst-long-dbl-fphex.c: New file.
16340
e9258400
DM
163412012-03-06 David S. Miller <davem@davemloft.net>
16342
16343 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16344 (set_obp_int): New function.
16345 (get_obp_int): New function.
16346 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
16347 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16348 Avoid unused variable warnings on 'val' and use builtin_expect.
16349 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16350 __builtin_expect.
e9258400
DM
16351 (INLINE_CLONE_SYSCALL): Likewise.
16352
3bd2c723
DM
163532012-03-05 David S. Miller <davem@davemloft.net>
16354
16355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16356
bbb78d03
AS
163572012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16358
884c5db4
AS
16359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16360
bbb78d03
AS
16361 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16362 only for |x| >= 40.
16363 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16364
1c9f702a 163652012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
16366
16367 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16368 Replace gettimeofday with __vdso_gettimeofday.
16369
7be16f82
RM
16370 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16371 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16372 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
16373
16374 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16375 time with __vdso_time.
16376
ed58a00f
JM
163772012-03-05 Joseph Myers <joseph@codesourcery.com>
16378
16379 * manual/lang.texi (size_t): Note types to which size_t may be
16380 equivalent with the GNU C Library, but do not describe when
16381 differences between them are significant.
16382
30ee4ced
AJ
163832012-03-05 Andreas Jaeger <aj@suse.de>
16384
16385 * sysdeps/i386/fpu/libm-test-ulps: Update.
16386
b7cd39e8
JM
163872012-03-05 Joseph Myers <joseph@codesourcery.com>
16388
16389 [BZ #3976]
16390 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16391 (__ieee754_pow): Save and restore rounding mode and use
16392 round-to-nearest for main computations.
16393 * math/libm-test.inc (pow_test_tonearest): New function.
16394 (pow_test_towardzero): Likewise.
16395 (pow_test_downward): Likewise.
16396 (pow_test_upward): Likewise.
16397 (main): Call the new functions.
16398 * sysdeps/i386/fpu/libm-test-ulps: Update.
16399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
16400
16401 [BZ #3976]
16402 * math/libm-test.inc (cosh_test_tonearest): New function.
16403 (cosh_test_towardzero): Likewise.
16404 (cosh_test_downward): Likewise.
16405 (cosh_test_upward): Likewise.
16406 (sinh_test_tonearest): Likewise.
16407 (sinh_test_towardzero): Likewise.
16408 (sinh_test_downward): Likewise.
16409 (sinh_test_upward): Likewise.
16410 (main): Call the new functions.
16411 * sysdeps/i386/fpu/libm-test-ulps: Update.
16412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16413
6c6a98c9
TV
164142012-03-05 Tom de Vries <tom@codesourcery.com>
16415
16416 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16417 default stack guard is set in last bytes.
16418 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16419
21bb2d2e 164202012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 16421
21bb2d2e 16422 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 16423
21bb2d2e
AJ
16424 [BZ #13656]
16425 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16426 possibly allocate from heap instead of stack.
16427 * stdio-common/bug-vfprintf-nargs.c: New file.
16428 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 16429
c6922934
AS
164302012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16431
16432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16433
bc957d53
MP
164342012-03-03 Marek Polacek <polacek@redhat.com>
16435
16436 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16437 * math/math_private.h: Likewise.
16438 * stdlib/tst-strtod.c: Likewise.
16439 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16440 * sysdeps/x86_64/bits/atomic.h: Likewise.
16441
6358490d
DM
164422012-03-02 David S. Miller <davem@davemloft.net>
16443
16444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16448 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16449 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16450 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16451 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16452
01ae168d
RM
164532012-03-02 Roland McGrath <roland@hack.frob.com>
16454
d9a17c07
RM
16455 [BZ #13792]
16456 * manual/examples/README: New file, says the example source files
16457 can be used under GPL>=2.
16458 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16459 line containing just "*/".
16460 * manual/examples/add.c: Add copyright header (GPL>=2).
16461 * manual/examples/argp-ex1.c: Likewise.
16462 * manual/examples/argp-ex2.c: Likewise.
16463 * manual/examples/argp-ex3.c: Likewise.
16464 * manual/examples/argp-ex4.c: Likewise.
16465 * manual/examples/atexit.c: Likewise.
16466 * manual/examples/db.c: Likewise.
16467 * manual/examples/dir.c: Likewise.
16468 * manual/examples/dir2.c: Likewise.
16469 * manual/examples/execinfo.c: Likewise.
16470 * manual/examples/filecli.c: Likewise.
16471 * manual/examples/filesrv.c: Likewise.
16472 * manual/examples/fmtmsgexpl.c: Likewise.
16473 * manual/examples/genpass.c: Likewise.
16474 * manual/examples/inetcli.c: Likewise.
16475 * manual/examples/inetsrv.c: Likewise.
16476 * manual/examples/isockad.c: Likewise.
16477 * manual/examples/longopt.c: Likewise.
16478 * manual/examples/memopen.c: Likewise.
16479 * manual/examples/memstrm.c: Likewise.
16480 * manual/examples/mkfsock.c: Likewise.
16481 * manual/examples/mkisock.c: Likewise.
16482 * manual/examples/mygetpass.c: Likewise.
16483 * manual/examples/pipe.c: Likewise.
16484 * manual/examples/popen.c: Likewise.
16485 * manual/examples/rprintf.c: Likewise.
16486 * manual/examples/search.c: Likewise.
16487 * manual/examples/select.c: Likewise.
16488 * manual/examples/setjmp.c: Likewise.
16489 * manual/examples/sigh1.c: Likewise.
16490 * manual/examples/sigusr.c: Likewise.
16491 * manual/examples/stpcpy.c: Likewise.
16492 * manual/examples/strdupa.c: Likewise.
16493 * manual/examples/strftim.c: Likewise.
16494 * manual/examples/strncat.c: Likewise.
16495 * manual/examples/subopt.c: Likewise.
16496 * manual/examples/swapcontext.c: Likewise.
16497 * manual/examples/termios.c: Likewise.
16498 * manual/examples/testopt.c: Likewise.
16499 * manual/examples/testpass.c: Likewise.
16500 * manual/examples/timeval_subtract.c: Likewise.
16501
01ae168d
RM
16502 [BZ #13792]
16503 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16504 function to ...
16505 * manual/timeval_subtract.c.texi: ... here, new file.
16506
49efa33d
DM
165072012-03-02 David S. Miller <davem@davemloft.net>
16508
16509 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16510
28afd92d
JM
165112012-03-02 Joseph Myers <joseph@codesourcery.com>
16512
804360ed
JM
16513 [BZ #3976]
16514 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16515 (__sin): Save and restore rounding mode and use round-to-nearest
16516 for all computations.
16517 (__cos): Save and restore rounding mode and use round-to-nearest
16518 for all computations.
16519 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16520 <fenv.h>.
16521 (tan): Save and restore rounding mode and use round-to-nearest for
16522 all computations.
16523 * math/libm-test.inc (cos_test_tonearest): New function.
16524 (cos_test_towardzero): Likewise.
16525 (cos_test_downward): Likewise.
16526 (cos_test_upward): Likewise.
16527 (sin_test_tonearest): Likewise.
16528 (sin_test_towardzero): Likewise.
16529 (sin_test_downward): Likewise.
16530 (sin_test_upward): Likewise.
16531 (tan_test_tonearest): Likewise.
16532 (tan_test_towardzero): Likewise.
16533 (tan_test_downward): Likewise.
16534 (tan_test_upward): Likewise.
16535 (main): Call the new functions.
16536 * sysdeps/i386/fpu/libm-test-ulps: Update.
16537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16538
a6d06d7b
JM
16539 [BZ #10135]
16540 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16541 small n, then large n, before computing and testing k+n.
16542 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16543 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16544 Likewise.
16545 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16546 Likewise.
16547 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16548 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16549 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16550 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16551 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16552 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16553 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16554 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16555 * math/libm-test.inc (scalbn_test): Add more tests.
16556 (scalbln_test): Likewise.
16557
07e12bb3
JM
16558 * manual/filesys.texi (mode_t): Describe constraints on size and
16559 signedness, not exact equivalence to a particular type.
16560 (ino_t): Likewise.
16561 (ino64_t): Likewise.
16562 (dev_t): Likewise.
16563 (nlink_t): Likewise.
16564 (blkcnt_t): Likewise.
16565 (blkcnt64_t): Likewise.
16566 * manual/llio.texi (off_t): Likewise.
16567
28afd92d
JM
16568 [BZ #3976]
16569 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16570 (__ieee754_exp): Save and restore rounding mode and use
16571 round-to-nearest for all computations.
16572 * math/libm-test.inc (exp_test_tonearest): New function.
16573 (exp_test_towardzero): Likewise.
16574 (exp_test_downward): Likewise.
16575 (exp_test_upward): Likewise.
16576 (main): Call the new functions.
16577 * sysdeps/i386/fpu/libm-test-ulps: Update.
16578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16579
b1eeb65d
CD
165802012-03-01 Chris Demetriou <cgd@google.com>
16581
16582 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16583 have predictable order.
16584
53362a4b
DM
165852012-03-01 David S. Miller <davem@davemloft.net>
16586
3c969083
DM
16587 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16588
759707de
DM
16589 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16590 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16591 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16592 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16593
dfdb8ff2
DM
16594 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16595 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16596 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16598 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16599 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16600 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16601 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16602 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16603
ead89f96
DM
16604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16605
7f66bd07
DM
16606 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16607 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16608 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16609
53362a4b
DM
16610 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16611 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16612 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16613 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16614 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16615 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16616 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16617 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16618 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16619 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16620 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16621 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16622 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16623 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16624 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16625 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16626 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16627 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16628 * sysdeps/sparc/elf/configure: Regenerated.
16629
7b1902cb
JM
166302012-03-01 Joseph Myers <joseph@codesourcery.com>
16631
bec039bc
JM
16632 * configure.in (AS, LD): Require binutils 2.20 or later.
16633 * configure: Regenerated.
16634 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16635 as required minimum version.
16636 * INSTALL: Regenerated.
16637
7b1902cb
JM
16638 [BZ #2541]
16639 [BZ #4108]
16640 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16641 before squaring exponent.
16642 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16643 bottom long double and 27 bits of top long double before squaring
16644 exponent.
16645 * math/libm-test.inc (erfc_test): Add more tests.
16646 * sysdeps/i386/fpu/libm-test-ulps: Update.
16647 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16649
f775c276
KT
166502012-03-01 Kai Tietz <ktietz@redhat.com>
16651
16652 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16653 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16654 containing bit-fields.
16655 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16656 * soft-fp/single.h (_FP_UNION_S): Likewise.
16657 * soft-fp/double.h (_FP_UNION_D): Likewise.
16658
5b8a4d4a
JM
166592012-02-29 Joseph Myers <joseph@codesourcery.com>
16660
0bab47b6
JM
16661 [BZ #13786]
16662 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16663 not include ../strcmp.S.
16664 [USE_AS_STRNCASECMP_L]: Likewise.
16665 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16666 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16667 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16668 (__strncasecmp_l_ia32): Define as alias to
16669 __strncasecmp_l_nonascii.
16670
0fcad3e2
JM
16671 [BZ #5794]
16672 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16673 * sysdeps/i386/fpu/libm-test-ulps: Update.
16674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16675
5b8a4d4a
JM
16676 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16678
8fdceb2e
JL
166792012-02-29 Jeff Law <law@redhat.com>
16680
16681 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16682 out of bounds read.
16683
1f393a11
MP
166842012-02-29 Marek Polacek <polacek@redhat.com>
16685
16686 [BZ #13706]
16687 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16688 * elf/Makefile: Add rules to run tst-unused-dep.out.
16689
8847f037
DM
166902012-02-28 David S. Miller <davem@davemloft.net>
16691
16692 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16693 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16694 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16695 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16696 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16697 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16698
169d7f11
JM
166992012-02-29 Joseph Myers <joseph@codesourcery.com>
16700
16701 * math/libm-test.inc (llround_test): Move one test from
16702 lround_test. Use TEST_f_L in moved test.
16703 (lround_test): Move misplaced test to llround_test. Add testcase
16704 from bug 2561.
16705
39adf059
UD
167062012-02-28 Ulrich Drepper <drepper@gmail.com>
16707
16708 * sysdeps/x86_64/fpu/e_expf.S: New file.
16709 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16710
71b5d1c5
SB
167112012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16712
16713 [BZ #13637]
16714 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16715 of remain_len that may cause incomplete multi-byte character and
16716 false match.
16717 * posix/bug-regex33.c: New file.
16718 * posix/Makefile (tests): Add bug-regex33.
16719
1f77f049
JM
167202012-02-28 Joseph Myers <joseph@codesourcery.com>
16721
16722 * manual/macros.texi: New file.
16723 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16724 * manual/libc.texinfo: Include macros.texi.
16725 * manual/creatute.texi: Likewise.
16726 * manual/install.texi: Likewise.
16727 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16728 @glibcadj{} in references to the GNU C Library.
16729 * manual/charset.texi: Likewise.
16730 * manual/conf.texi: Likewise.
16731 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16732 when not using those macros.
16733 * manual/creature.texi: Likewise.
16734 * manual/crypt.texi: Likewise.
16735 * manual/errno.texi: Likewise.
16736 * manual/filesys.texi: Likewise.
16737 * manual/header.texi: Likewise.
16738 * manual/install.texi: Likewise.
16739 * manual/intro.texi: Likewise.
16740 * manual/io.texi: Likewise.
16741 * manual/job.texi: Likewise.
16742 * manual/lang.texi: Likewise.
16743 * manual/libc.texiinfo: Likewise.
16744 * manual/llio.texi: Likewise.
16745 * manual/locale.texi: Likewise.
16746 * manual/maint.texi: Likewise.
16747 * manual/math.texi: Likewise.
16748 * manual/memory.texi: Likewise.
16749 * manual/message.texi: Likewise.
16750 * manual/nss.texi: Likewise.
16751 * manual/pattern.texi: Likewise.
16752 * manual/process.texi: Likewise.
16753 * manual/resource.texi: Likewise.
16754 * manual/search.texi: Likewise.
16755 * manual/setjmp.texi: Likewise.
16756 * manual/signal.texi: Likewise.
16757 * manual/socket.texi: Likewise.
16758 * manual/startup.texi: Likewise.
16759 * manual/stdio.texi: Likewise.
16760 * manual/string.texi: Likewise.
16761 * manual/sysinfo.texi: Likewise.
16762 * manual/syslog.texi: Likewise.
16763 * manual/terminal.texi: Likewise.
16764 * manual/time.texi: Likewise.
16765 * manual/users.texi: Likewise.
16766 * INSTALL: Regenerated.
16767 * NOTES: Regenerated.
d40c5d54 16768 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 16769
450bf206
AS
167702012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16771
16772 * include/dirent.h: Include <dirstream.h> before
16773 <dirent/dirent.h>.
16774
741a235b
DM
167752012-02-28 David S. Miller <davem@davemloft.net>
16776
16777 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16778 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16779 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16780 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16781
d6b5aa58
DM
167822012-02-27 David S. Miller <davem@davemloft.net>
16783
1aff59a3
DM
16784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16786 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16787 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16788
d6b5aa58
DM
16789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16790 frame pointer instead of stack pointer relative arg slot.
16791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16792 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16793 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16794
433f48bf
CD
167952012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16796
16797 [BZ #3992]
16798 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16799
d674b76d
DM
168002012-02-27 David S. Miller <davem@davemloft.net>
16801
16802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16806 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16807 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16808 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16809 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16810
0e7727f7
JM
168112012-02-27 Joseph Myers <joseph@codesourcery.com>
16812
16813 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16814 later. Allow versions 5-9.
43be4ca2 16815 * configure: Regenerated.
0e7727f7
JM
16816 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16817 required minimum version and 4.6 as recommended version. Do not
16818 mention bugs in GCC 2.7 and 2.8.
43be4ca2 16819 * INSTALL: Regenerated.
0e7727f7 16820
a78bc654
DM
168212012-02-27 David S. Miller <davem@davemloft.net>
16822
428d5830
DM
16823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16827 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16828 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16829 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16830 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16831
a78bc654
DM
16832 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16833 manipulate bits before adding and subtracting TWO112[sx].
16834 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16835
4579f81c
RM
168362012-02-27 Roland McGrath <roland@hack.frob.com>
16837
36c8acb4
RM
16838 [BZ #13775]
16839 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16840 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16841 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16842 being in POSIX, because they are in 1003.1-2008.
16843
84ad622b
RM
16844 * rt/tst-aio.c: Include <fcntl.h>.
16845 * rt/tst-aio7.c: Likewise.
16846 * rt/tst-aio64.c: Likewise.
16847
4579f81c
RM
16848 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16849
abd923db
JM
168502012-02-27 Joseph Myers <joseph@codesourcery.com>
16851
16852 * manual/install.texi (--with-headers): Describe headers as
16853 interface headers, not private headers.
16854 (Specific advice for GNU/Linux systems): Describe use of headers
16855 from "make headers_install", not private headers from older
16856 kernels.
43be4ca2 16857 * INSTALL: Regenerated.
abd923db
JM
16858 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16859 Change to 2.6.19.
16860 * sysdeps/unix/sysv/linux/configure: Regenerated.
16861
6664049b
JM
16862 * manual/llio.texi (fclean): Remove documentation.
16863
bb8b6697
JM
16864 * manual/Makefile (libc-texi-generated): New variable. Include
16865 version.texi.
16866 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16867 $(libc-texi-generated), not duplicated list of files.
16868 (version.texi, stamp-version): New rules.
16869 (realclean): Remove $(libc-texi-generated), not individual files
16870 from that list. Do not remove dir-add.texinfo.
16871 * manual/libc.texinfo: Comment out uses of edition numbers and
16872 references to printed manual. Remove last-updated dates.
16873 (EDITION): Comment out.
16874 (ISBN): Likewise.
16875 (VERSION, UPDATED): Remove.
16876 (version.texi): Include.
16877
12e5c3b9
AS
168782012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16879
16880 * sysdeps/posix/spawni.c: Include <signal.h>.
16881 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16882 * sysdeps/pthread/aio_fsync.c: Likewise.
16883
4efeffc1 168842012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 16885
ba63ba08
UD
16886 * conform/Makefile (tests): Run only when not cross-compiling and
16887 when fast-check is not defined.
16888
d94a4670
UD
16889 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16890 * conform/data/limits.h-data: Fixes for POSIX2008.
16891 * conform/run-conformtest.sh: Run all tests.
16892 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16893 headers.
16894 * include/bits/dlfcn.h: Likewise.
16895 * include/langinfo.h: Likewise.
16896 * include/monetary.h: Likewise.
16897 * include/sys/poll.h: Likewise.
16898
16899 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16900 for __USE_GNU.
16901 * posix/spawn.h: Define __need_sigset_t.
16902 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16903 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16904 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16905 to get sigevent_t only.
16906 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16907 only for __USE_GNU.
16908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16909 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16910 process_vm_writev only for __USE_GNU.
16911 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
16912
16913 * conform/Makefile: For now ignore errors from run-conformtest.
16914 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16915 POSIX to avoid namespace pollution. Don't prepend headers.
16916 * conform/data/aio.h-data: Fixes for POSIX testing.
16917 * conform/data/fcntl.h-data: Likewise.
16918 * conform/data/glob.h-data: Likewise.
16919 * conform/data/grp.h-data: Likewise.
16920 * conform/data/pthread.h-data: Likewise.
16921 * conform/data/pwd.h-data: Likewise.
16922 * conform/data/signal.h-data: Likewise.
16923 * conform/data/spawn.h-data: Likewise.
16924 * conform/data/stdio.h-data: Likewise.
16925 * conform/data/stdlib.h-data: Likewise.
16926 * conform/data/stropts.h-data: Likewise.
16927 * conform/data/sys/mman.h-data: Likewise.
16928 * conform/data/sys/stat.h-data: Likewise.
16929 * conform/data/sys/types.h-data: Likewise.
16930 * conform/data/sys/wait.h-data: Likewise.
16931 * conform/data/time.h-data: Likewise.
16932 * conform/data/unistd.h-data: Likewise.
16933 * conform/data/utime.h-data: Likewise.
16934
16935 * io/sys/stat.h: fchmod was always in POSIX.
16936 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16937 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16938 * rt/aio.h: Define __need_timespec before including <time.h>.
16939 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16940 struct. Add forward declaration of pthread_attr_t and use it in
16941 sigevent.
16942 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16943 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16944 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16945 always remove CLK_TCK definition.
16946
c20105c3
AS
169472012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16948
16949 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16950
7a270350
UD
169512012-02-25 Ulrich Drepper <drepper@gmail.com>
16952
31341567
UD
16953 * conform/run-conformtest.sh: New file.
16954 * conform/Makefile: Run run-conformtest for tests.
16955 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16956 support.
16957
16958 * conform/data/uchar.h-data: New file.
16959 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16960 * conform/data/arpa/inet.h-data: Likewise.
16961 * conform/data/assert.h-data: Likewise.
16962 * conform/data/complex.h-data: Likewise.
16963 * conform/data/cpio.h-data: Likewise.
16964 * conform/data/ctype.h-data: Likewise.
16965 * conform/data/dirent.h-data: Likewise.
16966 * conform/data/dlfcn.h-data: Likewise.
16967 * conform/data/errno.h-data: Likewise.
16968 * conform/data/fcntl.h-data: Likewise.
16969 * conform/data/float.h-data: Likewise.
16970 * conform/data/fmtmsg.h-data: Likewise.
16971 * conform/data/fnmatch.h-data: Likewise.
16972 * conform/data/ftw.h-data: Likewise.
16973 * conform/data/glob.h-data: Likewise.
16974 * conform/data/grp.h-data: Likewise.
16975 * conform/data/iconv.h-data: Likewise.
16976 * conform/data/inttypes.h-data: Likewise.
16977 * conform/data/langinfo.h-data: Likewise.
16978 * conform/data/libgen.h-data: Likewise.
16979 * conform/data/limits.h-data: Likewise.
16980 * conform/data/locale.h-data: Likewise.
16981 * conform/data/math.h-data: Likewise.
16982 * conform/data/monetary.h-data: Likewise.
16983 * conform/data/mqueue.h-data: Likewise.
16984 * conform/data/ndbm.h-data: Likewise.
16985 * conform/data/net/if.h-data: Likewise.
16986 * conform/data/netdb.h-data: Likewise.
16987 * conform/data/netinet/in.h-data: Likewise.
16988 * conform/data/nl_types.h-data: Likewise.
16989 * conform/data/poll.h-data: Likewise.
16990 * conform/data/pthread.h-data: Likewise.
16991 * conform/data/pwd.h-data: Likewise.
16992 * conform/data/regex.h-data: Likewise.
16993 * conform/data/sched.h-data: Likewise.
16994 * conform/data/search.h-data: Likewise.
16995 * conform/data/semaphore.h-data: Likewise.
16996 * conform/data/setjmp.h-data: Likewise.
16997 * conform/data/signal.h-data: Likewise.
16998 * conform/data/spawn.h-data: Likewise.
16999 * conform/data/stdarg.h-data: Likewise.
17000 * conform/data/stdio.h-data: Likewise.
17001 * conform/data/stdlib.h-data: Likewise.
17002 * conform/data/string.h-data: Likewise.
17003 * conform/data/strings.h-data: Likewise.
17004 * conform/data/stropts.h-data: Likewise.
17005 * conform/data/sys/ipc.h-data: Likewise.
17006 * conform/data/sys/mman.h-data: Likewise.
17007 * conform/data/sys/msg.h-data: Likewise.
17008 * conform/data/sys/resource.h-data: Likewise.
17009 * conform/data/sys/select.h-data: Likewise.
17010 * conform/data/sys/sem.h-data: Likewise.
17011 * conform/data/sys/shm.h-data: Likewise.
17012 * conform/data/sys/socket.h-data: Likewise.
17013 * conform/data/sys/stat.h-data: Likewise.
17014 * conform/data/sys/statvfs.h-data: Likewise.
17015 * conform/data/sys/time.h-data: Likewise.
17016 * conform/data/sys/timeb.h-data: Likewise.
17017 * conform/data/sys/times.h-data: Likewise.
17018 * conform/data/sys/types.h-data: Likewise.
17019 * conform/data/sys/uio.h-data: Likewise.
17020 * conform/data/sys/un.h-data: Likewise.
17021 * conform/data/sys/utsname.h-data: Likewise.
17022 * conform/data/sys/wait.h-data: Likewise.
17023 * conform/data/syslog.h-data: Likewise.
17024 * conform/data/tar.h-data: Likewise.
17025 * conform/data/termios.h-data: Likewise.
17026 * conform/data/utime.h-data: Likewise.
17027 * conform/data/utmpx.h-data: Likewise.
17028 * conform/data/varargs.h-data: Likewise.
17029 * conform/data/wchar.h-data: Likewise.
17030 * conform/data/wctype.h-data: Likewise.
17031 * conform/data/wordexp.h-data: Likewise.
17032
17033 * include/stropts.h: New file.
17034 * include/uchar.h: New file.
17035 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17036 * include/assert.h: Likewise.
17037 * include/ctype.h: Likewise.
17038 * include/dirent.h: Likewise.
17039 * include/dlfcn.h: Likewise.
17040 * include/fcntl.h: Likewise.
17041 * include/fnmatch.h: Likewise.
17042 * include/glob.h: Likewise.
17043 * include/grp.h: Likewise.
17044 * include/libio.h: Likewise.
17045 * include/locale.h: Likewise.
17046 * include/math.h: Likewise.
17047 * include/net/if.h: Likewise.
17048 * include/netdb.h: Likewise.
17049 * include/netinet/in.h: Likewise.
17050 * include/pthread.h: Likewise.
17051 * include/pwd.h: Likewise.
17052 * include/regex.h: Likewise.
17053 * include/sched.h: Likewise.
17054 * include/search.h: Likewise.
17055 * include/setjmp.h: Likewise.
17056 * include/signal.h: Likewise.
17057 * include/stdio.h: Likewise.
17058 * include/stdlib.h: Likewise.
17059 * include/string.h: Likewise.
17060 * include/sys/cdefs.h: Likewise.
17061 * include/sys/mman.h: Likewise.
17062 * include/sys/msg.h: Likewise.
17063 * include/sys/resource.h: Likewise.
17064 * include/sys/select.h: Likewise.
17065 * include/sys/socket.h: Likewise.
17066 * include/sys/stat.h: Likewise.
17067 * include/sys/statvfs.h: Likewise.
17068 * include/sys/time.h: Likewise.
17069 * include/sys/times.h: Likewise.
17070 * include/sys/uio.h: Likewise.
17071 * include/sys/utsname.h: Likewise.
17072 * include/sys/wait.h: Likewise.
17073 * include/termios.h: Likewise.
17074 * include/time.h: Likewise.
17075 * include/ulimit.h: Likewise.
17076 * include/unistd.h: Likewise.
17077 * include/utime.h: Likewise.
17078 * include/wchar.h: Likewise.
17079 * include/wctype.h: Likewise.
17080 * include/wordexp.h: Likewise.
17081
17082 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17083
7a270350
UD
17084 * time/time.h: TIME_UTC must be a macro.
17085 Make timespec_get available for ISO C11 only as well.
17086
7724defc
UD
170872012-02-24 Ulrich Drepper <drepper@gmail.com>
17088
17089 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17090 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17091
6b1d1d46
JM
170922012-02-24 Joseph Myers <joseph@codesourcery.com>
17093
17094 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 17095
0f8bbd69
JM
170962012-02-24 Joseph Myers <joseph@codesourcery.com>
17097
17098 * manual/texinfo.tex: Update to version 2012-01-19.16.
17099
66ab80bc
JM
171002012-02-24 Joseph Myers <joseph@codesourcery.com>
17101
17102 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17103
74981cc5
RM
171042012-02-24 Roland McGrath <roland@hack.frob.com>
17105
ee968201
RM
17106 [BZ #13738]
17107 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17108 * manual/fdl-1.3.texi: New file.
17109 * manual/fdl-1.1.texi: File removed.
17110
74981cc5
RM
17111 [BZ #13738]
17112 * manual/libc.texinfo (FDL_VERSION): New @set.
17113 Use it for mention of FDL in cover text.
17114 (Documentation License): Use it in @include file name.
17115
7bb764bc
JM
171162012-02-22 Joseph Myers <joseph@codesourcery.com>
17117 Roland McGrath <roland@hack.frob.com>
17118
17119 [BZ #5461]
17120 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17121 not LONG_LONG_MAX and LONG_LONG_MIN.
17122 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17123 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17124 name.
17125 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17126
6cbeae47
JM
171272012-02-22 Joseph Myers <joseph@codesourcery.com>
17128
17129 [BZ #2547]
17130 [BZ #11365]
17131 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17132 manipulate bits before adding and subtracting TWO23[sx].
17133 * math/libm-test.inc (nearbyint_test): Add more tests.
17134
fe45ce09
JM
171352012-02-22 Joseph Myers <joseph@codesourcery.com>
17136
17137 [BZ #2548]
17138 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17139 bits before adding and subtracting TWO23[sx].
17140 * math/libm-test.inc (rint_test): Add more tests.
17141 (rint_test_tonearest): Likewise.
17142 (rint_test_towardzero): Likewise.
17143 (rint_test_downward): Likewise.
17144 (rint_test_upward: Likewise.
17145
ff3b3d82
JM
171462012-02-22 Joseph Myers <joseph@codesourcery.com>
17147
17148 [BZ #10110]
17149 * include/stdc-predef.h: New file. Extracted from features.h.
17150 * include/features.h: Include stdc-predef.h.
17151 * Makefile (headers): Add stdc-predef.h.
17152 * CONFORMANCE (Compiler limitations): Update.
17153
ef0aab35
JM
171542012-02-22 Joseph Myers <joseph@codesourcery.com>
17155
17156 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17157
58639409
DM
171582012-02-21 David S. Miller <davem@davemloft.net>
17159
17160 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17161 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17162
c0e70b25
DM
171632012-02-20 David S. Miller <davem@davemloft.net>
17164
17165 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17166 using a normal save/restore sequence, rather than allocating a
17167 dummy stack frame just to store a frame pointer and restore.
17168 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17169
fb06851d
JM
171702012-02-21 Joseph Myers <joseph@codesourcery.com>
17171
17172 * manual/install.texi: Fix stray word in line-wrapped comment.
17173
7a8b71c3
DM
171742012-02-20 David S. Miller <davem@davemloft.net>
17175
d510c123
DM
17176 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17177 both binutils and gcc support GOTDATA.
17178
0722d7c2
DM
17179 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17180 "rd %pc" in the PIC register setup sequences.
17181
3d2b3019
DM
17182 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17183 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17184 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17185 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17186 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17188 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17189 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17190 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17191 (SYSCALL_ERROR_HANDLER): Likewise.
17192 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17193 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17194 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17195 (SYSCALL_ERROR_HANDLER): Likewise.
17196
c80098a9
DM
17197 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17198 (HAVE_GCC_GOTDATA): New.
17199 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17200 relocation support in both binutils and gcc.
17201 * sysdeps/sparc/elf/configure: Regenerate.
17202
3a2545a0
DM
17203 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17204 * sysdeps/sparc/sparc32/elf/configure: Delete.
17205 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17206 * sysdeps/sparc/sparc64/elf/configure: Delete.
17207 * sysdeps/sparc/elf/configure.in: New file.
17208 * sysdeps/sparc/elf/configure: Generate.
17209
7a8b71c3
DM
17210 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17211 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17212 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17213 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17214 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17215
f1e86fca
JM
172162012-02-21 Joseph Myers <joseph@codesourcery.com>
17217
17218 * manual/install.texi: Do not mention specific glibc version
17219 numbers.
17220 * manual/libc.texinfo (VERSION, UPDATED): Update.
17221 (@copying): Use @copyright{} and range of years.
17222
0e7dfaef
JM
172232012-02-21 Joseph Myers <joseph@codesourcery.com>
17224
17225 [BZ #13695]
17226 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17227 [crti.S not in sysdirs] (generated): Do not append.
17228 [crti.S not in sysdirs] (omit-deps): Likewise.
17229 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17230 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17231 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17232 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17233 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17234 Likewise.
17235 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17236 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17237 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17238 * csu/defs.awk: Remove file.
17239 * sysdeps/generic/initfini.c: Likewise.
17240 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17241 variable.
17242 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17243 Likewise.
17244
599af3ca
JM
172452012-02-20 Joseph Myers <joseph@codesourcery.com>
17246
17247 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17248 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17249 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17250 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17251 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17252 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17253 <bits/epoll.h>.
17254 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17255 (__EPOLL_PACKED): Define to empty if not defined by
17256 <bits/epoll.h>.
17257 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17259 bits/epoll.h.
17260
0e499750
JM
172612012-02-20 Joseph Myers <joseph@codesourcery.com>
17262
17263 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17264 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17265 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17266 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17267 <bits/timerfd.h>.
17268 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17270 bits/timerfd.h.
17271
5ad91f6e
JM
172722012-02-20 Joseph Myers <joseph@codesourcery.com>
17273
17274 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17275 in C locale.
17276 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17277 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17278 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17280
06b99b02
AJ
172812012-02-20 Aurelien Jarno <aurelien@aurel32.net>
17282
17283 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17284 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17285
7638c0fd
AS
172862012-02-19 Andreas Schwab <schwab@linux-m68k.org>
17287
17288 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
17289 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
17290 defined.
17291 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
17292 Likewise.
17293 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17294 entry for 2.16.
17295
92221550
AJ
172962012-02-19 Aurelien Jarno <aurelien@aurel32.net>
17297
17298 * math/w_acos.c: Use non-signaling floating-point comparisons.
17299 * math/w_acosf.c: Likewise.
17300 * math/w_acosh.c: Likewise.
17301 * math/w_acoshf.c: Likewise.
17302 * math/w_acoshl.c: Likewise.
17303 * math/w_acosl.c: Likewise.
17304 * math/w_asin.c: Likewise.
17305 * math/w_asinf.c: Likewise.
17306 * math/w_asinl.c: Likewise.
17307 * math/w_atanh.c: Likewise.
17308 * math/w_atanhf.c: Likewise.
17309 * math/w_atanhl.c: Likewise.
17310 * math/w_exp2.c: Likewise.
17311 * math/w_exp2f.c: Likewise.
17312 * math/w_exp2l.c: Likewise.
17313 * math/w_j0.c: Likewise.
17314 * math/w_j0f.c: Likewise.
17315 * math/w_j0l.c: Likewise.
17316 * math/w_j1.c: Likewise.
17317 * math/w_j1f.c: Likewise.
17318 * math/w_j1l.c: Likewise.
17319 * math/w_jn.c: Likewise.
17320 * math/w_jnf.c: Likewise.
17321 * math/w_log.c: Likewise.
17322 * math/w_log10.c: Likewise.
17323 * math/w_log10f.c: Likewise.
17324 * math/w_log10l.c: Likewise.
17325 * math/w_log2.c: Likewise.
17326 * math/w_log2f.c: Likewise.
17327 * math/w_log2l.c: Likewise.
17328 * math/w_logf.c: Likewise.
17329 * math/w_logl.c: Likewise.
17330 * math/w_sqrt.c: Likewise.
17331 * math/w_sqrtf.c: Likewise.
17332 * math/w_sqrtl.c: Likewise.
17333 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17334 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17335 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17336 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17337 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17338
ebaf36eb
JM
173392012-02-19 Joseph Myers <joseph@codesourcery.com>
17340
17341 [BZ #9739]
17342 * manual/string.texi (strnlen): Use correct parameter name in
17343 equivalent expression.
17344
71c254a6
JM
173452012-02-19 Joseph Myers <joseph@codesourcery.com>
17346
17347 [BZ #11174]
17348 * manual/users.texi (seteuid): Consistently use neweuid for
17349 argument name.
17350
16d2c631
JM
173512012-02-19 Joseph Myers <joseph@codesourcery.com>
17352
17353 [BZ #13704]
17354 * manual/nss.texi (Services in the NSS configuration): Correct
17355 list of services in example configuration file.
17356
cd837b09
NB
173572012-02-19 Nick Bowler <nbowler@draconx.ca>
17358
17359 [BZ #11322]
17360 * manual/arith.texi: Remove statements about negative zero
17361 behaving identically to zero.
17362
02c4bbad
JM
173632012-02-18 Joseph Myers <joseph@codesourcery.com>
17364
17365 [BZ #5993]
17366 * manual/install.texi: Do not document upgrading from libc5.
17367
366842e7
JM
173682012-02-18 Joseph Myers <joseph@codesourcery.com>
17369
17370 [BZ #4596]
17371 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17372
dd54084d
DM
173732012-02-18 David S. Miller <davem@davemloft.net>
17374
17375 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17376 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17377 %o7 across the call.
17378 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17379 instead.
17380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17381 SETUP_PIC_REG_LEAF.
17382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17383 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17384 * sysdeps/sparc/crtn.S: Likewise.
17385
2bcc53a3
UD
173862012-02-17 Ulrich Drepper <drepper@gmail.com>
17387
17388 * aout/Makefile: Remove.
17389
09c093b5
RK
173902012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17391
17392 [BZ #13058]
17393 * manual/examples/argp-ex1.c (main): Format definition in GNU
17394 style.
17395 * manual/examples/argp-ex2.c (main): Likewise.
17396 * manual/examples/argp-ex3.c (main): Likewise.
17397 * manual/examples/argp-ex4.c (main): Likewise.
17398 * manual/examples/longopt.c (main): Use new-style prototype
17399 definition.
17400 * manual/examples/strncat.c (main): Specify return type and use
17401 (void) for arguments.
17402 * manual/examples/subopt.c (main): Use char **argv argument.
17403
2ee633a2
JM
174042012-02-17 Joseph Myers <joseph@codesourcery.com>
17405
17406 [BZ #5077]
17407 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17408 rounding modes.
17409
0520adde
FB
174102012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17411
17412 [BZ #6907]
17413 * manual/string.texi (strchr): Change when strchrnul is
17414 recommended.
17415
3f4081cd
DGM
174162012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17417
17418 [BZ #174]
17419 * manual/locale.texi (setlocale): Document LOCPATH.
17420
d1b10e78
JM
174212012-02-17 Joseph Myers <joseph@codesourcery.com>
17422
17423 [BZ #10210]
17424 * manual/process.texi (execle): Move @dots{} before last argument.
17425
79c6869c
PB
174262012-02-17 Paul Bolle <pebolle@tiscali.nl>
17427
17428 [BZ #12047]
17429 * manual/charset.texi (Generic Charset Conversion): Fix typo
17430 (LC_TYPE -> LC_CTYPE).
17431
cc6e48bc
NB
174322012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17433
17434 [BZ #5805]
17435 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17436 (scalbnf): Likewise.
17437 (scalbnl): Likewise.
17438 (scalbln): Likewise.
17439 (scalblnf): Likewise.
17440 (scalblnl): Likewise.
17441 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17442 (vwarnx): Likewise.
17443 (verr): Likewise.
17444 (verrx): Likewise.
17445 * manual/filesys.texi (telldir): Use braces around return type.
17446 * manual/llio.texi (mmap): Add space after comma.
17447 (mmap64): Likewise.
17448 * manual/math.texi (jn): Use @var{} on parameter names.
17449 (jnf): Likewise.
17450 (jnl): Likewise.
17451 (yn): Likewise.
17452 (ynf): Likewise.
17453 (ynl): Likewise.
17454 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17455 line.
17456 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17457 "...".
17458 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17459 (sched_get_priority_max): Likewise.
17460 * manual/signal.texi (sigvec): Add space after comma.
17461 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17462 names.
17463 (if_indextoname): Likewise.
17464 (if_freenameindex): Likewise.
17465 (sendto): Use ',' instead of '.' in prototype.
17466 * manual/startup.texi (syscall): Use @dots{} instead of literal
17467 "...".
17468 * manual/stdio.texi (__fpending): Separate initial words of
17469 paragraph from @deftypefun line.
17470 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17471 "...".
17472 (vsyslog): Use @var{} on parameter names.
17473 * manual/terminal.texi (stty): Use @var{} on parameter names.
17474 * manual/users.texi (getutmp): Use @var{} on parameter names.
17475 (getutmpx): Likewise.
17476
5b23062f
JM
174772012-02-17 Joseph Myers <joseph@codesourcery.com>
17478
17479 [BZ #6884]
17480 * manual/stdio.texi (fopen): Fix typos in description of
17481 ",ccs=STRING".
17482
8dee4833
AJ
174832012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17484
17485 [BZ #4026]
17486 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17487 get clock_id definition.
17488
9078ce93
TS
174892012-02-17 Thomas Schwinge <thomas@schwinge.name>
17490
17491 [BZ #4822]
17492 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17493 (madvise): Cast every argument to void on its own.
17494
3835c55f
JM
174952012-02-17 Joseph Myers <joseph@codesourcery.com>
17496
17497 [BZ #9902]
17498 * manual/startup.texi (Exit Status): Fix typo.
17499
35c47e37
JM
175002012-02-17 Joseph Myers <joseph@codesourcery.com>
17501
17502 [BZ #10140]
17503 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17504 * manual/examples/argp-ex2.c: Likewise.
17505 * manual/examples/argp-ex3.c: Likewise.
17506
e3b69ca7
RH
175072012-02-16 Richard Henderson <rth@redhat.com>
17508
17509 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17510 * sysdeps/s390/s390-32/initfini.c: Remove.
17511 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17512 * sysdeps/s390/s390-64/initfini.c: Remove.
17513
df83af67
KK
175142012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17515
17516 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17517 compiler output for sysdeps/generic/initfini.c.
17518 * sysdeps/sh/elf/initfini.c: Remove file.
17519
f63f3380
DM
175202012-02-16 David S. Miller <davem@davemloft.net>
17521
fb59b3a4
DM
17522 [BZ #11494]
17523 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17524
f63f3380
DM
17525 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17526 * sysdeps/sparc/crti.S: New file.
17527 * sysdeps/sparc/crtn.S: New file.
17528 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17529 * sysdeps/sparc/sparc64/Makefile: Likewise.
17530
df6a4a4a
MF
175312012-02-15 Mike Frysinger <vapier@gentoo.org>
17532
6dd8f3dc 17533 [BZ #3335]
df6a4a4a
MF
17534 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17535
1cac7236
RM
175362012-02-15 Roland McGrath <roland@hack.frob.com>
17537
d2c736f8
RM
17538 [BZ #4822]
17539 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17540
1cac7236
RM
17541 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17542 (write, read, close): Likewise.
17543 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17544
8e475601
JM
175452012-02-15 Joseph Myers <joseph@codesourcery.com>
17546
17547 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17548 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17549 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17550 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17551 <bits/signalfd.h>.
17552 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17553 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17554 bits/signalfd.h.
17555
ed656b40
MP
175562012-02-14 Marek Polacek <polacek@redhat.com>
17557
17558 * sysdeps/x86_64/crti.S: New file.
17559 * sysdeps/x86_64/crtn.S: New file.
17560 * sysdeps/x86_64/elf/initfini.c: Remove file.
17561
2a979d3a
JM
175622012-02-13 Joseph Myers <joseph@codesourcery.com>
17563
17564 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17565 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17566 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17567 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17568 <bits/inotify.h>.
17569 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17571 bits/inotify.h.
17572
2a418ac3
JM
175732012-02-13 Joseph Myers <joseph@codesourcery.com>
17574
17575 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17576 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17577 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17578 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17579 <bits/eventfd.h>.
17580 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17582 bits/eventfd.h.
17583
fb779be7
TS
175842012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17585
e19e83c5
RM
17586 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17587 __feraiseexcept instead of feraiseexcept.
7c35ffed 17588
fb779be7
TS
17589 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17590 nanosleep invocations.
17591 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17592 strings, and add error checking for a nanosleep invocations.
17593
59ba27a6
PE
175942012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17595
17596 Replace FSF snail mail address with URLs, as per GNU coding standards.
17597 Most of the snail mail addresses were wrong anyway, and omitting
17598 them makes the source code easier to maintain. Almost all of the
17599 changes are to license notices and to locale LC_IDENTIFICATION
17600 addresses, except for this one:
17601 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17602 not its snail mail address.
17603
57b957eb
RH
176042012-02-09 Richard Henderson <rth@twiddle.net>
17605
af850b1c
RH
17606 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17607 of kernel-features.h.
17608
57b957eb
RH
17609 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17610
6b73181a
MP
176112012-02-08 Marek Polacek <polacek@redhat.com>
17612
17613 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17614 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17615 * sysdeps/gnu/_G_config.h: Likewise.
17616 * sysdeps/generic/_G_config.h: Likewise.
17617
26ecc33a
AS
176182012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17619
6c6dbc63
AS
17620 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17621 tests.
17622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17623
e216c012
AS
17624 * sysdeps/powerpc/powerpc32/crti.S: New file.
17625 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17626 * sysdeps/powerpc/powerpc64/crti.S: New file.
17627 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17628
26ecc33a
AS
17629 * Makeconfig (have-initfini): Don't set.
17630 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17631 * configure.in (nopic_initfini): Don't substitute.
17632 * config.h.in (HAVE_INITFINI): Don't #undef.
17633 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17634 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17635
3add8e13
JM
176362012-02-08 Joseph Myers <joseph@codesourcery.com>
17637
17638 Support crti.S and crtn.S provided directly by architectures.
17639 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17640 [crti.S in sysdirs] (omit-deps): Likewise.
17641 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17642 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17643 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17644 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17645 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17646 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17647 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17648 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17649 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17650 compiler output for sysdeps/generic/initfini.c.
17651 * sysdeps/i386/elf/Makefile: Remove file.
17652 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17653
a22f12b4
MP
176542012-02-07 Marek Polacek <polacek@redhat.com>
17655
17656 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17657 * sysdeps/gnu/_G_config.h: Likewise.
17658 * sysdeps/mach/hurd/_G_config.h: Likewise.
17659
148cf100
MP
176602012-02-07 Marek Polacek <polacek@redhat.com>
17661
17662 * math/Makefile (tests): Add tst-CMPLX2.
17663 * math/tst-CMPLX2.c: New file.
17664
cfdc0dd7
AS
176652012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17666
84ba42c4
AS
17667 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17668
cfdc0dd7
AS
17669 * math/libm-test.inc (jn_test): Add missing L suffix.
17670
622c86f4
MP
176712012-02-06 Marek Polacek <polacek@redhat.com>
17672
17673 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17674 * sysdeps/i386/fpu/e_powf.S: Likewise.
17675 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17676 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17677 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17678 * sysdeps/i386/fpu/e_pow.S: Likewise.
17679 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17680 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17681 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17682 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17683 * sysdeps/i386/fpu/e_log2.S: Likewise.
17684 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17685 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17686 * sysdeps/i386/fpu/e_powl.S: Likewise.
17687 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17688 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17689 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17690 * sysdeps/i386/fpu/e_logl.S: Likewise.
17691 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17692 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17693 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17694 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17695 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17696 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17697 * sysdeps/i386/fpu/e_log.S: Likewise.
17698 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17699 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17700 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17701 * sysdeps/i386/fpu/e_logf.S: Likewise.
17702 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17703 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17704 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17705 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17706 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17707 * sysdeps/i386/fpu/e_log10.S: Likewise.
17708 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17709 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17710 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17711 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17712 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17713 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17714 * sysdeps/i386/asm-syntax.h: Likewise.
17715 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17716 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17717 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17718 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17719 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17720 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17721 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17722 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17723 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17724 * sysdeps/powerpc/sysdep.h: Likewise.
17725 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17726 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17727
d4a54ac6
JM
177282012-02-06 Joseph Myers <joseph@codesourcery.com>
17729
17730 [BZ #411]
17731 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17732
314054ea
JM
177332012-02-06 Joseph Myers <joseph@codesourcery.com>
17734
17735 * sysdeps/i386/sysdep.h: Include <features.h>.
17736 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17737 version.
17738
d8e0ca50
JM
177392012-02-05 Joseph Myers <joseph@codesourcery.com>
17740
17741 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17742 Define.
17743 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17744 LOAD_PIC_REG_STR.
17745
b1da7dd9
JM
177462012-02-03 Joseph Myers <joseph@codesourcery.com>
17747
17748 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17749 (SETUP_PIC_REG): Use GET_PC_THUNK.
17750 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17751 macro.
17752
9a1d9254
JM
177532012-02-03 Joseph Myers <joseph@codesourcery.com>
17754
17755 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17756 for non-PIC compilation.
17757 (SETUP_PIC_REG): Add .p2align directive.
17758 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17759 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17760 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17761 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17762 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17763 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17764 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17765 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17766 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17767 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17768 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17769 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17770 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17771 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17772 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17773 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17774 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17775 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17776 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17777 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17778 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17779 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17780 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17781 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17782 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17783 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17784 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17785 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17786 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17787 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17788 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17789 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17790 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17791 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17792 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17793 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17794 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17795 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17796 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17797 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17798 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17799
65dc3b75
JM
178002012-02-03 Joseph Myers <joseph@codesourcery.com>
17801
17802 * math/tst-CMPLX.c: Include <stdio.h>.
17803
d55bf177
JM
178042012-01-31 Joseph Myers <joseph@codesourcery.com>
17805
17806 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17807 float.
17808 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17809 * sysdeps/sparc/bits/mathdef.h: Likewise.
17810
69db4f8f
MP
178112012-01-31 Marek Polacek <polacek@redhat.com>
17812
17813 * libio/libio.h: Don't define _PARAMS.
17814 * locale/programs/config.h: Don't define PARAMS.
17815 * stdlib/strtol_l.c: Likewise.
17816 (__strtol_l): Remove PARAMS from the prototype.
17817
41b81892
UD
178182012-01-31 Ulrich Drepper <drepper@gmail.com>
17819
3b49edc0
UD
17820 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17821 names. Just use the correct names. Remove unnecessary wrapper
17822 functions.
17823 * malloc/arena.c: Likewise.
17824 * malloc/hooks.c: Likewise.
17825
41b81892
UD
17826 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17827 ARENA_TEST says not to. Simplify test for creation of a new arena.
17828 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17829
27a25b6e
UD
178302012-01-30 Ulrich Drepper <drepper@gmail.com>
17831
17832 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17833 into tail calls.
17834 (update_get_addr): New function.
17835 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17836 GET_ADDR_MODULE parameter.
17837
c8a89e7d
JM
178382012-01-30 Joseph Myers <joseph@codesourcery.com>
17839
17840 * crypt/cert.c: Remove __STDC__ conditionals.
17841 * crypt/crypt-entry.c: Likewise.
17842 * crypt/crypt_util.c: Likewise.
17843 * libio/filedoalloc.c: Likewise.
17844 * libio/fileops.c: Likewise.
17845 * libio/genops.c: Likewise.
17846 * libio/iofclose.c: Likewise.
17847 * libio/iofdopen.c: Likewise.
17848 * libio/iofopen.c: Likewise.
17849 * libio/iofopen64.c: Likewise.
17850 * libio/iogetdelim.c: Likewise.
17851 * libio/iopopen.c: Likewise.
17852 * libio/obprintf.c: Likewise.
17853 * libio/oldfileops.c: Likewise.
17854 * libio/oldiofclose.c: Likewise.
17855 * libio/oldiofdopen.c: Likewise.
17856 * libio/oldiofopen.c: Likewise.
17857 * libio/oldiopopen.c: Likewise.
17858 * libio/wfiledoalloc.c: Likewise.
17859 * libio/wgenops.c: Likewise.
17860 * locale/programs/xmalloc.c: Likewise.
17861 * misc/syslog.c: Likewise.
17862 * stdio-common/xbug.c: Likewise.
17863 * string/memchr.c: Likewise.
17864 * string/memcmp.c: Likewise.
17865 * string/memrchr.c: Likewise.
17866 * string/rawmemchr.c: Likewise.
17867 * sysdeps/posix/getcwd.c: Likewise.
17868 * time/strftime_l.c: Likewise.
17869
3b100462
JM
178702012-01-30 Joseph Myers <joseph@codesourcery.com>
17871
17872 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
17873 * config.make.in (config-cflags-sse2avx): Define.
17874 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17875 Fix typo.
17876
607998af
CM
178772012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17878
17879 * scripts/config.guess: Update from upstream config git repository.
17880 * scripts/config.sub: Likewise.
17881
3601428f
CM
178822012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17883
3ac8b282
CM
17884 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17885 (EM_NUM): Update.
17886 (R_TILEPRO_*, R_TILEGX_*): New macros.
17887
e034841e
CM
17888 * scripts/firstversions.awk: Fix bug in version range handling.
17889
540d7568
CM
17890 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17891
3601428f
CM
17892 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17893
463de862
CM
17894 * include/sys/epoll.h: New file.
17895 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17896 libc_hidden_def.
17897
73139a76
UD
178982012-01-28 Ulrich Drepper <drepper@gmail.com>
17899
96bc5b45
UD
17900 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17901 Avoid unnecessary __WORDSIZE == 64 test.
17902 (fmaxf): Use VEX format if possible.
17903 (fmax): Likewise.
17904 (fminf): Likewise.
17905 (fmin): Likewise.
17906
56f6f6a2
UD
17907 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17908 * math/math_private.h: Remove libc_fegetround* and
17909 libc_fesetround*.
17910 * sysdeps/i386/configure.in: Check for -msse2avx.
17911 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17912 also if SSE2AVX is defined.
17913 Remove libc_fegetround* and libc_fesetround*.
17914 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17915 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17916 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17917 of HAS_YMM_USABLE.
17918 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17919 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17920 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17921 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17922 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17923
73139a76
UD
17924 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17925
d73f93a4
AZ
179262012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17927
17928 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17929 size is not set.
17930 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17931
6ee65ed6
UD
179322012-01-27 Ulrich Drepper <drepper@gmail.com>
17933
17934 [BZ #13618]
17935 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17936 relocation.
17937 * Makeconfig (libm): Define.
17938 * elf/Makefile: Add rules to build and run tst-relsort1.
17939 * elf/tst-relsort1.c: New file.
17940 * elf/tst-relsort1mod1.c: New file.
17941 * elf/tst-relsort1mod2.c: New file.
17942
8db21882
JM
179432012-01-27 Joseph Myers <joseph@codesourcery.com>
17944
17945 * math/s_ldexp.c: Remove __STDC__ conditionals.
17946 * math/s_ldexpf.c: Likewise.
17947 * math/s_ldexpl.c: Likewise.
17948 * math/s_nextafter.c: Likewise.
17949 * math/s_nexttowardf.c: Likewise.
17950 * math/s_significand.c: Likewise.
17951 * math/s_significandf.c: Likewise.
17952 * math/s_significandl.c: Likewise.
17953 * math/w_jnl.c: Likewise.
17954 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17955 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17956 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17957 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17958 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17959 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17960 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17961 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17962 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17963 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17964 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17965 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17966 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17967 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17968 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17969 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17970 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17971 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17972 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17973 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17974 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17975 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17976 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17977 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17978 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17979 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17980 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17981 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17982 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17983 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17984 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17985 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17986 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17987 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17988 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17989 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17990 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17991 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17992 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17993 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17994 * sysdeps/ieee754/k_standard.c: Likewise.
17995 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17996 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17997 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17998 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17999 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18000 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18001 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18002 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18003 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18004 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18005 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18006 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18007 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18008 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18009 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18010 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18011 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18012 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18013 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18014 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18015 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18016 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18017 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18018 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18019 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18020 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18021 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18022 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18023 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18024 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18025 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18026 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18027 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18028 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18029 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18030 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18031 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18032 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18033 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18034 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18035 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18036 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18037 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18038 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18039 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18040 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18041 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18042 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18043 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18044 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18045 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18046 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18047 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18048 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18049 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18050 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18051 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18052 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18053 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18054 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18055 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18056 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18057 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18058 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18059 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18060 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18061 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18062 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18063 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18064 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18065 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18066 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18067 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18068 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18069 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18070 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18071 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18072 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18073 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18074 * sysdeps/ieee754/s_matherr.c: Likewise.
18075 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18076 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18077 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18078 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18079
965a54a4
JM
180802012-01-26 Joseph Myers <joseph@codesourcery.com>
18081
18082 * crypt/md5.h: Remove __STDC__ conditionals.
18083 * libio/libioP.h: Likewise.
18084 * locale/programs/config.h: Likewise.
18085 * sysdeps/generic/sysdep.h: Likewise.
18086 * sysdeps/i386/asm-syntax.h: Likewise.
18087 * sysdeps/s390/asm-syntax.h: Likewise.
18088 * sysdeps/unix/sysdep.h: Likewise.
18089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18091
7071ad79
JM
180922012-01-26 Joseph Myers <joseph@codesourcery.com>
18093
18094 * libio/libio.h: Remove __STDC__ conditionals.
18095 * malloc/obstack.h: Likewise.
18096 * math/complex.h: Likewise.
18097 * math/math.h: Likewise.
18098 * sysdeps/generic/_G_config.h: Likewise.
18099 * sysdeps/gnu/_G_config.h: Likewise.
18100 * sysdeps/mach/hurd/_G_config.h: Likewise.
18101 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18102 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18103 * sysdeps/sparc/bits/mathdef.h: Likewise.
18104
afc5ed09
UD
181052012-01-26 Ulrich Drepper <drepper@gmail.com>
18106
18107 [BZ #13583]
18108 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 18109 Clean up HAS_* macros.
afc5ed09 18110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
18111 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18112 possible.
18113 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18114 HAS_AVX.
18115 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18116 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18117 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18118 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18119 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 18120
bdb6de1d
JM
181212012-01-25 Joseph Myers <joseph@codesourcery.com>
18122
18123 * elf/tst-unique3.cc (gets): Remove declaration.
18124 * elf/tst-unique3lib.cc (gets): Likewise.
18125 * elf/tst-unique3lib2.cc (gets): Likewise.
18126 * elf/tst-unique4.cc (gets): Likewise.
18127
b15549e6
UD
181282012-01-24 Ulrich Drepper <drepper@gmail.com>
18129
18130 * include/stdio.h: Add C++ protection. Add gets declarations and
18131 definitions.
18132 * debug/tst-chk1.c: Don't declare gets here.
18133 * stdio-common/tst-gets.c: Likewise.
18134
a037381f
JM
181352012-01-24 Joseph Myers <joseph@codesourcery.com>
18136
18137 * posix/glob: Remove directory.
18138
f1d4aa75
JM
181392012-01-24 Joseph Myers <joseph@codesourcery.com>
18140
18141 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18142
81c0c964
PT
181432012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18144
18145 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18146 of the non-standard EPFNOSUPPORT.
18147
0ea698ae
ST
181482011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18149
18150 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18151 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18152 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18153
d220b117
UD
181542012-01-21 Ulrich Drepper <drepper@gmail.com>
18155
18156 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18157
3e1aa84e
UD
181582012-01-20 Ulrich Drepper <drepper@gmail.com>
18159
18160 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18161 transient errors.
18162 * nscd/grpcache.c (cache_addgr): Likewise.
18163 * nscd/hstcache.c (cache_addhst): Likewise.
18164 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18165 * nscd/pwdcache.c (cache_addpw): Likewise.
18166 * nscd/servicescache.c (cache_addserv): Likewise.
18167
400aa020
UD
181682012-01-16 Ulrich Drepper <drepper@gmail.com>
18169
d77e7869
UD
18170 * malloc/malloc.c: Various cleanups.
18171 * malloc/hooks.c: Likewise.
18172
400aa020
UD
18173 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18174 * stdlib/bug-fmtmsg1.c: New file.
18175
18176 * stdlib/fmtmsg.c (init): Add missing unlock.
18177 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18178
e0a309cf
MP
181792012-01-12 Marek Polacek <polacek@redhat.com>
18180
18181 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18182 and _GNU_SOURCE.
18183
929d11c7
WS
181842012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18185
18186 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18187 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18188 macro to ensure uniqueness of label name.
18189 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18190 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18191
41d0e869
UD
181922012-01-11 Ulrich Drepper <drepper@gmail.com>
18193
0cc5ed3b
UD
18194 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18195
41d0e869
UD
18196 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18197 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18198 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18199 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18200
a47a831a
UD
182012012-01-10 Ulrich Drepper <drepper@gmail.com>
18202
daa891c0
UD
18203 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18204
18205 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18206 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18207 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18208
e58ef0f2
UD
18209 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18210
a47a831a 18211 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
18212 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18213 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 18214 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
18215
18216 * math/bits/math-finite.h: Add ldexp support.
18217
a0bfc9c7
MP
182182012-01-10 Marek Polacek <polacek@redhat.com>
18219
18220 * locale/programs/localedef.h (show_archive_content): Add noreturn
18221 attribute.
18222
d6e97a1d
UD
182232012-01-09 Ulrich Drepper <drepper@gmail.com>
18224
18225 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18226
d5835c26
UD
182272012-01-08 Ulrich Drepper <drepper@gmail.com>
18228
e5f484c6
UD
18229 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18230
d5835c26
UD
18231 * io/Makefile (headers): Add bits/poll2.h.
18232
d1f741e9
WS
182332011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18234
18235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18236 typo #include statement.
18237
ec09c1c4
UD
182382012-01-08 Ulrich Drepper <drepper@gmail.com>
18239
18240 * include/sys/cdefs.h: Define __attribute_alloc_size.
18241 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18242 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18243 * elf/pldd.c: Likewise.
18244 * iconv/iconv_charmap.c: Likewise.
18245 * iconv/iconvconfig.c: Likewise.
18246 * iconv/strtab.c: Likewise.
18247 * locale/programs/locale.c: Likewise.
18248 * locale/programs/localedef.h: Likewise.
18249 * locale/programs/simple-hash.c: Likewise.
18250 * nscd/nscd.h: Likewise.
18251 * nss/makedb.c: Likewise.
18252 * sysdeps/generic/ldconfig.h: Likewise.
18253 * locale/programs/localedef.c: Remove xmalloc prototype.
18254 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18255
20b38e03
PP
182562012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18257
18258 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18259 appropriate.
18260
a0da5fe1
UD
182612012-01-08 Ulrich Drepper <drepper@gmail.com>
18262
1d5a644a 18263 * math/Makefile (tests): Add tst-CMPLX.
669704fd 18264 * math/tst-CMPLX.c: New file.
1d5a644a 18265
8784a6db
UD
18266 * math/complex.h (CMPLXL): Fix typo.
18267
d9a216c0
UD
18268 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18269 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18270 GLIBC_2.16.
18271 * debug/tst-chk1.c: Add poll and ppoll tests.
18272 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18273 * include/sys/poll.h: Add hidden proto for ppoll.
18274 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18275 * sysdeps/mach/hurd/ppoll.c: Likewise.
18276 * io/ppoll.c: Likewise.
18277 * debug/poll_chk.c: New file.
18278 * debug/ppoll_chk.c: New file.
18279 * include/bits/poll2.h: New file.
18280 * io/bits/poll2.h: New file.
18281
ac097f5c
UD
18282 [BZ #1350]
18283 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18284
2119dcfa
UD
18285 * configure.in: static is always set to yes. Remove.
18286 * config.make.in: Don't set build-static.
18287 * Makeconfig: Remove use of build-static.
18288 * dlfcn/Makefile: Likewise.
18289 * elf/Makefile: Likewise.
18290 * math/Makefile: Likewise.
18291 * misc/Makefile: Likewise.
18292 * nptl/Makefile: Likewise.
18293 * sysdeps/mach/hurd/Makefile: Likewise.
18294
121766a9
UD
18295 * configure.in: PWD_P is not used anymore.
18296 * config.make.in: Remove PWD_P entry.
18297
51a1d39c 18298 * configure.in: Remove last remnants of RANLIB.
8720d066 18299 No need to check for signed size_t anymore.
215f4bdc
UD
18300 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18301 and IA-64.
3857022a 18302 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
18303 * aclocal.m4: Likewise.
18304
d3ed7225
UD
18305 * wcsmbs/mbrtoc16.c: Implement using towc function.
18306 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
18307 * wcsmbs/wcsmbsload.c: Likewise.
18308 * iconv/gconv_simple.c: Likewise.
18309 * iconv/gconv_int.h: Likewise.
18310 * iconv/gconv_builtin.h: Likewise.
18311 * iconv/iconv_prog.c: Remove CHAR16 handling.
18312
18313 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
18314
18315 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18316
a0da5fe1
UD
18317 * configure.in: Remove --with-elf and --enable-bounded options.
18318 Dont set base_machine for ia64. More non-ELF conditions removed.
18319 Remove testing and setting of leading underscore information.
18320 * config.make.in (build-bounded): Set to no.
18321 * config.h.in: Remove NO_UNDERSCORES entry.
18322 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18323 them.
18324 * csu/start.c: Remove !NO_UNDERSCORE code.
18325 * locale/localeinfo.h: Likewise.
18326 * sysdeps/generic/machine-gmon.h: Likewise.
18327 * sysdeps/generic/sysdep.h: Likewise.
18328 * sysdeps/i386/sysdep.h: Likewise.
18329 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18330 * sysdeps/mach/sysdep.h: Likewise.
18331 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18332 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18333 * sysdeps/sh/sysdep.h: Likewise.
18334 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18335 * sysdeps/unix/i386/sysdep.S: Likewise.
18336 * sysdeps/unix/sparc/start.c: Likewise.
18337 * sysdeps/unix/sparc/sysdep.S: Likewise.
18338 * sysdeps/unix/sparc/sysdep.h: Likewise.
18339 * sysdeps/unix/start.c: Likewise.
18340 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18341 * sysdeps/x86_64/sysdep.h: Likewise.
18342
df78418a
UD
183432012-01-07 Ulrich Drepper <drepper@gmail.com>
18344
a784e502
UD
18345 [BZ #13553]
18346 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18347 for non-gcc.
18348 * argp/argp-fmtstream.h: Use const instead __const.
18349 * argp/argp.h: Likewise.
18350 * assert/assert.h: Likewise.
18351 * bits/fenv.h: Likewise.
18352 * bits/sched.h: Likewise.
18353 * bits/sigset.h: Likewise.
18354 * bits/sigthread.h: Likewise.
18355 * catgets/nl_types.h: Likewise.
18356 * conform/data/pthread.h-data: Likewise.
18357 * crypt/crypt-private.h: Likewise.
18358 * crypt/crypt.h: Likewise.
18359 * crypt/crypt_util.c: Likewise.
18360 * ctype/ctype.h: Likewise.
18361 * debug/execinfo.h: Likewise.
18362 * debug/mbsnrtowcs_chk.c: Likewise.
18363 * debug/mbsrtowcs_chk.c: Likewise.
18364 * debug/wcsnrtombs_chk.c: Likewise.
18365 * debug/wcsrtombs_chk.c: Likewise.
18366 * debug/wcstombs_chk.c: Likewise.
18367 * dirent/dirent.h: Likewise.
18368 * dlfcn/dlfcn.h: Likewise.
18369 * elf/neededtest4.c: Likewise.
18370 * grp/grp.h: Likewise.
18371 * gshadow/gshadow.h: Likewise.
18372 * iconv/gconv.h: Likewise.
18373 * iconv/gconv_int.h: Likewise.
18374 * iconv/gconv_simple.c: Likewise.
18375 * iconv/iconv.h: Likewise.
18376 * iconv/loop.c: Likewise.
18377 * iconv/skeleton.c: Likewise.
18378 * include/aio.h: Likewise.
18379 * include/aliases.h: Likewise.
18380 * include/argz.h: Likewise.
18381 * include/arpa/inet.h: Likewise.
18382 * include/assert.h: Likewise.
18383 * include/dirent.h: Likewise.
18384 * include/dlfcn.h: Likewise.
18385 * include/execinfo.h: Likewise.
18386 * include/fcntl.h: Likewise.
18387 * include/fenv.h: Likewise.
18388 * include/glob.h: Likewise.
18389 * include/grp.h: Likewise.
18390 * include/libintl.h: Likewise.
18391 * include/mntent.h: Likewise.
18392 * include/netdb.h: Likewise.
18393 * include/pwd.h: Likewise.
18394 * include/rpc/netdb.h: Likewise.
18395 * include/sched.h: Likewise.
18396 * include/search.h: Likewise.
18397 * include/shadow.h: Likewise.
18398 * include/signal.h: Likewise.
18399 * include/stdio.h: Likewise.
18400 * include/stdlib.h: Likewise.
18401 * include/string.h: Likewise.
18402 * include/sys/socket.h: Likewise.
18403 * include/sys/stat.h: Likewise.
18404 * include/sys/statfs.h: Likewise.
18405 * include/sys/statvfs.h: Likewise.
18406 * include/sys/syslog.h: Likewise.
18407 * include/sys/time.h: Likewise.
18408 * include/sys/uio.h: Likewise.
18409 * include/time.h: Likewise.
18410 * include/unistd.h: Likewise.
18411 * include/utmp.h: Likewise.
18412 * include/wchar.h: Likewise.
18413 * include/wctype.h: Likewise.
18414 * inet/aliases.h: Likewise.
18415 * inet/arpa/inet.h: Likewise.
18416 * inet/netinet/ether.h: Likewise.
18417 * inet/netinet/in.h: Likewise.
18418 * intl/libintl.h: Likewise.
18419 * io/bits/fcntl2.h: Likewise.
18420 * io/fcntl.h: Likewise.
18421 * io/ftw.h: Likewise.
18422 * io/sys/poll.h: Likewise.
18423 * io/sys/stat.h: Likewise.
18424 * io/sys/statfs.h: Likewise.
18425 * io/sys/statvfs.h: Likewise.
18426 * io/utime.h: Likewise.
18427 * libio/bits/stdio.h: Likewise.
18428 * libio/bits/stdio2.h: Likewise.
18429 * libio/libio.h: Likewise.
18430 * libio/libioP.h: Likewise.
18431 * libio/stdio.h: Likewise.
18432 * locale/lc-ctype.c: Likewise.
18433 * locale/locale.h: Likewise.
18434 * login/utmp.h: Likewise.
18435 * malloc/arena.c: Likewise.
18436 * malloc/malloc.c: Likewise.
18437 * malloc/malloc.h: Likewise.
18438 * malloc/mcheck.c: Likewise.
18439 * malloc/mtrace.c: Likewise.
18440 * math/bits/mathcalls.h: Likewise.
18441 * math/fenv.h: Likewise.
18442 * math/math_private.h: Likewise.
18443 * misc/bits/error.h: Likewise.
18444 * misc/bits/syslog.h: Likewise.
18445 * misc/err.h: Likewise.
18446 * misc/error.h: Likewise.
18447 * misc/fstab.h: Likewise.
18448 * misc/mntent.h: Likewise.
18449 * misc/regexp.h: Likewise.
18450 * misc/search.h: Likewise.
18451 * misc/sgtty.h: Likewise.
18452 * misc/sys/mman.h: Likewise.
18453 * misc/sys/syslog.h: Likewise.
18454 * misc/sys/uio.h: Likewise.
18455 * misc/sys/xattr.h: Likewise.
18456 * misc/ttyent.h: Likewise.
18457 * nis/rpcsvc/ypclnt.h: Likewise.
18458 * nss/nss.h: Likewise.
18459 * posix/bits/unistd.h: Likewise.
18460 * posix/fnmatch.h: Likewise.
18461 * posix/glob.h: Likewise.
18462 * posix/sched.h: Likewise.
18463 * posix/spawn.h: Likewise.
18464 * posix/sys/wait.h: Likewise.
18465 * posix/unistd.h: Likewise.
18466 * posix/wordexp.h: Likewise.
18467 * pwd/pwd.h: Likewise.
18468 * resolv/netdb.h: Likewise.
18469 * resource/sys/resource.h: Likewise.
18470 * rt/aio.h: Likewise.
18471 * rt/bits/mqueue2.h: Likewise.
18472 * rt/mqueue.h: Likewise.
18473 * shadow/shadow.h: Likewise.
18474 * signal/signal.h: Likewise.
18475 * socket/send.c: Likewise.
18476 * socket/sendto.c: Likewise.
18477 * socket/sys/socket.h: Likewise.
18478 * stdio-common/printf.h: Likewise.
18479 * stdlib/bits/stdlib.h: Likewise.
18480 * stdlib/fmtmsg.h: Likewise.
18481 * stdlib/monetary.h: Likewise.
18482 * stdlib/stdlib.h: Likewise.
18483 * stdlib/ucontext.h: Likewise.
18484 * streams/stropts.h: Likewise.
18485 * string/argz.h: Likewise.
18486 * string/bits/string2.h: Likewise.
18487 * string/string.h: Likewise.
18488 * string/strings.h: Likewise.
18489 * sunrpc/rpc/auth.h: Likewise.
18490 * sunrpc/rpc/auth_des.h: Likewise.
18491 * sunrpc/rpc/clnt.h: Likewise.
18492 * sunrpc/rpc/netdb.h: Likewise.
18493 * sunrpc/rpc/pmap_clnt.h: Likewise.
18494 * sunrpc/rpc/xdr.h: Likewise.
18495 * sysdeps/generic/inttypes.h: Likewise.
18496 * sysdeps/generic/net/if.h: Likewise.
18497 * sysdeps/generic/sys/swap.h: Likewise.
18498 * sysdeps/gnu/net/if.h: Likewise.
18499 * sysdeps/gnu/utmpx.h: Likewise.
18500 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18501 * sysdeps/i386/i486/bits/string.h: Likewise.
18502 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18503 * sysdeps/s390/bits/string.h: Likewise.
18504 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18505 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18506 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18507 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18508 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18509 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18510 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18511 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18512 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18513 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18514 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18515 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18516 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18517 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18518 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18519 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18520 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18521 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18522 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18523 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18524 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18525 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18526 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18527 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18528 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18529 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18530 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18531 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18532 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18533 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18534 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18535 * sysvipc/sys/ipc.h: Likewise.
18536 * sysvipc/sys/msg.h: Likewise.
18537 * sysvipc/sys/sem.h: Likewise.
18538 * sysvipc/sys/shm.h: Likewise.
18539 * termios/termios.h: Likewise.
18540 * time/sys/time.h: Likewise.
18541 * time/time.h: Likewise.
18542 * wcsmbs/bits/wchar2.h: Likewise.
18543 * wcsmbs/uchar.h: Likewise.
18544 * wcsmbs/wchar.h: Likewise.
18545 * wctype/wctype.h: Likewise.
18546
0269750c
UD
18547 [BZ #13551]
18548 * Makeconfig: Remove all but ELF support including AIX support.
18549 * Makerules: Likewise.
18550 * config.h.in: Likewise.
18551 * config.make.in: Likewise.
18552 * configure: Likewise.
18553 * configure.in: Likewise.
18554 * csu/Makefile: Likewise.
18555 * csu/version.c: Likewise.
18556 * debug/Makefile: Likewise.
18557 * dlfcn/Makefile: Likewise.
18558 * elf/Makefile: Likewise.
18559 * extra-lib.mk: Likewise.
18560 * iconv/Makefile: Likewise.
18561 * include/libc-symbols.h: Likewise.
18562 * include/shlib-compat.h: Likewise.
18563 * resolv/Makefile: Likewise.
18564 * resolv/res_libc.c: Likewise.
18565 * rt/Makefile: Likewise.
18566 * sysdeps/i386/asm-syntax.h: Likewise.
18567 * sysdeps/i386/sysdep.h: Likewise.
18568 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18569 * sysdeps/mach/sysdep.h: Likewise.
18570 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18571 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18572 * sysdeps/s390/asm-syntax.h: Likewise.
18573 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18574 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18575 * sysdeps/sh/sysdep.h: Likewise.
18576 * sysdeps/unix/sparc/sysdep.h: Likewise.
18577 * sysdeps/wordsize-32/divdi3.c: Likewise.
18578 * sysdeps/x86_64/sysdep.h: Likewise.
18579
00bbd29b
UD
18580 * argp/Versions: Remove _argp_unlock_xxx.
18581
18582 [BZ #13559]
18583 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18584 * abilist/libBrokenLocale.abilist: Likewise.
18585 * abilist/libanl.abilist: Likewise.
18586 * abilist/libc.abilist: Likewise.
18587 * abilist/libcrypt.abilist: Likewise.
18588 * abilist/libdl.abilist: Likewise.
18589 * abilist/libm.abilist: Likewise.
18590 * abilist/libnsl.abilist: Likewise.
18591 * abilist/libpthread.abilist: Likewise.
18592 * abilist/libresolv.abilist: Likewise.
18593 * abilist/librt.abilist: Likewise.
18594 * abilist/libthread_db.abilist: Likewise.
18595 * abilist/libutil.abilist: Likewise.
18596 * abilist/libnss_db.abilist: New file.
18597
18598 * scripts/abilist.awk: Add support for indirect functions.
18599
a2693a0e
UD
18600 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18601
3f05895f
UD
18602 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18603
ecb6fb48
UD
18604 * shlib-versions: Remove entries for ports architectures.
18605
664f8cb9
UD
18606 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18607 files in ports.
18608 * elf/stackguard-macros.h: Remove support for IA-64.
18609 * elf/tst-auditmod1.c: Likewise.
18610 * sysdeps/generic/ldsodefs.h: Likewise.
18611
7ae81d88
UD
18612 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18613 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18614 configure files.
18615
bdeba135
UD
18616 [BZ #13552]
18617 * configure.in: Remove --enable-omitfp support.
18618 * FAQ.in: Adjust.
18619 * config.make.in: Likewise.
18620 * Makeconfig: Likewise.
18621 * manual/install.texi: Likewise.
18622
d75a0a62
UD
18623 In case anyone cares, the IA-64 architecture could move to ports.
18624 * sysdeps/ia64/*: Removed.
18625 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 18626 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 18627
dcc9756b
UD
18628 [BZ #13555]
18629 * configure.in: Remove entries for unsupported architectures.
18630
d3761ebc 18631 [BZ #13533]
9954432e
UD
18632 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18633 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18634 routines.
18635 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18636 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18637 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18638 fall back to using wcrtomb.
18639 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18640 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18641 renaming.
18642 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18643 * wcsmbs/tst-c16c32-1.c: New file.
18644
18645 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18646 local variable.
18647
c3a87236
UD
18648 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18649
28926a1b
UD
18650 * elf/tst-unique3.cc: Add explicit declaration of gets.
18651 * elf/tst-unique3lib.cc: Likewise.
18652 * elf/tst-unique3lib2.cc: Likewise.
18653 * elf/tst-unique4.cc: Likewise.
18654
df78418a
UD
18655 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18656
8ecd6b2a
JM
186572012-01-06 Joseph Myers <joseph@codesourcery.com>
18658
18659 [BZ #13566]
18660 * assert/assert.h (static_assert): Don't define for C++.
18661 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18662 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18663
9f115170
UD
186642012-01-03 Ulrich Drepper <drepper@gmail.com>
18665
5e0d0300
UD
18666 * iconv/loop.c (single loop): Fix assertion in storing of
18667 remaining bytes.
18668
9f115170
UD
18669 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18670
81fb02b0
UD
186712012-01-01 Ulrich Drepper <drepper@gmail.com>
18672
18673 * posix/getconf.c: Update copyright year.
18674 * nss/getent.c: Likewise.
a316c1f6 18675 * nss/makedb.c: Likewise.
81fb02b0
UD
18676 * iconv/iconvconfig.c: Likewise.
18677 * iconv/iconv_prog.c: Likewise.
18678 * elf/ldconfig.c: Likewise.
a316c1f6
UD
18679 * elf/pldd.c: Likewise.
18680 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
18681 * catgets/gencat.c: Likewise.
18682 * csu/version.c: Likewise.
18683 * elf/ldd.bash.in: Likewise.
18684 * elf/sprof.c (print_version): Likewise.
18685 * locale/programs/locale.c: Likewise.
18686 * locale/programs/localedef.c: Likewise.
a316c1f6 18687 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
18688 * nscd/nscd.c (print_version): Likewise.
18689 * debug/xtrace.sh: Likewise.
18690 * malloc/memusage.sh: Likewise.
18691 * malloc/mtrace.pl: Likewise.
18692 * debug/catchsegv.sh: Likewise.
18693
2ba92745
JJ
186942011-12-30 Jakub Jelinek <jakub@redhat.com>
18695
18696 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18697 pure attribute.
18698
dadebdae
UD
186992011-12-24 Ulrich Drepper <drepper@gmail.com>
18700
d3761ebc 18701 [BZ #13533]
db6af3eb
UD
18702 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18703 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18704 transformations.
18705 * iconv/gconv_int.h: Likewise.
18706 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18707 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18708 from libc for GLIBC_2.16.
18709 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18710 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18711 * wcsmbs/uchar.h: Really define mbstate_t.
18712 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18713 * wcsmbs/c16rtomb.c: New file.
18714 * wcsmbs/mbrtoc16.c: New file.
18715 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18716 for C/POSIX locale.
18717 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18718 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18719
dadebdae
UD
18720 * wcsmbs/wchar.h: Add missing __restrict.
18721
67371b56
UD
187222011-12-23 Ulrich Drepper <drepper@gmail.com>
18723
74033a25
UD
18724 [BZ #13532]
18725 * time/Makefile (routines): Add timespec_get.
18726 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18727 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18728 timespec for ISO C11.
18729 * time/timespec_get.c: New file.
18730 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18731 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18732
380d7e87
UD
18733 [BZ #13531]
18734 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18735 * stdlib/stdlib.h: Declare aligned_alloc.
18736 * Versions.def: Add GLIBC_2.16 for libc.
18737 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18738
4e9e7a35
UD
18739 [BZ 13527]
18740 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18741 ISO C11.
18742
380d7e87 18743 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
18744 code.
18745
03a71829
UD
18746 [BZ #13528]
18747 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18748
839e283e
UD
18749 [BZ #13529]
18750 * assert/assert.h (static_assert): Define.
18751
ce5294e2 18752 * version.h: Update for 2.16 development version.
90fa7312 18753
8d44e150 18754 [BZ #13526]
d7809905
UD
18755 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18756 _ISOC11_SOURCE.
18757
c0da14cd
UD
18758 * version.h (RELEASE): Bump for 2.15 release.
18759 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18760
530a3249
MP
18761 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18762 Patch by Marek Polacek <mpolacek@redhat.com>.
18763
67371b56
UD
18764 * bits/byteswap.h: Protect long long constants with __extension__.
18765 * sysdeps/i386/bits/byteswap.h: Likewise.
18766 * sysdeps/ia64/bits/byteswap.h: Likewise.
18767 * sysdeps/s390/bits/byteswap.h: Likewise.
18768 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18769
15db4de1
LD
187702011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18771
18772 [BZ #13540]
bbe315ea
LD
18773 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18774 destination buffer.
15db4de1
LD
18775 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18776
2b2596b1
MP
187772011-12-23 Marek Polacek <polacek@redhat.com>
18778
18779 * elf/dl-addr.c (determine_info): Add inline keyword.
18780 * elf/tst-auditmod4b.c (check_avx): Likewise.
18781 * elf/tst-auditmod6b.c (check_avx): Likewise.
18782 * elf/tst-auditmod6c.c (check_avx): Likewise.
18783 * elf/tst-auditmod7b.c (check_avx): Likewise.
18784
70c6c246
UD
187852011-12-23 Ulrich Drepper <drepper@gmail.com>
18786
18787 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18788 !__SSE_MATH__.
18789
c044cf14
LD
187902011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18791
15db4de1 18792 [BZ #13540]
c044cf14
LD
18793 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18794 processing for last bytes.
18795
6b13d9d9
BH
187962011-08-06 Bruno Haible <bruno@clisp.org>
18797
d455f537
BH
18798 [BZ #13061]
18799 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18800 U+0385, not to U+1FEE.
18801
6b13d9d9
BH
18802 [BZ #13062]
18803 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18804 entry for U+00A5 U+0301.
18805
db910efd
UD
188062011-12-22 Ulrich Drepper <drepper@gmail.com>
18807
27deeafc
UD
18808 [BZ #13166]
18809 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18810 buffer for the output is too small.
18811
aed9d171
UD
18812 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18813 optimization.
18814
db910efd
UD
18815 [BZ #13185]
18816 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18817 SSE flags if possible.
18818
2bd779ae
LD
188192011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18820
e7f9dac3 18821 [BZ #13540]
2bd779ae
LD
18822 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18823 processing for last bytes.
18824
154bfc16
JM
188252011-12-22 Joseph Myers <joseph@codesourcery.com>
18826
18827 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18828 (syscall-list-default-options, syscall-list-default-condition)
18829 (syscall-list-includes): Define.
18830 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18831 list of ABIs and options and #if conditions for each ABI. Do not
18832 handle common syscalls between ABIs specially.
18833 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18834 Remove.
18835 (syscall-list-variants, syscall-list-32bit-options)
18836 (syscall-list-32bit-condition, syscall-list-64bit-options)
18837 (syscall-list-64bit-condition): Define.
18838 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18839 (syscall-list-variants, syscall-list-32bit-options)
18840 (syscall-list-32bit-condition, syscall-list-64bit-options)
18841 (syscall-list-64bit-condition): Define.
18842 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18843 Remove.
18844 (syscall-list-variants, syscall-list-32bit-options)
18845 (syscall-list-32bit-condition, syscall-list-64bit-options)
18846 (syscall-list-64bit-condition): Define.
18847 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18848 Remove.
18849 (syscall-list-variants, syscall-list-32bit-options)
18850 (syscall-list-32bit-condition, syscall-list-64bit-options)
18851 (syscall-list-64bit-condition): Define.
18852
21eaf3a5
UD
188532011-12-22 Ulrich Drepper <drepper@gmail.com>
18854
16c6f992
UD
18855 * locale/iso-639.def: Add brx entry.
18856
41043168
UD
18857 [BZ #13328]
18858 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18859 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18860
21eaf3a5
UD
18861 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18862 __feraiseexcept_renamed.
18863
e3a851a2
UD
188642011-12-21 Ulrich Drepper <drepper@gmail.com>
18865
4920765e
UD
18866 [BZ #13538]
18867 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18868 EPOLLET with unsigned values.
18869 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18870 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18871
e3a851a2
UD
18872 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18873 to large cancellation.
18874 * math/s_cacoshf.c: Likewise.
18875 * math/s_cacoshl.c: Likewise.
18876
b27e24b8
RK
188772011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18878
18879 [BZ #13305]
aebefeee 18880 [BZ #12786]
b27e24b8
RK
18881 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18882 * math/s_cacoshf.c: Likewise.
18883 * math/s_cacoshl.c: Likewise.
18884
ee190f67
UD
188852011-12-21 Ulrich Drepper <drepper@gmail.com>
18886
18887 [BZ #13439]
18888 * iconv/gconv.h: Define __GCONV_SWAP.
18889 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18890 * iconvdata/utf-16.c: Likewise.
18891 * iconvdata/utf-32.c: Likewise.
18892
707f25df
AS
188932011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18894
18895 [BZ #13524]
18896 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18897 numerator after shifting it by one limb.
18898
d2daaa1e
RÁE
188992011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18900
18901 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18902 under [__USE_EXTERN_INLINES].
18903
a4647e72
UD
189042011-12-17 Ulrich Drepper <drepper@gmail.com>
18905
18906 [BZ #13446]
18907 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18908
f0b264f1
AZ
189092011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18910
18911 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18912 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18913 optimized code.
18914 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18915 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18916 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18917 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18918 for strncasecmp/strncasecmp_l compilation.
18919 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18920 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18921
8ef4f244
MP
189222011-12-08 Marek Polacek <mpolacek@redhat.com>
18923
18924 [BZ #13484]
18925 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18926 of __asm__.
18927
97ac2654
UD
189282011-12-17 Ulrich Drepper <drepper@gmail.com>
18929
18930 [BZ #13506]
18931 * time/tzfile.c (__tzfile_read): Check values from file header.
18932
91d2a845
WS
189332011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18934
18935 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18936 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18937 * powerpc/powerpc32/dl-start.S: Likewise.
18938 * powerpc/powerpc32/elf/start.S: Likewise.
18939 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18940 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18941 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18942 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18943 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18944 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18945 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18946 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18947 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18948 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18949 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18950 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18951 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18952 * powerpc/powerpc32/memset.S: Likewise.
18953 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18954 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18955 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18956 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18957 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18958 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18959 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18960 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18961 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18962 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18963 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18964 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18965 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18966
a1267ba1
AZ
189672011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18968
18969 * math/libm-test.inc: Added more nearbyint tests.
18970 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18971 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18972 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18973 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18974
ad8ac1bd
RL
189752011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18976
18977 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18978 FD_CLOEXEC.
18979
1d3e4b61
UD
189802011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18981
18982 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18983 Add wcscpy-ssse3 wcscpy-c.
18984 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18985 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18986 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18987 * sysdeps/x86_64/wcschr.S: New file.
18988 * sysdeps/x86_64/wcsrchr.S: New file.
18989 * string/test-strcmp.c: Remove checking of wcscmp function for
18990 wrong alignments.
18991 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18992 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18993 wcsrchr-sse2 wcsrchr-c.
18994 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18995 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18996 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18997 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18998 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18999 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19000 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19001 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19002 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19003 * wcsmbc/wcschr.c (WCSCHR): New macro.
19004
5b330a2d
UD
190052011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19006
19007 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19008 * wcsmbs/test-wcsrchr.c: New file.
19009 * string/test-strrchr.c: Add wcsrchr support.
19010 (WIDE): New macro.
19011 * wcsmbs/test-wcscpy.c: New file.
19012 * string/test-strcpy.c: Add wcscpy support.
19013 (WIDE): New macro.
26428b7c 19014
f039c043
UD
190152011-12-10 Ulrich Drepper <drepper@gmail.com>
19016
19017 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19018 the inner loop.
19019
850fb039
AS
190202011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19021
19022 [BZ #13472]
19023 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19024
4efbd5cb
UD
190252011-12-04 Ulrich Drepper <drepper@gmail.com>
19026
52ff5dd0 19027 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 19028 Minor optimizations.
52ff5dd0 19029
4efbd5cb
UD
19030 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19031 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19032 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19033
8a426e12
UD
190342011-12-03 Ulrich Drepper <drepper@gmail.com>
19035
aff2453d
UD
19036 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19037 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19038 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19039 for gcc to avoid warnings.
19040 * inet/Makefile (tests): Add tst-checks.
19041 * inet/tst-checks.c: New file.
19042
19043 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19044 warning.
19045
19046 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19047 __wmemcmp_sse2.
19048
19049 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19050 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19051
8a426e12
UD
19052 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19053
9bea3473
UD
190542011-12-02 Ulrich Drepper <drepper@gmail.com>
19055
3a965496
UD
19056 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19057 problem.
19058
9bea3473
UD
19059 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19060
f101631b
UD
190612011-11-29 Joseph Myers <joseph@codesourcery.com>
19062
19063 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19064 conditional on GCC version.
19065 (__arch_compare_and_exchange_val_8_acq)
19066 (__arch_compare_and_exchange_val_16_acq)
19067 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19068 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19069 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19070
a98275aa
UD
190712011-12-02 Joseph Myers <joseph@codesourcery.com>
19072
19073 * sysdeps/sh/backtrace.c: New file.
19074
d4cc29a2
AS
190752011-12-02 Andreas Schwab <schwab@redhat.com>
19076
19077 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19078 parenthesis.
19079
6257af2d
AS
190802011-12-01 Andreas Schwab <schwab@redhat.com>
19081
19082 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19083 falling back to utime.
19084
b5f44c1a
AS
190852011-11-30 Andreas Schwab <schwab@redhat.com>
19086
19087 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19088 expectations for float.
19089
f3a6cc0a
AS
190902011-11-29 Andreas Schwab <schwab@redhat.com>
19091
19092 * locale/weight.h (findidx): Add parameter len.
19093 * locale/weightwc.h (findidx): Likewise.
19094 * posix/fnmatch_loop.c (FCT): Adjust caller.
19095 * posix/regcomp.c (build_equiv_class): Likewise.
19096 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19097 * posix/regexec.c (check_node_accept_bytes): Likewise.
19098 * string/strcoll_l.c (STRCOLL): Likewise.
19099 * string/strxfrm_l.c (STRXFRM): Likewise.
19100
9d65ea3a
UD
191012011-11-17 Ulrich Drepper <drepper@gmail.com>
19102
19103 * Makefile.in: Remove CVSOPT handling.
19104 * configure.in: Remove use of AC_REVISION.
19105 * iconvdata/Makefile (distribute): No need to filter out CVS.
19106 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19107 handling.
19108
5583a086
AS
191092011-11-16 Andreas Schwab <schwab@redhat.com>
19110
19111 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19112 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19113 [USE_AS_STRNCASECMP_L]: Likewise.
19114 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19115 NO_TLS_DIRECT_SEG_REFS.
19116 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19117 Fix argument offsets for non-PIC.
19118 [USE_AS_STRNCASECMP_L]: Likewise.
19119 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19120 NO_TLS_DIRECT_SEG_REFS.
19121
d62a8200
UD
191222011-11-15 Ulrich Drepper <drepper@gmail.com>
19123
9d65ea3a 19124 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
19125 O_CLOEXEC.
19126 * locale/loadlocale.c (_nl_load_locale): Likewise.
19127
09f93bd3
AS
191282011-11-15 Andreas Schwab <schwab@redhat.com>
19129
446514f9
AS
19130 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19131 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19132 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19133 (SYSCALL_GETTIME): Set errno on error.
19134
09f93bd3
AS
19135 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19136 count references to noai6ai_cached.
19137
312be3f9
UD
191382011-11-15 Ulrich Drepper <drepper@gmail.com>
19139
19140 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19141
19142 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19143 FD_CLOEXEC for /proc/self/maps.
19144
19145 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19146 FD_CLOEXEC for /proc/meminfo.
19147
19148 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19149 gai.conf.
19150
19151 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19152 FD_CLOEXEC for given file.
19153
19154 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19155
19156 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19157 FD_CLOEXEC for /etc/hosts.
19158 (_gethtent): Likewise.
19159
19160 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19161
19162 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19163 cancellation and set FD_CLOEXEC for /etc/netgroup.
19164
19165 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19166 reading /etc/publickey.
19167
19168 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19169 allow cancellation when reading /etc/group.
19170
19171 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19172 cancellation.
19173 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19174
19175 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19176 when using data file.
19177
19178 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19179
19180 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19181 (write_nis_obj): Use "c" and "e" in fopen.
19182
19183 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19184
19185 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19186
19187 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19188
19189 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19190
19191 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19192 locale.alias.
19193
19194 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19195
19196 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19197
19198 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19199
19200 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19201 file parsing and set FD_CLOEXEC.
19202
82af0fa8
UD
192032011-11-14 Ulrich Drepper <drepper@gmail.com>
19204
19205 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19206
a5fb313c
AS
192072011-11-14 Andreas Schwab <schwab@redhat.com>
19208
19209 * malloc/arena.c (arena_get2): Don't call reused_arena when
19210 _int_new_arena failed.
19211
6abf3465
UD
192122011-11-14 Ulrich Drepper <drepper@gmail.com>
19213
19214 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19215 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19216 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19217 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19218 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19219 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19220 to compile strcasecmp and strncasecmp.
19221 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19222 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19223
19224 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19225
76e3966e
UD
192262011-11-13 Ulrich Drepper <drepper@gmail.com>
19227
19228 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19229 locale-defines.sym to gen-as-const-headers.
19230 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19231 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19232 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19233 to compile strcasecmp and strncasecmp.
19234 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19235 strcasecmp_l and strncasecmp_l.
19236 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19237 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19238 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19239 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19240 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19241 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19242 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19243 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19244 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19245 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19246 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19247
ab26144e
UD
192482011-11-12 Ulrich Drepper <drepper@gmail.com>
19249
7edb22ef
UD
19250 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19251 result of SYSDEP_GETTIME_CPU to retval.
19252 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19253 parameter list to macro. Remove trailing semicolon. Adjust users.
19254
9694fc44
UD
19255 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19256 variable.
19257
8ad89ef8
UD
19258 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19259 mantissa words.
19260 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19261
0c822ef9
UD
19262 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19263 from unused variable.
19264
874e0564
UD
19265 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19266 DWARF definitions.
19267 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19268 for assembling.
19269
3a2edc79
UD
19270 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19271 over namespaces.
19272
f3c2577f
UD
19273 * sunrpc/rpc_prot.c (rejected): Fix case value.
19274
294ce126
UD
19275 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19276 unsigned long long int to avoid warnings in shift.
19277
5e2b63c6
UD
19278 * posix/regex_internal.c (re_string_reconstruct): Actually use result
19279 of use of trans.
19280 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19281 variable tmp.
19282
e7f4b08e
UD
19283 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19284 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19285 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19286
ab26144e
UD
19287 * nis/nis_table.c (nis_list): Use variable of correct type for
19288 result of __follow_path call.
19289
8a6d5255
AZ
192902011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19291
19292 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
19293 of math functions ceil, trunc, floor, round, and sqrt, when
19294 avaliable on the platform.
19295 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19296 name clash.
19297 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19298 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19299 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19300
aaddc98c
MP
193012011-10-30 Marek Polacek <mpolacek@redhat.com>
19302
19303 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19304 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19305
95b7042b
RM
193062011-11-11 Roland McGrath <roland@hack.frob.com>
19307
19308 * include/unistd.h: Fix __readlink return type.
19309 Reported by Chris Metcalf <cmetcalf@tilera.com>.
19310
57769839
UD
193112011-11-11 Ulrich Drepper <drepper@gmail.com>
19312
19313 * stdlib/ucontext.h: Undo last change for makecontext.
19314
edc5984d
AS
193152011-11-11 Andreas Schwab <schwab@redhat.com>
19316
98591e58
AS
19317 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19318
edc5984d
AS
19319 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19320 * setjmp/setjmp.h: Mark functions as non-leaf.
19321 * setjmp/bits/setjmp2.h: Likewise.
19322 * stdlib/ucontext.h: Likewise.
19323
77cdc054
AS
193242011-11-10 Andreas Schwab <schwab@redhat.com>
19325
19326 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19327 (reused_arena): Don't check arena limit.
19328 (arena_get2): Atomically check arena limit.
19329
fe72eebd
UD
193302011-11-08 Ulrich Drepper <drepper@gmail.com>
19331
5f078c32
UD
19332 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19333 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19334
fe72eebd
UD
19335 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19336 instructions.
19337
ae1bc2fa
AS
193382011-11-07 Andreas Schwab <schwab@redhat.com>
19339
7583a88d
AS
19340 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19341 handler when locking.
19342
ae1bc2fa
AS
19343 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19344 Fix size of allocated buffer.
19345
10fb0bfa
AS
193462011-11-04 Andreas Schwab <schwab@redhat.com>
19347
998832a4
AS
19348 [BZ #10103]
19349 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19350 declarations for long double functions.
19351 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19352
10fb0bfa
AS
19353 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19354
3d7ba52b
AS
193552011-11-03 Andreas Schwab <schwab@redhat.com>
19356
a9ae54a1
AS
19357 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19358 installed.
19359
3d7ba52b
AS
19360 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19361 is disabled.
19362
bc8db248
ST
193632011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19364
19365 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19366
45b96dd6
AS
193672011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19368
647776f6
AS
19369 * include/alloca.h (stackinfo_alloca_round): Define.
19370 (extend_alloca): Use it.
19371 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19372 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19373 here.
19374
d91a8b93
AS
19375 * scripts/check-local-headers.sh: Ignore libaudit.h.
19376
45b96dd6
AS
19377 * nscd/Makefile (extra-objs): Make recursively expanded.
19378
432d41ce
UD
193792011-11-01 Ulrich Drepper <drepper@gmail.com>
19380
34372fc6
UD
19381 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19382 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19383
fadb59f8
UD
19384 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19385 * posix/tst-rfc3484-2.c: Likewise.
19386 * posix/tst-rfc3484-3.c: Likewise.
19387
78239589
UD
19388 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19389 process_vm_writev.
19390 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19391 process_vm_writev.
19392 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19393 process_vm_writev from libc using GLIBC_2.15 version.
19394
432d41ce
UD
19395 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19396
02f9c6cf
PP
193972011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19398
19399 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19400 stack usage.
19401
3a2c0242
UD
194022011-10-31 Ulrich Drepper <drepper@gmail.com>
19403
f4ec4833
UD
19404 [BZ #13367]
19405 * nss/getent.c (initgroups_keys): Show error message in case no group
19406 names are given.
19407
3a2c0242
UD
19408 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19409 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19410 __bump_nl_timestamp.
19411 * nscd/connections (nscd_init): When host database is served open
19412 netlink socket and request notification about configuration changes.
19413 (main_loop_poll): Track netlink file descriptor and bump timestamp
19414 in case data becomes available.
19415 (main_loop_epoll): Likewise.
19416 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19417 (database_pers_head): Add extra_data fileds.
19418 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19419 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19420 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19421 Adjust caller.
19422 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19423 in6ai data, call __free_in6ai.
19424 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19425 Add -DHAVE_NETLINK.
19426 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19427 interface information. Reuse previous data if netlink timestamp
19428 is not changed.
19429 (__bump_nl_timestamp): New function.
19430 (__free_in6ai): New function.
19431
636064eb
UD
194322011-10-30 Ulrich Drepper <drepper@gmail.com>
19433
19434 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19435 close_not_cancel_no_status here.
19436 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19437
9beb2334
UD
194382011-10-29 Ulrich Drepper <drepper@gmail.com>
19439
6ef76f3b
UD
19440 [BZ #13276]
19441 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19442 return value.
19443
0ffc4f3e 19444 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
19445 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19446 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19447
cb95113e
UD
194482011-07-03 Andreas Jaeger <aj@suse.de>
19449
19450 [BZ #10709]
19451 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19452 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19453 * math/libm-test.inc (sin_test): Add test case.
19454
a1b560ff
UD
194552011-10-29 Ulrich Drepper <drepper@gmail.com>
19456
c9aaface
UD
19457 [BZ #13337]
19458 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19459 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19460
d272e7f1
UD
19461 * elf/chroot_canon.c (chroot_canon): Cleanups.
19462
1bc33071
UD
19463 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19464
1760874d
TJ
19465 [BZ #13335]
19466 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19467 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19468
51d91b18
UD
19469 * string/test-strchr.c: Make usable for strchrnul testing.
19470 * string/test-strchrnul.c: New file.
19471 * string/Makefile (strop-tests): Add strchrnul.
19472
a1b560ff 19473 * po/it.po: Update from translation team.
b611fb81 19474 * po/es.po: Likewise.
a1b560ff 19475
a5b81e1f
UD
194762011-10-28 Ulrich Drepper <drepper@gmail.com>
19477
fd52bc6d
UD
19478 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19479 the three constants needed as parameters. Drop the others.
19480 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19481 __m128i_strloadu_tolower.
52e4b9eb
UD
19482 Create and initialize variable zero and use it in all the places
19483 where _mm_setzero_si128 was used.
fd52bc6d 19484
a5b81e1f
UD
19485 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19486 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19487 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19488 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19489 anymore.
19490 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19491 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19492 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19493 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19494 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19495 __mpranred, __mptan.
19496 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19497 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19498 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19499 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19500 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19501 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19502 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19503 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19504 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19505
b4343346
AS
195062011-10-28 Andreas Schwab <schwab@redhat.com>
19507
0c92d8a8
AS
19508 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19509 redefine if SHARED.
19510 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19511
b4343346
AS
19512 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19513 wide char related routines to wcsmbs subdir.
19514
3871f58f
AS
195152011-10-27 Andreas Schwab <schwab@redhat.com>
19516
19517 [BZ #13344]
19518 * misc/sys/cdefs.h (__THROWNL): Define.
19519 * posix/unistd.h: Use __THREADNL instead of __THREAD
19520 for memory synchronization functions.
19521
94d44d9f
RM
195222011-10-26 Roland McGrath <roland@hack.frob.com>
19523
21b64b15 19524 [BZ #13349]
94d44d9f
RM
19525 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19526 doesn't exist.
19527 * manual/stdio.texi (Obstack Streams): Node removed.
19528
f6ce9294
AS
195292011-10-26 Andreas Schwab <schwab@redhat.com>
19530
80479147
AS
19531 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19532 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19533 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19534
f6ce9294
AS
19535 * math/math_private.h (math_force_eval): Allow non-addressable
19536 arguments.
19537 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19538
618280a1
UD
195392011-10-25 Ulrich Drepper <drepper@gmail.com>
19540
e0016b11
UD
19541 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19542 file is not needed.
19543
19544 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19545 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19546 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19547 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19548 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19549 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19550 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19551 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19552 Add AVX variants.
19553 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19554 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19555 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19556 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19557 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19558 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19559 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19560 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19561 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19562 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19563 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19564 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19565 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19566 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19567 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19568 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19569 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19570 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19571 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19572
19573 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19574 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19575
618280a1
UD
19576 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19577 place. Use VEX encoding when compiling for AVX.
19578
37822576
AS
195792011-10-25 Andreas Schwab <schwab@redhat.com>
19580
1f1e1947
AS
19581 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19582 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19583
37822576
AS
19584 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19585
31ea014d
UD
195862011-10-25 Ulrich Drepper <drepper@gmail.com>
19587
d7826aa1 19588 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 19589 useless if() expression.
d7826aa1
UD
19590 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19591 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19592 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19593 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19594 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19595 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19596 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19597 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19598 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19599 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19600 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19601 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19602 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19603 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19604 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19605 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19606 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19607 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19608 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19609
31ea014d
UD
19610 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19611
16437fec
AS
196122011-10-25 Andreas Schwab <schwab@redhat.com>
19613
19614 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19615 condition.
19616 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19617
31d3cc00
UD
196182011-10-25 Ulrich Drepper <drepper@gmail.com>
19619
19620 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19621 .text section. Avoid duplicate constants.
19622 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19623 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19624 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19625 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19626 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19627 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19628 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19630 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19631 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19632 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19633 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19634 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19635 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19636 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19637 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19638 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19639 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19640 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19641 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19642 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19643 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19644 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19645 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19646 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19647 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19648 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19649 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19650 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19651 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19652 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19653 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19654 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19655 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19656 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19657 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19658 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19659 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19660 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19661 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19662 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19663 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19664 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19665 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19666 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19667
58985aa9
UD
196682011-10-24 Ulrich Drepper <drepper@gmail.com>
19669
202c9deb
UD
19670 * sysdeps/x86_64/dla.h: Move to ...
19671 * sysdeps/x86_64/fpu/dla.h: ...here.
19672 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19673 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 19674
af968f62
UD
19675 * config.make.in: Add have-mfma4 entry.
19676 * configure.in: Substitute libc_cv_cc_fma4.
19677 * math/Makefile (dbl-only-routines): Add sincostab.
19678 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19679 Use __sincostab not sincos.
19680 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19681 name is a macro.
19682 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19685 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19686 using __copysign.
19687 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19688 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19689 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19690 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19691 and __inv.
19692 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19693 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19694 __copysign.
19695 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19696 define aliases when function name is a macro.
19697 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19698 sysdeps/ieee754/dbl-64/sincos.tbl.
19699 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19700 fma4-enabled routines.
19701 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19702 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19703 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19704 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19705 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19706 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19707 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19708 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19709 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19710 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19711 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19712 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19713 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19714 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19715 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19716 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19717 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19718 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19719 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19720 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19721 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19722 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19723 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19724 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19725 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19726 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19727 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19728 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19729 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19730 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19731
58985aa9
UD
19732 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19733 rename.
19734 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19735 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19736 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19737 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19738 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19739 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19740 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19741 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19742
a201fbcf
AS
197432011-10-24 Andreas Schwab <schwab@redhat.com>
19744
19745 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19746
fc2ee42a
LD
197472011-10-23 Ulrich Drepper <drepper@gmail.com>
19748
bb3129bd
UD
19749 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19750
0275fff8
UD
19751 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19752 prediction.
19753 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19754
2fa2ae85
UD
19755 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19756 Remove unused variable magic_bits.
19757 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19758
fc2ee42a
LD
19759 * string/strnlen.c: Define and use STRNLEN macro.
19760 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19761 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19762 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19763 * wcsmbs/wcslen.c: Define and use WCSLEN.
19764 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19765 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19766 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19767 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19768 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19769 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19770 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19771
ce7dd29f
LD
197722011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19773
19774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19775 strnlen-sse2-no-bsf.
19776 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19777 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19778 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19779 Add strnlen support.
19780 (USE_AS_STRNLEN): New macro.
19781 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19782 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19783 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19784 * sysdeps/x86_64/wcslen.S: New file.
19785
979c70a3
MZ
197862011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19787
19788 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19789 XMM-moves are used for copying on small sizes.
19790
2d09f82f
LD
197912011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19792
19793 * wcsmbs/Makefile (strop-tests): Add wcschr.
19794 * wcsmbs/test-wcschr.c: New file.
19795 * string/test-strchr.c: Update.
19796 Add wcschr support.
19797 (WIDE): New macro.
19798
619fccca
LD
197992011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19800
2d09f82f 19801 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
19802 * wcsmbs/test-wcslen.c: New file.
19803 * string/test-strlen.c: Update.
19804 Add wcslen support.
19805 (WIDE): New macro.
19806
09f699ea
UD
198072011-10-23 Ulrich Drepper <drepper@gmail.com>
19808
19809 * po/it.po: Update from translation team.
19810
95584d3b
LD
198112011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19812
19813 * sysdeps/x86_64/wcscmp.S: Update.
19814 Fix wrong comparison semantics.
19815 wcscmp shall use signed comparison not unsigned.
19816 Don't use substraction to avoid overflow bug.
19817 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19818 * wcsmbc/wcscmp.c: Likewise.
19819 * string/test-strcmp.c: Likewise.
19820 Add new tests to check cases with negative values.
19821
c8b3296b
UD
198222011-10-23 Ulrich Drepper <drepper@gmail.com>
19823
19824 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19825 * sysdeps/x86_64/dla.h: ...here. New file.
19826 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19827 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19828 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19829 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19830 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19831 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19832 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19833 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19834 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19835
246ad57a
AS
198362011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19837
19838 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19839 __ynl_finite aliases.
19840
a1a87169
UD
198412011-10-22 Ulrich Drepper <drepper@gmail.com>
19842
0d355eb7
UD
19843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19844
a1a87169
UD
19845 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19846 define DLA_FMA.
19847 [DLA_FMA] (EMULV): Use DLA_FMA.
19848 [DLA_FMA] (MUL12): Use EMULV.
19849 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19850 that are not needed.
19851 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19852 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19853 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19854 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19855 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19856 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19857 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19858
ee2aafe0
AS
198592011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19860
19861 * math/s_nan.c: Undef __nan.
19862 * math/s_nanf.c: Undef __nanf.
19863 * math/s_nanl.c: Undef __nanl.
19864 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19865 "math_private.h".
19866
bc62c2fb
UD
198672011-10-22 Ulrich Drepper <drepper@gmail.com>
19868
77425c63
UD
19869 * math/s_catan.c: Add branch predictions.
19870 * math/s_catanf.c: Likewise.
19871 * math/s_catanh.c: Likewise.
19872 * math/s_catanhf.c: Likewise.
19873 * math/s_catanhl.c: Likewise.
19874 * math/s_catanl.c: Likewise.
19875 * math/s_cexp.c: Likewise.
19876 * math/s_cexpf.c: Likewise.
19877 * math/s_cexpl.c: Likewise.
19878 * math/s_clog.c: Likewise.
19879 * math/s_clog10.c: Likewise.
19880 * math/s_clog10f.c: Likewise.
19881 * math/s_clog10l.c: Likewise.
19882 * math/s_clogf.c: Likewise.
19883 * math/s_clogl.c: Likewise.
19884 * math/s_csqrt.c: Likewise.
19885 * math/s_csqrtf.c: Likewise.
19886 * math/s_csqrtl.c: Likewise.
19887 * math/s_ctanf.c: Likewise.
19888 * math/s_ctanh.c: Likewise.
19889 * math/s_ctanhf.c: Likewise.
19890 * math/s_ctanhl.c: Likewise.
19891 * math/s_ctanl.c: Likewise.
19892
bc62c2fb
UD
19893 * math/math_private.h: Define __nan, __nanf, __nanl.
19894 * math/s_cacosh.c: Include <math_private.h>.
19895 * math/s_cacoshl.c: Likewise.
19896 * math/s_casinh.c: Likewise.
19897 * math/s_casinhf.c: Likewise.
19898 * math/s_casinhl.c: Likewise.
19899 * math/s_ccos.c: Rely entire on ccosh.
19900 * math/s_ccosf.c: Rely entire on ccoshf.
19901 * math/s_ccosl.c: Rely entirely on ccoshl.
19902 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19903 Remove tests for FE_INVALID.
19904 * math/s_ccoshf.c: Likewise.
19905 * math/s_ccoshl.c: Likewise.
19906 * math/s_csin.c: Likewise.
19907 * math/s_csinf.c: Likewise.
19908 * math/s_csinh.c Likewise.
19909 * math/s_csinhf.c: Likewise.
19910 * math/s_csinhl.c: Likewise.
19911 * math/s_csinl.c: Likewise.
19912 * math/s_ctan.c: Likewise.
19913 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19914 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19915 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19916
8ec250a4
UD
199172011-10-21 Ulrich Drepper <drepper@gmail.com>
19918
c196fed8
UD
19919 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19920 compilation problems.
19921
8ec250a4
UD
19922 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19923 __builtin_expect.
19924
8d4f46c6
UD
199252011-10-20 Ulrich Drepper <drepper@gmail.com>
19926
ed72b654
UD
19927 * sysdeps/i386/configure.in: Test for -mfma4 option.
19928 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19929 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19930 COMMON_CPUID_INDEX_80000001.
19931 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19932 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19933 use it if FMA3 is not supported.
19934 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19935
8d4f46c6
UD
19936 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19937 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19938
d45c60c2
AS
199392011-10-20 Andreas Schwab <schwab@redhat.com>
19940
19941 [BZ #12892]
19942 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19943 it would create a cycle with a link time dependency.
19944
d9a4d2ab
UD
199452011-10-19 Ulrich Drepper <drepper@gmail.com>
19946
855d1560
UD
19947 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19948 instruction.
19949 * string/Makefile (strop-tests): Add rawmemchr.
19950 * string/test-rawmemchr.c: New file.
19951
d9a4d2ab
UD
19952 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19953 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19954 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19955 when compiling str{,n}casecmp and when AVX is available. Hook up
19956 new optimized code in initializers.
19957
8f3b1ffe
AS
199582011-10-19 Andreas Schwab <schwab@redhat.com>
19959
19960 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19961 __feraiseexcept instead of feraiseexcept.
19962
d38f1dba
UD
199632011-10-18 Ulrich Drepper <drepper@gmail.com>
19964
d9a8d0ab
UD
19965 * math/math_private.h: Define defaults for libc_fetestexcept and
19966 libc_feupdateenv.
19967 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19968 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19969 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19970 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19971 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19972 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19973 libc_fetestexcept and libc_feupdateenv.
19974
4855e3dd
UD
19975 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19976 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19977 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19978 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19979 libc_feholdexcept_setround.
19980
581d30e3
UD
19981 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19982 Add s_nearbyint-c and s_nearbyintf-c.
19983 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19984 nearbyintf inlines.
19985 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19986 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19987 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19988 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19989
d38f1dba
UD
19990 * math/math_private.h: Define defaults for libc_fegetround,
19991 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19992 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19993 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19994 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19995 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19996 standard functions.
19997 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19998 Remove comments and hacks for old compiler versions.
19999 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20000 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20001 libc_feholdexceptl.
20002
caa6c9d8
AS
200032011-10-18 Andreas Schwab <schwab@redhat.com>
20004
20005 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
20006 (__feraiseexcept_renamed): Add __NTH.
20007 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
20008 namespace violations.
20009
97c066e6
UD
200102011-10-17 Ulrich Drepper <drepper@gmail.com>
20011
99ce7b04
UD
20012 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20013
1004d182
UD
20014 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20015
228a984d
UD
20016 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20017 recently added interfaces.
20018 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20019
c8553a6a
UD
20020 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20021 about macro parameter expansion.
20022
ed22dcf6
UD
20023 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20024 __NO_MATH_INLINES is defined. Cleanups.
20025
20026 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20027 and __floorf is target has SSE4.1.
20028 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20029 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20030 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20031 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20032
b171c137
UD
20033 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20034 name.
20035 (floorf): Likewise.
20036
97c066e6
UD
20037 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20038
629f62ef
AS
200392011-10-17 Andreas Schwab <schwab@redhat.com>
20040
49a43d80
AS
20041 * misc/sys/cdefs.h: Fix last change.
20042
629f62ef
AS
20043 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20044 database lookup.
20045
e453f6cd
UD
200462011-10-16 Ulrich Drepper <drepper@gmail.com>
20047
aa78043a
UD
20048 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20049
ad0f5cad
UD
20050 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20051 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20052 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20053 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20054 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20055 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20056 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20057 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20058 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20059 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20060 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20061 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20062 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20063 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20064 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20065 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20066 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20067 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20068 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20069 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20070 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20071 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20072
20073 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20074 ceil, ceilf, floor, floorf.
20075
20076 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20077 Perform IRELATIVE relocations last.
20078
e453f6cd
UD
20079 * elf/do-rel.h: Add another parameter nrelative, replacing the
20080 local variable with the same name. Change name of the function
20081 to end in Rel or Rela (uppercase).
20082 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20083 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20084 elf_dynamic_do_##reloc function.
20085
fd5bdc09
UD
200862011-10-15 Ulrich Drepper <drepper@gmail.com>
20087
79b195b5
UD
20088 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20089 is sufficient, at least on modern CPUs.
20090
d4a28569
UD
20091 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20092
b61099b5
UD
20093 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20094 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20095
bcf01e6d
UD
20096 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20097 __expl_finite.
20098 * math/bits/math-finite.h: Add entries for exp.
20099 * math/e_expl.c: Add __*_finite alias.
20100 * sysdeps/i386/fpu/e_exp.S: Likewise.
20101 * sysdeps/i386/fpu/e_expf.S: Likewise.
20102 * sysdeps/i386/fpu/e_expl.c: Likewise.
20103 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20104 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20105 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20106 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20107 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20108 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20109 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20110
ba1a0d59
UD
20111 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20112 is sufficient, at least on modern CPUs.
20113
fd5bdc09
UD
20114 * ctype/ctype-info.c (__ctype_init): Define.
20115 * include/ctype.h (__ctype_init): Declare.
20116 (__ctype_b_loc): The variable is always initialized.
20117 (__ctype_toupper_loc): Likewise.
20118 (__ctype_tolower_loc): Likewise.
20119 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20120 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20121
7872cfb0
AS
201222011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20123
b468825a
AS
20124 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20125
7872cfb0
AS
20126 * configure.in: Also look in $cxxmachine/include for C++ system
20127 headers.
20128
be13f7bf
LD
201292011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20130
20131 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20132 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20133 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20134 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20135 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20136 (USE_AS_WMEMCMP): New macro.
20137 Fixing indents.
20138 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20139 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20140 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20141 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20143 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20144 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20145 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20146 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20147 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20148 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20149 (USE_AS_WMEMCMP): New macro.
20150 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20151 * sysdeps/string/test-memcmp.c: Update.
20152 Fix simple_wmemcmp.
20153 Add new tests.
20154 * wcsmbs/wmemcmp.c: Update.
20155 (WMEMCMP): New macro.
20156 Fix overflow bug.
20157
556a2007
AJ
201582011-10-12 Andreas Jaeger <aj@suse.de>
20159
20160 [BZ #13268]
20161 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20162
538faaa7
UD
201632011-10-15 Ulrich Drepper <drepper@gmail.com>
20164
ab6737ff
UD
20165 * libio/iofwide.c (do_length): Avoid warning.
20166
538faaa7
UD
20167 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20168
396a21b1
UD
201692011-10-14 Ulrich Drepper <drepper@gmail.com>
20170
cdf2901f
UD
20171 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20172
38ad40ce
UD
20173 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20174 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20175 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20176 * sysdeps/i386/i686/fpu/e_log.S: New file.
20177 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20178 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20179
396a21b1
UD
20180 * ctype/ctype.h: Add support for inlined isXXX functions when
20181 compiling C++ code.
20182
6b1f68c9
AS
201832011-10-14 Andreas Schwab <schwab@redhat.com>
20184
349290c0
AS
20185 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20186
6b1f68c9
AS
20187 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20188
f2282d42
RM
201892011-10-13 Roland McGrath <roland@hack.frob.com>
20190
20191 [BZ #13291]
20192 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20193
5298ffa8
AS
201942011-10-13 Andreas Schwab <schwab@redhat.com>
20195
714fad23
AS
20196 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20197 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20198 feraiseexcept.
20199
81dcc7fb
AS
20200 * sysdeps/x86_64/memrchr.S: Check for zero size.
20201
5298ffa8
AS
20202 * string/stratcliff.c: Add memrchr tests.
20203
951fbcec
LD
202042011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20205
20206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20207 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20208 rawmemchr-sse2 rawmemchr-sse2-bsf.
20209 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20210 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20211 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20212 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20213 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20214 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20215 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20216 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20217 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20218 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20219 * string/memrchr.c (MEMRCHR): New macro.
20220
0ac5ae23
UD
202212011-10-12 Ulrich Drepper <drepper@gmail.com>
20222
20223 Add integration with gcc's -ffinite-math-only and optimize wrapper
20224 functions in libm.
20225 * Versions.def: Define GLIBC_2.15 version for libm.
20226 * math/Makefile (headers): Add bits/math-finite.h.
20227 * math/bits/math-finite.h: New file.
20228 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20229 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20230 * math/e_acoshl.c: Add __*_finite alias.
20231 * math/e_acosl.c: Likewise.
20232 * math/e_asinl.c: Likewise.
20233 * math/e_atan2l.c: Likewise.
20234 * math/e_atanhl.c: Likewise.
20235 * math/e_coshl.c: Likewise.
20236 * math/e_exp10.c: Likewise.
20237 * math/e_exp10f.c: Likewise.
20238 * math/e_exp10l.c: Likewise.
20239 * math/e_exp2l.c: Likewise.
20240 * math/e_fmodl.c: Likewise.
20241 * math/e_gammal_r.c: Likewise.
20242 * math/e_hypotl.c: Likewise.
20243 * math/e_j0l.c: Likewise.
20244 * math/e_j1l.c: Likewise.
20245 * math/e_jnl.c: Likewise.
20246 * math/e_lgammal_r.c: Likewise.
20247 * math/e_log10l.c: Likewise.
20248 * math/e_log2l.c: Likewise.
20249 * math/e_logl.c: Likewise.
20250 * math/e_powl.c: Likewise.
20251 * math/e_sinhl.c: Likewise.
20252 * math/e_sqrtl.c: Likewise.
20253 * math/e_scalb.c: Completely rewritten and optimized.
20254 * math/e_scalbf.c: Likewise.
20255 * math/e_scalbl.c: Likewise.
20256 * math/w_acos.c: Likewise.
20257 * math/w_acosf.c: Likewise.
20258 * math/w_acosl.c: Likewise.
20259 * math/w_acosh.c: Likewise.
20260 * math/w_acoshf.c: Likewise.
20261 * math/w_acoshl.c: Likewise.
20262 * math/w_asin.c: Likewise.
20263 * math/w_asinf.c: Likewise.
20264 * math/w_asinl.c: Likewise.
20265 * math/w_atan2.c: Likewise.
20266 * math/w_atan2f.c: Likewise.
20267 * math/w_atan2l.c: Likewise.
20268 * math/w_atanh.c: Likewise.
20269 * math/w_atanhf.c: Likewise.
20270 * math/w_atanhl.c: Likewise.
20271 * math/w_exp10.c: Likewise.
20272 * math/w_exp10f.c: Likewise.
20273 * math/w_exp10l.c: Likewise.
20274 * math/w_fmod.c: Likewise.
20275 * math/w_fmodf.c: Likewise.
20276 * math/w_fmodl.c: Likewise.
20277 * math/w_j0.c: Likewise.
20278 * math/w_j0f.c: Likewise.
20279 * math/w_j0l.c: Likewise.
20280 * math/w_j1.c: Likewise.
20281 * math/w_j1f.c: Likewise.
20282 * math/w_j1l.c: Likewise.
20283 * math/w_jn.c: Likewise.
20284 * math/w_jnf.c: Likewise.
20285 * math/w_log.c: Likewise.
20286 * math/w_logf.c: Likewise.
20287 * math/w_logl.c: Likewise.
20288 * math/w_log10.c: Likewise.
20289 * math/w_log10f.c: Likewise.
20290 * math/w_log10l.c: Likewise.
20291 * math/w_log2.c: Likewise.
20292 * math/w_log2f.c: Likewise.
20293 * math/w_log2l.c: Likewise.
20294 * math/w_pow.c: Likewise.
20295 * math/w_powf.c: Likewise.
20296 * math/w_powl.c: Likewise.
20297 * math/w_remainder.c: Likewise.
20298 * math/w_remainderf.c: Likewise.
20299 * math/w_remainderl.c: Likewise.
20300 * math/w_scalb.c: Likewise.
20301 * math/w_scalbf.c: Likewise.
20302 * math/w_scalbl.c: Likewise.
20303 * math/w_sqrt.c: Likewise.
20304 * math/w_sqrtf.c: Likewise.
20305 * math/w_sqrtl.c: Likewise.
20306 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
20307 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
20308 used.
20309 * math/math_private.h: Declare __kernel_standard_f.
20310 * math/w_cosh.c: Remove cruft and optimize a bit.
20311 * math/w_coshf.c: Likewise.
20312 * math/w_coshl.c: Likewise.
20313 * math/w_exp2.c: Likewise.
20314 * math/w_exp2f.c: Likewise.
20315 * math/w_exp2l.c: Likewise.
20316 * math/w_hypot.c: Likewise.
20317 * math/w_hypotf.c: Likewise.
20318 * math/w_hypotl.c: Likewise.
20319 * math/w_lgamma.c: Likewise.
20320 * math/w_lgamma_r.c: Likewise.
20321 * math/w_lgammaf.c: Likewise.
20322 * math/w_lgammaf_r.c: Likewise.
20323 * math/w_lgammal.c: Likewise.
20324 * math/w_lgammal_r.c: Likewise.
20325 * math/w_sinh.c: Likewise.
20326 * math/w_sinhf.c: Likewise.
20327 * math/w_sinhl.c: Likewise.
20328 * math/w_tgamma.c: Likewise.
20329 * math/w_tgammaf.c: Likewise.
20330 * math/w_tgammal.c: Likewise.
20331 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20332 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20333 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20334 Minor optimizations. Pretty printing. Remove cruft.
20335 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20336 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20337 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20338 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20339 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20340 * sysdeps/i386/fpu/e_asin.S: Likewise.
20341 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20342 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20343 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20344 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20345 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20346 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20347 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20348 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20349 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20350 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20351 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20352 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20353 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20354 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20355 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20356 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20357 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20358 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20359 * sysdeps/i386/fpu/e_log.S: Likewise.
20360 * sysdeps/i386/fpu/e_log10.S: Likewise.
20361 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20362 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20363 * sysdeps/i386/fpu/e_log2.S: Likewise.
20364 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20365 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20366 * sysdeps/i386/fpu/e_logf.S: Likewise.
20367 * sysdeps/i386/fpu/e_logl.S: Likewise.
20368 * sysdeps/i386/fpu/e_pow.S: Likewise.
20369 * sysdeps/i386/fpu/e_powf.S: Likewise.
20370 * sysdeps/i386/fpu/e_powl.S: Likewise.
20371 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20372 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20373 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20374 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20375 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20376 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20377 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20378 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20379 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20380 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20381 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20382 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20383 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20384 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20385 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20386 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20387 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20388 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20389 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20390 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20391 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20393 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20394 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20395 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20396 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20397 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20398 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20399 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20400 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20401 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20402 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20403 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20404 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20405 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20406 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20407 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20408 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20409 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20410 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20411 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20412 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20413 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20414 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20415 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20416 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20417 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20418 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20419 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20420 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20421 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20422 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20423 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20424 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20425 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20426 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20427 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20428 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20429 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20430 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20431 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20432 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20433 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20434 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20435 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20436 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20437 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20438 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20439 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20440 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20441 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20442 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20443 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20444 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20445 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20446 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20447 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20448 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20449 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20450 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20451 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20452 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20453 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20454 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20455 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20456 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20457 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20458 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20459 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20460 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20461 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20462 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20463 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20464 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20465 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20466 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20467 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20468 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20469 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20470 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20471 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20472 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20473 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20474 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20475 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20476 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20477 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20478 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20479 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20480 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20481 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20482 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20483 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20484 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20485 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20486 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20487 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20488 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20489 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20490 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20491 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20492 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20493 (__isnanf): Likewise.
20494 (__isinf_ns): Likewise.
20495 (__isinf_nsf): Likewise.
20496 (__finite): Likewise.
20497 (__finitef): Likewise.
20498 (__ieee754_sqrt): Define as macro.
20499 (__ieee754_sqrtf): Define as macro.
20500 (__ieee754_sqrtl): Define as macro.
20501 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20502 inlined copy.
20503 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20504 __FINITE_MATH_ONLY__ consistent.
20505 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20506
12cc2fcd
AS
205072011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20508
a843a204
AS
20509 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20510 of rawmemchr.
20511
12cc2fcd
AS
20512 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20513
c853acd5
UD
205142011-10-09 Ulrich Drepper <drepper@gmail.com>
20515
20516 * po/ja.po: Update from translation team.
20517
c658d255
RM
205182011-10-08 Roland McGrath <roland@hack.frob.com>
20519
110946e4
RM
20520 * locale/programs/locarchive.c (prepare_address_space): New function.
20521 (create_archive, enlarge_archive, open_archive): Use it.
20522
50604220
RM
20523 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20524 inside [SHARED], where it is used.
20525
c658d255
RM
20526 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20527
20528 * nss/getent.c (netgroup_keys): Remove unused variable.
20529 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20530
6a621eb7
UD
205312011-10-08 Ulrich Drepper <drepper@gmail.com>
20532
7edb55ce
UD
20533 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20534 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20535 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20536 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20537 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20538 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20539 * math/Makefile (libm-calls): Add s_isinf_ns.
20540 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20541 * math/multc3.c: Likewise.
20542 * math/s_casin.c: Likewise.
20543 * math/s_casinf.c: Likewise.
20544 * math/s_casinl.c: Likewise.
20545 * math/s_ccos.c: Likewise.
20546 * math/s_ccosf.c: Likewise.
20547 * math/s_ccosl.c: Likewise.
20548 * math/s_ctan.c: Likewise.
20549 * math/s_ctanf.c: Likewise.
20550 * math/s_ctanh.c: Likewise.
20551 * math/s_ctanhf.c: Likewise.
20552 * math/s_ctanhl.c: Likewise.
20553 * math/s_ctanl.c: Likewise.
20554 * math/w_fmod.c: Likewise.
20555 * math/w_fmodf.c: Likewise.
20556 * math/w_fmodl.c: Likewise.
20557 * math/w_remainder.c: Likewise.
20558 * math/w_remainderf.c: Likewise.
20559 * math/w_remainderl.c: Likewise.
20560 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20561 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20562 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20563 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20564 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20565 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20566 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20567 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20568
187da0ae
UD
20569 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20570 of the number.
20571 * stdio-common/printf_fphex.c: Likewise.
20572 * stdio-common/printf_size.c: Likewise.
20573
9277c064
UD
20574 * math/e_exp10.c: Include math_private.h using <...> not "...".
20575 * math/e_exp10f.c: Likewise.
20576 * math/e_exp10l.c: Likewise.
20577 * math/e_exp2l.c: Likewise.
20578 * math/e_j0l.c: Likewise.
20579 * math/e_j1l.c: Likewise.
20580 * math/e_jnl.c: Likewise.
20581 * math/e_lgammal_r.c: Likewise.
20582 * math/e_rem_pio2l.c: Likewise.
20583 * math/e_scalb.c: Likewise.
20584 * math/e_scalbf.c: Likewise.
20585 * math/e_scalbl.c: Likewise.
20586 * math/k_cosl.c: Likewise.
20587 * math/k_sinl.c: Likewise.
20588 * math/k_tanl.c: Likewise.
20589 * math/s_cacoshf.c: Likewise.
20590 * math/s_catan.c: Likewise.
20591 * math/s_catanf.c: Likewise.
20592 * math/s_catanh.c: Likewise.
20593 * math/s_catanhf.c: Likewise.
20594 * math/s_catanhl.c: Likewise.
20595 * math/s_catanl.c: Likewise.
20596 * math/s_ccosh.c: Likewise.
20597 * math/s_ccoshf.c: Likewise.
20598 * math/s_ccoshl.c: Likewise.
20599 * math/s_cexp.c: Likewise.
20600 * math/s_cexpf.c: Likewise.
20601 * math/s_cexpl.c: Likewise.
20602 * math/s_clog.c: Likewise.
20603 * math/s_clog10.c: Likewise.
20604 * math/s_clog10f.c: Likewise.
20605 * math/s_clog10l.c: Likewise.
20606 * math/s_clogf.c: Likewise.
20607 * math/s_clogl.c: Likewise.
20608 * math/s_csin.c: Likewise.
20609 * math/s_csinf.c: Likewise.
20610 * math/s_csinh.c: Likewise.
20611 * math/s_csinhf.c: Likewise.
20612 * math/s_csinhl.c: Likewise.
20613 * math/s_csinl.c: Likewise.
20614 * math/s_csqrt.c: Likewise.
20615 * math/s_csqrtf.c: Likewise.
20616 * math/s_csqrtl.c: Likewise.
20617 * math/s_ctan.c: Likewise.
20618 * math/s_ctanf.c: Likewise.
20619 * math/s_ctanh.c: Likewise.
20620 * math/s_ctanhf.c: Likewise.
20621 * math/s_ctanhl.c: Likewise.
20622 * math/s_ctanl.c: Likewise.
20623 * math/s_ldexp.c: Likewise.
20624 * math/s_ldexpf.c: Likewise.
20625 * math/s_ldexpl.c: Likewise.
20626 * math/s_significand.c: Likewise.
20627 * math/s_significandf.c: Likewise.
20628 * math/s_significandl.c: Likewise.
20629 * math/w_acos.c: Likewise.
20630 * math/w_acosf.c: Likewise.
20631 * math/w_acosh.c: Likewise.
20632 * math/w_acoshf.c: Likewise.
20633 * math/w_acoshl.c: Likewise.
20634 * math/w_acosl.c: Likewise.
20635 * math/w_asin.c: Likewise.
20636 * math/w_asinf.c: Likewise.
20637 * math/w_asinl.c: Likewise.
20638 * math/w_atan2.c: Likewise.
20639 * math/w_atan2f.c: Likewise.
20640 * math/w_atan2l.c: Likewise.
20641 * math/w_atanh.c: Likewise.
20642 * math/w_atanhf.c: Likewise.
20643 * math/w_atanhl.c: Likewise.
20644 * math/w_cosh.c: Likewise.
20645 * math/w_coshf.c: Likewise.
20646 * math/w_coshl.c: Likewise.
20647 * math/w_dremf.c: Likewise.
20648 * math/w_exp10.c: Likewise.
20649 * math/w_exp10f.c: Likewise.
20650 * math/w_exp10l.c: Likewise.
20651 * math/w_exp2.c: Likewise.
20652 * math/w_exp2f.c: Likewise.
20653 * math/w_fmod.c: Likewise.
20654 * math/w_fmodf.c: Likewise.
20655 * math/w_fmodl.c: Likewise.
20656 * math/w_hypot.c: Likewise.
20657 * math/w_hypotf.c: Likewise.
20658 * math/w_hypotl.c: Likewise.
20659 * math/w_j0.c: Likewise.
20660 * math/w_j0f.c: Likewise.
20661 * math/w_j0l.c: Likewise.
20662 * math/w_j1.c: Likewise.
20663 * math/w_j1f.c: Likewise.
20664 * math/w_j1l.c: Likewise.
20665 * math/w_jn.c: Likewise.
20666 * math/w_jnf.c: Likewise.
20667 * math/w_jnl.c: Likewise.
20668 * math/w_lgamma.c: Likewise.
20669 * math/w_lgamma_r.c: Likewise.
20670 * math/w_lgammaf.c: Likewise.
20671 * math/w_lgammaf_r.c: Likewise.
20672 * math/w_lgammal.c: Likewise.
20673 * math/w_lgammal_r.c: Likewise.
20674 * math/w_log.c: Likewise.
20675 * math/w_log10.c: Likewise.
20676 * math/w_log10f.c: Likewise.
20677 * math/w_log10l.c: Likewise.
20678 * math/w_log2.c: Likewise.
20679 * math/w_log2f.c: Likewise.
20680 * math/w_log2l.c: Likewise.
20681 * math/w_logf.c: Likewise.
20682 * math/w_logl.c: Likewise.
20683 * math/w_pow.c: Likewise.
20684 * math/w_powf.c: Likewise.
20685 * math/w_powl.c: Likewise.
20686 * math/w_remainder.c: Likewise.
20687 * math/w_remainderf.c: Likewise.
20688 * math/w_remainderl.c: Likewise.
20689 * math/w_scalb.c: Likewise.
20690 * math/w_scalbf.c: Likewise.
20691 * math/w_scalbl.c: Likewise.
20692 * math/w_sinh.c: Likewise.
20693 * math/w_sinhf.c: Likewise.
20694 * math/w_sinhl.c: Likewise.
20695 * math/w_sqrt.c: Likewise.
20696 * math/w_sqrtf.c: Likewise.
20697 * math/w_sqrtl.c: Likewise.
20698 * math/w_tgamma.c: Likewise.
20699 * math/w_tgammaf.c: Likewise.
20700 * math/w_tgammal.c: Likewise.
20701
6a621eb7
UD
20702 * po/ja.po: Update from translation team.
20703
bf582445
AJ
207042011-09-29 Andreas Jaeger <aj@suse.de>
20705
f9efbf3a
AJ
20706 [BZ #13179]
20707 * sunrpc/netname.c (netname2host): Fix logic.
20708
bf582445
AJ
20709 [BZ #6779]
20710 [BZ #6783]
20711 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20712 correctly.
20713 * math/w_remainder.c (__remainder): Likewise.
20714 * math/w_remainderf.c (__remainderf): Likewise.
20715 * math/libm-test.inc (remainder_test): Add test cases.
20716
48693bea
AK
207172011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20718
20719 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20720 sdiv_qrnnd.
20721
42622229
LD
207222011-10-07 Ulrich Drepper <drepper@gmail.com>
20723
20724 * string/test-memcmp.c: Avoid unncessary #defines.
20725 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20726
093ecf92
LD
207272011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20728
20729 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20730 Use new sse2 version for core i3 - i7 as it's faster
20731 than sse42 version.
20732 (bit_Prefer_PMINUB_for_stringop): New.
20733 * sysdeps/x86_64/rawmemchr.S: Update.
20734 Replace with faster SSE2 version.
20735 * sysdeps/x86_64/memrchr.S: New file.
20736 * sysdeps/x86_64/memchr.S: Update.
20737 Replace with faster SSE2 version.
20738
fde56e5c
MP
207392011-09-12 Marek Polacek <mpolacek@redhat.com>
20740
20741 * elf/dl-load.c (lose): Add cast to avoid warning.
20742
21fd49a9
UD
207432011-10-07 Ulrich Drepper <drepper@gmail.com>
20744
5a06e643
UD
20745 * po/ca.po: Update from translation team.
20746
684ae515
UD
20747 * inet/getnetgrent_r.c: Hook up nscd.
20748 * nscd/Makefile (routines): Add nscd_netgroup.
20749 (nscd-modules): Add netgroupcache.
20750 (CFLAGS-netgroupcache.c): Define.
20751 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20752 (cache_search): Add const to second parameter.
20753 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20754 INNETGR.
20755 (dbs): Add netgrdb entry.
20756 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20757 (verify_persistent_db): Handle netgrdb.
20758 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20759 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20760 GETFDNETGR.
20761 (netgroup_response_header): Define.
20762 (innetgroup_response_header): Define.
20763 (datahead): Add netgroup_response_header and innetgroup_response_header
20764 elements.
20765 * nscd/nscd.conf: Add entries for netgroup cache.
20766 * nscd/nscd.h (dbtype): Add netgrdb.
20767 (_PATH_NSCD_NETGROUP_DB): Define.
20768 (netgroup_iov_disabled): Declare.
20769 (xmalloc, xcalloc, xrealloc): Move declarations here.
20770 (cache_search): Adjust prototype.
20771 Add netgroup-related prototypes.
20772 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20773 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20774 (__nscd_innetgr): Declare.
20775 * nscd/selinux.c (perms): Use access_vector_t as element type and
20776 add netgroup-related initializers.
20777 * nscd/netgroupcache.c: New file.
20778 * nscd/nscd_netgroup.c: New file.
20779 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20780 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20781 For four parameters use innetgr.
20782 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20783 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20784 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20785 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20786
21fd49a9
UD
20787 * nscd/connections.c (register_traced_file): Don't register file
20788 for disabled databases.
20789
054c0457
UD
207902011-10-06 Ulrich Drepper <drepper@gmail.com>
20791
32b63198
UD
20792 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20793
054c0457
UD
20794 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20795 from tree and freeing node.
20796
64031225
JO
207972011-09-25 Jiri Olsa <jolsa@redhat.com>
20798
20799 * nss/nsswitch.c (__nss_database_lookup): Handle
20800 nss_parse_service_list out of memory case.
20801
0490345c
JO
208022011-09-15 Jiri Olsa <jolsa@redhat.com>
20803
20804 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20805 out of memory case.
20806
3a62d00d
AS
208072011-10-04 Andreas Schwab <schwab@redhat.com>
20808
20809 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20810 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20811 pass it down.
20812 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20813 elf_machine_rela, elf_machine_lazy_rel.
20814 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20815 (ELF_DYNAMIC_DO_REL): Likewise.
20816 (ELF_DYNAMIC_DO_RELA): Likewise.
20817 (ELF_DYNAMIC_RELOCATE): Likewise.
20818 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20819 to ELF_DYNAMIC_DO_REL.
20820 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20821 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20822 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20823 elf_machine_rela.
20824 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20825 skip_ifunc, don't call ifunc function if non-zero.
20826 (elf_machine_rela): Likewise.
20827 (elf_machine_lazy_rel): Likewise.
20828 (elf_machine_lazy_rela): Likewise.
20829 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20830 (elf_machine_lazy_rel): Likewise.
20831 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20832 Likewise.
20833 (elf_machine_lazy_rel): Likewise.
20834 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20835 Likewise.
20836 (elf_machine_lazy_rel): Likewise.
20837 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20838 (elf_machine_lazy_rel): Likewise.
20839 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20840 (elf_machine_lazy_rel): Likewise.
20841 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20842 (elf_machine_lazy_rel): Likewise.
20843 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20844 (elf_machine_lazy_rel): Likewise.
20845 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20846 (elf_machine_lazy_rel): Likewise.
20847 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20848 (elf_machine_lazy_rel): Likewise.
20849
68577918
UD
208502011-09-28 Ulrich Drepper <drepper@gmail.com>
20851
20852 * nss/nss_files/files-init.c (_nss_files_init): Use static
20853 initialization for all the *_traced_file variables.
20854
68822d74
AS
208552011-09-28 Andreas Schwab <schwab@redhat.com>
20856
20857 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20858
2056100b
RM
208592011-09-27 Roland McGrath <roland@hack.frob.com>
20860
20861 [BZ #13226]
20862 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20863
32c76b63
AS
208642011-09-27 Andreas Schwab <schwab@redhat.com>
20865
20866 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20867 Reread the line before reparsing it.
20868
bf972c9d
AS
208692011-09-26 Andreas Schwab <schwab@redhat.com>
20870
20871 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20872
e057a1b5
JM
208732011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20874 Maxim Kuvyrkov <maxim@codesourcery.com>
20875 Joseph Myers <joseph@codesourcery.com>
20876
20877 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20878 if needed for __stack_chk_guard.
20879
bc7e1c36
RM
208802011-09-19 Roland McGrath <roland@hack.frob.com>
20881
ecb1482f
RM
20882 * sysdeps/posix/spawni.c (script_execute): Always define it.
20883 It will be optimized away if unused.
20884 (maybe_script_execute): New function.
20885 (__spawni): Call it.
20886
bc7e1c36
RM
20887 * Makerules: Don't include tls.make.
20888 (config-tls): Always set to thread.
20889 * tls.make.c: File removed.
20890
1c3b002b
MF
208912011-09-19 Mike Frysinger <vapier@gentoo.org>
20892
20893 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20894 * config.make.in (CPPFLAGS-config): New substituted variable.
20895
2840865d
UD
208962011-09-15 Ulrich Drepper <drepper@gmail.com>
20897
88738eb6
UD
20898 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20899
cbf645a6 20900 [BZ #13192]
2840865d
UD
20901 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20902 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20903
b402e91a
RM
209042011-09-15 Roland McGrath <roland@hack.frob.com>
20905
20906 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20907 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20908 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20909 (CALL_FAIL): Likewise.
20910 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20911 (CALL_FAIL): Macro removed.
20912 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20913
4c1a1f71
UD
209142011-09-15 Ulrich Drepper <drepper@gmail.com>
20915
20916 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20917 for __FINITE_MATH_ONLY__ == 1.
20918
edc121be
AS
209192011-09-15 Andreas Schwab <schwab@redhat.com>
20920
20921 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20922 __ieee754_sqrt instead of sqrt.
20923 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20924 __ieee754_sqrtf instead of sqrtf.
20925 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20926 __floorf instead of floorf.
20927 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20928 __floorf, __truncf instead of floorf, truncf.
20929
cd205654
UD
209302011-09-14 Ulrich Drepper <drepper@gmail.com>
20931
ee4d0315
UD
20932 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20933
cd205654
UD
20934 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20935 __extern_always_inline.
20936 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20937 32-bit.
20938
48b67d71
AS
209392011-09-14 Andreas Schwab <schwab@redhat.com>
20940
20941 * elf/rtld.c (dl_main): Also relocate in dependency order when
20942 doing symbol dependency testing.
20943
1ae12c75
AS
209442011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20945
20946 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20947 Always define `refsym'.
20948
995a80df
AS
209492011-09-13 Andreas Schwab <schwab@redhat.com>
20950
e529793b
AS
20951 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20952 (__FD_ELT): Renamed from __FDELT.
20953 * misc/bits/select2.h (__FD_ELT): Likewise.
20954 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20955 __FD_MASK instead of __FDELT, __FDMASK.
20956 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20957 Likewise.
20958 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20959 Likewise.
20960
52d4fef8
AS
20961 * elf/Makefile (gen-ldd): Fix pattern.
20962
995a80df
AS
20963 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20964 (init_tls): Likewise.
20965
8682f8b0
UD
209662011-09-12 Ulrich Drepper <drepper@gmail.com>
20967
20968 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20969
de82006d
AS
209702011-09-12 Andreas Schwab <schwab@redhat.com>
20971
a7c8e6a1
AS
20972 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20973 `struct cmsghdr *' instead of `void *'.
20974 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20975 Likewise.
20976
0f31fe77
AS
209772011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20978
20979 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20980 if non-absolute.
20981 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20982 ldd_rewrite_script.
0f31fe77 20983
32b4c839
UD
209842011-09-11 Ulrich Drepper <drepper@gmail.com>
20985
83cd1420
UD
20986 * configure.in: Remove --with-tls option.
20987 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20988 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20989 out in case it is missing.
20990 * sysdeps/ia64/elf/configure.in: Likewise.
20991 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20992 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20993 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20994 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20995 * sysdeps/sh/elf/configure.in: Likewise.
20996 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20997 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20998 * sysdeps/x86_64/elf/configure.in: Likewise.
20999 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21000 * sysdeps/mach/hurd/tls.h: Likewise.
21001
633f745d
UD
21002 [BZ #13067]
21003 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21004
f318beb8
UD
21005 [BZ #13090]
21006 * configure.in: Fix use of AC_INIT.
21007
32b4c839
UD
21008 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21009
3ce1f295
UD
210102011-09-10 Ulrich Drepper <drepper@gmail.com>
21011
bb016596
UD
21012 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21013 __set_errno.
8e58439c
UD
21014 * malloc/hooks.c: Likewise.
21015
aebae053 21016 [BZ #11929]
02d46fc4
UD
21017 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21018 variables statically.
21019 (narenas): Initialize.
21020 (list_lock): Initialize.
bb016596
UD
21021 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21022 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
21023 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21024 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21025 Add initializers to main_arena and mp_.
21026 (malloc_state): Remove pagesize member. Change all users to use
21027 GLRO(dl_pagesize).
21028
21029 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21030 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21031 is always initialized.
21032
22a89187
UD
21033 * malloc/malloc.c: Removed unused configurations and dead code.
21034 * malloc/arena.c: Likewise.
21035 * malloc/hooks.c: Likewise.
02d46fc4 21036 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 21037
d063d164
UD
21038 * include/tls.h: Removed. USE___THREAD must always be defined.
21039 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21040 * elf/dl-libc.c: Likewise.
21041 * elf/dl-tsd.c: Likewise.
21042 * include/errno.h: Likewise.
21043 * include/netdb.h: Likewise.
21044 * include/resolv.h: Likewise.
21045 * inet/herrno-loc.c: Likewise.
21046 * inet/herrno.c: Likewise.
21047 * malloc/arena.c: Likewise.
21048 * malloc/hooks.c: Likewise.
21049 * malloc/malloc.c: Likewise.
21050 * resolv/res-state.c: Likewise.
21051 * resolv/res_libc.c: Likewise.
21052 * sysdeps/i386/dl-machine.h: Likewise.
21053 * sysdeps/ia64/dl-machine.h: Likewise.
21054 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21055 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21056 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21057 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21058 * sysdeps/sh/dl-machine.h: Likewise.
21059 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21060 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21061 * sysdeps/unix/i386/sysdep.S: Likewise.
21062 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21063 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21064 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21065 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21066 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21067 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21068 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21069 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21070 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21071 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21072 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21073 * sysdeps/x86_64/dl-machine.h: Likewise.
21074 * tls.make.c: Likewise.
21075
3ce1f295
UD
21076 * configure.in: Remove --with-__thread option. Make tests for
21077 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21078 tls_model attribute fail if no support is available. Remove
21079 USE_IN_LIBIO.
21080 * Makeconfig: Adjust for dropped configure option. All features are
21081 now mandatory.
21082 * Makerules: Likewise.
21083 * Versions.def: Likewise.
21084 * argp/argp-fmtstream.c: Likewise.
21085 * argp/argp-fmtstream.h: Likewise.
21086 * argp/argp-help.c: Likewise.
21087 * assert/assert.c: Likewise.
21088 * config.h.in: Likewise.
21089 * config.make.in: Likewise.
21090 * configure: Likewise.
21091 * configure.in: Likewise.
21092 * csu/Versions: Likewise.
21093 * csu/init.c: Likewise.
21094 * elf/tst-audit2.c: Likewise.
21095 * elf/tst-tls10.c: Likewise.
21096 * elf/tst-tls10.h: Likewise.
21097 * elf/tst-tls11.c: Likewise.
21098 * elf/tst-tls12.c: Likewise.
21099 * elf/tst-tls14.c: Likewise.
21100 * elf/tst-tlsmod11.c: Likewise.
21101 * elf/tst-tlsmod12.c: Likewise.
21102 * elf/tst-tlsmod13.c: Likewise.
21103 * elf/tst-tlsmod13a.c: Likewise.
21104 * elf/tst-tlsmod14a.c: Likewise.
21105 * elf/tst-tlsmod15b.c: Likewise.
21106 * elf/tst-tlsmod16a.c: Likewise.
21107 * elf/tst-tlsmod16b.c: Likewise.
21108 * elf/tst-tlsmod7.c: Likewise.
21109 * elf/tst-tlsmod8.c: Likewise.
21110 * elf/tst-tlsmod9.c: Likewise.
21111 * gmon/gmon.c: Likewise.
21112 * grp/fgetgrent_r.c: Likewise.
21113 * grp/putgrent.c: Likewise.
21114 * hurd/fopenport.c: Likewise.
21115 * include/libc-symbols.h: Likewise.
21116 * include/tls.h: Likewise.
21117 * intl/gettextP.h: Likewise.
21118 * intl/loadinfo.h: Likewise.
21119 * locale/global-locale.c: Likewise.
21120 * locale/localeinfo.h: Likewise.
21121 * mach/devstream.c: Likewise.
21122 * malloc/arena.c: Likewise.
21123 * malloc/set-freeres.c: Likewise.
21124 * misc/err.c: Likewise.
21125 * misc/getttyent.c: Likewise.
21126 * misc/mntent_r.c: Likewise.
21127 * posix/getopt.c: Likewise.
21128 * posix/wordexp.c: Likewise.
21129 * pwd/fgetpwent_r.c: Likewise.
21130 * resolv/Versions: Likewise.
21131 * resolv/res_hconf.c: Likewise.
21132 * shadow/fgetspent_r.c: Likewise.
21133 * shadow/putspent.c: Likewise.
21134 * stdio-common/printf_fphex.c: Likewise.
21135 * stdio-common/tmpfile.c: Likewise.
21136 * stdlib/abort.c: Likewise.
21137 * stdlib/fmtmsg.c: Likewise.
21138 * sunrpc/auth_unix.c: Likewise.
21139 * sunrpc/clnt_perr.c: Likewise.
21140 * sunrpc/clnt_tcp.c: Likewise.
21141 * sunrpc/clnt_udp.c: Likewise.
21142 * sunrpc/clnt_unix.c: Likewise.
21143 * sunrpc/openchild.c: Likewise.
21144 * sunrpc/svc_simple.c: Likewise.
21145 * sunrpc/svc_tcp.c: Likewise.
21146 * sunrpc/svc_udp.c: Likewise.
21147 * sunrpc/svc_unix.c: Likewise.
21148 * sunrpc/xdr.c: Likewise.
21149 * sunrpc/xdr_array.c: Likewise.
21150 * sunrpc/xdr_rec.c: Likewise.
21151 * sunrpc/xdr_ref.c: Likewise.
21152 * sunrpc/xdr_stdio.c: Likewise.
21153
1248c1c4
PB
211542011-09-09 Ulrich Drepper <drepper@gmail.com>
21155
21156 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21157
211582011-07-03 Andreas Jaeger <aj@suse.de>
21159
21160 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21161 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21162 regenerate with gen-libm-tests.pl.
21163
211642010-05-12 Petr Baudis <pasky@suse.cz>
21165
21166 [BZ #11589]
21167 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21168 around j0() zero points by switching to j1().
21169 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21170 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21171 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21172 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21173
f22e1074
UD
211742011-09-09 Ulrich Drepper <drepper@gmail.com>
21175
f19009c1
UD
21176 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21177 instead of 0.
21178 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 21179 instead of 0.
f19009c1
UD
21180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21181 Patch in part by Pavel Roskin <proski@gnu.org>.
21182
3f8cc204
UD
21183 [BZ #13138]
21184 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21185 realloc.
21186 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21187 Free memory block if necessary.
21188
f22e1074
UD
21189 [BZ #12847]
21190 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21191 be NULL. Don't lock in this case.
21192
0a2349f9
RM
211932011-09-09 Roland McGrath <roland@hack.frob.com>
21194
21195 * elf/elf.h (ELFOSABI_GNU): New macro.
21196 (ELFOSABI_LINUX): Define to that.
21197
f3cdd467
DZ
211982011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21199
21200 * string/strncat.c (strncat): Undef the symbol in case it has been
21201 defined in bits/string.h.
21202
74718d13
UD
212032011-09-09 Ulrich Drepper <drepper@gmail.com>
21204
633e9e0f
UD
21205 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21206
0a2349f9 21207 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
21208 link map.
21209
f9924780
AJ
212102011-08-17 Andreas Jaeger <aj@suse.de>
21211
21212 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21213
7f5517aa
PP
212142011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21215 Ian Lance Taylor <iant@google.com>
21216
21217 * math/libm-test.inc (lround_test): New testcase.
21218 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21219
762011fe
UD
212202011-09-08 Ulrich Drepper <drepper@gmail.com>
21221
92963737
UD
21222 * Makefile: Remove support for automatic cvs check-ins.
21223 * Makerules: Likewise.
21224 * config.make.in: Likewise.
21225 * configure.in: Likewise.
21226 * intl/Makefile: Likewise.
21227 * locale/Makefile: Likewise.
21228 * po/Makefile: Likewise.
21229 * posix/Makefile: Likewise.
21230 * sysdeps/gnu/Makefile: Likewise.
21231 * sysdeps/mach/hurd/Makefile: Likewise.
21232 * sysdeps/sparc/sparc32/Makefile: Likewise.
21233
b0727fd8
JS
21234 [BZ #13118]
21235 * posix/Makefile (bug-regex32-ENV): Define.
21236 Patch by John Stanley <jpsinthemix@verizon.net>.
21237
a0f33f99
UD
21238 * misc/Makefile (headers): Add bits/select2.h.
21239 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21240 * misc/bits/select2.h: New file.
21241 * include/bits/select2.h: New file.
21242 * debug/Makefile (routines): Add fdelt_chk.
21243 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21244 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21245 FD_ISSET.
21246 * debug/fdelt_chk.c: New file.
21247
762011fe
UD
21248 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21249 * wcsmbs/test-wmemcmp.c: Likewise.
21250 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 21251 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
21252
212532011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21254
21255 * string/Makefile (strop-tests): Add memcmp.
21256 * string/test-wmemcmp.c: New file.
21257 * string/test-memcmp.c: Add wmemcmp support.
21258
7f513ec8
RM
212592011-09-08 Roland McGrath <roland@hack.frob.com>
21260
0442afb4
RM
21261 [BZ #13153]
21262 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21263 2011-07-19 change.
21264
7f513ec8
RM
21265 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21266 garbage value in a __mach_port_mod_refs call in the cases of the
21267 task-self and thread-self ports.
21268
a12b2239
ST
212692011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21270
21271 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21272
610f9ab4
AS
212732011-09-08 Andreas Schwab <schwab@redhat.com>
21274
7f513ec8 21275 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 21276
48882a1a
LD
212772011-09-07 Ulrich Drepper <drepper@gmail.com>
21278
b49865be
UD
21279 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21280
fdc86bc9
UD
21281 * elf/dl-libc.c (dlerror_run): Pass back error code from
21282 dl_catch_error.
21283
c966526a
UD
21284 [BZ #13123]
21285 * elf/dl-load.c (lose): Free l_origin if it is valid.
21286
48882a1a
LD
21287 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21288 names.
21289 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21290 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21291 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21292 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21293 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21294 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21295
77a2a8b4
AZ
212962011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21297
21298 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21299 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21300 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21301 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21302 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21303 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21304 * sysdeps/powerpc/fpu/s_cosf.c: New file.
21305 * sysdeps/powerpc/fpu/s_sinf.c: New file.
21306 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
21307 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
21308
24f579d8
AM
213092011-08-15 Alan Modra <amodra@gmail.com>
21310
21311 [BZ #13092]
21312 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
21313 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
21314 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
21315 ppc_mcount to static-only-routines.
21316 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21317 __mcount_internal.
21318 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21319 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21320
3d4837df
UD
213212011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21322
21323 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21324 for finite and infinity parameters.
21325
22700377
WS
213262011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21327
21328 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21329 and add nop instructions for throughput optimization.
21330 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21331
5025581e
WS
213322011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21333
21334 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21335 aligned copy for power7 with vector-scalar instructions.
21336 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21337
08a300c9
L
213382011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21339
21340 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21341 AVX check.
21342
59178ef9
AS
213432011-09-07 Andreas Schwab <schwab@redhat.com>
21344
21345 [BZ #13144]
21346 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21347 last change.
21348
e38ba7ab
UD
213492011-09-07 Ulrich Drepper <drepper@gmail.com>
21350
21351 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21352 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21353 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21354 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21355 clock_gettime.
21356
d53a73ac
UD
213572011-09-06 Ulrich Drepper <drepper@gmail.com>
21358
fc8bffcc
UD
21359 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21360 Forgot to demangle the pointer.
21361
ceaa0c5d
UD
21362 * sysdeps/i386/sysdep.h: Define atom_text_section.
21363 * sysdeps/x86_64/sysdep.h: Likewise.
21364 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21365 section with atom_text_section.
21366 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21367 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21368 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21369 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21370 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21371
a77d3c17
UD
21372 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21373 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21374 already be defined. Change to take two parameters and don't assign
21375 result to variable. Adjust all users.
21376 Define INTERNAL_GETTIME if not already defined.
21377 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21378 call.
21379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21380 HAVE_CLOCK_GETTIME_VSYSCALL.
21381 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21382
d53a73ac
UD
21383 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21384 gettimeofday vsyscall, just use time.
21385
a8f84144
AS
213862011-09-06 Andreas Schwab <schwab@redhat.com>
21387
21388 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21389 <errno.h>.
21390
ef606249
UD
213912011-09-06 Ulrich Drepper <drepper@gmail.com>
21392
21393 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21394 syscall on x86-64.
21395 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21396 syscall.
21397 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21398 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21399 syscall if possible.
21400
6585cb60
UD
214012011-09-05 Ulrich Drepper <drepper@gmail.com>
21402
21403 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21404 e_ident. Don't pass to find_mapsXX.
21405 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21406
a5f524e4
LD
214072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21408
21409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21410 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21411 * sysdeps/x86_64/multiarch/strchr.S: Update.
21412 Check bit_slow_BSF bit.
21413 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21414 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21415 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21416
554881ef
UD
214172011-09-05 Ulrich Drepper <drepper@gmail.com>
21418
d96de963
UD
21419 [BZ #13134]
21420 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21421 before glibc 2.15.
21422 (tryshell): Define.
21423 (__spawni): Change last parameter to be flag. Test
21424 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21425 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21426 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21427 * posix/spawni.c: Likewise.
21428 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21429 * posix/spawnp.c: Likewise. Change normal version to use
21430 SPAWN_XFLAGS_USE_PATH.
21431 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21432 SPAWN_XFLAGS_TRY_SHELL.
21433
d48e5868
UD
21434 [BZ #13150]
21435 * posix/glob.h: Remove gcc 1.x support.
21436
554881ef
UD
21437 [BZ #13068]
21438 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21439
693fb948
LD
214402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21441
21442 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21443 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21444 strrchr-sse2-bsf
21445 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21446 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21447 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21448 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21449 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21450 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21451
1b48c537
UD
214522011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21453
49d42c37
UD
21454 * sysdeps/x86_64/wcscmp.S: New file.
21455
1b48c537
UD
21456 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21457 wcscmp-c wcscmp-sse2
21458 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21459 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21460 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21461 * wcsmbs/wcscmp.c: Allow renaming.
21462
15c95c5d
DM
214632011-09-05 David S. Miller <davem@davemloft.net>
21464
21465 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21466 stack slot, rather than the struct return pointer slot.
21467 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21468 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21470 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21471
2f0ad8f3
UD
214722011-09-05 Ulrich Drepper <drepper@gmail.com>
21473
d88ae418
UD
21474 * po/ja.po: Update from translation team.
21475
2f0ad8f3
UD
21476 [BZ #13144]
21477 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21478 kernel in 64-bit binaries.
21479
5f4318d1
DM
214802011-09-01 David S. Miller <davem@davemloft.net>
21481
21482 * elf/elf.h (HWCAP_SPARC_*): Move to..
21483 * sysdeps/sparc/sysdep.h: this new file and add new values.
21484 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21485 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21486 _DL_HWCAP_COUNT to 24.
21487 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21488 entries.
21489 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21490 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21491 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21492 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21493 instead of magic constants.
21494 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21495
3ba57516
DM
214962011-08-31 David S. Miller <davem@davemloft.net>
21497
21498 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21499 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21500 Reimplement to do errno handling inline.
21501 (SYSCALL_ERROR_HANDLER): New macro.
21502 (__SYSCALL_STRING): Do not do errno handling in asm.
21503 (__CLONE_SYSCALL_STRING): Delete.
21504 (__INTERNAL_SYSCALL_STRING): Delete.
21505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21506 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21507 (PSEUDO): Reimplement to do errno handling inline.
21508 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21509 (SYSCALL_ERROR_HANDLER): New macro.
21510 (__SYSCALL_STRING): Do not do errno handling in asm.
21511 (__CLONE_SYSCALL_STRING): Delete.
21512 (__INTERNAL_SYSCALL_STRING): Delete.
21513 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21514 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21515 i386.
21516 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21517 (inline_syscall*): Add 'err' argument.
21518 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21519 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21520 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21521 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21522
21523 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21524 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21525
2bc17433
AS
215262011-08-30 Andreas Schwab <schwab@redhat.com>
21527
21528 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21529
fbeb5f4d
JO
215302011-08-29 Jiri Olsa <jolsa@redhat.com>
21531
21532 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21533 directive.
21534
ad69cc26
DM
215352011-08-24 David S. Miller <davem@davemloft.net>
21536
21537 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21538
39dd69df
AS
215392011-08-24 Andreas Schwab <schwab@redhat.com>
21540
21541 * elf/Makefile: Add rules to build and run unload8 test.
21542 * elf/unload8.c: New file.
21543 * elf/unload8mod1.c: New file.
21544 * elf/unload8mod1x.c: New file.
21545 * elf/unload8mod2.c: New file.
21546 * elf/unload8mod3.c: New file.
21547
21548 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21549 it wasn't used.
21550
2c0b250a
DM
215512011-08-23 David S. Miller <davem@davemloft.net>
21552
21553 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21554 subtract stack bias.
21555 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21556 %sp not %fp in calculations.
21557 (_JMPBUF_UNWINDS_ADJ): Likewise.
21558
22044b48
DM
21559 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21560 (aio_suspend): Call it to force an exception region around the
21561 AIO_MISC_WAIT() invocation.
21562
2cae4995
AS
215632011-08-23 Andreas Schwab <schwab@redhat.com>
21564
21565 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21566 backslash.
21567
873a772e
AJ
215682011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21569
21570 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21571 protection macro.
21572 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21573 and <dl-machine.h>.
21574 (Elf64_FuncDesc): Remove.
21575
25ad0df1
DM
215762011-08-22 David S. Miller <davem@davemloft.net>
21577
21578 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21579 sigaltstack check, add missing cfi directives.
21580 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21581 missing cfi directives, and sigaltstack handling.
21582
e888bcbe
AS
215832011-08-16 Andreas Schwab <schwab@redhat.com>
21584
21585 [BZ #11724]
21586 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21587 object is seen twice.
21588 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21589
21590 * elf/Makefile (distribute): Add tst-initorder2.c.
21591 (tests): Add tst-initorder2.
21592 (modules-names): Add tst-initorder2a tst-initorder2b
21593 tst-initorder2c tst-initorder2d. Add rules to build them.
21594 ($(objpfx)tst-initorder2.out): New rule.
21595 * elf/tst-initorder2.c: New file.
21596 * elf/tst-initorder2.exp: New file.
21597
87162f46
AS
215982011-08-22 Andreas Schwab <schwab@redhat.com>
21599
70538b7f
AS
21600 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21601
f55ffe58
AS
21602 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21603 dependencies back to end of function.
21604
87162f46
AS
21605 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21606 $(elfobjdir)/ld.so.
21607
91b392a4
UD
216082011-08-21 Ulrich Drepper <drepper@gmail.com>
21609
21610 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21611 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21612 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21613 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21614 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21615 of __vdso_gettimeofday.
21616 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21617 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21618 attribute_hidden.
21619 (_libc_vdso_platform_setup): Remove initialization of
21620 __vdso_gettimeofday and __vdso_time.
21621
5c43483f
UD
216222011-08-20 Ulrich Drepper <drepper@gmail.com>
21623
775a77e7
UD
21624 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21625 and fgetc_unlocked.
21626 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21627 getc_unlocked.
89f447ed 21628
49c74ba9
UD
21629 * elf/dl-open.c (add_to_global): Report additions to the global scope
21630 for LD_DEBUG=scopes.
21631 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 21632 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 21633
5c43483f
UD
21634 [BZ #13114]
21635 * stdio-common/Makefile (tests): Add bug24.
21636 * stdio-common/bug24.c: New file.
21637
a101b025
AJ
216382011-08-19 Andreas Jaeger <aj@suse.de>
21639
21640 [BZ #13114]
21641 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21642 non-existant file when using close-on-exec mode.
21643
c88f1766
UD
216442011-08-20 Ulrich Drepper <drepper@gmail.com>
21645
0276a718
UD
21646 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21647 the very first instruction.
21648
c88f1766
UD
21649 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21650 the CFI state in the end.
21651 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21652 inclusion of dl-trampoline.h.
21653 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21654
51ccffa0
AS
216552011-08-19 Andreas Schwab <schwab@redhat.com>
21656
94d7165f
AS
21657 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21658 expectations for long double.
21659
51ccffa0
AS
21660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21661 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21662
fd708658 216632011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
21664
21665 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21666 artificual limit depends upon the system page size.
21667
44f0a71e
UD
216682011-08-17 Ulrich Drepper <drepper@gmail.com>
21669
21670 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21671 * resolv/Makefile: Define CFLAGS-libresolv.
21672
8de79a24
AS
216732011-08-17 Andreas Schwab <schwab@redhat.com>
21674
21675 * nss/makedb.c (compute_tables): Make variables used in nested
21676 function static.
21677
27724598
UD
216782011-08-17 Ulrich Drepper <drepper@gmail.com>
21679
c5305d88
UD
21680 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21681 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21682 if buffer was too small.
21683
27724598
UD
21684 * elf/pldd.c (main): Attach to all threads in the process.
21685 Rewrite /proc handling to use *at functions.
21686
076fe015
UD
216872011-08-16 Ulrich Drepper <drepper@gmail.com>
21688
174baab3
UD
21689 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21690 specifies first scope to show.
21691 (dl_open_worker): Update callers. Move printing scope of new
21692 object to before the relocation.
44f0a71e 21693 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
21694 * sysdeps/generic/ldsodefs.h: Update declaration.
21695
076fe015
UD
21696 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21697 string for the scope number.
21698
a60df2c3
UD
216992011-08-14 Ulrich Drepper <drepper@gmail.com>
21700
21701 * nscd/servicescache.c (cache_addserv): Make sure written is always
21702 initialized.
21703
5e4287d1
RM
217042011-08-14 Roland McGrath <roland@hack.frob.com>
21705
85ae0589
RM
21706 * sysdeps/i386/i486/bits/atomic.h
21707 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21708 statement expression, so as to suppress "set but not used" warning.
21709 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21710
69f63097
RM
21711 * string/strncat.c (STRNCAT): Use prototype definition.
21712
675456ef
RM
21713 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21714 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21715 -Iprograms here.
21716 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21717 (localedef-modules): Add localedef.
21718 (locale-modules): Add locale.
21719
5e4287d1
RM
21720 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21721 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21722 to avoid a warning.
21723
9c96ff23
DM
217242011-08-14 David S. Miller <davem@davemloft.net>
21725
21726 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21727 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21728
f9ddf089
UD
217292011-08-13 Ulrich Drepper <drepper@gmail.com>
21730
44f0a71e 21731 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
21732 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21733 * elf/rtld.c (dl_main): Set l_name of vDSO.
21734 Call _dl_show_scope when DL_DEBUG_SCOPES.
21735 (process_dl_debug): Recognize scopes flag and also set it for all.
21736 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21737 Declare _dl_show_scope.
21738
1dc27704
UD
21739 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21740 (do_dlopen): Pass caller_dlopen to dl_open.
21741 (__libc_dlopen_mode): Initialize caller_dlopen.
21742
f9ddf089
UD
21743 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21744 of libc. Make tolower call locale-independent. Optimize a bit by
21745 using isdigit instead of isalnum.
21746 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21747
9ac533d3
UD
217482011-08-12 Ulrich Drepper <drepper@gmail.com>
21749
21750 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21751 was a dependency or dynamically loaded.
21752
89edf2e9
UD
217532011-08-11 Ulrich Drepper <drepper@gmail.com>
21754
8e999d29
UD
21755 * intl/l10nflist.c: Allow architecture-specific pop function.
21756 * sysdeps/x86_64/l10nflist.c: New file.
21757
89edf2e9
UD
21758 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21759 classification.
21760
14d96785
AS
217612011-08-10 Andreas Schwab <schwab@redhat.com>
21762
21763 * include/dirent.h: Add libc_hidden_proto for scandirat and
21764 scandirat64. Don't declare __scandirat64.
21765 * dirent/scandirat.c: Add libc_hidden_def.
21766 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21767 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21768
6761ac04
DM
217692011-08-10 David S. Miller <davem@davemloft.net>
21770
21771 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21772 enum.
21773 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21774 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21775 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21776
c55fbd1e
UD
217772011-08-09 Ulrich Drepper <drepper@gmail.com>
21778
21779 * Versions.def [libc]: Add GLIBC_2.15.
21780 * dirent/Makefile (routines): Add scandirat and scandirat64.
21781 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21782 GLIBC_2.15.
21783 * dirent/dirent.h: Declare scandirat and scandirat64.
21784 * dirent/scandirat.c: New file.
21785 * dirent/scandirat64.c: New file.
21786 * sysdeps/wordsize-64/scandirat.c: New file.
21787 * sysdeps/wordsize-64/scandirat64.c: New file.
21788 * dirent/opendir.c: Define opendirat.
21789 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21790 using scandirat.
21791 * dirent/scandir64.c: Adjust for scandir.c change.
21792 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21793 __scandirat64, and __scandir_cancel_handler.
21794 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21795 additional parameter and use openat instead of open (outside of ld.so).
21796 Add new __opendir as wrapper around __opendirat.
21797 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21798 here without requiring old scandirat implementation.
21799
879165f2
UD
218002011-08-08 Ulrich Drepper <drepper@gmail.com>
21801
21802 * dirent/scandir.c (cancel_handler): Renamed to
21803 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21804 defined. Adjust users.
21805 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21806 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21807
cb7e923b
UD
218082011-08-04 Ulrich Drepper <drepper@gmail.com>
21809
16292edd
UD
21810 * string/test-string.h (IMPL): Use __STRING to expand name and then
21811 stringify it.
21812
cb7e923b
UD
21813 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21814 of cleanups.
21815
cff82933
LD
218162011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21817
21818 * string/Makefile: Update.
21819 (strop-tests): Append strncat.
21820 * string/test-wcscmp.c: New file.
21821 New comprehensive test for wcscmp.
21822 * string/test-strcmp.c: Update.
21823 (WIDE): New define.
21824
9be9bfcc
AS
218252011-07-22 Andreas Schwab <schwab@redhat.com>
21826
21827 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21828 line.
21829
2e96f1c7
AS
218302011-07-26 Andreas Schwab <schwab@redhat.com>
21831
21832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21833 encoding to ACE if AI_IDN.
21834
85188888
JJ
218352011-08-01 Jakub Jelinek <jakub@redhat.com>
21836
21837 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21838 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21839
5fa16e9b
LD
218402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21841
21842 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21843 Fix overflow bug in strncat.
21844 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21845
21846 * string/test-strncat.c: Update.
21847 Add new tests for checking overflow bugs.
21848
218492011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21850
21851 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21852 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21853 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21854 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21855 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21856 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21857 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21858 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21859 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21860
21861 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21862 (USE_AS_STRCAT): Define.
21863 Add strcat and strncat support.
21864 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21865
8c1a459f
AS
218662011-07-25 Andreas Schwab <schwab@redhat.com>
21867
21868 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21869 __n bigger than INT_MAX+1.
21870 (__strncmp_g): Likewise.
21871
bba33c28
UD
218722011-07-23 Ulrich Drepper <drepper@gmail.com>
21873
798be72d
UD
21874 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21875 * libio/stido.h: Likewise.
21876
8accd4dc
UD
21877 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21878 (AF_NFC): Define.
21879 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21880 (AF_NFC): Define.
21881
cbff0d96
UD
21882 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21883 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21884 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21885 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21886 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21887
9191c04a
UD
21888 [BZ #13021]
21889 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21890 installed.
21891
bba33c28
UD
21892 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21893 typo.
21894 (_dl_x86_64_save_sse): Likewise.
21895
90f139dd
UD
218962011-07-22 Ulrich Drepper <drepper@gmail.com>
21897
1aae088a
UD
21898 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21899 OSXSAVE.
21900 (_dl_x86_64_save_sse): Likewise.
21901
8e2045f5
UD
21902 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21903
90f139dd
UD
21904 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21905
1d002f25
AS
219062011-07-21 Andreas Schwab <schwab@redhat.com>
21907
21908 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21909 change.
21910 (_dl_x86_64_save_sse): Use correct AVX check.
21911
21137f89
UD
219122011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21913
21914 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21915 bug in strncpy/strncat.
21916 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21917
a65c0b7a
UD
219182011-07-21 Ulrich Drepper <drepper@gmail.com>
21919
21920 * string/tester.c (test_strcat): Add tests for different alignments
21921 of source and destination.
21922 (test_strncat): Likewise.
21923
6986b98a
UD
219242011-07-20 Ulrich Drepper <drepper@gmail.com>
21925
90bb2039
UD
21926 [BZ #12852]
21927 * posix/glob.c (glob): Check passed in values before using them in
21928 expressions to avoid some overflows.
21929 (glob_in_dir): Likewise.
21930
5644ef54
UD
21931 [BZ #13007]
21932 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21933 check for AVX enablement so that we don't crash with old kernels and
21934 new hardware.
21935 * elf/tst-audit4.c: Add same checks here.
21936 * elf/tst-audit6.c: Likewise.
21937
21938 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 21939
bfc9dc9b
AS
219402011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21941
21942 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21943
702e64bb
UD
219442011-07-20 Ulrich Drepper <drepper@gmail.com>
21945
21946 * po/cs.po: Update from translation team.
21947 * po/bg.po: Likewise.
21948
295e904f
MP
219492011-07-12 Marek Polacek <mpolacek@redhat.com>
21950
21951 * misc/sys/cdefs.h: Add support for const attribute.
21952 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21953 to gnu_dev_{major,minor,makedev} functions.
21954
3ff94596
MP
219552011-07-20 Marek Polacek <mpolacek@redhat.com>
21956
21957 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21958
28b59fca
AS
219592011-07-20 Andreas Schwab <schwab@redhat.com>
21960
21961 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21962 strlen results.
21963
19df733e
AK
219642011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21965
21966 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21967 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21968 register in order to avoid conflicts with the soft frame pointer
21969 being held in r11 when necessary.
21970 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21971 (INTERNAL_VSYSCALL_NCS): Likewise.
21972
c8835729
MP
219732011-07-14 Marek Polacek <mpolacek@redhat.com>
21974
21975 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21976 * elf/dl-fini.c (_dl_fini): Adjust caller.
21977 * elf/dl-close.c (_dl_close_worker): Likewise.
21978 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21979
b902330c
MP
219802011-07-15 Marek Polacek <mpolacek@redhat.com>
21981
8991e135
MP
21982 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21983 "aux_cache->nlibs < 0".
21984
b902330c
MP
21985 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21986 in the reload-count case.
21987
99710781
LD
219882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21989
21990 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21991 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21992 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21993 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21994 * sysdeps/x86_64/multiarch/strcat.S: New file.
21995 * sysdeps/x86_64/multiarch/strncat.S: New file.
21996 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21997 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21998 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21999 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22000 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22001 (USE_AS_STRCAT): Define.
22002 Add strcat and strncat support.
22003 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22004 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22005 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22006 * string/strncat.c: Update.
22007 (USE_AS_STRNCAT): Define.
22008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22009 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22010 and i7.
22011 * sysdeps/x86_64/multiarch/init-arch.h
22012 (bit_Prefer_PMINUB_for_stringop): New.
22013 (index_Prefer_PMINUB_for_stringop): Likewise.
22014 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22015 bit_Prefer_PMINUB_for_stringop.
22016
7dc6bd90
UD
220172011-07-19 Ulrich Drepper <drepper@gmail.com>
22018
22019 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22020 buffer64.
22021 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22022 of casting of buffer.
22023 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22024 buffer32 and buffer64.
22025 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22026 writes instead of casting of buffer.
22027 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22028 buffer32.
22029 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22030 casting of buffer.
22031
e0e72284
AS
220322011-07-19 Andreas Schwab <schwab@redhat.com>
22033
22034 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22035
feb1eb0b
UD
220362011-07-19 Ulrich Drepper <drepper@gmail.com>
22037
22038 * nscd/nscd.c (termination_handler): Don't do anything for a database
22039 if it has not yet been initialized.
22040
298711ff
UD
220412011-07-18 Ulrich Drepper <drepper@gmail.com>
22042
22043 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22044
220452011-07-15 Marek Polacek <mpolacek@redhat.com>
22046
22047 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22048
f9d68389
UD
220492011-07-18 Ulrich Drepper <drepper@gmail.com>
22050
22051 * po/nl.po: Update from translation team.
22052 * po/sv.po: Likewise.
22053
db290cf5
RM
220542011-07-16 Roland McGrath <roland@hack.frob.com>
22055
22056 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22057 now disallowed by GCC.
5c550700 22058
fd5e21c7
RM
22059 * configure.in (use-default-link): Default to yes if a test -shared
22060 link meets our qualifications.
22061 * configure: Regenerated.
22062
5c550700
RM
22063 * config.make.in (output-format): New variable.
22064 * configure.in: Check for ld --print-output-format support.
22065 * configure: Regenerated.
22066 * Makerules ($(common-objpfx)format.lds)
22067 [$(output-format) != unknown]: Just use $(output-format),
22068 instead of the linker-script munging.
22069
9fa2c032
RM
220702011-07-14 Roland McGrath <roland@hack.frob.com>
22071
a6928d51
RM
22072 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22073 of $(common-objpfx)shlib.lds.
22074 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22075
661607b3
RM
22076 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22077 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22078
9fa2c032
RM
22079 * configure.in (-z relro check): Adjust test code to add a large
22080 writable data section after it.
22081 * configure: Regenerated.
22082
defe9061
RM
220832011-07-11 Roland McGrath <roland@hack.frob.com>
22084
22085 * configure.in (-z relro check): Fix test code to make the variable
22086 truly const.
22087 * configure: Regenerated.
22088
319b9ad4
UD
220892011-07-11 Ulrich Drepper <drepper@gmail.com>
22090
22091 * nscd/nscd.h (struct traced_file): Define.
22092 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22093 elements. Add traced_files.
22094 (inotify_fd): Declare.
22095 (register_traced_file): Declare.
22096 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22097 (inotify_fd): Export.
22098 (resolv_conf_descr): Remove.
22099 (nscd_init): Move inotify descriptor creation to main.
22100 Don't register files for notification here.
22101 (register_traced_file): New function.
22102 (invalidate_cache): Don't use reset_res to determine whether to call
22103 res_init, go through the list of registered files.
22104 (main_loop_poll): The inotify descriptors are now stored in the
22105 structures for the traced files.
22106 (main_loop_epoll): Likewise
22107 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22108 to __nss_disable_nscd.
22109 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22110 for a database anymore. Check the records for all the registered
22111 files instead.
22112 * nss/Makefile (libnss_files-routines): Add files-init.
22113 (libnss_db-routines): Add db-init.
22114 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22115 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22116 * nss/nss_db/db-init.c: New file.
22117 * nss/nss_files/files-init.c: New file.
22118 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22119 __nss_lookup_function.
22120 (__nss_lookup_function): Call nss_load_library.
22121 (nss_load_all_libraries): New function.
22122 (__nss_disable_nscd): Take parameter with callback function for files
22123 to register. Set is_nscd. Load all the DSOs for the NSS modules
22124 used for the cached services.
22125 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22126 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22127 options for features to all the files in nscd.
22128
22129 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22130
23bee3e8
RM
221312011-07-10 Roland McGrath <roland@hack.frob.com>
22132
22133 * csu/elf-init.c (__libc_csu_init): Comment typo.
22134
46a5b7f0
UD
221352011-07-09 Ulrich Drepper <drepper@gmail.com>
22136
22137 * po/pl.po: Update from translation team.
22138 * po/ja.po: Likewise.
22139 * po/ru.po: Likewise.
22140 * po/ko.po: Likewise.
22141 * po/fr.po: Likewise.
22142
d30cf5bb
RM
221432011-07-09 Roland McGrath <roland@hack.frob.com>
22144
113ddea4
RM
22145 * configure.in (.ctors/.dtors header and trailer check):
22146 Use an empirical test on a built program.
22147 * configure: Regenerated.
22148
574920b4
RM
22149 * configure.in (-z relro check): Use an empirical test on a built DSO.
22150 Detect, but do not require, on ia64.
22151 * configure: Regenerated.
22152
d30cf5bb
RM
22153 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22154 Update tests that use readelf to use $READELF instead.
22155 * configure: Regenerated.
22156
8538fdb3
UD
221572011-07-08 Ulrich Drepper <drepper@gmail.com>
22158
22159 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22160 if the result is not used.
22161
04d08991
AJ
221622011-07-05 Andreas Jaeger <aj@suse.de>
22163
22164 [BZ#9696]
22165 * stdlib/tst-strtod.c: Add testcase.
22166
de283087
AD
221672011-07-07 Ulrich Drepper <drepper@gmail.com>
22168
4e5f31c8 22169 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 22170 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
22171 The latter has a higher limit. Take additional parameter to pass to
22172 the new function.
22173 (__pathconf): Pass file to __statfs_link_max.
22174 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22175 __statfs_link_max.
22176 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22177 __statfs_link_max.
22178
de283087
AD
22179 [BZ #12868]
22180 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22181 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22182 Handle Lustre.
22183 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22184 (__statfs_filesize_max): Likewise.
22185 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22186
c75fa153
AJ
221872011-07-05 Andreas Jaeger <aj@suse.de>
22188
22189 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22190
1a544854
UD
221912011-07-06 Marek Polacek <mpolacek@redhat.com>
22192
22193 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22194 `status' variable.
22195 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22196 Likewise.
22197
6f0eec67
UD
221982011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22199
22200 * Makefile (strop-tests): Add strncat.
22201 * string/test-strncat.c: New file.
22202
aae30307
UD
222032011-06-30 Marek Polacek <mpolacek@redhat.com>
22204
22205 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22206
c0cfb5eb
UD
222072011-06-21 Andreas Jaeger <aj@suse.de>
22208
22209 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22210 Copy rule from iconvdata/Makefile.
22211
01636b21
UD
222122011-07-06 Ulrich Drepper <drepper@gmail.com>
22213
22214 [BZ #12922]
22215 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22216 but no long options are defined, just return 'W'.
22217
9895c8bc
UD
222182011-06-22 Marek Polacek <mpolacek@redhat.com>
22219
22220 [BZ #9696]
22221 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22222
5d4cf042
UD
222232011-07-06 Ulrich Drepper <drepper@gmail.com>
22224
22225 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22226 netgroups to read.
960e5535 22227 (innetgr): Likewise.
5d4cf042 22228
751eb97e
RM
222292011-07-05 Roland McGrath <roland@hack.frob.com>
22230
22231 * config.make.in (install_root): Default to $(DESTDIR).
22232
f15f1e45
UD
222332011-07-05 Ulrich Drepper <drepper@gmail.com>
22234
22235 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22236
4e34ac6a
RM
222372011-07-02 Roland McGrath <roland@hack.frob.com>
22238
5e9b6af4
RM
22239 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22240
84f9ea0f
RM
22241 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22242 containing directory rather than embedding absolute directory names.
22243
ea5ee9f7
RM
22244 * scripts/check-local-headers.sh: Rewritten using awk.
22245 Match by word, not by line. Print error messages for matches.
22246 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22247
1b74661a
RM
22248 * Makerules [shlib-lds-flags empty]:
22249 ($(common-objpfx)libc_pic.opts): New target.
22250 ($(common-objpfx)libc_pic.os.clean): New target.
22251 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22252
22253 * config.make.in (OBJCOPY): New variable.
22254 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22255 * configure: Regenerated.
22256
f781ef40
RM
22257 * config.make.in (use-default-link): New variable.
22258 * configure.in (use_default_link): Grok --with-default-link to set it.
22259 * configure: Regenerated.
22260 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22261 (shlib-lds, shlib-lds-flags): Define to empty.
22262
2d4fa81e
RM
22263 * Makerules (shlib-lds): New variable.
22264 (shlib-lds-flags): New variable.
22265 (build-shlib, build-moduile, build-module-asneeded): Use it.
22266 ($(common-objpfx)libc.so): Use $(shlib-lds).
22267 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22268 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22269
31fffa6b
RM
22270 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22271 DT_FLAGS/DT_FLAGS_1 with zero flags.
22272
4e34ac6a
RM
22273 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22274 linker script munging.
22275
fcfc776b
UD
222762011-07-02 Ulrich Drepper <drepper@gmail.com>
22277
22278 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22279 as 128-bit value.
22280 * crypt/sha512.c (sha512_process_block): Perform total addition using
22281 128-bit if possible.
22282 (__sha512_finish_ctx): Likewise.
22283 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22284 as 64-bit value.
22285 * crypt/sha256.c (SWAP64): Define.
22286 (sha256_process_block): Perform total addition using 64-bit if
22287 possible.
22288 (__sha256_finish_ctx): Likewise.
22289
99231d9a
UD
222902011-07-01 Ulrich Drepper <drepper@gmail.com>
22291
22292 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
22293 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22294 * nscd/hstcache.c (cache_addhst): Likewise.
22295 * nscd/grpcache.c (cache_addgr): Likewise.
22296 * nscd/aicache.c (addhstaiX): Likewise
22297 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22298
445b4a53
TK
222992011-07-01 Thorsten Kukuk <kukuk@suse.de>
22300
22301 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22302 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22303 * nscd/hstcache.c (cache_addhst): Likewise.
22304 * nscd/grpcache.c (cache_addgr): Likewise.
22305 * nscd/aicache.c (addhstaiX): Likewise
22306
6d4d8e8e
AS
223072011-07-01 Andreas Schwab <schwab@redhat.com>
22308
22309 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
22310 domain only when needed.
22311
89f654c5
AS
223122011-06-30 Andreas Schwab <schwab@redhat.com>
22313
22314 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
22315 is always restored.
22316
cf3b23ff
UD
223172011-06-29 Ulrich Drepper <drepper@gmail.com>
22318
22319 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22320 are re-adding the entry.
22321 * nscd/servicescache.c (cache_addserv): Likewise.
22322
751626f9
AJ
223232011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22324
22325 * sysdeps/generic/dl-irel.h: fix protection against multiple
22326 inclusions.
22327 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22328
9113ea1f
UD
223292011-06-28 Ulrich Drepper <drepper@gmail.com>
22330
5c0b8d90
UD
22331 [BZ #12935]
22332 * malloc/memusage.sh: Fix quoting in message.
22333 * debug/xtrace.sh: Likewise.
22334
9113ea1f
UD
22335 * configure.in: Remove support for --experimental-malloc option, make
22336 it the default.
22337 * config.make.in: Likewise.
22338 * malloc/Makefile: Likewise.
22339
a4172181
AS
223402011-06-27 Andreas Schwab <schwab@redhat.com>
22341
22342 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22343 two-byte characters.
22344
78a7eee7
RM
223452011-06-27 Roland McGrath <roland@hack.frob.com>
22346
62bede13
RM
22347 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22348 AC_CACHE_CHECK invocation.
22349 * configure: Regenerated.
22350
78a7eee7
RM
22351 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22352
5ce33a62
UD
223532011-06-27 Ulrich Drepper <drepper@gmail.com>
22354
034807a9
UD
22355 [BZ #12350]
22356 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22357 bit from old_res_options.
22358
4902da17
UD
22359 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22360
5ce33a62
UD
22361 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22362 value type for setfct.
22363
c2344f56
L
223642011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22365
22366 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22367 __gettimeofday instead of gettimeofday.
22368
68468076
UD
223692011-06-26 Ulrich Drepper <drepper@gmail.com>
22370
22371 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22372
acb0d739
L
223732011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22374
22375 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22376
22377 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22378 info.
22379
8912479f
L
223802011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22381
22382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22383 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22384 strcpy-sse2-unaligned strncpy-sse2-unaligned
22385 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22386 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22387 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22388 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22389 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22390 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22391 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22392 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22393 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22394 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22395 (STRCPY): Support SSE2 and SSSE3 versions.
22396
d5495a11
UD
223972011-06-24 Ulrich Drepper <drepper@gmail.com>
22398
22399 [BZ #12874]
22400 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22401 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22402 kernels which artificially limit size of requests.
22403
0b1cbaae
L
224042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22405
22406 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22407 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22408 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22409 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22410 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22411 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22412 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22413 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22414 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22415 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22416 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22417 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22418 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22419 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22420 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22422 Enable unaligned load optimization for Intel Core i3, i5 and i7
22423 processors.
22424 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22425 Define.
22426 (index_Fast_Unaligned_Load): Define.
22427 (HAS_FAST_UNALIGNED_LOAD): Define.
22428
07f494a0
MP
224292011-06-23 Marek Polacek <mpolacek@redhat.com>
22430
22431 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22432
fa3fc0fe
UD
224332011-06-22 Ulrich Drepper <drepper@gmail.com>
22434
22435 [BZ #12907]
22436 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22437 until it is clear that the information is realy needed.
22438 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22439
e12df166
AS
224402011-06-22 Andreas Schwab <schwab@redhat.com>
22441
22442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22443
852eb34d
UD
224442011-06-22 Ulrich Drepper <drepper@gmail.com>
22445
84e2a551
UD
22446 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22447 /sys/devices/system/cpu/online if it is usable.
22448
852eb34d
UD
22449 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22450 reading the information from the /proc filesystem to once a second.
22451
6e502e19
UD
224522011-06-21 Andreas Jaeger <aj@suse.de>
22453
22454 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22455 NULL after inclusion of kernel headers.
22456
75d39ff2
UD
224572011-06-21 Ulrich Drepper <drepper@gmail.com>
22458
51f9aa6a
UD
22459 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22460 calls to internal_setent.
22461
c0244a9d
UD
22462 [BZ #12885]
22463 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22464 addresses using gethostbyname4_r ignore IPv4 addresses.
22465
c5e3c2ae
UD
22466 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22467 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22468
75d39ff2
UD
22469 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22470
42675c6f
DM
224712011-06-20 David S. Miller <davem@davemloft.net>
22472
22473 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22474 inclusions.
22475 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22476
22477 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22478 (elf_irel): Use it.
22479 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22480 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22481 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22482 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22483 * sysdeps/x86_64/dl-irel.h: Likewise.
22484
22485 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22486 * elf/dl-sym.c: Likewise.
22487
57912a71
UD
224882011-06-15 Ulrich Drepper <drepper@gmail.com>
22489
22490 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22491 need to dereference resplen2.
22492
ee22793d
AS
224932011-06-14 Andreas Schwab <schwab@redhat.com>
22494
22495 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22496
a9e836b0
UD
224972011-06-15 Ulrich Drepper <drepper@gmail.com>
22498
77fb9117
UD
22499 * Makeconfig: Define vardbdir and inst_vardbdir.
22500 * nss/Makefile: Add rules to install db-Makefile.
22501
40c1b22c
UD
22502 * nss/nss_db/db-XXX.c: Cleanup.
22503
9f2da732
UD
22504 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22505 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22506 GLIBC_PRIVATE.
22507 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22508 * nss/makedb.c: Implement -g option to specify that value strings
22509 are generated and should not be added to table iterated over for
22510 get*ent calls.
22511 * nss/nss_db/db-initgroups.c: New file.
22512
82e9a1f7
UD
22513 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22514 interface.
22515
c41af17e
UD
22516 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22517 (internal_getgrouplist): Adjust to name change.
22518 Update use_initgroups_entry if this is not the first call.
22519 * nss/databases.def: Add initgroups entry.
22520
a9e836b0
UD
22521 * nss/makedb.c (compute_tables): Check result of multiple hash table
22522 sizes to minimize maximum chain length.
22523
2666d441
UD
225242011-06-14 Ulrich Drepper <drepper@gmail.com>
22525
22526 * Versions.def: Add entry for libnss_db.
22527 * shlib-versions: Likewise.
22528 * nss/Makefile: Add rules to build libnss_db.
22529 * nss/Versions: Add libnss_db information. Organize libnss_files
22530 entries better.
22531 * nss/db-Makefile: Add gshadow support. Change rules for the new
22532 makedb progra. Some minor improvements to generate smaller files.
22533 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22534 here from...
22535 * nss/makedb.c: ...here.
22536 Improve database format to be smaller and require less memory at
22537 runtime.
22538 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22539 db anymore.
22540 * nss/nss_db/db-netgrp.c: Likewise.
22541 * nss/nss_db/db-open.c: Likewise.
22542 * nss/nss_files/flies-XXX.x: Adjust comments.
22543 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22544 * nss/nss_files/files-grp.c: Likewise.
22545 * nss/nss_files/files-hosts.c: Likewise.
22546 * nss/nss_files/files-network.c: Likewise.
22547 * nss/nss_files/files-proto.c: Likewise.
22548 * nss/nss_files/files-pwd.c: Likewise.
22549 * nss/nss_files/files-rpc.c: Likewise.
22550 * nss/nss_files/files-service.c: Likewise.
22551 * nss/nss_files/files-sgrp.c: Likewise.
22552 * nss/nss_files/files-spwd.c: Likewise.
22553 * nss/nss_db/db-alias.c: Removed.
22554 * nss/nss_db/dummy-db.h: Removed.
22555
9ee76b5a
UD
225562011-06-02 Ulrich Drepper <drepper@gmail.com>
22557
22558 * nss/makedb.c: Rewritten to not use database library.
22559 * nss/Makefile: Update to build new makedb program.
22560
c71ca1f8
AJ
225612011-06-14 Andreas Jaeger <aj@suse.de>
22562
22563 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22564 memset declaration.
22565
3154bfb8
UD
225662011-06-10 Andreas Schwab <schwab@redhat.com>
22567
22568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22569 tmpbuf.
22570
b350afab
RM
225712011-06-10 Roland McGrath <roland@hack.frob.com>
22572
decd4e50
RM
22573 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22574 * elf/Makefile ($(objpfx)ld.so): Likewise.
22575
5615eaf2
RM
22576 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22577 Don't list ld.so twice in dependencies.
22578
22579 * posix/bug-regex31.c: Include <stdlib.h>.
22580
22581 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22582
22583 * nis/nss_compat/compat-spwd.c
22584 (getspent_next_nss_netgr): Remove unused variable.
22585 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22586
22587 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22588 nonmembers" output to use the right array.
22589
22590 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22591
22592 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22593
22594 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22595 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22596 * catgets/gencat.c (read_input_file): Likewise.
22597 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22598
22599 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22600 variable definition inside #if's controlling its use.
22601
22602 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22603
22604 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22605
22606 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22607
22608 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22609 unreachable code.
22610
22611 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22612
b68e08db
RM
22613 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22614 * configure: Regenerated.
22615
b350afab
RM
22616 * Makerules: Revert last change.
22617 * elf/Makefile: Likewise.
22618
28368601
RM
226192011-06-09 Roland McGrath <roland@hack.frob.com>
22620
22621 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22622 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22623 (reloc-link): Likewise.
22624
11988f8f
UD
226252011-06-09 Ulrich Drepper <drepper@gmail.com>
22626
22627 * elf/Makefile: Add rules to build pldd.
22628 * elf/pldd.c: New file.
22629 * elf/pldd-xx.c: New file.
22630
e80fab37
UD
226312011-06-07 Ulrich Drepper <drepper@gmail.com>
22632
22633 * version.h: Update for 2.15 development version.
22634
9b849836
DM
226352011-06-07 David S. Miller <davem@davemloft.net>
22636
22637 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22638 ifuncs.
22639 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22640 elf_machine_lazy_rel): Likewise.
22641 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22642 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22643 elf_machine_lazy_rel): Likewise.
22644 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22645 dl_hwcap via passed in argument.
22646 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22647 Likewise.
22648
5a31b283
AK
226492011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22650
22651 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22652
069e52f8
RM
226532011-06-06 Roland McGrath <roland@hack.frob.com>
22654
22655 [BZ #12849]
22656 * manual/fdl-1.1.texi: New file, verbatim from:
22657 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22658 * manual/lgpl-2.1.texi: New file, verbatim from:
22659 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22660 * manual/Makefile (licenses): New variable, list those new file names.
22661 (texis): Use it.
22662 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22663
22664 * manual/fdl.texi: File removed.
22665 * manual/lesser.texi: File removed.
22666 * manual/libc.texinfo (Copying, Documentation License):
22667 Use new @include file names, put @appendix directive before @include.
22668
f16846a5
JJ
226692011-06-04 Jakub Jelinek <jakub@redhat.com>
22670
22671 [BZ #12841]
22672 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22673 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22674 (mq_open): Add __NTH.
22675
3d29045b
L
226762011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22677
22678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22679 Assume Intel Core i3/i5/i7 processor if AVX is available.
22680
8c297311
UD
226812011-05-31 Ulrich Drepper <drepper@gmail.com>
22682
22683 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22684 typo.
22685
c8fc0c91
UD
226862011-05-31 Andreas Schwab <schwab@redhat.com>
22687
22688 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22689 memory. Use alloca_account. Fix memory leak when retrying.
22690
5b27a807
UD
226912011-05-31 Ulrich Drepper <drepper@gmail.com>
22692
356f8bc6
UD
22693 * version.h (RELEASE): Bump for 2.14 release.
22694 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22695
5b27a807
UD
22696 * config.make.in (RANLIB): Remove entry.
22697
01f16ab0
UD
226982011-05-30 Ulrich Drepper <drepper@gmail.com>
22699
41fce8bd
UD
22700 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22701 (libc.pot): Work around missing support for .ksh extension in xgettext.
22702
4769ae77
UD
22703 [BZ #12684]
22704 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22705 if both request failed.
22706 (send_dg): In case of server errors clear resplen or *resplen2.
22707
6b1e7d19
UD
22708 [BZ #12454]
22709 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22710 when there are multiple maps.
22711 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22712 (_dl_fini): Remove test here.
22713
01f16ab0
UD
22714 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22715
b1ebd700
UD
227162011-05-29 Ulrich Drepper <drepper@gmail.com>
22717
7ae22829
UD
22718 [BZ #12350]
22719 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22720 bit from old_res_options.
22721 (gaih_inet): Likewise.
22722
553149f6 22723 [BZ #11099]
18a84741 22724 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
22725 as signed.
22726
652ffab1
UD
22727 * resolv/res_init.c (res_setoptions): Make the code more compact.
22728
16985fd0
UD
22729 [BZ #11558]
22730 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22731 set RES_USEVC.
22732
0464f746
UD
22733 [BZ #11634]
22734 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22735
7d17596c
UD
22736 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22737
cf6bbbd7
UD
22738 [BZ #11781]
22739 * malloc/malloc.h: Declare malloc hook variables as volatile.
22740
13f1ab36
UD
22741 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22742 in last patch.
22743
b1ebd700
UD
22744 [BZ #11799]
22745 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 22746 raise in the comment.
80e2212d
UD
22747 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22748 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22749 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 22750
ce67228d
UD
227512011-05-28 Ulrich Drepper <drepper@gmail.com>
22752
8887a920
UD
22753 [BZ #12811]
22754 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22755 grow the buffers more if it already has to be sufficient.
22756 (build_wcs_upper_buffer): Likewise.
22757 * posix/regexec.c (check_matching): Likewise.
22758 (clean_state_log_if_needed): Likewise.
22759 (extend_buffers): Don't enlarge buffers beyond size of the input
22760 buffer.
22761 Patches mostly by Emil Wojak <emil@wojak.eu>.
22762 * posix/bug-regex32.c: New file.
22763 * posix/Makefile (tests): Add bug-regex32.
22764
4f031072
UD
22765 * locale/findlocale.c (_nl_find_locale): Return right away if
22766 _nl_explode_name failed.
22767 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22768
d0478f0c
UD
22769 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22770
de81b246
UD
22771 * debug/xtrace.sh: Unify messages.
22772 * malloc/memusage.sh: Likewise.
22773
c738465a
UD
22774 [BZ #12813]
22775 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22776 time symbol from vDSO. Substitute with vsyscall if not available.
22777 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22778 __vdso_time.
22779
f1f929d7
UD
22780 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22781 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22782 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22783 Add sendmmsg and internal_sendmmsg.
22784 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22785 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22786 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22787
ce67228d
UD
22788 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22789 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22790 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22791
e57420c6
UD
227922011-05-27 Ulrich Drepper <drepper@gmail.com>
22793
a8509ca5
UD
22794 [BZ #12813]
22795 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22796 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22797 available.
22798 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22799 __vdso_getcpu.
22800
e57420c6
UD
22801 [BZ #12814]
22802 * iconvdata/Makefile (tests): Add bug-iconv9.
22803 * iconvdata/bug-iconv9.c: New file.
22804
4d07db15
AS
228052011-05-27 Andreas Schwab <schwab@redhat.com>
22806
22807 [BZ #12814]
22808 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22809
ea486f69
JJ
228102011-05-25 Jakub Jelinek <jakub@redhat.com>
22811
22812 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22813 (struct user_regs_struct): Change intcs field back to cs.
22814
6f038433
UD
228152011-05-25 Ulrich Drepper <drepper@gmail.com>
22816
22817 * po/ja.po: Update from translation team.
22818
67f86a25
UD
228192011-05-23 Ulrich Drepper <drepper@gmail.com>
22820
22821 [BZ #12795]
22822 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22823 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22824
def7fbd6
AS
228252011-05-20 Andreas Schwab <schwab@redhat.com>
22826
22827 * stdlib/longlong.h: Update from GCC.
22828
f50ef8f1
AS
228292011-05-23 Andreas Schwab <schwab@redhat.com>
22830
22831 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22832 parameter name.
22833 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22834 Add parameter name.
22835 (__sysconf): Pass it down.
22836
de7ce8f1
UD
228372011-05-22 Ulrich Drepper <drepper@gmail.com>
22838
f2962a71
UD
22839 [BZ #12671]
22840 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22841 some situations.
22842 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22843 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22844 add in in __libc_use_alloca calls. Adjust callers.
22845 (glob): Use malloc in some situations.
22846
de7ce8f1
UD
22847 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22848 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22849 pltexit.
22850
aec84f53
UD
228512011-05-21 Ulrich Drepper <drepper@gmail.com>
22852
05bb4a68
UD
22853 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22854 and CLOCK_BOOTTIME_ALARM.
22855
7ea72f99
UD
22856 [BZ #12782]
22857 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22858 is returned.
22859
7e4afad5
UD
22860 * string/_strerror.c (__strerror_r): Print negative errors as signed
22861 numbers.
22862
8e211fec
UD
22863 [BZ #12777]
22864 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22865 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22866 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22867
f7d82dc9
UD
22868 * configure.in: Fix typo in redirection and correct removal of test
22869 files in two cases.
22870
cc9e536d
UD
22871 [BZ #12788]
22872 * locale/setlocale.c (new_composite_name): Fix test to check for
22873 identical name of all categories.
22874
aec84f53
UD
22875 [BZ #12792]
22876 * libio/filedoalloc.c (local_isatty): New function.
22877 (_IO_file_doallocate): Use local_isatty.
22878 * stdio-common/perror.c (perror): In case a new stream is used
22879 forward the stream error.
22880 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22881 error flag.
22882
78e64fdc
RT
228832011-05-20 Ulrich Drepper <drepper@gmail.com>
22884
34a9094f
UD
22885 [BZ #11869]
22886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22887 alloca.
22888 * include/alloca.h (extend_alloca_account): Define.
22889
78e64fdc
RT
22890 [BZ #11857]
22891 * posix/regex.h: Fix comments with documentation of user-accessible
22892 fields after compilation and describe correct free'ing of pattern
22893 after re_compile_pattern.
22894 Patch by Reuben Thomas <rrt@sc3d.org>.
22895
457bddfc
RA
228962011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22897
22898 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22899 and -mno-altivec to prevent the compiler from using Altivec and/or
22900 VSX instructions when the corresponding registers are not available.
22901
a4527b51
AS
229022011-05-19 Andreas Schwab <schwab@redhat.com>
22903
22904 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22905
ed690b2f
UD
229062011-05-19 Ulrich Drepper <drepper@gmail.com>
22907
22908 * libio/freopen.c (freopen): Use __dup2, not dup2.
22909 * libio/freopen64.c (freopen64): Likewise.
22910
8db73634
L
229112011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22912
22913 [BZ #12775]
22914 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22915 * math/Makefile (tests): Add test-powl.
22916 (CFLAGS-test-powl.c): Define.
22917 * math/test-powl.c: New file.
22918
0a197a9d
L
229192011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22920
22921 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22922
ee30c380
UD
229232011-05-17 Ulrich Drepper <drepper@gmail.com>
22924
22925 [BZ #11837]
22926 * iconvdata/gb18030.c: Update to GB18020-2005.
22927
6ce75379
UD
229282011-05-16 Ulrich Drepper <drepper@gmail.com>
22929
a4b89fd8
AR
22930 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22931 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22932 Patch by Aharon Robbins <arnold@skeeve.com>.
22933
ea389b12
UD
22934 [BZ #11892]
22935 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22936 on the stack.
22937
68a3f91f
UD
22938 [BZ #11895]
22939 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22940 through underflows.
22941
15cc7dd1
UD
22942 [BZ #12766]
22943 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22944 point to strings before performing equality test for error_one_per_line
22945 mode.
22946
f3799213
UD
22947 [BZ #11697]
22948 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22949
d79a9c94
UD
22950 [BZ #11820]
22951 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22952 (struct user_fpregs_struct): Avoid __uint*_t types.
22953
56e5eb46
UD
22954 [BZ #6420]
22955 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22956 symbol info. Use it instead of calling _dl_addr locally.
22957 (lock_and_info): New function.
22958 (tr_freehook): Call lock_and_info and pass symbol info as additional
22959 parameter to tr_where.
22960 (tr_mallochook): Likewise.
22961 (tr_reallochook): Likewise.
22962 (tr_memalignhook): Likewise.
22963
6ce75379
UD
22964 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22965 used and couldn't be at all thread-safe.
22966
f8a3b5bf
UD
229672011-05-15 Ulrich Drepper <drepper@gmail.com>
22968
94b7cc37
UD
22969 * libio/freopen.c (freopen): Don't close old file descriptor
22970 before the new one is opened. Instead dup the new file descriptor
22971 to the old one after the new stream is created.
22972 * libio/freopen64.c (freopen64): Likewise.
22973 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22974 * libio/fileops.c (_IO_new_file_close_it): Handle new
22975 _IO_FLAGS2_NOCLOSE flag.
22976 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22977 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22978 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22979 _IO_FLAGS2_NOCLOSE flag.
22980 * include/unistd.h: Add hidden_proto for dup3.
22981 Define __have_dup3.
22982 * io/dup3.c: Define hidden symbol.
22983 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22984
bd25564e
UD
22985 [BZ #7101]
22986 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22987 when an incomplete long option is used.
22988 * posix/tst-getopt_long1.c: New file.
22989 * posix/Makefile (tests): Add tst-getopt_long1.
22990
c84cfef4
UD
22991 [BZ #10138]
22992 * scripts/config.guess: Update from autoconf-2.68.
22993 * scripts/config.sub: Likewise.
22994
3b85df27
UD
22995 [BZ #10157]
22996 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22997 tests into ...
22998 (has_cpuclock): ...this. New function.
22999 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23000 macro here based on has_cpuclock code.
23001
15a856b1
UD
23002 [BZ #10149]
23003 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23004 First byte (not low byte) is now always NUL.
23005 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23006
05f399e6
UD
23007 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23008 Use non-cancelable interfaces.
23009
10a52685 23010 [BZ #9809]
94ecc67d
UD
23011 * locale/iso-639.def: Add entry for Sorani.
23012
f8a3b5bf
UD
23013 [BZ #11901]
23014 * include/stdlib.h: Move include protection to the right place.
23015 Define abort_msg_s. Declare __abort_msg with it.
23016 * stdlib/abort.c (__abort_msg): Adjust type.
23017 * assert/assert.c (__assert_fail_base): New function. Majority
23018 of code from __assert_fail. Allocate memory for __abort_msg with
23019 mmap.
23020 (__assert_fail): Now call __assert_fail_base.
23021 * assert/assert-perr.c: Remove bulk of implementation. Use
23022 __assert_fail_base.
23023 * include/assert.hL Declare __assert_fail_base.
23024 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23025 mmap.
23026 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23027
1af4e298
UD
230282011-05-14 Ulrich Drepper <drepper@gmail.com>
23029
f8a3b5bf 23030 [BZ #11952]
d26dfc60
MG
23031 [BZ #12453]
23032 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23033 until all modules are registered in the DTV.
23034 * elf/Makefile: Add rules to build and run tst-tls19.
23035 * elf/tst-tls19.c: New file.
23036 * elf/tst-tls19mod1.c: New file.
23037 * elf/tst-tls19mod2.c: New file.
23038 * elf/tst-tls19mod3.c: New file.
23039 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23040
2fc54d6f
UD
23041 [BZ #12083]
23042 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23043 correctly.
23044
98d76b46
UD
23045 [BZ #12601]
23046 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23047 two-byte sequence errors.
23048 * iconvdata/Makefile (tests): Add bug-iconv8.
23049 * iconvdata/bug-iconv8.c: New file.
23050
da3c19ef
UD
23051 [BZ #12626]
23052 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23053 buf2 definition.
23054
ca408c15
UD
23055 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23056
d6f67f7d
UD
23057 [BZ #12432]
23058 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23059 (dummy_getcfa): New function.
23060 (init): Get _Unwind_GetCFA address, use dummy if not found.
23061 (backtrace_helper): In recursion check, also check whether CFA changes.
23062 (__backtrace): Completely initialize arg.
23063
1af4e298 23064 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
23065 storing incomplete byte sequence in state object. Avoid testing for
23066 guaranteed too small input if we know there is enough data available.
1af4e298 23067
da62f81b
AS
230682011-05-11 Andreas Schwab <schwab@redhat.com>
23069
23070 * Makeconfig (+link-pie): Indent.
23071 * Rules (binaries-pie): Define if $(have-fpie) and
23072 $(build-shared).
23073 (binaries-shared): Also filter out $(binaries-pie).
23074 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23075 * nscd/Makefile (others-pie): Add nscd.
23076 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23077 ($(objpfx)nscd): Remove command override.
23078 * login/Makefile (others-pie): Add pt_chown.
23079 ($(objpfx)pt_chown): Remove command override.
23080 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23081 remove command overrides.
23082
fcabc0f8
UD
230832011-05-13 Ulrich Drepper <drepper@gmail.com>
23084
20030ae6
UD
23085 * libio/tst_putwc.c: Fix error messages.
23086
fcabc0f8
UD
23087 [BZ #12724]
23088 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23089 currently writing and seek to current position when not.
23090 * libio/Makefile (tests): Add bug-fclose1.
23091 * libio/bug-fclose1.c: New file.
23092
320a5dc0
PB
230932011-05-12 Ulrich Drepper <drepper@gmail.com>
23094
23095 [BZ #12511]
23096 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23097 don't set DF_1_NODELETE here.
23098 (do_lookup_x): When entering new entry test for copy relocation
23099 and if necessary set DF_1_NODELETE flag.
23100 * elf/tst-unique4.cc: New file.
23101 * elf/tst-unique4.h: New file.
23102 * elf/tst-unique4lib.cc: New file.
23103 * elf/Makefile: Add rules to build and run tst-unique4.
23104 Patch by Piotr Bury <pbury@goahead.com>.
23105
22836f52
UD
231062011-05-11 Ulrich Drepper <drepper@gmail.com>
23107
f574184a
UD
23108 [BZ #12052]
23109 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23110
e1fb097f
UD
23111 [BZ #12625]
23112 * misc/mntent_r.c (addmntent): Flush the stream after the output
23113
22836f52
UD
23114 [BZ #12393]
23115 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23116 (is_trusted_path_normalize): Skip initial colon. Append slash
23117 to empty buffer. Duplicate is_trusted_path code but allow
23118 constructed patch to be prefix.
23119 (is_dst): Allow $ORIGIN followed by /.
23120 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23121 Correct testing of result of is_trusted_path_normalize
23122 (decompose_rpath): Fix warning.
23123
7b3b0b2a
UD
231242011-05-10 Ulrich Drepper <drepper@gmail.com>
23125
23126 [BZ #11257]
23127 * grp/initgroups.c (internal_getgrouplist): When we found the service
23128 list through the initgroups entry in nsswitch.conf do not always
23129 continue on a successful lookup. Don't always use the
eac80ce2 23130 __nss_group_database value if it is set.
7b3b0b2a
UD
23131 * nss/nsswitch.conf (initgroups): Change action for successful db
23132 lookup to continue for compatibility.
23133
2a81eaa5
UD
231342011-05-09 Ulrich Drepper <drepper@gmail.com>
23135
be97a69e
UD
23136 [BZ #11532]
23137 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23138 and CP774 modules.
23139 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23140 and CP774 modules.
23141 * iconvdata/tst-tables.sh: Likewise.
23142 * iconvdata/cp770.c: New file.
23143 * iconvdata/cp771.c: New file.
23144 * iconvdata/cp772.c: New file.
23145 * iconvdata/cp773.c: New file.
23146 * iconvdata/cp774.c: New file.
23147 * iconvdata/testdata/CP770: New file.
23148 * iconvdata/testdata/CP770..UTF8: New file.
23149 * iconvdata/testdata/CP771: New file.
23150 * iconvdata/testdata/CP771..UTF8: New file.
23151 * iconvdata/testdata/CP772: New file.
23152 * iconvdata/testdata/CP772..UTF8: New file.
23153 * iconvdata/testdata/CP773: New file.
23154 * iconvdata/testdata/CP773..UTF8: New file.
23155 * iconvdata/testdata/CP774: New file.
23156 * iconvdata/testdata/CP774..UTF8: New file.
23157
23158 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23159 END CHARMAP line.
23160 * iconvdata/gen-8bit-gap.sh: Likewise.
23161 * iconvdata/gen-8bit.sh: Likewise.
23162
c1e9e399
UD
23163 * locale/iso-639.def: Add ary entry.
23164
24c55fb3 23165 [BZ #11258]
96b4b1b0
UD
23166 * locale/C-translit.h.in: Add U20A1 transliteration.
23167
bdc2f971
KB
23168 [BZ #12178]
23169 * locale/iso-639.def: Add wae entry.
23170 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23171
2952b117
UD
23172 [BZ #12545]
23173 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23174 for n.
23175
2a81eaa5
UD
23176 [BZ #12711]
23177 * locale/C-translit.h.in: Add entry for U20B9.
23178 Patch by pravin.d.s@gmail.com.
23179
28377d1b
UD
231802011-05-08 Ulrich Drepper <drepper@gmail.com>
23181
7fb90fb8
UD
23182 [BZ #12713]
23183 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23184 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
23185 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23186 in rtld. Use *stat64.
7fb90fb8 23187 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 23188 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 23189 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
23190 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23191 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23192 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23193 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23194 __fstatat64 macros.
7fb90fb8
UD
23195 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23196 * dirent/rewinddir.c: Add libc_hidden_def.
23197 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 23198 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 23199
28377d1b
UD
23200 * include/dirent.h (__alloc_dir): Add flags parameter.
23201 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23202 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23203 __alloc_dir.
23204 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23205 from fdopendir if O_CLOEXEC is already set.
23206
66bdbaa4
AM
232072011-03-15 Alan Modra <amodra@gmail.com>
23208
23209 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23210 l_tls_firstbyte_offset non-zero. Save padding offset in
23211 l_tls_firstbyte_offset for later use.
23212 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23213 freeing static tls block.
23214
95721191
JN
232152011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23216
23217 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23218 where #ifdef was intended. The intent is to prevent ARG_MAX from
23219 being defined by the kernel headers.
23220
f87dfb1f
UD
232212011-05-07 Ulrich Drepper <drepper@gmail.com>
23222
23223 [BZ #12734]
23224 * resolv/resolv.h: Define RES_NOTLDQUERY.
23225 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23226 no-tld-query and set RES_NOTLDQUERY.
23227 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23228 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23229 modern BIND to search name as TLD unless forbidden.
23230
47c3cd7a
UD
232312011-05-07 Petr Baudis <pasky@suse.cz>
23232 Ulrich Drepper <drepper@gmail.com>
23233
23234 [BZ #12393]
23235 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23236 (is_trusted_path): ...to here.
c1e9ea35 23237 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 23238 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 23239 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 23240
8a35c912
PP
232412011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23242
23243 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23244 __BEGIN/__END_DECLS.
23245
acd41f47
UD
232462011-05-06 Ulrich Drepper <drepper@gmail.com>
23247
23248 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23249 NSS_STATUS_NOTFOUND if no record was found.
23250
597df647
AS
232512011-05-05 Andreas Schwab <schwab@redhat.com>
23252
23253 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23254 (headers-not-in-tirpc): Remove rpc/netdb.h
23255 * resolv/netdb.h: Revert last change.
23256
b9af1301
PP
232572011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23258
23259 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23260 circular dependency between libgcc.a and libc.a.
23261
4e34d5f5
AS
232622011-05-05 Andreas Schwab <schwab@redhat.com>
23263
23264 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23265 * nis/Makefile: Don't install rpcsvc/*.
23266 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23267 instead of <rpc/types.h>.
23268 (MAXHOSTNAMELEN): Define.
23269
00ee369c
AS
232702011-05-03 Andreas Schwab <schwab@redhat.com>
23271
23272 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23273
0b592a30
MB
232742011-04-28 Maciej Babinski <mbabinski@google.com>
23275
23276 [BZ #12714]
23277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23278 gethostbyname4_r when IPv6 results are possible.
23279
6e04cbbe
UD
232802011-05-02 Ulrich Drepper <drepper@gmail.com>
23281
23282 [BZ #12723]
23283 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23284 _PC_PIPE_BUF handling.
23285
e4ecafe0
BH
232862011-04-30 Bruno Haible <bruno@clisp.org>
23287
23288 [BZ #12717]
23289 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
23290 * resolv/netdb.h (getnameinfo): Change type of flags parameter
23291 to 'int'.
23292 * inet/getnameinfo.c (getnameinfo): Likewise.
23293
125ee683
UD
232942011-04-29 Ulrich Drepper <drepper@gmail.com>
23295
23296 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23297 to groups setting in database lookup.
23298 * nss/nsswitch.conf: Add initgroups entry.
23299
b722481a
EB
233002011-04-22 Ulrich Drepper <drepper@gmail.com>
23301
23302 [BZ #12685]
23303 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23304 mode string.
23305 Patch by Eric Blake <eblake@redhat.com>.
23306
4df46dbd
L
233072011-04-20 H.J. Lu <hongjiu.lu@intel.com>
23308
23309 * sunrpc/Makefile (need-export-routines): Add svc_run.
23310 (routines): Remove svc_run.
23311 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
23312 * sunrpc/clnt_perr.c (clnt_perrno): Export.
23313 * sunrpc/svc_run.c (svc_run): Likewise.
23314 * sunrpc/svc_udp.c (svcudp_create): Likewise.
23315
e84142d2
UD
233162011-04-21 Ulrich Drepper <drepper@gmail.com>
23317
23318 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23319 problem in reallocation in last patch.
23320
877175d8
UD
233212011-04-20 Ulrich Drepper <drepper@gmail.com>
23322
23323 * sunrpc/Makefile: Move inclusion of Rules.
23324
ab8eed78
UD
233252011-04-19 Ulrich Drepper <drepper@gmail.com>
23326
23327 * nss/nss_files/files-initgroups.c: New file.
23328 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23329 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23330 _nss_files_initgroups_dyn.
23331
e3d8f584
RS
233322011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23333
23334 * elf/elf.h (R_ARM_IRELATIVE): Define.
23335
af190f45
UD
233362011-04-19 Ulrich Drepper <drepper@gmail.com>
23337
23338 * po/ru.po: Update from translation team.
23339
53cf59ef
UD
233402011-04-17 Ulrich Drepper <drepper@gmail.com>
23341
23342 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23343 dependencies.
23344
4c559bcd
MF
233452011-02-06 Mike Frysinger <vapier@gentoo.org>
23346
23347 [BZ #12653]
23348 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23349 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23350 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23351 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23352 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23353
4420675c
AS
233542011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23355
23356 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23357 differing bytes.
23358 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23359 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23360 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23361
75ea32ab
UD
233622011-04-17 Ulrich Drepper <drepper@gmail.com>
23363
23364 [BZ #12420]
23365 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23366 storing it.
23367 * stdlib/bug-getcontext.c: New file.
23368 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23369
27390476
AK
233702011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23371
23372 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23373 instructions into .machine "z9-109".
23374 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23375 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23376
10442705
AK
233772011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23378
23379 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23380 between environment variables and auxiliary vector.
23381
7b57bfe5
UD
233822011-04-16 Ulrich Drepper <drepper@gmail.com>
23383
23384 * Makefile: Add rules to build linkobj/libc.so.
23385 * include/libc-symbols.h: Define libc_hidden_nolink.
23386 * include/rpc/auth.h: Mark functions which are to be hidden.
23387 * include/rpc/auth_des.h: Likewise.
23388 * include/rpc/auth_unix.h: Likewise.
23389 * include/rpc/clnt.h: Likewise.
23390 * include/rpc/des_crypt.h: Likewise.
23391 * include/rpc/key_prot.h: Likewise.
23392 * include/rpc/pmap_clnt.h: Likewise.
23393 * include/rpc/pmap_prot.h: Likewise.
23394 * include/rpc/pmap_rmt.h: Likewise.
23395 * include/rpc/rpc_msg.h: Likewise.
23396 * include/rpc/svc.h: Likewise.
23397 * include/rpc/svc_auth.h: Likewise.
23398 * include/rpc/xdr.h: Likewise.
23399 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23400 * nss/Makefile: Likewise.
23401 * sunrpc/Makefile: Don't install headers. Build library with normal
23402 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23403 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23404 for the compat linking library. Remove use of INTDEF/INTUSE.
23405 * sunrpc/auth_none.c: Likewise.
23406 * sunrpc/auth_unix.c: Likewise.
23407 * sunrpc/authdes_prot.c: Likewise.
23408 * sunrpc/authuxprot.c: Likewise.
23409 * sunrpc/clnt_gen.c: Likewise.
23410 * sunrpc/clnt_perr.c: Likewise.
23411 * sunrpc/clnt_raw.c: Likewise.
23412 * sunrpc/clnt_simp.c: Likewise.
23413 * sunrpc/clnt_tcp.c: Likewise.
23414 * sunrpc/clnt_udp.c: Likewise.
23415 * sunrpc/clnt_unix.c: Likewise.
23416 * sunrpc/des_crypt.c: Likewise.
23417 * sunrpc/des_soft.c: Likewise.
23418 * sunrpc/get_myaddr.c: Likewise.
23419 * sunrpc/key_call.c: Likewise.
23420 * sunrpc/key_prot.c: Likewise.
23421 * sunrpc/netname.c: Likewise.
23422 * sunrpc/pm_getmaps.c: Likewise.
23423 * sunrpc/pm_getport.c: Likewise.
23424 * sunrpc/pmap_clnt.c: Likewise.
23425 * sunrpc/pmap_prot.c: Likewise.
23426 * sunrpc/pmap_prot2.c: Likewise.
23427 * sunrpc/pmap_rmt.c: Likewise.
23428 * sunrpc/publickey.c: Likewise.
23429 * sunrpc/rpc_cmsg.c: Likewise.
23430 * sunrpc/rpc_common.c: Likewise.
23431 * sunrpc/rpc_dtable.c: Likewise.
23432 * sunrpc/rpc_prot.c: Likewise.
23433 * sunrpc/rpc_thread.c: Likewise.
23434 * sunrpc/rtime.c: Likewise.
23435 * sunrpc/svc.c: Likewise.
23436 * sunrpc/svc_auth.c: Likewise.
23437 * sunrpc/svc_authux.c: Likewise.
23438 * sunrpc/svc_raw.c: Likewise.
23439 * sunrpc/svc_run.c: Likewise.
23440 * sunrpc/svc_simple.c: Likewise.
23441 * sunrpc/svc_tcp.c: Likewise.
23442 * sunrpc/svc_udp.c: Likewise.
23443 * sunrpc/svc_unix.c: Likewise.
23444 * sunrpc/svcauth_des.c: Likewise.
23445 * sunrpc/xcrypt.c: Likewise.
23446 * sunrpc/xdr.c: Likewise.
23447 * sunrpc/xdr_array.c: Likewise.
23448 * sunrpc/xdr_float.c: Likewise.
23449 * sunrpc/xdr_intXX_t.c: Likewise.
23450 * sunrpc/xdr_mem.c: Likewise.
23451 * sunrpc/xdr_rec.c: Likewise.
23452 * sunrpc/xdr_ref.c: Likewise.
23453 * sunrpc/xdr_sizeof.c: Likewise.
23454 * sunrpc/xdr_stdio.c: Likewise.
23455
e6c61494
UD
234562011-04-10 Ulrich Drepper <drepper@gmail.com>
23457
23458 [BZ #12650]
23459 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23460 * sysdeps/ia64/dl-tls.h: Likewise.
23461 * sysdeps/powerpc/dl-tls.h: Likewise.
23462 * sysdeps/s390/dl-tls.h: Likewise.
23463 * sysdeps/sh/dl-tls.h: Likewise.
23464 * sysdeps/sparc/dl-tls.h: Likewise.
23465 * sysdeps/x86_64/dl-tls.h: Likewise.
23466 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23467
34fe483e
AS
234682011-03-14 Andreas Schwab <schwab@redhat.com>
23469
23470 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23471 rpath element also skip the following colon.
23472 (expand_dynamic_string_token): Add is_path parameter and pass
23473 down to DL_DST_REQUIRED and _dl_dst_substitute.
23474 (decompose_rpath): Call expand_dynamic_string_token with
23475 non-zero is_path. Ignore empty rpaths.
23476 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23477 with zero is_path.
23478
f12a32e6
AS
234792011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23480
23481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23482 Make cancelable.
23483
38a7d692
UD
234842011-04-09 Ulrich Drepper <drepper@gmail.com>
23485
23486 [BZ #12655]
23487 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23488 Patch by Filipe David Manana <fdmanana@apache.org>.
23489
e451d22b
AS
234902011-04-07 Andreas Schwab <schwab@redhat.com>
23491
23492 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23493 Maintain aligned stack.
23494 (CHECK_RSP): Remove unused macro.
23495
dedc7c7b
UD
234962011-04-03 Ulrich Drepper <drepper@gmail.com>
23497
23498 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23499 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23500
94521213
UD
235012011-04-02 Ulrich Drepper <drepper@gmail.com>
23502
23503 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23504
8cb700c0 23505 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 23506
0354e355
L
235072011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23508
23509 [BZ #12518]
23510 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23511 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23512 * sysdeps/x86_64/memmove.c: New file.
23513 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23514 (memcpy): Renamed to ...
23515 (__new_memcpy): This.
23516 (memcpy): Provide GLIBC_2_14 memcpy.
23517 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23518 (memcpy): Provide GLIBC_2_2_5 memcpy.
23519
8593482f
UD
235202011-04-01 Ulrich Drepper <drepper@gmail.com>
23521
23522 [BZ #12631]
23523 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23524
81a5726b
AS
235252011-03-30 Andreas Schwab <schwab@redhat.com>
23526
23527 * misc/syncfs.c: New file.
23528 * misc/Makefile (routines): Add syncfs.
23529 * posix/unistd.h: Declare syncfs.
23530 * sysdeps/unix/syscalls.list: Add syncfs.
23531
00e5419f
AS
235322011-04-01 Andreas Schwab <schwab@redhat.com>
23533
23534 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23535 open_by_handle_at.
23536 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23537 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23538 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23539 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23540 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23541 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23542 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23543
748876bf
UD
235442011-04-01 Ulrich Drepper <drepper@gmail.com>
23545
658e451d
UD
23546 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23547 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23548 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23550 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23551 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23552 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23553
748876bf
UD
23554 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23555 sync_file_range.c with -fexceptions.
23556 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23557 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23558 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23559 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23560 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23561 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23562 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
23563 sync_file_range as cancellation point
23564 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23565 now a wrapper around __call_sync_file_range with cancellation handling.
23566 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23567 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23568 function name to __call_sync_file_range.
23569 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23570 Add call_sync_file_range.
748876bf 23571
6e63d5e1
AS
235722011-04-01 Andreas Schwab <schwab@redhat.com>
23573
23574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 23575 bits/timex.h.
6e63d5e1 23576
46998f74
UD
235772011-04-01 Ulrich Drepper <drepper@gmail.com>
23578
4c1423ed
UD
23579 * iconv/iconv.h: Fix typo in comment.
23580 * io/fcntl.h: Likewise.
23581 * libio/stdio.h: Likewise.
23582 * posix/spawn.h: Likewise.
23583 * posix/unistd.h: Likewise.
23584 * stdlib/stdlib.h: Likewise.
23585 * time/time.h: Likewise.
23586 * wcsmbs/wchar.h: Likewise.
23587
158648c0
UD
23588 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23589 open_by_handle): Add.
23590 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23591 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23592 Augment a few comments.
23593 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23594 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23595 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23596 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23597 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23598 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23599 open_by_handle.
23600
46998f74
UD
23601 * io/fcntl.h (AT_EMPTY_PATH): Define.
23602
83fe108b
UD
236032011-03-30 Ulrich Drepper <drepper@gmail.com>
23604
23605 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23606 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23607 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23608 to...
23609 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
23610 * Versions.def: Add GLIBC_2.14.
23611 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23612 Export.
83fe108b 23613
bb242059
UD
236142011-03-22 Ulrich Drepper <drepper@gmail.com>
23615
23616 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23617 round counter.
23618 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23619
c97a1282
L
236202011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23621
23622 [BZ #12597]
23623 * string/test-strncmp.c (do_page_test): New function.
23624 (check2): Likewise.
23625 (test_main): Call check2.
23626 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23627
2a115601
UD
236282011-03-20 Ulrich Drepper <drepper@gmail.com>
23629
23630 [BZ #12587]
23631 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23632 Handle cache information in CPU leaf 4.
23633 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23634
8126d904
UD
236352011-03-18 Ulrich Drepper <drepper@gmail.com>
23636
042c49c6 23637 [BZ #12583]
8126d904
UD
23638 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23639 character representation.
23640 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23641
ccfe366e
RA
236422011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23643
23644 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23645 END(__isnan) to END(__isnanf) to match function entry point/label
23646 EALIGN(__isnanf,...).
23647
c6e13027
JJ
236482011-03-10 Jakub Jelinek <jakub@redhat.com>
23649
23650 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23651
33f85a3f
UD
236522011-03-10 Ulrich Drepper <drepper@gmail.com>
23653
028478fa
UD
23654 [BZ #12510]
23655 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23656 copy from the symbol referenced in the relocation to initialize the
23657 used variable.
23658 Patch by Piotr Bury <pbury@goahead.com>.
23659 * elf/Makefile: Add rules to build and tst-unique3.
23660 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23661 * elf/tst-unique3.cc: New file.
23662 * elf/tst-unique3.h: New file.
23663 * elf/tst-unique3lib.cc: New file.
23664 * elf/tst-unique3lib2.cc: New file.
23665
33f85a3f
UD
23666 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23667
03592fc7
MF
236682011-03-10 Mike Frysinger <vapier@gentoo.org>
23669
23670 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23671 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23672 to _start.
03592fc7 23673
6a5ee102
UD
236742011-03-06 Ulrich Drepper <drepper@gmail.com>
23675
23676 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23677 to-be-loaded object along a path to loader is ld.so.
23678
7e4ba49c
HJ
236792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23680 Ulrich Drepper <drepper@gmail.com>
23681
23682 * sysdeps/x86_64/memset.S: After aligning destination, code
23683 branches to different locations depending on the value of
23684 misalignment, when multiarch is enabled. Fix this.
23685
236862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23687
23688 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23689 Set _x86_64_preferred_memory_instruction for AMD processsors.
23690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23691 Set bit_Prefer_SSE_for_memop for AMD processors.
23692
13a804de
UD
236932011-03-04 Ulrich Drepper <drepper@gmail.com>
23694
23695 * libio/fmemopen.c (fmemopen): Optimize a bit.
23696
9d25c392
AS
236972011-03-03 Andreas Schwab <schwab@redhat.com>
23698
23699 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23700
a5543c6a
RM
237012011-03-03 Roland McGrath <roland@redhat.com>
23702
23703 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23704
012d35f7
DM
237052011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23706
7e4ba49c 23707 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
23708 __bzero_ultra1 instead of __memset_ultra1.
23709
4bff6e01
AS
237102011-02-23 Andreas Schwab <schwab@redhat.com>
23711 Ulrich Drepper <drepper@gmail.com>
23712
23713 [BZ #12509]
23714 * include/link.h (struct link_map): Add l_orig_initfini.
23715 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23716 returning unsuccessfully.
23717 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23718 close of a file loaded at startup, restore the original l_initfini
23719 list.
23720 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23721 list, store the pointer.
23722 * elf/Makefile ($(objpfx)noload-mem): New rule.
23723 (noload-ENV): Define.
23724 (tests): Add $(objpfx)noload-mem.
23725 * elf/noload.c: Include <memcheck.h>.
23726 (main): Call mtrace. Close all opened handles.
23727
f2092faf
AS
237282011-02-17 Andreas Schwab <schwab@redhat.com>
23729
23730 [BZ #12454]
23731 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23732 dependencies are missing.
23733
6c8a2e88
ST
237342011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23735
f2092faf 23736 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
23737 Hurd needs munmap.
23738 * sysdeps/mach/hurd/ifreq.h: New file.
23739
84a42118
PB
237402011-01-27 Petr Baudis <pasky@suse.cz>
23741 Ulrich Drepper <drepper@gmail.com>
23742
071f805e 23743 [BZ 12445]#
84a42118
PB
23744 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23745 to extend_alloca().
23746 * stdio-common/bug23.c: New file.
23747 * stdio-common/Makefile (tests): Add bug23.
23748
e23fe25b
AS
237492010-09-28 Andreas Schwab <schwab@redhat.com>
23750 Ulrich Drepper <drepper@gmail.com>
23751
23752 [BZ #12489]
23753 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23754 before performing relro protection. At old place add assertion
23755 to make sure nothing changed.
23756
d3f02e10
NS
237572011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23758 Glauber de Oliveira Costa <glommer@gmail.com>
23759
23760 * elf/elf.h: Add new ARM TLS relocs.
23761
d55fd7a5
RA
237622011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23763
23764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23765 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23766 cast from r3.
23767 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23768 'tests' variable.
23769 * sysdeps/wordsize-64/tst-writev.c: New file.
23770
2206397e
RA
237712011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23772
23773 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23774 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23775 insns in _dl_start to prevent a TOC reference before relocs are
23776 resolved.
23777
e9433893
UD
237782011-02-15 Ulrich Drepper <drepper@gmail.com>
23779
23780 [BZ #12469]
23781 * Makeconfig: Remove RANLIB definition.
23782 * Makerules: Don't use RANLIB.
23783 * aclocal.m4: Remove ranlib test.
23784 * configure.in: No need to check for ranlib.
23785 * elf/rtld-Rules: Don't use RANLIB.
23786
f75286c6
ST
237872011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23788
8e31c82d
ST
23789 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23790 protection macro.
23791 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23792 inclusion protection macro.
23793
f75286c6
ST
23794 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23795 SIGRTMIN and SIGRTMAX and print information in that case only when
23796 SIGRTMIN is defined.
23797
c1d0e639
JJ
237982011-02-11 Jakub Jelinek <jakub@redhat.com>
23799
23800 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23801 arginfo fn returning -1.
23802
23803 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23804 and thousands string is zero terminated.
23805
edf9294e
AS
238062011-02-03 Andreas Schwab <schwab@redhat.com>
23807
23808 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23809 sysdeps/unix/sysv/linux/bits/socket.h.
23810
2b7e92df
ST
238112011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23812
edf9294e
AS
23813 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23814 (__CPU_COUNT): Remove old macros.
23815 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23816 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23817 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
23818 (__sched_cpualloc, __sched_cpufree): Add declarations.
23819
a4c7ea7b
UD
238202011-02-05 Ulrich Drepper <drepper@gmail.com>
23821
23822 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23823 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23824 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23825 (readdhstai): Return value of addhstaiX call.
23826 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23827 (addgrbyX): Return value returned by cache_addgr.
23828 (readdgrbyname): Return value returned by addgrbyX.
23829 (readdgrbygid): Likewise.
23830 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23831 (addpwbyX): Return value returned by cache_addpw.
23832 (readdpwbyname): Return value returned by addhstbyX.
23833 (readdpwbyuid): Likewise.
23834 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23835 (addservbyX): Return value returned by cache_addserv.
23836 (readdservbyname): Return value returned by addservbyX:
23837 (readdservbyport): Likewise.
23838 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23839 (addhstbyX): Return value returned by cache_addhst.
23840 (readdhstbyname): Return value returned by addhstbyX.
23841 (readdhstbyaddr): Likewise.
23842 (readdhstbynamev6): Likewise.
23843 (readdhstbyaddrv6): Likewise.
23844 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23845 (readdinitgroups): Return value returned by addinitgroupsX.
23846 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23847 (prune_cache): Keep track of timeout value of re-added entries.
23848 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23849 * nscd/nscd.h: Adjust prototypes of readd* functions.
23850
a0bf67cc
RM
238512011-02-04 Roland McGrath <roland@redhat.com>
23852
23853 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23854 (nis_stats): Likewise.
23855 * nis/nis_modify.c (nis_modify): Likewise.
23856 * nis/nis_remove.c (nis_remove): Likewise.
23857 * nis/nis_add.c (nis_add): Likewise.
23858
23859 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23860
23861 * posix/fnmatch_loop.c: Add some consts.
23862
23863 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23864
435b95eb
L
238652011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23866
23867 [BZ #12460]
23868 * config.make.in (config-cflags-novzeroupper): Define.
23869 * configure.in: Substitute libc_cv_cc_novzeroupper.
23870 * elf/Makefile (AVX-CFLAGS): Define.
23871 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23872 (CFLAGS-tst-auditmod4a.c): Likewise.
23873 (CFLAGS-tst-auditmod4b.c): Likewise.
23874 (CFLAGS-tst-auditmod6b.c): Likewise.
23875 (CFLAGS-tst-auditmod6c.c): Likewise.
23876 (CFLAGS-tst-auditmod7b.c): Likewise.
23877 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23878
8517b15e
UD
238792011-02-02 Ulrich Drepper <drepper@gmail.com>
23880
23881 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23882 function to the callback.
23883 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23884
10a656fe
AS
238852011-02-02 Andreas Schwab <schwab@redhat.com>
23886
23887 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23888 of errno.
23889
968dad0a
UD
238902011-01-19 Ulrich Drepper <drepper@gmail.com>
23891
9f94d2ea 23892 [BZ #11724]
968dad0a
UD
23893 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23894 of constructors.
23895 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23896 of destructors.
23897 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23898
23899 [BZ #11724]
23900 * elf/Makefile: Add rules to build and run new test.
23901 * elf/tst-initorder.c: New file.
23902 * elf/tst-initorder.exp: New file.
23903 * elf/tst-initordera1.c: New file.
23904 * elf/tst-initordera2.c: New file.
23905 * elf/tst-initordera3.c: New file.
23906 * elf/tst-initordera4.c: New file.
23907 * elf/tst-initorderb1.c: New file.
23908 * elf/tst-initorderb2.c: New file.
23909 * elf/tst-order-a1.c: New file.
23910 * elf/tst-order-a2.c: New file.
23911 * elf/tst-order-a3.c: New file.
23912 * elf/tst-order-a4.c: New file.
23913 * elf/tst-order-b1.c: New file.
23914 * elf/tst-order-b2.c: New file.
23915 * elf/tst-order-main.c: New file.
23916 New test case by George Gensure <werkt0@gmail.com>.
23917
86e92359
UD
239182010-10-01 Andreas Schwab <schwab@redhat.com>
23919
23920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23921 decoding ACE if AI_CANONIDN.
23922
5d5732b0
UD
239232011-01-18 Ulrich Drepper <drepper@gmail.com>
23924
23925 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23926
a77e8cbc
UD
239272011-01-17 Ulrich Drepper <drepper@gmail.com>
23928
6392473f
UD
23929 * version.h (RELEASE): Bump for 2.13 release.
23930 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23931
620a0529
UD
23932 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23933
18ba70a5
UD
23934 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23935 MADV_NOHUGEPAGE.
32465c3e
UD
23936 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23937 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23938 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23939 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23940 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23941 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23942
c0dafcf1
UD
23943 * posix/getconf.c: Update copyright year.
23944 * catgets/gencat.c: Likewise.
23945 * csu/version.c: Likewise.
23946 * debug/catchsegv.sh: Likewise.
23947 * debug/xtrace.sh: Likewise.
23948 * elf/ldconfig.c: Likewise.
23949 * elf/ldd.bash.in: Likewise.
23950 * elf/sprof.c (print_version): Likewise.
23951 * iconv/iconv_prog.c: Likewise.
23952 * iconv/iconvconfig.c: Likewise.
23953 * locale/programs/locale.c: Likewise.
23954 * locale/programs/localedef.c: Likewise.
23955 * malloc/memusage.sh: Likewise.
23956 * malloc/mtrace.pl: Likewise.
23957 * nscd/nscd.c (print_version): Likewise.
23958 * nss/getent.c: Likewise.
23959
a77e8cbc
UD
23960 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23961 PF_CAIF, and PF_ALG.
23962 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23963
77e8bddf
AS
239642011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23965
1f20b93a
AS
23966 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23967 (modules-names): Use them.
23968 (ifunc-test-modules, ifunc-pie-tests): Define.
23969 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23970 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23971 (test-extras): Likewise.
23972 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23973 $(compile-command.c).
23974 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23975 (all-built-dso): Define.
23976 (check-textrel.out, check-execstack.out): Depend on it.
23977
77e8bddf
AS
23978 * configure.in: Don't override --enable-multi-arch.
23979
bc425b33
UD
239802011-01-15 Ulrich Drepper <drepper@gmail.com>
23981
23982 [BZ #6812]
23983 * nscd/hstcache.c (tryagain): Define.
23984 (cache_addhst): Return tryagain not notfound for temporary errors.
23985 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23986 failed.
23987
794c3ad3
UD
239882011-01-14 Ulrich Drepper <drepper@gmail.com>
23989
70181fdd
UD
23990 [BZ #10563]
23991 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23992 to make the syscall.
23993 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23994
794c3ad3
UD
23995 [BZ #12378]
23996 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23997 and fall back to matching as normal character if the string ends before
23998 the matching ']' is found. This is what POSIX requires.
23999 * posix/testfnm.c: Adjust test result.
24000 * posix/globtest.sh: Adjust test result. Add new test.
24001 * posix/tst-fnmatch.input: Likewise.
24002 * posix/tst-fnmatch2.c: Add new test.
24003
68dc9497
AS
240042010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24005
24006 * elf/Makefile (check-execstack): Revert last change. Depend on
24007 check-execstack.h.
24008 (check-execstack.h): New target.
24009 (generated): Add check-execstack.h.
24010 * elf/check-execstack.c: Include "check-execstack.h".
24011 (main): Revert last change.
24012 (handle_file): Return zero if GNU_STACK is absent and
24013 DEFAULT_STACK_PERMS doesn't include PF_X.
24014
451f001b
UD
240152011-01-13 Ulrich Drepper <drepper@gmail.com>
24016
cfa28e56
UD
24017 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24018 in child fails because the descriptor is already closed.
8cf8ce17
UD
24019 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24020 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24021 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 24022
1086d70d
UD
24023 [BZ #12397]
24024 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24025 syscall.
24026
451f001b
UD
24027 [BZ #10484]
24028 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24029 temporary buffer used to handle multi lookups locally.
a85b5cb4 24030 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 24031
08769175
UD
240322011-01-12 Ulrich Drepper <drepper@gmail.com>
24033
24034 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24035 loader is ld.so.
24036
5e49c52e
UD
240372011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24038
24039 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24040 alignment for SSE2.
24041
60522a5f
UD
240422011-01-12 Ulrich Drepper <drepper@gmail.com>
24043
24044 [BZ #12394]
24045 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24046 characters. When rounding increased number of integer digits recompute
24047 number of groups.
24048 * stdio-common/tst-grouping.c: New file.
24049 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24050
f257bbd7
UD
240512011-01-09 Ulrich Drepper <drepper@gmail.com>
24052
24053 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24054 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24055
24056 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24057 void.
24058 * bits/select.h: Likewise.
24059
fa9c15cb
UD
240602011-01-08 Ulrich Drepper <drepper@gmail.com>
24061
24062 * po/ja.po: Update from translation team.
24063
16c2895f
DM
240642011-01-04 David S. Miller <davem@sunset.davemloft.net>
24065
24066 [BZ #11155]
24067 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24068 implementation just like for lxstat, fxstatat, et al.
24069
2543fef2
JM
240702010-12-27 Jim Meyering <meyering@redhat.com>
24071
24072 [BZ #12348]
24073 * posix/regexec.c (build_trtable): Return failure indication upon
24074 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24075
98727dbe
UD
240762010-12-25 Ulrich Drepper <drepper@gmail.com>
24077
5bd6dc5c
UD
24078 [BZ #12201]
24079 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24080 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24081 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24082 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24083
97983464
UD
24084 [BZ #12207]
24085 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24086
98727dbe
UD
24087 [BZ #12204]
24088 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24089 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24090
4a531bb0
L
240912010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24092
24093 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24094 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24095 script has SORT_BY_INIT_PRIORITY.
24096 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24097 NO_CTORS_DTORS_SECTIONS is defined.
24098 * elf/soinit.c: Likewise.
24099 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24100 NO_CTORS_DTORS_SECTIONS is defined.
24101 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24102 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24103 * sysdeps/sh/init-first.c: Likewise.
24104 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24105
07eb4b71
UD
241062010-12-24 Ulrich Drepper <drepper@gmail.com>
24107
24108 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24109 always use the slow path.
24110
30950a5f
RA
241112010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24112
24113 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24114 similar rule which adds the sysdep directories to the header search in
24115 order to pick up the correct platform stackinfo.h.
24116 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24117 perform test if it is, otherwise return successfully without testing.
24118 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24119 DEFAULT_STACK_PERMS define in stackinfo.h.
24120 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24121 defined in stackinfo.h.
24122 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24123 DEFAULT_STACK_PERMS defined in stackinfo.h.
24124 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24125 * sysdeps/ia64/stackinfo.h: Likewise.
24126 * sysdeps/s390/stackinfo.h: Likewise.
24127 * sysdeps/sh/stackinfo.h: Likewise.
24128 * sysdeps/sparc/stackinfo.h: Likewise.
24129 * sysdeps/x86_64/stackinfo.h: Likewise.
24130 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24131 PF_X for powerpc64. Retain PF_X for powerpc32.
24132
db753e2c
UD
241332010-12-19 Ulrich Drepper <drepper@gmail.com>
24134
14b697f7
UD
24135 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24136 accurately.
db753e2c
UD
24137 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24138 GETDENTS_64BIT_ALIGNED.
24139
28300719
UD
241402010-12-14 Ulrich Drepper <dreper@gmail.com>
24141
14b697f7 24142 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 24143
4f197237
AS
241442010-12-10 Andreas Schwab <schwab@redhat.com>
24145
dbb0472f
AS
24146 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24147 _GNU_SOURCE.
24148
4f197237
AS
24149 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24150 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24151 Remove __restrict.
24152 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24153 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24154
fb88ac72
UD
241552010-12-09 Ulrich Drepper <drepper@gmail.com>
24156
24157 [BZ #11655]
24158 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24159 are initialized.
24160
42acbb92
JJ
241612010-12-09 Jakub Jelinek <jakub@redhat.com>
24162
24163 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24164
c038d98d
UD
241652010-12-03 Ulrich Drepper <drepper@gmail.com>
24166
24167 * po/it.po: Update from translation team.
24168
3a4a2499
L
241692010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24170
24171 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24172 unused codes.
24173
1e24cf6e
UD
241742010-11-30 Ulrich Drepper <drepper@gmail.com>
24175
24176 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24177
a7690819
AS
241782010-11-24 Andreas Schwab <schwab@redhat.com>
24179
24180 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24181 specially.
24182 (gaih_getanswer_slice): Likewise.
24183
3bf8d1b1
JJ
241842010-10-20 Jakub Jelinek <jakub@redhat.com>
24185
24186 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24187
6db52fbb
PB
241882010-05-31 Petr Baudis <pasky@suse.cz>
24189
24190 [BZ #11149]
24191 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24192 silently even in the chroot mode.
24193
eaca7569
UD
241942010-11-22 Ulrich Drepper <drepper@gmail.com>
24195
24196 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24197 last patch a bit. Pretty printing
24198
3056dcdb
UD
241992010-05-31 Petr Baudis <pasky@suse.cz>
24200
24201 [BZ #10085]
24202 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24203 initialization of skip_initgroups_dyn.
24204
cf7c9078
UD
242052010-11-19 Ulrich Drepper <drepper@gmail.com>
24206
24207 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24208 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24209
a1fb5e3e
UD
242102010-11-16 Ulrich Drepper <drepper@gmail.com>
24211
24212 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24213
3540d66b
AS
242142010-11-11 Andreas Schwab <schwab@redhat.com>
24215
24216 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24217 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24218 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24219 ($(objpfx)tst-fnmatch-mem): New rule.
24220 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24221 * posix/tst-fnmatch.c (main): Call mtrace.
24222
13b69574
L
242232010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24224
24225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24226 Support Intel processor model 6 and model 0x2c.
24227
da93d214
LM
242282010-11-10 Luis Machado <luisgpm@br.ibm.com>
24229
24230 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24231 signed comparison.
24232
8ca52c6e
L
242332010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24234
24235 [BZ #12205]
24236 * string/test-strncasecmp.c (check_result): New function.
24237 (do_one_test): Use it.
24238 (check1): New function.
24239 (test_main): Use it.
24240 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24241 Support strcasecmp and strncasecmp.
24242
69da074d
UD
242432010-11-08 Ulrich Drepper <drepper@gmail.com>
24244
24245 [BZ #12194]
24246 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24247 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24248
ff02d528
L
242492010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24250
24251 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24252 IFUNC support.
24253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24254 memset-x86-64.
24255 * sysdeps/x86_64/multiarch/bzero.S: New file.
24256 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24257 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24258 * sysdeps/x86_64/multiarch/memset.S: New file.
24259 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24260 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24261 Set bit_Prefer_SSE_for_memop for Intel processors.
24262 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24263 Define.
24264 (index_Prefer_SSE_for_memop): Define.
24265 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24266
344d0b54
LM
242672010-11-04 Luis Machado <luisgpm@br.ibm.com>
24268
24269 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24270 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24271
c0dde15b
UD
242722010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24273
24274 [BZ #12191]
24275 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24276 (__x86_64_raw_data_cache_size_half): Likewise.
24277 (__x86_64_raw_shared_cache_size): Likewise.
24278 (__x86_64_raw_shared_cache_size_half): Likewise.
24279
24280 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24281 (__x86_64_raw_data_cache_size_half): Likewise.
24282 (__x86_64_raw_shared_cache_size): Likewise.
24283 (__x86_64_raw_shared_cache_size_half): Likewise.
24284 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24285 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24286 and __x86_64_raw_shared_cache_size_half. Round
24287 __x86_64_data_cache_size_half, __x86_64_data_cache_size
24288 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
24289 to multiple of 256 bytes.
24290
0e516e0e
MS
242912010-11-03 Ulrich Drepper <drepper@gmail.com>
24292
24293 [BZ #12167]
24294 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24295 of inacessible symlinks. Verify result of symlink before returning it.
24296 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24297 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24298
0e012e87
ER
242992010-10-28 Erich Ritz <erichritz@gmail.com>
24300
24301 * math/math.h (isinf): Fix typo in comment.
24302
de0ff7bc
UD
243032010-11-01 Ulrich Drepper <drepper@gmail.com>
24304
24305 * po/da.po: Update from translation team.
24306
fa41c84d
UD
243072010-10-26 Ulrich Drepper <drepper@gmail.com>
24308
24309 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
24310 is added to the list.
24311
f0967738
AK
243122010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24313 Ulrich Drepper <drepper@gmail.com>
24314
24315 * elf/dl-object.c (_dl_new_object): Don't append the new object to
24316 the global list here. Move code to...
24317 (_dl_add_to_namespace_list): ...here. New function.
24318 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24319 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24320 * elf/dl-load.c (lose): Don't remove the element from the list.
24321 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24322 (_dl_map_object): Likewise.
24323
243242010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
24325
24326 [BZ #12159]
24327 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24328 into all bytes of SSE register.
24329 Patch by Richard Li <richardpku@gmail.com>.
24330
f0967738 243312010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
24332
24333 [BZ #12140]
24334 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24335 perturbing.
24336
d0b9e94f
MB
243372010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24338
24339 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24340 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24341 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24342 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24344 submachine.
24345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24346
8e9f92e9
AS
243472010-10-22 Andreas Schwab <schwab@redhat.com>
24348
24349 * include/dlfcn.h (__RTLD_SECURE): Define.
24350 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24351 mode & __RTLD_SECURE instead.
24352 (open_path): Rename preloaded parameter to secure.
24353 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24354 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24355 * elf/dl-deps.c (openaux): Likewise.
24356 * elf/rtld.c (struct map_args): Remove is_preloaded.
24357 (map_doit): Don't use it.
24358 (dl_main): Likewise.
24359 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24360 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24361
bc96fbda
AS
243622010-09-09 Andreas Schwab <schwab@redhat.com>
24363
24364 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24365 (sysd-rules-targets): Remove duplicates.
24366 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24367 rtld-%.$o dependency.
24368
22cd1c9b
AS
243692010-10-18 Andreas Schwab <schwab@redhat.com>
24370
24371 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24372 _dl_map_object do it.
24373
18edac48
UD
243742010-10-19 Ulrich Drepper <drepper@gmail.com>
24375
24376 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24377 fast fma builtins, define the macros in the C99 standard.
24378 (FP_FAST_FMAF): Likewise.
24379 (FP_FAST_FMAL): Likewise.
24380 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24381
24382 * bits/mathdef.h: Update copyright year.
24383 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24384
d2050124
MM
243852010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24386
24387 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24388 builtins, define the macros in the C99 standard.
24389 (FP_FAST_FMAF): Likewise.
24390 (FP_FAST_FMAL): Likewise.
24391 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24392 multiply/add.
24393 (FP_FAST_FMAF): Likewise.
24394
475facd1
JJ
243952010-10-15 Jakub Jelinek <jakub@redhat.com>
24396
24397 [BZ #3268]
24398 * math/libm-test.inc (fma_test): Some new testcases.
24399 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24400 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24401 y and infinite z. Do multiplication by C already in long double.
24402 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24403 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24404 y and infinite z. Do bitwise or of inexact bit into u.d.
24405 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24406 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24407 * sysdeps/i386/fpu/s_fma.S: Removed.
24408 * sysdeps/i386/fpu/s_fmal.S: Removed.
24409
7c08a05c
JJ
244102010-10-16 Jakub Jelinek <jakub@redhat.com>
24411
24412 [BZ #3268]
24413 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24414 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24415 computation is not scheduled after fetestexcept. Fix value
24416 of minimum denormal long double.
24417
f3f7372d
JJ
244182010-10-14 Jakub Jelinek <jakub@redhat.com>
24419
24420 [BZ #3268]
24421 * math/libm-test.inc (fma_test): Add some more tests.
24422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24423 correctly.
24424
14d43591
AS
244252010-10-15 Andreas Schwab <schwab@redhat.com>
24426
24427 * scripts/data/localplt-s390-linux-gnu.data: New file.
24428 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24429
5e908464
JJ
244302010-10-13 Jakub Jelinek <jakub@redhat.com>
24431
24432 [BZ #3268]
24433 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24434 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24435 instead of dbl-64.
24436 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24437 inlines.
24438 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24439 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24440 if one of x and y is very large and the other is subnormal.
24441 * sysdeps/s390/fpu/s_fmaf.c: New file.
24442 * sysdeps/s390/fpu/s_fma.c: New file.
24443 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24444 * sysdeps/powerpc/fpu/s_fma.S: New file.
24445 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24446 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24447 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24448
244492010-10-12 Jakub Jelinek <jakub@redhat.com>
24450
24451 [BZ #3268]
24452 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24453 fma tests.
24454 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24455 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24456 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24457 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24458 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24459 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24460 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24461
b833d51f
UD
244622010-10-12 Ulrich Drepper <drepper@redhat.com>
24463
24464 [BZ #12078]
24465 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24466 * posix/bug-regex31.input: Add test case.
24467
1751705d
UD
244682010-10-11 Ulrich Drepper <drepper@gmail.com>
24469
e9b9cbf5
UD
24470 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24471 * posix/bug-regex31.input: New file.
24472
24473 [BZ #12078]
24474 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24475 (parse_sub_exp): Fix last change, use postorder.
24476
ef06edbe
UD
24477 * posix/bug-regex31.c: New file.
24478 * posix/Makefile: Add rules to build and run bug-regex31.
24479
a129c80d
UD
24480 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24481
24482 [BZ #12078]
24483 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24484
b76b818e
UD
24485 [BZ #12108]
24486 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24487 to have entries in sys_siglist.
24488
1751705d
UD
24489 [BZ #12093]
24490 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24491 be NULL.
24492
9ff8d36f
JJ
244932010-10-07 Jakub Jelinek <jakub@redhat.com>
24494
24495 [BZ #3268]
24496 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24497 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24498 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24499 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24500 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24501 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24502 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24503 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24504 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24505 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24506 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24507 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24508 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24509 * math/ftestexcept.c (fetestexcept): Likewise.
24510 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24511 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24512 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24513 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24514 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24515 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24516 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24517
af325969
UD
245182010-10-11 Ulrich Drepper <drepper@gmail.com>
24519
c579b202 24520 [BZ #12107]
af325969
UD
24521 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24522 newline.
24523
67a67b95
UD
245242010-10-06 Ulrich Drepper <drepper@gmail.com>
24525
24526 * string/bug-strstr1.c: New file.
24527 * string/Makefile: Add rules to build and run bug-strstr1.
24528
5fb308bc
EB
245292010-10-05 Eric Blake <eblake@redhat.com>
24530
24531 [BZ #12092]
24532 * string/str-two-way.h (two_way_long_needle): Always clear memory
24533 when skipping input due to the shift table.
24534
45db99c7
UD
245352010-10-03 Ulrich Drepper <drepper@gmail.com>
24536
3b111893
UD
24537 [BZ #12005]
24538 * malloc/mcheck.c: Handle large requests.
24539
45db99c7
UD
24540 [BZ #12077]
24541 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24542 for strncmp and strncasecmp.
24543 * string/stratcliff.c: Add tests for strcmp and strncmp.
24544 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24545
cf7a1eb8
NI
245462010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24547
24548 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24549 __set_fpscr.
24550
6484ba5e
AJ
245512010-09-30 Andreas Jaeger <aj@suse.de>
24552
24553 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24554 (CGROUP_SUPER_MAGIC): Define.
24555 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24556 Handle btrfs and cgroup file systems.
24557 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24558 Likewise.
24559
91c42559
LM
245602010-09-27 Luis Machado <luisgpm@br.ibm.com>
24561
24562 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24563 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24564
87a97932
AK
245652010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24566
24567 [BZ #12067]
24568 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24569 trying to locate the ELF header.
24570
c21cc9bc
AS
245712010-09-27 Andreas Schwab <schwab@redhat.com>
24572
24573 [BZ #11611]
24574 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24575 Mask out sign-bit copies when constructing f_fsid.
24576
315970f6
PB
245772010-09-24 Petr Baudis <pasky@suse.cz>
24578
24579 * debug/stack_chk_fail_local.c: Add missing licence exception.
24580 * debug/warning-nop.c: Likewise.
24581
1ac7a2c7
JM
245822010-09-15 Joseph Myers <joseph@codesourcery.com>
24583
24584 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24585 implementing getdents64 using getdents syscall, set d_type if
24586 __ASSUME_GETDENTS32_D_TYPE.
24587
56801c50
AS
245882010-09-16 Andreas Schwab <schwab@redhat.com>
24589
24590 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24591 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24592
dda51327
UD
245932010-09-21 Ulrich Drepper <drepper@redhat.com>
24594
24595 [BZ #12037]
24596 * posix/unistd.h: Undo change of feature selection for ftruncate from
24597 2010-01-11.
24598
8ffcee4a
UD
245992010-09-20 Ulrich Drepper <drepper@redhat.com>
24600
a545ecd9 24601 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
24602 detection.
24603
e24f0a8b
AS
246042010-09-20 Andreas Schwab <schwab@redhat.com>
24605
24606 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24607 fanotify_mark.
24608 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24609
7291c56f
AS
246102010-09-14 Andreas Schwab <schwab@redhat.com>
24611
24612 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24613 variables after CHECK_SP call.
24614 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24615
bc5fb037
AS
246162010-09-13 Andreas Schwab <schwab@redhat.com>
24617 Ulrich Drepper <drepper@redhat.com>
24618
24619 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24620 re-relocationg ld.so.
24621 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24622 _dl_init_paths call.
24623 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24624 here anymore.
24625
e66e7419
UD
246262010-09-14 Ulrich Drepper <drepper@redhat.com>
24627
24628 * resolv/res_init.c (__res_vinit): Count the default server we added.
24629
c044aa75
CLT
246302010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24631 Ulrich Drepper <drepper@redhat.com>
24632
24633 [BZ #11968]
24634 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24635 (____longjmp_chk): Use %ebx for saving value across system call.
24636 Add unwind info.
24637
32cf4069
AS
246382010-09-06 Andreas Schwab <schwab@redhat.com>
24639
24640 * manual/Makefile: Don't mix pattern rules with normal rules.
24641
817328ee
AS
246422010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24643
24644 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24645 operation.
24646 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24647 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24648 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24649 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24650 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24651 Likewise.
24652
29fddf61
UD
246532010-09-04 Ulrich Drepper <drepper@redhat.com>
24654
24655 [BZ #11979]
24656 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24657 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24658
0959ffc9
UD
246592010-09-02 Ulrich Drepper <drepper@redhat.com>
24660
24661 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24662 * sysdeps/x86_64/addmul_1.S: Likewise.
24663 * sysdeps/x86_64/lshift.S: Likewise.
24664 * sysdeps/x86_64/mul_1.S: Likewise.
24665 * sysdeps/x86_64/rshift.S: Likewise.
24666 * sysdeps/x86_64/sub_n.S: Likewise.
24667 * sysdeps/x86_64/submul_1.S: Likewise.
24668
ece29840
ST
246692010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24670
0959ffc9
UD
24671 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24672 Define __sched_param instead of SCHED_* and sched_param when
ece29840 24673 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 24674 * bits/sched.h [__need_schedparam]
ece29840 24675 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
24676 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24677 (__defined_schedparam): Define to 1.
ece29840
ST
24678 (__sched_param): New structure, identical to sched_param.
24679 (__need_schedparam): Undefine.
24680
e53a31fe
MF
246812010-08-31 Mike Frysinger <vapier@gentoo.org>
24682
fdc0c10d
MF
24683 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24684 (epoll_create1): Declare.
24685
e53a31fe
MF
24686 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24687
a726d796
AS
246882010-08-31 Andreas Schwab <schwab@redhat.com>
24689
24690 [BZ #7066]
24691 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24692 shifting retval into place.
24693
2f3e3dc7
UD
246942010-09-01 Ulrich Drepper <drepper@redhat.com>
24695
f2933da9
UD
24696 * nis/rpcsvc/nis.h: Update copyright notice.
24697 * nis/rpcsvc/nis.x: Likewise.
24698 * nis/rpcsvc/nis_callback.h: Likewise.
24699 * nis/rpcsvc/nis_callback.x: Likewise.
24700 * nis/rpcsvc/nis_object.x: Likewise.
24701 * nis/rpcsvc/nis_tags.h: Likewise.
24702 * nis/rpcsvc/yp.h: Likewise.
24703 * nis/rpcsvc/yp.x: Likewise.
24704 * nis/rpcsvc/ypupd.h: Likewise.
24705 * nis/yp_xdr.c: Likewise.
24706 * nis/ypupdate_xdr.c: Likewise.
24707
2f3e3dc7
UD
24708 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24709 mainly the body of pmap_getport. Add parameters to specify timeouts.
24710 (pmap_getport): Use __libc_rpc_getport.
24711 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24712 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24713 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24714
f3dcc2f9
AS
247152010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24716
24717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24718 fanotify_mark.
24719
6d34eb5b
RM
247202010-08-27 Roland McGrath <roland@redhat.com>
24721
24722 * sysdeps/i386/i686/multiarch/Makefile
24723 (CFLAGS-varshift.c): New variable.
24724
9ea3de11
UD
247252010-08-27 Ulrich Drepper <drepper@redhat.com>
24726
c96d23fc
UD
24727 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24728 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24729
9ea3de11
UD
24730 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24731
24732 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24733
623aac7f
L
247342010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24735
24736 * sysdeps/x86_64/strlen.S: Unroll the loop.
24737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24738 strlen-sse2 strlen-sse2-bsf.
24739 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24740 __strlen_no_bsf if bit_Slow_BSF is set.
24741 (__strlen_sse42): Removed.
24742 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24743 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24744
8b2b7715
RM
247452010-08-25 Roland McGrath <roland@redhat.com>
24746
24747 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24748 * sysdeps/x86_64/multiarch/varshift.c: New file.
24749 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24750 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24751 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24752 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24753
e73015f2
L
247542010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24755
24756 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24757 strlen-sse2 strlen-sse2-bsf.
24758 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24759 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24760 (__strlen_sse2): Removed.
24761 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24762 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24764 bit_Slow_BSF for Atom.
24765 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24766 (index_Slow_BSF): Define.
24767 (HAS_SLOW_BSF): Define.
24768
df24a73e
UD
247692010-08-25 Ulrich Drepper <drepper@redhat.com>
24770
24771 [BZ #10851]
24772 * resolv/res_init.c (__res_vinit): When no server address at all
24773 is given default to loopback.
24774
f2ac4868
RM
247752010-08-24 Roland McGrath <roland@redhat.com>
24776
09055553
RM
24777 * configure.in: Remove config-name.h generation.
24778 * configure: Regenerated.
24779 * config-name.in: File removed.
24780 * scripts/config-uname.sh: New file.
24781 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24782 ($(objdir)config-name.h): New target.
24783
f2ac4868
RM
24784 * sunrpc/rpc_parse.h: Avoid nested comment.
24785
73f27d5e
RH
247862010-08-24 Richard Henderson <rth@redhat.com>
24787 Ulrich Drepper <drepper@redhat.com>
24788 H.J. Lu <hongjiu.lu@intel.com>
24789
24790 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24791 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24792 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24793 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24794 _mm_alignr_epi8 with _mm_loadu_si128.
24795 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24796 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24797 (__m128i_shift_right): Removed.
24798 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24799 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24800 * sysdeps/x86_64/multiarch/varshift.h: New file.
24801 * sysdeps/x86_64/multiarch/varshift.S: New file.
24802
84b9230c
MF
248032010-08-21 Mike Frysinger <vapier@gentoo.org>
24804
24805 * configure.in: Move assembler checks to before sysdep dir checking.
24806
9bbd0ddc
PB
248072010-08-20 Petr Baudis <pasky@suse.cz>
24808
24809 * LICENSES: Sync the sunrpc license.
24810
9da4bb31
UD
248112010-08-19 Ulrich Drepper <drepper@redhat.com>
24812
a7ab6ec8
UD
24813 * sunrpc/auth_des.c: Update copyright notice once again.
24814 * sunrpc/auth_none.c: Likewise.
24815 * sunrpc/auth_unix.c: Likewise.
24816 * sunrpc/authdes_prot.c: Likewise.
24817 * sunrpc/authuxprot.c: Likewise.
24818 * sunrpc/bindrsvprt.c: Likewise.
24819 * sunrpc/clnt_gen.c: Likewise.
24820 * sunrpc/clnt_perr.c: Likewise.
24821 * sunrpc/clnt_raw.c: Likewise.
24822 * sunrpc/clnt_simp.c: Likewise.
24823 * sunrpc/clnt_tcp.c: Likewise.
24824 * sunrpc/clnt_udp.c: Likewise.
24825 * sunrpc/clnt_unix.c: Likewise.
24826 * sunrpc/des_crypt.c: Likewise.
24827 * sunrpc/des_soft.c: Likewise.
24828 * sunrpc/get_myaddr.c: Likewise.
24829 * sunrpc/getrpcport.c: Likewise.
24830 * sunrpc/key_call.c: Likewise.
24831 * sunrpc/key_prot.c: Likewise.
24832 * sunrpc/openchild.c: Likewise.
24833 * sunrpc/pm_getmaps.c: Likewise.
24834 * sunrpc/pm_getport.c: Likewise.
24835 * sunrpc/pmap_clnt.c: Likewise.
24836 * sunrpc/pmap_prot.c: Likewise.
24837 * sunrpc/pmap_prot2.c: Likewise.
24838 * sunrpc/pmap_rmt.c: Likewise.
24839 * sunrpc/rpc/auth.h: Likewise.
24840 * sunrpc/rpc/auth_unix.h: Likewise.
24841 * sunrpc/rpc/clnt.h: Likewise.
24842 * sunrpc/rpc/des_crypt.h: Likewise.
24843 * sunrpc/rpc/key_prot.h: Likewise.
24844 * sunrpc/rpc/netdb.h: Likewise.
24845 * sunrpc/rpc/pmap_clnt.h: Likewise.
24846 * sunrpc/rpc/pmap_prot.h: Likewise.
24847 * sunrpc/rpc/pmap_rmt.h: Likewise.
24848 * sunrpc/rpc/rpc.h: Likewise.
24849 * sunrpc/rpc/rpc_des.h: Likewise.
24850 * sunrpc/rpc/rpc_msg.h: Likewise.
24851 * sunrpc/rpc/svc.h: Likewise.
24852 * sunrpc/rpc/svc_auth.h: Likewise.
24853 * sunrpc/rpc/types.h: Likewise.
24854 * sunrpc/rpc/xdr.h: Likewise.
24855 * sunrpc/rpc_clntout.c: Likewise.
24856 * sunrpc/rpc_cmsg.c: Likewise.
24857 * sunrpc/rpc_common.c: Likewise.
24858 * sunrpc/rpc_cout.c: Likewise.
24859 * sunrpc/rpc_dtable.c: Likewise.
24860 * sunrpc/rpc_hout.c: Likewise.
24861 * sunrpc/rpc_main.c: Likewise.
24862 * sunrpc/rpc_parse.c: Likewise.
24863 * sunrpc/rpc_parse.h: Likewise.
24864 * sunrpc/rpc_prot.c: Likewise.
24865 * sunrpc/rpc_sample.c: Likewise.
24866 * sunrpc/rpc_scan.c: Likewise.
24867 * sunrpc/rpc_scan.h: Likewise.
24868 * sunrpc/rpc_svcout.c: Likewise.
24869 * sunrpc/rpc_tblout.c: Likewise.
24870 * sunrpc/rpc_util.c: Likewise.
24871 * sunrpc/rpc_util.h: Likewise.
24872 * sunrpc/rpcinfo.c: Likewise.
24873 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24874 * sunrpc/rpcsvc/key_prot.x: Likewise.
24875 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24876 * sunrpc/rpcsvc/mount.x: Likewise.
24877 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24878 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24879 * sunrpc/rpcsvc/rex.x: Likewise.
24880 * sunrpc/rpcsvc/rstat.x: Likewise.
24881 * sunrpc/rpcsvc/rusers.x: Likewise.
24882 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24883 * sunrpc/rpcsvc/spray.x: Likewise.
24884 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24885 * sunrpc/rtime.c: Likewise.
24886 * sunrpc/svc.c: Likewise.
24887 * sunrpc/svc_auth.c: Likewise.
24888 * sunrpc/svc_authux.c: Likewise.
24889 * sunrpc/svc_raw.c: Likewise.
24890 * sunrpc/svc_run.c: Likewise.
24891 * sunrpc/svc_simple.c: Likewise.
24892 * sunrpc/svc_tcp.c: Likewise.
24893 * sunrpc/svc_udp.c: Likewise.
24894 * sunrpc/svc_unix.c: Likewise.
24895 * sunrpc/svcauth_des.c: Likewise.
24896 * sunrpc/xcrypt.c: Likewise.
24897 * sunrpc/xdr.c: Likewise.
24898 * sunrpc/xdr_array.c: Likewise.
24899 * sunrpc/xdr_float.c: Likewise.
24900 * sunrpc/xdr_mem.c: Likewise.
24901 * sunrpc/xdr_rec.c: Likewise.
24902 * sunrpc/xdr_ref.c: Likewise.
24903 * sunrpc/xdr_sizeof.c: Likewise.
24904 * sunrpc/xdr_stdio.c: Likewise.
24905
9da4bb31
UD
24906 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24907 handling.
24908
bdaa77bc
AS
249092010-08-19 Andreas Schwab <schwab@redhat.com>
24910
24911 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24912
fe2f79db
LM
249132010-08-19 Luis Machado <luisgpm@br.ibm.com>
24914
24915 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24916 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24917 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24918 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24919 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24920 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24921 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24922 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24923 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24924 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24925 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24926 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24927 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24928 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24929
b9b42ee0
AB
249302010-07-26 Anton Blanchard <anton@samba.org>
24931
24932 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24933 * malloc/arena.c (heap_trim): Likewise.
24934
1c06ba31
UD
249352010-08-16 Ulrich Drepper <drepper@redhat.com>
24936
24937 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24938 here. Not...
24939 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24940 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24941
f8392f40
L
249422010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24943
24944 * sysdeps/i386/elf/Makefile: New file.
24945
3162f12e
AS
249462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24947
24948 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24949 from fanotify_init.
24950 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24951 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24952
28c90b2c
UD
249532010-08-15 Ulrich Drepper <drepper@redhat.com>
24954
24955 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24956 of strncasecmp_l.
1feccb6c 24957 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 24958
ca6bb004
UD
249592010-08-14 Ulrich Drepper <drepper@redhat.com>
24960
e9f82e0d
UD
24961 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24962 strncase_l-nonascii.
24963 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24964 Add strncase_l-ssse3.
24965 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24966 * sysdeps/x86_64/strcmp.S: Likewise.
24967 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24968 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24969 * sysdeps/x86_64/strncase.S: New file.
24970 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24971 * sysdeps/x86_64/strncase_l.S: New file.
24972 * string/Makefile (strop-tests): Add strncasecmp.
24973 * string/test-strncasecmp.c: New file.
24974
24975 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24976 warning.
24977
ca6bb004
UD
24978 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24979 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24980
052fa7b3
AS
249812010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24982
24983 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24984
962dba78
UD
249852010-08-12 Ulrich Drepper <drepper@redhat.com>
24986
24987 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24988 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24989 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24990
bebff237
AM
249912010-05-01 Alan Modra <amodra@gmail.com>
24992
24993 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24994 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24995 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24996 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24997 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24998 tidying. Don't tail-call __sigjmp_save for static lib.
24999 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25000 save location.
25001 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25002 (CALL_MCOUNT): Add eh info, and nop after bl.
25003 (TAIL_CALL_SYSCALL_ERROR): New macro.
25004 (PSEUDO_RET): Use it.
25005 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25006 Correct save location of integer regs and cr.
25007 (_dl_profile_resolve): Correct cr save location. Delete nops
25008 after bl when SHARED. Reduce cfi size a little by better
25009 placement of cfi directives.
25010 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25011 make a stack frame. Instead use parm save area as a temp.
25012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25013 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25015 Don't make a stack frame for parent, use parm save area.
25016 Increase child stack frame to 112 bytes. Don't save unused reg,
25017 and adjust reg usage. Set up cfi on error recovery and
25018 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25020 (__makecontext): Add dummy nop after jump to exit.
25021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25022 Use correct parm save area and cr save, reduce stack frame.
25023 Correct cfi for possible PSEUDO_RET frame setup.
25024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25025 Branch to local label emitted by PSEUDO_RET rather than
25026 __syscall_error.
25027
02637374
AS
250282010-08-12 Andreas Schwab <schwab@redhat.com>
25029
25030 [BZ #11904]
25031 * locale/programs/locale.c (print_assignment): New function.
25032 (show_locale_vars): Use it.
25033
c3e2f19b
UD
250342010-08-11 Ulrich Drepper <drepper@redhat.com>
25035
3cdaa6ad
UD
25036 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25037 field.
25038 (struct statfs64): Likewise.
25039 (_STATFS_F_FLAGS): Define.
25040 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25041 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25042 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25043 (ST_VALID): Define locally.
25044 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25045 __statvfs_getflags, use the provided value.
25046 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25047 __ASSUME_STATFS_F_FLAGS.
25048
754f7da3
UD
25049 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25050
10b3bedc
UD
25051 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25052 Add sys/fanotify.h.
25053 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25054 fanotify_mask for GLIBC_2.13.
25055 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25056 fanotify_init and fanotify_mark.
25057 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25058 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25059
c08fb0d7
UD
25060 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25061 Add prlimit.
25062 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25063 prlimit64 for GLIBC_2.13.
25064 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25065 prlimit64.
25066 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25067 syscall.
25068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25069 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25070 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25071 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25072 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25073 add prlimit alias.
25074 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25075
15bac72b
UD
25076 [BZ #11903]
25077 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25078 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25079
c3e2f19b
UD
25080 * nss/Makefile: Add rules to build and run tst-nss-test1.
25081 * shlib-versions: Add entry for libnss_test1.
25082 * nss/nss_test1.c: New file.
25083 * nss/tst-nss-test1.c: New file.
25084
25085 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25086 (__nss_configure_lookup): Set appropriate entry in
25087 __nss_configure_lookup to true.
25088 * nss/nsswitch.h: Define enum with indeces of databases in
25089 databases and __nss_database_custom arrays. Declare
25090 __nss_database_custom.
25091 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25092 to avoid using nscd when custom rules are installed.
25093 * nss/getXXbyYY_r.c: Likewise.
25094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25095
25096 * nss/nss_files/files-parse.c: Whitespace fixes.
25097
f15ce4d8
UD
250982010-08-09 Ulrich Drepper <drepper@redhat.com>
25099
25100 [BZ #11883]
25101 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25102 * posix/fnmatch_loop.c: Likewise.
25103
d22e4cc9
AK
251042010-07-17 Andi Kleen <ak@linux.intel.com>
25105
25106 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25107 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25108 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25109 * Versions.def [GLIBC_2.13]: Add.
25110
805bc17d
UD
251112010-08-06 Ulrich Drepper <drepper@redhat.com>
25112
25113 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25114 Also fail if tpwd after pwuid call is NULL.
25115
5a42321d
ST
251162010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25117
25118 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25119 when converting to ms.
25120
fd3ebeda
ST
251212010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25122
25123 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25124 EOPNOTSUPP errors with ENOTTY.
25125 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25126 EOPNOTSUPP errors with ENOTTY.
25127
73507d3a
UD
251282010-07-31 Ulrich Drepper <drepper@redhat.com>
25129
25130 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25131 Add strcasecmp_l-ssse3.
25132 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25133 strcasecmp.
25134 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25135 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25136 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25137
fe36dd02
UD
251382010-07-30 Ulrich Drepper <drepper@redhat.com>
25139
66f6765a
UD
25140 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25141
42e08a54
UD
25142 * string/Makefile (strop-tests): Add strcasecmp.
25143 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25144 strcasecmp_l-nonascii.
25145 (gen-as-const-headers): Add locale-defines.sym.
25146 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25147 * sysdeps/x86_64/strcasecmp.S: New file.
25148 * sysdeps/x86_64/strcasecmp_l.S: New file.
25149 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25150 * sysdeps/x86_64/locale-defines.sym: New file.
25151 * string/test-strcasecmp.c: New file.
25152
fe36dd02
UD
25153 * string/test-strcasestr.c: Test both ends of the range of characters.
25154 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25155
48cbc0d6
RM
251562010-07-29 Roland McGrath <roland@redhat.com>
25157
76e6d6bc 25158 [BZ #11856]
48cbc0d6
RM
25159 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25160
880113d9
UD
251612010-07-27 Ulrich Drepper <drepper@redhat.com>
25162
25163 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25164 for ld.so.
25165
deb9cabb
AS
251662010-07-27 Andreas Schwab <schwab@redhat.com>
25167
25168 * manual/memory.texi (Malloc Tunable Parameters): Document
25169 M_PERTURB.
25170
1c7570ff
RM
251712010-07-26 Roland McGrath <roland@redhat.com>
25172
25173 [BZ #11840]
25174 * configure.in (-fgnu89-inline check): Set and substitute
25175 gnu89_inline, not libc_cv_gnu89_inline.
25176 * configure: Regenerated.
25177 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25178
24fb0f88
UD
251792010-07-26 Ulrich Drepper <drepper@redhat.com>
25180
25181 * string/test-strnlen.c: New file.
25182 * string/Makefile (strop-tests): Add strnlen.
25183 * string/tester.c (test_strnlen): Add a few more test cases.
25184 * string/tst-strlen.c: Better error reporting.
25185
25186 * sysdeps/x86_64/strnlen.S: New file.
25187
8e96b93a
UD
251882010-07-24 Ulrich Drepper <drepper@redhat.com>
25189
25190 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25191 lower-latency instructions.
25192
dbc676d4
UD
251932010-07-23 Ulrich Drepper <drepper@redhat.com>
25194
25195 * string/test-strcasestr.c: New file.
25196 * string/test-strstr.c: New file.
25197 * string/Makefile (strop-tests): Add strstr and strcasestr.
25198 * string/str-two-way.h: Don't undefine MAX.
25199 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25200
f6a31e0e
AS
252012010-07-21 Andreas Schwab <schwab@redhat.com>
25202
25203 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25204 strcasestr-nonascii.
25205 (CFLAGS-strcasestr-nonascii.c): Define.
25206 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25207 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25208 Remove unused attribute.
25209
5dbc3b6c
RM
252102010-07-20 Roland McGrath <roland@redhat.com>
25211
25212 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25213 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25214 ld.so.cache was broken. With it, there is no way to disable dsocaps
25215 like LD_HWCAP_MASK can disable hwcaps.
25216
23d101d8
EPM
252172010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25218
25219 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25220
cc9f2e47
UD
252212010-07-16 Ulrich Drepper <drepper@redhat.com>
25222
25223 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25224 call in strcasestr.
25225 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25226 __strcasestr_sse42_nonascii.
25227 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25228 strcasestr-nonascii.c.
25229 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25230
77c1b069
LM
252312010-06-15 Luis Machado <luisgpm@br.ibm.com>
25232
25233 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25234 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25235 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25236 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25237
440566c3
UD
252382010-07-09 Ulrich Drepper <drepper@redhat.com>
25239
25240 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25241 fcntl.
25242
5be9d05d
AS
252432010-07-06 Andreas Schwab <schwab@redhat.com>
25244
c30b7ee2 25245 [BZ #11577]
5be9d05d
AS
25246 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25247 dl_signal_cerror.
25248
8a492a67
UD
252492010-07-06 Ulrich Drepper <drepper@redhat.com>
25250
25251 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25252 _PC_PIPE_BUF using F_GETPIPE_SZ.
25253
713df3d5
RM
252542010-07-05 Roland McGrath <roland@redhat.com>
25255
25256 * manual/arith.texi (Rounding Functions): Fix rint description
25257 implicit in round description.
25258
702e8f14
UD
252592010-07-02 Ulrich Drepper <drepper@redhat.com>
25260
25261 * elf/Makefile: Fix linking for a few tests to make recent linker
25262 happy.
25263
52ed8be9
AS
252642010-06-30 Andreas Schwab <schwab@redhat.com>
25265
25266 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25267 $(common-objpfx)libc_nonshared.a.
25268
f47c9a11
LM
252692010-06-21 Luis Machado <luisgpm@br.ibm.com>
25270
25271 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25272 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25273 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25274 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25275 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25276 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25277 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25278 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
25289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
25293 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
25294 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25295 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25296 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25297 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25298 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25299 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25300 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25301 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25302 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25303 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25304 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
25305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
25306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
25307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
25308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
25309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
25310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
25311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
25312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
25313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
25314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
25315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
25316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
25317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25319
6fb8cbcb
L
253202010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25321
25322 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25323 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25324 * string/memmove.c (memmove): Renamed to ...
25325 (MEMMOVE): ...this. Default to memmove.
25326 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25327 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25328 (END_CHK): Define.
25329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25330 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25331 mempcpy-ssse3-back memmove-ssse3-back.
25332 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25333 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25334 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25335 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25336 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25337 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25338 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25339 * sysdeps/x86_64/multiarch/memmove.c: New file.
25340 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25341 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25342 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25343 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25344 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25345 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25346 Define.
25347 (index_Fast_Copy_Backward): Define.
25348 (HAS_ARCH_FEATURE): Define.
25349 (HAS_FAST_REP_STRING): Define.
25350 (HAS_FAST_COPY_BACKWARD): Define.
25351
4e733bac 253522010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
25353
25354 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25355 Restore proper fallback handling.
25356
63c4ed22
UD
253572010-06-19 Ulrich Drepper <drepper@redhat.com>
25358
ac2b484c
UD
25359 [BZ #11701]
25360 * posix/group_member.c (__group_member): Correct checking loop.
25361
63c4ed22
UD
25362 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25363 OOM in getpwuid_r correctly. Return error number when the caller
25364 should return, otherwise -1.
25365 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25366 call returning > 0 value.
25367 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25368
765ade4b
AS
253692010-06-07 Andreas Schwab <schwab@redhat.com>
25370
25371 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25372 libc_nonshared.a from targets in modules-names.
25373
80da2e09
KS
253742010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25375
25376 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25377 requires it.
25378
158db122
LM
253792010-06-10 Luis Machado <luisgpm@br.ibm.com>
25380
25381 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25382 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25383 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25384 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25385
caa78cf8
AS
253862010-06-02 Andreas Schwab <schwab@redhat.com>
25387
25388 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25389
b2ef2c01
UD
253902010-06-14 Ulrich Drepper <drepper@redhat.com>
25391
25392 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25393 and F_GETPIPE_SZ.
25394 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25395 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25396 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25397 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25398 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25399 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25400
fbd643b6
RM
254012010-06-14 Roland McGrath <roland@redhat.com>
25402
25403 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25404
f32f2869
JJ
254052010-06-07 Jakub Jelinek <jakub@redhat.com>
25406
25407 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25408 __REDIRECT followed by __THROW.
25409 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25410 * posix/getopt.h (getopt): Likewise.
25411
2a50c078
EPM
254122010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25413
25414 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25415 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25416 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25417 in AT_FLAGS.
25418 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25419 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25420
eb5ad2eb
LM
254212010-05-28 Luis Machado <luisgpm@br.ibm.com>
25422
25423 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25424
3c88fe1e
L
254252010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25426
25427 [BZ #11640]
25428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25429 Properly check family and model.
25430
d2f73151
TY
254312010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25432
25433 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25434
ebd2e13d
LM
254352010-05-24 Luis Machado <luisgpm@br.ibm.com>
25436
25437 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25438
b32b8b45
UD
254392010-05-21 Ulrich Drepper <drepper@redhat.com>
25440
25441 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25442 symbol reference.
25443
9acbe24d
AS
254442010-05-19 Andreas Schwab <schwab@redhat.com>
25445
25446 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25447 symbol reference.
25448
f0ccf6ea
AS
254492010-05-21 Andreas Schwab <schwab@redhat.com>
25450
3d04ff3a
AS
25451 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25452 and internal_recvmmsg.
25453 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25454 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25455 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25456 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25457
f0ccf6ea
AS
25458 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25459 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25460 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25461
5b08ac57
AS
254622010-05-20 Andreas Schwab <schwab@redhat.com>
25463
25464 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25465
4828935d
LM
254662010-05-17 Luis Machado <luisgpm@br.ibm.com>
25467
25468 POWER7 optimizations.
25469 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25470 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25471
373d545e
UD
254722010-05-19 Ulrich Drepper <drepper@redhat.com>
25473
25474 * version.h: Update for 2.13 development version.
25475
21a2b1ae
AS
254762010-05-12 Andrew Stubbs <ams@codesourcery.com>
25477
25478 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25479 exceptions. Return 0.
25480
3f7dcb2b
RM
254812010-05-07 Roland McGrath <roland@redhat.com>
25482
25483 * elf/ldconfig.c (main): Add a const.
25484
5f24d53a 254852010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 25486
a160f8d8
UD
25487 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25488 (args_options): Add no-idn option.
25489 (ahosts_keys_int): Add idn_flags to ai_flags.
25490 (parse_option): Handle 'i' option to clear idn_flags.
25491
5f24d53a
UD
25492 * malloc/malloc.c (_int_free): Possible race in the most recently
25493 added check. Only act on the data if no current modification
25494 happened.
265bb1ce
UD
25495
25496See ChangeLog.17 for earlier changes.