]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix some testsuite build warning fixes in libm
[thirdparty/glibc.git] / ChangeLog
CommitLineData
2016b3cd
SP
12013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2
e4f22324
SP
3 * math/atest-exp.c (exp_mpn): Remove ROUND.
4 * math/atest-exp2.c (exp_mpn): Likewise.
5 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6
2016b3cd
SP
7 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8 * stdlib/tst-tls-atexit-lib.c: Likewise.
9 * stdlib/tst-tls-atexit.c: Likewise.
10
4be9b544
MF
112013-02-18 Mike Frysinger <vapier@gentoo.org>
12
13 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14 and __attribute_alloc_size__.
15
2f62b9ee
MF
162013-02-18 Mike Frysinger <vapier@gentoo.org>
17
18 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19 __attribute_alloc_size__.
20 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22
6ff444c4
MF
232013-02-18 Mike Frysinger <vapier@gentoo.org>
24
25 * include/programs/xmalloc.h: New file.
26 * catgets/gencat.c: Include it.
27 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28 * elf/pldd.c: Likewise.
29 * iconv/iconv_charmap.c: Likewise.
30 * iconv/iconvconfig.c: Likewise.
31 * iconv/strtab.c: Likewise.
32 * locale/programs/locale.c: Likewise.
33 * locale/programs/localedef.h: Likewise.
34 * locale/programs/simple-hash.c: Likewise.
35 * nscd/nscd.h: Likewise.
36 * nss/makedb.c: Likewise.
37 * sysdeps/generic/ldconfig.h: Likewise.
38
be179c8a
SP
392013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40
ba384f6e
SP
41 * Versions.def: Add GLIBC_2.18.
42 * include/link.h (struct link_map): New member l_tls_dtor_count.
43 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
44 (__call_tls_dtors): Likewise.
45 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
46 __cxa_thread_atexit_impl.
47 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48 Likewise.
49 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50 Likewise.
51 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52 Likewise.
53 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54 Likewise.
55 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
57 Likewise.
58 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
59 Likewise.
60 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62 Likewise.
63 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
64 (tests): Add test case tst-tls-atexit.
65 (modules-names): Add shared library for tst-tls-atexit.
66 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
67 (GLIBC_PRIVATE): Add __call_tls_dtors.
68 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
69 for libstdc++.
70 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
71 * stdlib/tst-tls-atexit.c: New test case.
72 * stdlib/tst-tls-atexit-lib.c: New test case.
73
ffaa74cf 74 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 75
be179c8a
SP
76 * elf/Versions (ld): Add _dl_find_dso_for_object.
77 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
78 * elf/dl-open.c (_dl_find_dso_for_object): New function.
79 (dl_open_worker): Use _dl_find_dso_for_object.
80 * elf/dl-sym.c (do_sym): Likewise.
81 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
82
f78b5caa
AK
832013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84
85 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
86 Syntactic changes only.
87 (_dl_runtime_profile): Do a tail-call to the resolved function.
88
29691210
JM
892013-02-17 Joseph Myers <joseph@codesourcery.com>
90
91 [BZ #13550]
92 * sysdeps/x86_64/bp-asm.h: Remove file.
93 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
94 <bp-sym.h> and <bp-asm.h>.
95 (__clone): Do not use BP_SYM.
96 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
97 <bp-sym.h> and <bp-asm.h>.
98 * sysdeps/unix/x86_64/sysdep.S: Likewise.
99 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
100 "bp-asm.h".
101 (_setjmp): Do not use BP_SYM.
102 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
103 "bp-asm.h".
104 (setjmp): Do not use BP_SYM.
105 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
106 libc_hidden_def.
107 (mempcpy): Do not use BP_SYM in weak_alias.
108 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
109 "bp-asm.h".
110 (strchr): Do not use BP_SYM.
111 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
112 "bp-asm.h".
113 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
114 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
115 (_start): Do not use BP_SYM.
116 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
117 "bp-asm.h".
118 (strcat): Do not use BP_SYM.
119 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
120 "bp-asm.h".
121 (STRCMP): Do not use BP_SYM.
122 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
123 "bp-asm.h".
124 (STRCPY): Do not use BP_SYM.
125 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
126 "bp-asm.h".
127 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
128 "bp-asm.h".
129 (FUNCTION): Do not use BP_SYM.
130 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
131 weak_alias.
132 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
133
f238fd19
AJ
1342013-02-17 Andreas Jaeger <aj@suse.de>
135
136 * time/Versions: Sort entries.
137 * string/Versions: Likewise.
138 * resolv/Versions: Likewise.
139 * posix/Versions: Likewise.
140 * iconv/Versions: Likewise.
141 * elf/Versions: Likewise.
142 * wcsmbs/Versions: Likewise.
143
bd07f23c 1442013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 145
22af19f9
SP
146 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
147 loop termination condition.
148
4709fe76
SP
149 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
150 variable to calculate EZ.
151 (__sqr): Likewise.
2d0e0f29
SP
152
153 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
154 the lower precision input.
155
daaa7713
JM
1562013-02-15 Joseph Myers <joseph@codesourcery.com>
157
158 [BZ #13550]
159 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
160 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
161 (run-via-rtld-prefix): Do not handle %-bp tests.
162 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
163 (all-object-suffixes): Remove .ob.
164 (bppfx): Remove variable.
165 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
166 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
167 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
168 [$(build-bounded) = yes] (libtype.ob): Likewise.
169 * Makerules (elide-routines.ob): Remove variable.
170 (do-tests-clean): Do not handle *-bp.out.
171 (common-mostlyclean): Do not handle *-bp and *-bp.out.
172 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
173 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
174 (tests): Do not include $(tests-bp.out).
175 (xtests): Do not include $(xtests-bp.out).
176 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
177 [$(build-bounded) = yes] ($(addprefix
178 $(objpfx),$(binaries-bounded))): Remove rule.
179 ($(objpfx)%-bp.out): Remove rule.
180 * config.make.in (build-bounded): Remove variable.
181 * crypt/Makefile [$(build-bounded) = yes]
182 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
183 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
184 append to variable.
185 [$(build-bounded) = yes] (install-lib): Likewise.
186 [$(build-bounded) = yes] (generated): Likewise.
187 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
188 Remove rule.
189 * intl/Makefile [$(build-bounded) = yes]
190 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
191 * math/Makefile [$(build-bounded) = yes]
192 ($(tests:%=$(objpfx)%-bp): Likewise.
193 * misc/Makefile [$(build-bounded) = yes]
194 ($(objpfx)tst-tsearch-bp): Likewise.
195 * nptl/Makeconfig (bounded-thread-library): Remove variable.
196 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
197 Remove dependency.
198 * string/Makefile (o-objects.ob): Remove variable.
199 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
200 (CFLAGS-.ob): Remove variable.
201 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
202 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
203 both definitions of variable.
204 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
205 (ASFLAGS-.ob): Remove variable.
206
e97ed6dd
JM
2072013-02-14 Joseph Myers <joseph@codesourcery.com>
208
2bdd4ca6
JM
209 [BZ #13550]
210 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
211 Remove __BOUNDED_POINTERS__ from condition.
212 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
213 * string/bits/string2.h [!__NO_STRING_INLINES &&
214 !__BOUNDED_POINTERS__]: Likewise.
215 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
216 Likewise.
217 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
218 Remove conditional code.
219 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
220 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
221 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
222 condition.
223
e97ed6dd
JM
224 [BZ #13550]
225 * csu/libc-start.c: Do not include <bp-sym.h>.
226 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
227 * elf/dl-open.c: Do not include <bp-sym.h>.
228 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
229 * math/fegetenv.c: Do not include <bp-sym.h>.
230 (fegetenv): Do not use BP_SYM in versioned symbols.
231 * nptl/sysdeps/pthread/bits/libc-lockP.h
232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
233 <bp-sym.h>.
234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
235 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
237 (__pthread_mutex_destroy): Likewise.
238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
239 (__pthread_mutex_lock): Likewise.
240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
241 (__pthread_mutex_trylock): Likewise.
242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
243 (__pthread_mutex_unlock): Likewise.
244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
245 (__pthread_mutexattr_init): Likewise.
246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
247 (__pthread_mutexattr_destroy): Likewise.
248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
249 (__pthread_mutexattr_settype): Likewise.
250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
251 (__pthread_rwlock_init): Likewise.
252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
253 (__pthread_rwlock_destroy): Likewise.
254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
255 (__pthread_rwlock_rdlock): Likewise.
256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
257 (__pthread_rwlock_tryrdlock): Likewise.
258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
259 (__pthread_rwlock_wrlock): Likewise.
260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
261 (__pthread_rwlock_trywrlock): Likewise.
262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
263 (__pthread_rwlock_unlock): Likewise.
264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
265 (__pthread_key_create): Likewise.
266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
267 (__pthread_setspecific): Likewise.
268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
269 (__pthread_getspecific): Likewise.
270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
271 Likewise.
272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
273 (_pthread_cleanup_push_defer): Likewise.
274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
275 (_pthread_cleanup_pop_restore): Likewise.
276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
277 (pthread_setcancelstate): Likewise.
278 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
279 <bp-sym.h>.
280 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
281 (memchr): Do not use BP_SYM in weak_alias.
282 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
283 (fegetenv): Do not use BP_SYM in versioned symbols.
284 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
285 (fesetenv): Do not use BP_SYM in versioned symbols.
286 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
287 (feupdateenv): Do not use BP_SYM in versioned symbols.
288 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
289 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
290 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
291 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
292 (open64): Do not use BP_SYM in weak_alias.
293 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
294 (fegetenv): Do not use BP_SYM in versioned symbols.
295 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
296 (fesetenv): Do not use BP_SYM in versioned symbols.
297 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
298 (feupdateenv): Do not use BP_SYM in versioned symbols.
299 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
300 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
301 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
302 (feraiseexcept): Do not use BP_SYM in versioned symbols.
303 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
304 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
305 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
306 <bp-sym.h>.
307 (__libc_start_main): Do not use BP_SYM.
308
d6752ccd
SP
3092013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
310
cb57ce60
SP
311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
312 redundant return line.
313 (norm): Likewise.
314 (denorm): Likewise.
315 (dbl_mp): Likewise.
316 (sub_magnitudes): Likewise.
317 (__add): Likewise.
318 (__sub): Likewise.
319 (__mul): Likewise.
320 (__inv): Likewise.
321 (__dvd): Likewise.
322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
323 (norm): Likewise.
324 (denorm): Likewise.
325 (dbl_mp): Likewise.
326 (sub_magnitudes): Likewise.
327 (__add): Likewise.
328 (__sub): Likewise.
329 (__mul): Likewise.
330 (__inv): Likewise.
331 (__dvd): Likewise.
332
f414520d
SP
333 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
334 instead of __mul.
335 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
336 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
337 (cc32): Likewise.
338
d6752ccd
SP
339 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
340 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
341 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
342 of __mul for squares.
343 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
344 function
345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
346 Likewise.
347 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
348 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
349
70d9946a
JM
3502013-02-13 Joseph Myers <joseph@codesourcery.com>
351
352 [BZ #13550]
353 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
354 code.
355 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
356 prototype or function definition. Rename ubp_* variables and
357 parameters. Remove argv definitions conditional on
358 [__BOUNDED_POINTERS__].
359 * debug/backtrace.c (__backtrace): Do not use __unbounded.
360 * elf/dl-runtime.c (_dl_fixup): Likewise.
361 * include/set-hooks.h (RUN_HOOK): Likewise.
362 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
363 definition.
364 * string/strcpy.c (strcpy): Do not use __unbounded.
365 * sysdeps/generic/frame.h (struct layout): Likewise.
366 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
367 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
368 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
369 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
370 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
371 (__backtrace): Likewise.
372 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
373 use __ptrvalue.
374 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
375 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
376 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
377 Likewise.
378 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
379 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
380 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
381 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
382 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
383 Do not use __unbounded.
384 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
385 Rename __unboundedrlimits parameter to rlimits in prototype.
386 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
387 Do not use __unbounded.
388 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
389 not use __ptrvalue.
390 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
391 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
392 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
393 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
394 __ptrvalue or __unbounded.
395 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
396 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
397 use __unbounded.
398 (__new_msgctl): Do not use __ptrvalue.
399 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
400 __unbounded.
401 (__libc_msgrcv): Do not use __ptrvalue.
402 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
403 startup_info): Do not use __unbounded.
404 (__libc_start_main): Likewise. Rename ubp_* variables and
405 parameters. Remove argv definitions conditional on
406 [__BOUNDED_POINTERS__].
407 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
408 __ptrvalue.
409 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
410 use __unbounded.
411 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
412 or __ptrvalue.
413 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
414 use __unbounded.
415 (__new_shmctl): Do not use __ptrvalue.
416 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
417 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
418 Likewise.
419 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
420 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
421 (__libc_sigaction): Likewise.
422 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
423 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
424 Likewise.
425 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
426
cc7834d6
OB
4272013-02-13 Ondřej Bílka <neleai@seznam.cz>
428
ffb1ec7b 429 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
430
431 * string/mempcpy.c: Implement by calling memcpy.
432
bdf02814
SP
4332013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
434
c2af38aa
SP
435 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
436
4e92d59e
SP
437 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
438 evaluation.
439
909279a5
SP
440 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
441 values in the mantissa.
442
bdf02814
SP
443 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
444 minimize writes to Z.
445 (sub_magnitudes): Simplify code a bit.
446
cd525923
RM
4472013-02-12 Roland McGrath <roland@hack.frob.com>
448
449 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
450 from the message. The linker prefixes all warnings with that already.
451
7e2f0d2d
AS
4522013-02-12 Andreas Schwab <schwab@suse.de>
453
a445af0b
AS
454 [BZ #15078]
455 * posix/regexec.c (extend_buffers): Add parameter min_len.
456 (check_matching): Pass minimum needed length.
457 (clean_state_log_if_needed): Likewise.
458 (get_subexp): Likewise.
459 * posix/Makefile (tests): Add bug-regex34.
460 (bug-regex34-ENV): Define.
461 * posix/bug-regex34.c: New file.
462
7e2f0d2d
AS
463 [BZ #11561]
464 * posix/regcomp.c (parse_bracket_exp): When looking up collating
465 elements compare against the byte sequence of it, not its name.
466 * posix/Makefile (tests): Add bug-regex35.
467 (bug-regex35-ENV): Define.
468 * posix/bug-regex35.c: New file.
469
a175b684
TV
4702013-02-11 Tom de Vries <tom@codesourcery.com>
471
472 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
473 comment.
474 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
475 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
476 (CHECK_EOL): Add undef.
477
310998fe 4782013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
479
480 * bits/stdlib-bsearch.h: New file.
481 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 482 * stdlib/stdlib.h: Likewise.
41eda41d 483
8ded91fb
RM
4842013-02-11 Roland McGrath <roland@hack.frob.com>
485
486 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
487 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
488 declaration.
489 * manual/search.texi (Array Search Function): Add missing const in
490 lfind prototype.
491 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
492 declaration to use rlim_t.
493 (Basic Scheduling Functions): Remove erroneous const from
494 sched_getparam prototype. Remove erroneous * from
495 sched_get_priority_max and sched_get_priority_min prototypes.
496 (Resource Usage): Fix summary @comment on vtimes to refer to
497 sys/vtimes.h rather than vtimes.h.
498 Add missing *s in vtimes prototype.
499 (Limits on Resources): Fix ulimit prototype to return long int.
500 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
501 prototypes to use long int rather than double.
502 (BSD Random): Fix initstate and setstate to use char *, not void *.
503 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
504 prototype to make second argument 'struct aiocb64 *const[]'.
505 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
506 (Status of AIO Operations): Remove erroneous const in aio_return and
507 aio_return64 prototypes.
508 (Synchronizing I/O): Fix sync prototype to return void.
509 * manual/startup.texi (Suboptions): Remove an erroneous const in
510 getsubopt prototype.
511 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
512 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
513 use size_t rather than int.
514 (Scanning All Users): Likewise for getpwent_r.
515 (Setting Groups): Add missing const to setgroups prototype.
516 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
517 * manual/socket.texi (Host Names): Fix gethostbyaddr and
518 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
519 'const void *' rather than 'const char *'.
520 (Host Address Functions): Likewise for inet_ntop.
521 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
522 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
523 ssize_t for return value.
524 (Sending Data): Likewise for send, sendto, sendmsg.
525 (Socket Option Functions): Add a missing const in setsockopt prototype.
526 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
527 use wchar_t for the argument.
528 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
529 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
530 take no arguments.
531 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
532 double/float/long double for second argument.
533 Fix return types of significand, significandf, significandl.
534 * manual/filesys.texi (Setting Permissions): Use mode_t for second
535 argument in fchmod prototype.
536 (File Owner): Use uid_t and gid_t in fchown prototype.
537 (File Times): Add const to utimes, futimes, and lutimes prototypes.
538 (Making Special Files): Use mode_t and dev_t in mknod prototype.
539 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
540 use 'const struct dirent **' as argument types to CMP function pointer
541 argument.
542 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
543 (File Times): Fix summary magic @comment for struct utimbuf and utime
544 to refer to utime.h, not time.h.
545 * manual/string.texi (Argz Functions): Add missing const in
546 argz_extract and argz_next prototypes.
547 (Finding Tokens in a String): Likewise for basename.
548 (String/Array Comparison): Fix typo in wcscasecmp prototype.
549 (Copying and Concatenation): Fix typo in wmemmove prototype.
550 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
551 (Signal Stack): Remove erroneous const in sigstack prototype.
552 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
553 prototype.
554 (Simple Calendar Time): Likewise for stime.
555 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
556 prototype.
557 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
558 say sys/sysctl.h instead.
559 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
560 and vsyslog prototypes.
561
fe77fe6d
TV
5622013-02-11 Tom de Vries <tom@codesourcery.com>
563
564 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
565 Remove.
566
3a09b620
RM
5672013-02-11 Roland McGrath <roland@hack.frob.com>
568
569 * misc/sys/mman.h: Fix typo in mremap comment.
570
550a0b89
RM
5712013-02-08 Roland McGrath <roland@hack.frob.com>
572
573 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
574 the '\0' terminator.
575
a2da1673
JM
5762013-02-08 Joseph Myers <joseph@codesourcery.com>
577
578 [BZ #13550]
579 * debug/segfault.c: Don't include <bp-checks.h>.
580 * sysdeps/generic/bp-checks.h: Remove file.
581 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
582 (__GETDENTS): Don't use CHECK_N.
583 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
584 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
585 (__getgroups): Don't use CHECK_N.
586 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
587 (setgroups): Don't use CHECK_N.
588 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
589 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
590 (__libc_msgrcv): Don't use CHECK_N.
591 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
592 (__libc_msgsnd): Don't use CHECK_N.
593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
594 <bp-checks.h>.
595 (__libc_pread): Don't use CHECK_N.
596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
597 include <bp-checks.h>.
598 (__libc_pread64): Don't use CHECK_N.
599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
600 include <bp-checks.h>.
601 (__libc_pwrite): Don't use CHECK_N.
602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
603 include <bp-checks.h>.
604 (__libc_pwrite64): Don't use CHECK_N.
605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
606 <bp-checks.h>.
607 (__libc_pread): Don't use CHECK_N.
608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
609 include <bp-checks.h>.
610 (__libc_pread64): Don't use CHECK_N.
611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
612 include <bp-checks.h>.
613 (__libc_pwrite): Don't use CHECK_N.
614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
615 include <bp-checks.h>.
616 (__libc_pwrite64): Don't use CHECK_N.
617 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
618 (do_pread): Don't use CHECK_N.
619 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
620 (do_pread64): Don't use CHECK_N.
621 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
622 (do_pwrite): Don't use CHECK_N.
623 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
624 (do_pwrite64): Don't use CHECK_N.
625 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
626 (__libc_readv): Don't use CHECK_N.
627 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
628 (semop): Don't use CHECK_N.
629 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
630 <bp-checks.h>.
631 (semtimedop): Don't use CHECK_N.
632 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
633 (__libc_pread): Don't use CHECK_N.
634 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
635 <bp-checks.h>.
636 (__libc_pread64): Don't use CHECK_N.
637 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
638 <bp-checks.h>.
639 (__libc_pwrite): Don't use CHECK_N.
640 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
641 <bp-checks.h>.
642 (__libc_pwrite64): Don't use CHECK_N.
643 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
644 <bp-checks.h>.
645 (__libc_msgrcv): Don't use CHECK_N.
646 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
647 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
648 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
649 (__libc_writev): Don't use CHECK_N.
650
b84660a8
RM
6512013-02-08 Roland McGrath <roland@hack.frob.com>
652
7f3e75f8
RM
653 * string/strcpy.c: Removed unused variable.
654
b84660a8
RM
655 * Makeconfig (+sysdep-includes): Define with := rather than =.
656 Use an existing include/ subdir of each sysdeps dir before it.
657
471514d3
CD
6582013-02-08 Carlos O'Donell <carlos@redhat.com>
659
660 * nscd/connection.c (register_traced_file): Comment function.
661 [HAVE_INOTIFY] (union __inev): Define.
662 [HAVE_INOTIFY] (inotify_check_files): New function.
663 [HAVE_INOTIFY] (clear_db_cache): Likewise.
664 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
665 clear_db_cache.
666 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
667
b2d3c3be
CD
6682013-02-08 Carlos O'Donell <carlos@redhat.com>
669
670 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
671 loaded if not already and that a failure is permanent.
672
b39949d2
CD
6732013-02-08 Carlos O'Donell <carlos@redhat.com>
674
ddacd1db 675 [BZ #15006]
b39949d2
CD
676 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
677 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
678
b2c9eff4
JM
6792013-02-08 Joseph Myers <joseph@codesourcery.com>
680
f3aae3f3
JM
681 [BZ #13550]
682 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
683 (CHECK_1_NULL_OK): Likewise.
684 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
685 (__fxstat): Do not use CHECK_1.
686 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
687 <bp-checks.h>.
688 (___fxstat64): Do not use CHECK_1.
689 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
690 <bp-checks.h>.
691 (__fxstatat): Do not use CHECK_1.
692 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
693 <bp-checks.h>.
694 (__fxstatat64): Do not use CHECK_1.
695 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
696 <bp-checks.h>.
697 (__fxstat): Do not use CHECK_1.
698 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
699 <bp-checks.h>.
700 (__fxstatat): Do not use CHECK_1.
701 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
702 <bp-checks.h>.
703 (__getresgid): Do not use CHECK_1.
704 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
705 <bp-checks.h>.
706 (__getresuid): Do not use CHECK_1.
707 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
708 <bp-checks.h>.
709 (__lxstat): Do not use CHECK_1.
710 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
711 <bp-checks.h>.
712 (__old_msgctl): Do not use CHECK_1.
713 (__new_msgctl): Likewise.
714 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
715 <bp-checks.h>.
716 (__new_setrlimit): Do not use CHECK_1.
717 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
718 <bp-checks.h>.
719 (__old_shmctl): Do not use CHECK_1.
720 (__new_shmctl): Likewise.
721 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
722 <bp-checks.h>.
723 (__xstat): Do not use CHECK_1.
724 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
725 (__lxstat): Do not use CHECK_1.
726 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
727 <bp-checks.h>.
728 (___lxstat64): Do not use CHECK_1.
729 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
730 (__old_msgctl): Do not use CHECK_1.
731 (__new_msgctl): Likewise.
732 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
733 <bp-checks.h>.
734 (__gettimeofday): Do not use CHECK_1.
735 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
736 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
737 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
738 <bp-checks.h>.
739 (__gettimeofday): Do not use CHECK_1.
740 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
741 (__old_shmctl): Do not use CHECK_1_NULL_OK.
742 (__new_shmctl): Do not use CHECK_1.
743 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
744 <bp-checks.h>.
745 (do_sigtimedwait): Do not use CHECK_1.
746 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
747 <bp-checks.h>.
748 (do_sigwaitinfo): Do not use CHECK_1.
749 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
750 <bp-checks.h>.
751 (msgctl): Do not use CHECK_1.
752 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
753 <bp-checks.h>.
754 (shmctl): Do not use CHECK_1.
755 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
756 (ustat): Do not use CHECK_1.
757 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
758 <bp-checks.h>.
759 (__fxstat): Do not use CHECK_1.
760 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
761 <bp-checks.h>.
762 (__fxstatat): Do not use CHECK_1.
763 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
764 <bp-checks.h>.
765 (__lxstat): Do not use CHECK_1.
766 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
767 <bp-checks.h>.
768 (__xstat): Do not use CHECK_1.
769 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
770 (__xstat): Do not use CHECK_1.
771 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
772 (___xstat64): Do not use CHECK_1.
773
b2c9eff4
JM
774 [BZ #13550]
775 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
776 definitions.
777 (CHECK_BOUNDS_HIGH): Likewise.
778 * string/strcpy.c: Do not include <bp-checks.h>.
779 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
780
f1d70dad
RM
7812013-02-07 Roland McGrath <roland@hack.frob.com>
782
783 * nscd/nscd-client.h (__nscd_drop_map_ref):
784 Add __attribute__ ((unused)).
785 * nis/nss-nisplus.h (niserr2nss): Likewise.
786
787 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
788 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
789
790 * csu/libc-tls.c (init_static_tls, init_slotinfo):
791 Remove inline keyword.
792 * include/rounding-mode.h (round_away): Likewise.
793 * libio/wfileops.c (adjust_wide_data): Likewise.
794 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
795 (__m128i_strloadu_tolower): Likewise.
796 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
797 (__m128i_strloadu_tolower): Likewise.
798 * time/mktime.c (ydhms_diff): Likewise.
799 * locale/elem-hash.h (elem_hash): Likewise.
800 * locale/setlocale.c (setdata): Likewise.
801 * posix/regex_internal.h (re_string_char_size_at): Likewise.
802 (re_string_wchar_at): Likewise.
803 (bitset_not, bitset_merge, bitset_mask): Likewise.
804 [!(__GNUC__ > 3)] (inline): Remove macro.
805 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
806 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
807 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
808 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
809 * string/memcmp.c (memcmp_bytes): Likewise.
810 * locale/programs/locarchive.c (compute_hashval): Likewise.
811 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
812 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
813 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
814 * nss/getent.c (print_rpc, print_protocols): Likewise.
815 (print_passwd, print_group, print_aliases): Likewise.
816 * nis/nss-nisplus.h (niserr2nss): Likewise.
817 * nscd/connections.c (restart_p): Likewise.
818 Change return type to bool.
819
eab55bfb
RM
8202013-02-05 Roland McGrath <roland@hack.frob.com>
821
7bd642f5
RM
822 * Makeconfig (all-Depend-files): Add existing
823 $(sorted-subdirs:=/Depend) files.
824 (all-subdirs): Remove nss.
825 * sysdeps/unix/inet/Subdirs: Add it here instead.
826 * hesiod/Depend: New file.
827
573c29b2
RM
828 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
829 instead of calling alloca.
830
b2e25af0
RM
831 * io/lseek.c (__lseek): Rename to __libc_lseek.
832 Define __lseek as an alias.
833
eab55bfb
RM
834 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
835
9a0d1941
CD
8362013-02-04 Carlos O'Donell <carlos@redhat.com>
837
838 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
839 else clause and remove check for non-standard endianness.
840
b83bbec4
DM
8412013-02-04 David S. Miller <davem@davemloft.net>
842
843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
844
6277fdab
JM
8452013-02-04 Joseph Myers <joseph@codesourcery.com>
846
847 [BZ #13550]
848 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
849 (__ubp_memchr): Remove prototype.
850 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
851 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
852 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
853 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
854 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
855 Remove alias.
856 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
857 (__ubp_memchr): Likewise.
858 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
859 (__ubp_memchr): Likewise.
860 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
861 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
862 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
863 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
864 CHECK_STRING.
865 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
866 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
867 (__getcwd): Do not use CHECK_STRING.
868 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
869 <bp-checks.h>.
870 (__real_chown): Do not use CHECK_STRING.
871 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
872 <bp-checks.h>.
873 (fchownat): Do not use CHECK_STRING.
874 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
875 CHECK_STRING.
876 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
877 <bp-checks.h>.
878 (__lchown): Do not use CHECK_STRING.
879 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
880 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
881 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
882 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
884 include <bp-checks.h>.
885 (truncate64): Do not use CHECK_STRING.
886 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
887 <bp-checks.h>.
888 (__real_chown): Do not use CHECK_STRING.
889 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
890 <bp-checks.h>.
891 (__lchown): Do not use CHECK_STRING.
892 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
893 <bp-checks.h>.
894 (__chown): Do not use CHECK_STRING.
895 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
896 <bp-checks.h>.
897 (truncate64): Do not use CHECK_STRING.
898 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
899 Likewise.
900 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
901 (__xmknod): Do not use CHECK_STRING.
902 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
903 <bp-checks.h>.
904 (__xmknodat): Do not use CHECK_STRING.
905 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
906 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
907
903ae060
AS
9082013-02-04 Andreas Schwab <schwab@suse.de>
909
910 [BZ #14142]
911 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
912 * include/netdb.h: Likewise for h_errno.
913 * elf/tst-stackguard1.c: Include <tls.h>.
914
542f9466
JK
9152013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
916
917 * elf/link.h (struct link_map): Extend the l_addr comment.
918 * include/link.h (struct link_map): Likewise.
919
e782a927
JM
9202013-02-01 Joseph Myers <joseph@codesourcery.com>
921
922 [BZ #13550]
923 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
924 (BOUNDED_1): Remove macro.
925 * debug/backtrace.c: Don't include <bp-checks.h>.
926 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
927 (__backtrace): Likewise.
928 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
929 <bp-checks.h>.
930 (__backtrace): Don't use BOUNDED_1.
931 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
932 <bp-checks.h>.
933 (__backtrace): Don't use BOUNDED_1.
934 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
935 (__backtrace): Don't use BOUNDED_1.
936 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
937 (shmat): Don't use BOUNDED_N.
938
8cf28c5e
JM
9392013-01-31 Joseph Myers <joseph@codesourcery.com>
940
3a7ac8a0
JM
941 [BZ #13550]
942 * sysdeps/generic/bp-start.h: Remove file.
943 * csu/libc-start.c: Don't include <bp-start.h>.
944 (LIBC_START_MAIN): Set up __environ directly instead of using
945 INIT_ARGV_and_ENVIRON.
946 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
947 <bp-start.h>.
948
f3499f95
JM
949 [BZ #13550]
950 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
951 definitions.
952 (CHECK_FCNTL): Likewise.
953 (CHECK_N_PAGES): Likewise.
954
32a45bea
JM
955 [BZ #13550]
956 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
957 definitions.
958 (CHECK_SIGSET_NULL_OK): Likewise.
959 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
960 <bp-checks.h>.
961 (sigpending): Don't use CHECK_SIGSET.
962 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
963 <bp-checks.h>.
964 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
965 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
966 <bp-checks.h>.
967 (do_sigsuspend): Don't use CHECK_SIGSET.
968 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
969 use CHECK_SIGSET.
970 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
971 (do_sigwait): Don't use CHECK_SIGSET.
972 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
973 use CHECK_SIGSET.
974 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
975 include <bp-checks.h>.
976 (sigpending): Don't use CHECK_SIGSET.
977 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
978 include <bp-checks.h>.
979 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
980 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
981 <bp-checks.h>.
982 (sigpending): Don't use CHECK_SIGSET.
983 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
984 <bp-checks.h>.
985 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
986
2e8a5c8c
JM
987 [BZ #13550]
988 * sysdeps/generic/bp-semctl.h: Remove file.
989 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
990 <bp-checks.h> and <bp-semctl.h>.
991 (__old_semctl): Don't use CHECK_SEMCTL.
992 (__new_semctl): Likewise.
993 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
994 and <bp-semctl.h>.
995 (__old_semctl): Don't use CHECK_SEMCTL.
996 (__new_semctl): Likewise.
997 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
998 <bp-checks.h> and <bp-semctl.h>.
999 (__old_semctl): Don't use CHECK_SEMCTL.
1000 (__new_semctl): Likewise.
1001 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
1002 <bp-checks.h> and <bp-semctl.h>.
1003 (semctl): Don't use CHECK_SEMCTL.
1004
c2d54929
JM
1005 [BZ #13550]
1006 * Makerules (elide-bp-thunks): Remove variable.
1007 (elide-routines.oS): Don't use $(elide-bp-thunks).
1008 (elide-routines.os): Likewise.
1009 (elide-routines.o): Likewise.
1010 (elide-routines.op): Likewise.
1011 (elide-routines.og): Likewise.
1012 (objects): Don't use $(bp-thunks).
1013 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
1014 include.
1015 (common-generated): Do not add s-proto-bp.d.
1016 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
1017 (int): Likewise.
1018 (typ): Likewise.
1019 Do not generate makefile rules for bounded-pointer thunks.
1020 * sysdeps/generic/bp-thunks.h: Remove file.
1021 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
1022 * sysdeps/unix/s-proto-bp.S: Likewise.
1023
8cf28c5e
JM
1024 [BZ #15062]
1025 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
1026 parts of result separately when argument is not close to line from
1027 -i to i and one part of argument is small.
1028 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1029 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1030 * math/libm-test.inc (cacos_test): Add more tests.
1031 (casin_test): Likewise.
1032 (casinh_test): Likewise.
1033 * sysdeps/i386/fpu/libm-test-ulps: Update.
1034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1035
c4e33b8d
DM
10362013-01-31 David S. Miller <davem@davemloft.net>
1037
1038 * po/de.po: Update from translation team.
1039
3b60b421
MK
10402013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1041
1042 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1043
bb931195
TS
10442013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1045
b5a5da23
TS
1046 * configure.in (_AC_PROG_CC_C89): New definition.
1047 * configure: Regenerate.
1048
bb931195
TS
1049 * configure.in (AC_PROG_CPP): New definition.
1050 * configure: Regenerate.
1051
8c53a12c
JM
10522013-01-23 Joseph Myers <joseph@codesourcery.com>
1053
1054 * debug/tst-backtrace.h: New file.
1055 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1056 (ret): Remove variable.
1057 (x): Likewise.
1058 (FAIL): Remove macro.
1059 (NO_INLINE): Likewise.
1060 (fn1): Use match function instead of strstr.
1061 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1062 (ret): Remove variable.
1063 (x): Likewise.
1064 (FAIL): Remove macro.
1065 (NO_INLINE): Likewise.
1066 (fn): Use match function instead of strstr.
1067 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1068 (ret): Remove variable.
1069 (x): Likewise.
1070 (FAIL): Remove macro.
1071 (NO_INLINE): Likewise.
1072 (handle_signal): Use match function instead of strstr.
1073 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1074 (ret): Remove variable.
1075 (x): Likewise.
1076 (FAIL): Remove macro.
1077 (NO_INLINE): Likewise.
1078 (handle_signal): Use match function instead of strstr.
1079
4858fa2a
RM
10802013-01-23 Roland McGrath <roland@hack.frob.com>
1081
1082 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1083
bae8e7f5
DM
10842013-01-23 David S. Miller <davem@davemloft.net>
1085
1086 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1087 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1088 argument of CAS if possible.
1089 * sysdeps/sparc/sparc64/bits/atomic.h
1090 (__arch_compare_and_exchange_val_32_acq): Likewise.
1091 (__arch_compare_and_exchange_val_64_acq): Likewise.
1092
9cbbc4ae
PT
10932013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1094
1095 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1096 * sysdeps/posix/ulimit.c: ... this.
92a601b8 1097 Include <limits.h>.
67b3f58c 1098 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 1099
5655a0b5
AC
11002013-01-23 Adam Conrad <adconrad@0c3.net>
1101
1102 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1103 (LDFLAGS-tst-array5): Likewise.
1104
052aff95
JM
11052013-01-23 Joseph Myers <joseph@codesourcery.com>
1106
1107 [BZ #15036]
1108 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1109 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1110 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1111 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1112
7c1e01aa
DM
11132013-01-21 David S. Miller <davem@davemloft.net>
1114
1115 * sysdeps/sparc/backtrace.c: New file.
1116 * sysdeps/sparc/sparc32/backtrace.h: New file.
1117 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1118 * sysdeps/sparc/sparc64/backtrace.h: New file.
1119 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1120 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1121 -funwind-tables.
1122
ab087e0a
AS
11232013-01-21 Andreas Schwab <schwab@suse.de>
1124
1125 [BZ #15020]
1126 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1127 closed its stdout.
1128
ed689c2f
AS
11292013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1130
1131 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1132 "mpa2.h".
1133 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1134
31d470ac
JM
11352013-01-18 Joseph Myers <joseph@codesourcery.com>
1136 Mark Mitchell <mark@codesourcery.com>
1137 Tom de Vries <tom@codesourcery.com>
1138 Paul Pluzhnikov <ppluzhnikov@google.com>
1139
1140 * debug/tst-backtrace2.c: New file.
1141 * debug/tst-backtrace3.c: Likewise.
1142 * debug/tst-backtrace4.c: Likewise.
1143 * debug/tst-backtrace5.c: Likewise.
1144 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1145 (CFLAGS-tst-backtrace3.c): Likewise.
1146 (CFLAGS-tst-backtrace4.c): Likewise.
1147 (CFLAGS-tst-backtrace5.c): Likewise.
1148 (LDFLAGS-tst-backtrace2): Likewise.
1149 (LDFLAGS-tst-backtrace3): Likewise.
1150 (LDFLAGS-tst-backtrace4): Likewise.
1151 (LDFLAGS-tst-backtrace5): Likewise.
1152 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1153 tst-backtrace4 and tst-backtrace5.
1154
90567f30 11552013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
1156 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1157
1158 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1159 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1160 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1161 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1163 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1164 "+r" and remove output regs list as redundant. Add explicit inline
1165 asm to specify register of return val to work around compiler codegen
1166 bug. Remove (int) cast on return value. Add return type parameter to
1167 use in macro so that this macro does not truncate return value for
1168 64-bit values.
1169 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1170 pass to INTERNAL_VSYSCALL_NCS.
1171 (INLINE_VSYSCALL): Add 'long int' as return type to
1172 INTERNAL_VSYSCALL_NCS macro invocation.
1173 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1174 INTERNAL_VSYSCALL_NCS macro invocation.
1175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1176
d3b9ea61
SP
11772013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1178
0b57daeb
SP
1179 [BZ #14496]
1180 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1181 Fix application of SIMD FP exception mask.
1182
caa99d06
SP
1183 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1184 mp_no from a power of two.
1185 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1186 __mpexp_twomm1. Use __pow_mp.
1187
d3b9ea61
SP
1188 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1189 multiplication.
1190
1dbaee3c
DM
11912013-01-17 David S. Miller <davem@davemloft.net>
1192
1193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1194
728d7b43
JM
11952013-01-17 Joseph Myers <joseph@codesourcery.com>
1196
1197 [BZ #15023]
1198 * include/complex.h: Condition contents on [!_COMPLEX_H].
1199 (__kernel_casinhf): New prototype.
1200 (__kernel_casinh): Likewise.
1201 (__kernel_casinhl): Likewise.
1202 * math/Makefile (libm_calls): Add k_casinh.
1203 * math/k_casinh.c: New file.
1204 * math/k_casinhf.c: Likewise.
1205 * math/k_casinhl.c: Likewise.
1206 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1207 finite nonzero arguments.
1208 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1209 finite nonzero arguments.
1210 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1211 finite nonzero arguments.
1212 * math/s_casinh.c: Do not include <float.h>.
1213 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1214 * math/s_casinhf.c: Do not include <float.h>.
1215 (__casinhf): Move code for finite nonzero arguments to
1216 k_casinhf.c.
1217 * math/s_casinhl.c: Do not include <float.h>.
1218 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1219 redefine.
1220 (__casinhl): Move code for finite nonzero arguments to
1221 k_casinhl.c.
1222 * math/libm-test.inc (cacos_test): Add more tests.
1223 * sysdeps/i386/fpu/libm-test-ulps: Update.
1224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1225
2a26ef3a
PT
12262013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1227
1228 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1229 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1230 [!HAVE_MREMAP]: Remove [defined linux] case.
1231 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1232
a897655d
SP
12332013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1234
1235 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1236
881ebe89 12372013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
1238
1239 * elf/elf.h (R_386_SIZE32): New relocation.
1240 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1241 R_386_SIZE32.
1242 (elf_machine_rela): Likewise.
1243 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1244 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1245
59981e9b
JM
12462013-01-17 Joseph Myers <joseph@codesourcery.com>
1247
1248 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1249 (FP_FAST_FMA): Do not define.
1250 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1251 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1252 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1253 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1254 !_SOFT_FLOAT]: Likewise.
1255 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1256 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1257 value.
1258 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1259 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1260 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1261 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1262 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1263 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1264 file.
1265
cfa8054f
AS
12662013-01-16 Andreas Schwab <schwab@suse.de>
1267
1268 [BZ #14327]
1269 * include/stdlib.h (__mktemp): Add declaration.
1270 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1271 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1272
dd930cc5
SP
12732013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1274
881ebe89
SP
1275 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1276 definitions.
1277 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1278 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1279 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1280 definitions here.
1281 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1282 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1283 definitions.
1284 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1285 and ONE.
1286 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1287 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1288 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1289 definitions.
1290 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1291 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1292 definitions.
1293 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 1294
dd930cc5
SP
1295 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1296
c19a9f89
DM
12972013-01-15 David S. Miller <davem@davemloft.net>
1298
1aa61767
DM
1299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1300 trunc{,f} to libm-sysdep_routes.
1301 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1303 file.
1304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1306 file.
1307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1308 file.
1309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1311 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1312 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1313 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1314 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1315 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1316 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1317
c42d5e98
DM
1318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1319 nearbyint{,f} to libm-sysdep_routes.
1320 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1322 New file.
1323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1324 file.
1325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1326 New file.
1327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1328 file.
1329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1331 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1332 file.
1333 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1334 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1335 file.
1336 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1337 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1338 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1339
c19a9f89
DM
1340 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1341 libc_feholdexcept and libc_fesetenv.
1342
357679d2
MF
13432013-01-15 Mike Frysinger <vapier@gentoo.org>
1344
1345 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1346
65a82e3d
DM
13472013-01-14 David S. Miller <davem@davemloft.net>
1348
8b954ab9
DM
1349 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1350 (SPARC_ASM_VIS2_IFUNC): Likewise.
1351 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1353 use of 'siam' instruction.
1354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1355 Likewise.
1356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1357 Likewise.
1358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1359 Likewise.
1360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1363 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1365 file.
1366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1367 file.
1368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1369 file.
1370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1371 file.
1372 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1373 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1374 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1375 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1377 new VIS2 routines.
1378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1381 Likewise.
1382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1384 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1385 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1387 routines to libm-sysdep_routines.
1388 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1389
65a82e3d
DM
1390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1391 fdim/fdimf to libm-sysdep_routines.
1392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1393 file.
1394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1396 file.
1397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1400 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1401 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1402 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1403 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1404
e34ab705
SP
14052013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1406
2a91b573
SP
1407 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1408 to optimize copies.
1409
1066a534
SP
1410 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1413
e34ab705
SP
1414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1415 local variable MPTWO.
1416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1417 Likewise.
1418
aba5e596
MF
14192013-01-13 Mike Frysinger <vapier@gentoo.org>
1420
1421 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
1422 GLOB_NOESCAPE.
1423
e557e9e5
MF
14242013-01-13 Mike Frysinger <vapier@gentoo.org>
1425
1426 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1427
0428cec9
MF
14282013-01-13 Mike Frysinger <vapier@gentoo.org>
1429
1430 * manual/pattern.texi (glob_t): Document gl_flags.
1431 (glob64_t): Likewise.
1432
8794a964
DM
14332013-01-11 David S. Miller <davem@davemloft.net>
1434
66438c3f
RM
1435 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1436 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1437 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
1438 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
1439 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
1440 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
1441 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
1442 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
1443 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
1444 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
1445 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
1446 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
1447 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
1448
4ae4244d
DM
1449 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1450 sparc V9 rather than using V8 code.
1451 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1452 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1453
8794a964
DM
1454 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1455 Move to...
1456 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1457 Here.
1458
6270516e
RM
14592013-01-11 Roland McGrath <roland@hack.frob.com>
1460
1461 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1462 not in the main loop.
1463 * configure: Regenerated.
1464
6a57d931
JM
14652013-01-11 Joseph Myers <joseph@codesourcery.com>
1466
1467 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1468 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1469 to just #else.
1470 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1471 [!__GLIBC_HAVE_LONG_LONG] case.
1472 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1473 condition to just #else.
1474 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1475 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1476 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1477 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1478 unconditional.
1479 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1480 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1481 #elif condition to just #else.
1482 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1483 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1484 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1485 #elif condition to just #else.
1486
0e8529e9
SE
14872013-01-11 Steve Ellcey <sellcey@mips.com>
1488
1489 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1490 (EF_MIPS_ARCH_64): Fix value.
1491 (EF_MIPS_ARCH_32R2): New.
1492 (EF_MIPS_ARCH_64R2): New.
1493
740b3dbe
L
14942013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1495
1496 * Makeconfig (+link-pie-before-libc): New.
1497 (+link-pie-after-libc): Likewise.
1498 (+link-pie-tests): Likewise.
1499 (+link-pie): Rewritten.
1500 (link-before-libc): Remove $(config-LDFLAGS).
1501 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1502 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1503 (config-LDFLAGS): Renamed to ...
1504 (rtld-LDFLAGS): This.
1505 (rtld-tests-LDFLAGS): New macro.
1506 (link-libc-rpath-link): Likewise.
1507 (link-libc-tests-rpath-link): Likewise.
1508 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1509 (link-libc): Prepand $(link-libc-rpath-link).
1510 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1511 (test-program-prefix): New macro.
1512 (test-via-rtld-prefix): Likewise.
1513 (test-program-cmd): Likewise.
1514 (host-test-program-cmd): Likewise.
1515 * Makefile ($(common-objpfx)testrun.sh): Replace
1516 $(run-program-prefix) with $(test-program-prefix).
1517 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1518 $(rtld-LDFLAGS).
1519 ($(common-objpfx)shlib.lds): Likewise.
1520 (build-module-helper): Likewise.
1521 ($(common-objpfx)format.lds): Likewise.
1522 * Rules (binaries-pie-tests): New.
1523 (binaries-pie-notests): Likewise.
1524 (binaries-pie): Rewritten.
1525 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1526 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1527 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1528 (make-test-out): Replace $(host-built-program-cmd) with
1529 $(host-test-program-cmd).
1530 * config.make.in (build-hardcoded-path-in-tests): New variable.
1531 * configure.in (--enable-hardcoded-path-in-tests): New configure
1532 option.
1533 (hardcoded_path_in_tests): New AC_SUBST.
1534 * configure: Regenerated.
1535 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1536 $(built-program-cmd) with $(test-program-cmd).
1537 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1538 (test_program_cmd): This.
1539 * elf/Makefile ($(objpfx)order.out): Run test with
1540 $(test-program-prefix).
1541 ($(objpfx)order2.out): Likewise.
1542 ($(objpfx)tst-initorder.out): Likewise.
1543 ($(objpfx)tst-initorder2.out): Likewise.
1544 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1545 $(test-program-cmd).
1546 ($(objpfx)tst-array1-static.out): Likewise.
1547 ($(objpfx)tst-array2.out): Likewise.
1548 ($(objpfx)tst-array3.out): Likewise.
1549 ($(objpfx)tst-array4.out): Likewise.
1550 ($(objpfx)tst-array5.out): Likewise.
1551 ($(objpfx)tst-array5-static.out): Likewise.
1552 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1553 $(test-program-cmd).
1554 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1555 $(run-program-prefix) with $(test-program-prefix).
1556 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1557 (test_program_prefix): This.
1558 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1559 $(run-program-prefix) with $(test-program-prefix).
1560 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1561 (test_program_prefix): This.
1562 * iconvdata/tst-tables.sh: Likewise.
1563 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1564 $(run-program-prefix) with $(test-program-prefix).
1565 ($(objpfx)tst-translit.out): Likewise.
1566 ($(objpfx)tst-gettext2.out): Likewise.
1567 ($(objpfx)tst-gettext4.out): Likewise.
1568 ($(objpfx)tst-gettext6.out): Likewise.
1569 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1570 (test_program_prefix): This.
1571 * intl/tst-gettext2.sh: Likewise.
1572 * intl/tst-gettext4.sh Likewise.
1573 * intl/tst-gettext6.sh: Likewise.
1574 * intl/tst-translit.sh: Likewise.
1575 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1576 with $(test-program-cmd).
1577 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1578 $(run-program-prefix) with $(test-program-prefix).
1579 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1580 (test_program_prefix): This.
1581 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1582 $(run-program-prefix) with $(test-program-prefix).
1583 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1584 (test_program_prefix): This.
1585 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1586 * posix/Makefile ($(objpfx)globtest.out): Replace
1587 $(run-via-rtld-prefix) and $(test-wrapper) with
1588 $(test-program-prefix) and $(test-via-rtld-prefix).
1589 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1590 $(test-program-prefix).
1591 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1592 $(host-test-program-cmd).
1593 (tst-spawn-ARGS): Likewise.
1594 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1595 $(test-program-prefix).
1596 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1597 (test_via_rtld_prefix): This.
1598 (test_wrapper): Renamed to ...
1599 (test_program_prefix): This.
1600 (run_program_prefix): Replaced by test_program_prefix.
1601 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1602 (test_program_prefix): This.
1603 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1604 with $(host-test-program-cmd).
1605 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1606 $(run-program-prefix) with $(test-program-prefix).
1607 ($(objpfx)tst-printf.out): Likewise.
1608 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1609 $(test-program-cmd).
1610 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1611 (test_program_prefix): This.
1612 * stdio-common/tst-unbputc.sh: Likewise.
1613 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1614 $(run-program-prefix) with $(test-program-prefix).
1615 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1616 (test_program_prefix): This.
1617 * string/Makefile ($(objpfx)tst-svc.out): Replace
1618 $(built-program-cmd) with $(test-program-cmd).
1619
c6fe55cf
AJ
16202013-01-11 Andreas Jaeger <aj@suse.de>
1621
1622 [BZ #15003]
1623 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1624 value. Sync with Linux 3.7.
1625
9e6919c8
DM
16262013-01-10 David S. Miller <davem@davemloft.net>
1627
1628 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1629 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1630 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1631
1c9f1a02
RM
16322013-01-10 Roland McGrath <roland@hack.frob.com>
1633
1634 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1635 never set.
1636 * configure: Regenerated.
1637
b9de2dde
DM
16382013-01-10 David S. Miller <davem@davemloft.net>
1639
1640 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1641 sparc V9 rather than using V8 code.
1642 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1643 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1644
e7f68ef4
RM
16452013-01-10 Roland McGrath <roland@hack.frob.com>
1646
1647 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1648 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1649 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1650 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1651 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1652 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1653 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1654 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1655 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1656 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1657 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1658 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1659 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1660 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1661 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1662 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1663 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1664 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1665 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1666 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1667 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1668 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1669 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1670 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1671 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1672 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1673 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1674
5a47cc9c
DM
16752013-01-10 David S. Miller <davem@davemloft.net>
1676
1677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1678
4cf8f209
L
16792013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1680
1681 * posix/Makefile (tests-static): New variable.
1682 (tests): Add $(tests-static).
1683 (tst-exec-static-ARGS): New variable.
1684 (tst-spawn-static-ARGS): Likewise.
1685 * posix/tst-exec-static.c: New file.
1686 * posix/tst-spawn-static.c: Likewise.
1687 * posix/tst-exec.c: Support run directly.
1688 * posix/tst-spawn.c: Likewise.
1689
fed0faa1
JM
16902013-01-10 Joseph Myers <joseph@codesourcery.com>
1691
828beb13
JM
1692 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1693 long.
1694 * math/bits/mathcalls.h (llrint): Likewise.
1695 (llround): Likewise.
1696 * stdlib/stdlib.h (struct drand48_data): Likewise.
1697 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1698 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1699 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1700 Likewise.
1701 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1702 Likewise.
1703 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1704 (elf_greg_t): Likewise.
1705 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1706 (__jmp_buf): Likewise.
1707 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1708 definitions.
1709 (llrint): Likewise, for all definitions.
1710 (llrintl): Likewise.
1711
fed0faa1
JM
1712 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1713 Remove [__GNUC__] condition.
1714 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1715 condition to just [__USE_ISOC99].
1716 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1717
1a20cb20
L
17182013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1719
1720 [BZ #14200]
1721 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1722 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1723 defined.
1724 (_POSIX_V6_ILP32_OFF32): Likewise.
1725 (_XBS5_ILP32_OFF32): Likewise.
1726 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1727 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1728
751b85f7
SP
17292013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1730
7490eb81
SP
1731 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1732
751b85f7
SP
1733 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1734 doubles __mpexp_twomm1. Adjust usage.
1735 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1736 Remove.
1737
988197f0
AS
17382013-01-10 Andreas Schwab <schwab@suse.de>
1739
1740 [BZ #14964]
1741 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1742 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1743
e83d7298
DM
17442013-01-09 David S. Miller <davem@davemloft.net>
1745
034ed64b 1746 [BZ #15003]
e83d7298
DM
1747 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1748 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1749 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1750 TCP_FASTOPEN): Define.
1751 (tcp_repair_opt): New structure.
1752 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1753 enum values.
1754 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1755 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1756 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1757 (tcp_cookie_transactions): New structure.
1758
d5e0b9bd
AB
17592013-01-09 Anton Blanchard <anton@samba.org>
1760
1761 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1762 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1763 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1764 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1765
0c07e3ea
JM
17662013-01-09 Joseph Myers <joseph@codesourcery.com>
1767
1768 * include/features.h (__USE_ANSI): Remove.
1769
232f7002
RM
17702013-01-09 Roland McGrath <roland@hack.frob.com>
1771
ad98e30c
RM
1772 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1773
232f7002
RM
1774 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1775
950c99ca
SP
17762013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1777
b5792741
SP
1778 * sysdeps/s390/fpu/libm-test-ulps: Update.
1779
47cf2278
SP
1780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1781
950c99ca
SP
1782 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1783 (__acr): Likewise.
1784 (__cpy): Likewise.
1785 (norm): Likewise.
1786 (denorm): Likewise.
1787 (__mp_dbl): Likewise.
1788 (__dbl_mp): Likewise.
1789 (add_magnitudes): Likewise.
1790 (sub_magnitudes): Likewise.
1791 (__add): Likewise.
1792 (__sub): Likewise.
1793 (__mul): Likewise.
1794 (__inv): Likewise.
1795 (__dvd): Likewise.
1796 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1797 (__acr): Likewise.
1798 (__cpy): Likewise.
1799 (norm): Likewise.
1800 (denorm): Likewise.
1801 (__mp_dbl): Likewise.
1802 (__dbl_mp): Likewise.
1803 (add_magnitudes): Likewise.
1804 (sub_magnitudes): Likewise.
1805 (__add): Likewise.
1806 (__sub): Likewise.
1807 (__mul): Likewise.
1808 (__inv): Likewise.
1809 (__dvd): Likewise.
1810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1811 (__acr): Likewise.
1812 (__cpy): Likewise.
1813 (norm): Likewise.
1814 (denorm): Likewise.
1815 (__mp_dbl): Likewise.
1816 (__dbl_mp): Likewise.
1817 (add_magnitudes): Likewise.
1818 (sub_magnitudes): Likewise.
1819 (__add): Likewise.
1820 (__sub): Likewise.
1821 (__mul): Likewise.
1822 (__inv): Likewise.
1823 (__dvd): Likewise.
1824
eede9df9
JM
18252013-01-08 Joseph Myers <joseph@codesourcery.com>
1826
1827 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1828 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1829 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1830 2 && __USE_EXTERN_INLINES]: Likewise.
1831
c40ea3d9
AJ
18322013-01-08 Andreas Jaeger <aj@suse.de>
1833
1834 [BZ# 14985]
1835 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1836 Remove.
1837 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1838 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1839
2ccdea26
AB
18402013-01-07 Anton Blanchard <anton@samba.org>
1841
1842 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1843 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1844 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1845 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1846 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1847 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1848 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1849 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1851 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1852 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1853 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1854 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1855 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1856 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1857 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1858 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1859 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1860 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1861 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1862 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1863 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1864 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1865 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1866 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1867 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1868 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1869 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1870 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1871 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1872 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1874 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1875 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1876 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1877 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1878 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1879 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1880 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1881 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1882 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1883 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1884 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1885
a9708fed
JM
18862013-01-07 Joseph Myers <joseph@codesourcery.com>
1887
375607b9
JM
1888 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1889 (__MALLOC_PMT): Likewise.
1890 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1891 [__GNUC__], only on [_LIBC].
1892 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1893 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1894 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1895 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1896 forward declaration.
1897 (realloc_hook_ini): Likewise.
1898 (memalign_hook_ini): Likewise.
1899 (__libc_memalign): Do not use __MALLOC_PMT in variable
1900 declaration.
1901 (__libc_valloc): Likewise.
1902 (__libc_pvalloc): Likewise.
1903 (__libc_calloc): Likewise.
1904 (__posix_memalign): Likewise.
1905
a9708fed
JM
1906 [BZ #14996]
1907 * math/s_casinh.c: Include <float.h>.
1908 (__casinh): Do not do computation with squaring and square root
1909 for large arguments.
1910 * math/s_casinhf.c: Include <float.h>.
1911 (__casinhf): Do not do computation with squaring and square root
1912 for large arguments.
1913 * math/s_casinhl.c: Include <float.h>.
1914 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1915 (__casinhl): Do not do computation with squaring and square root
1916 for large arguments.
1917 * math/libm-test.inc (casin_test): Add more tests.
1918 (casinh_test): Likewise.
1919 * sysdeps/i386/fpu/libm-test-ulps: Update.
1920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1921
afec409a
L
19222013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1923
1924 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1925 (__x86_64_raw_data_cache_size): Likewise.
1926 (__x86_64_data_cache_size_half): Likewise.
1927 (__x86_64_raw_data_cache_size_half): Likewise.
1928 (__x86_64_shared_cache_size): Likewise.
1929 (__x86_64_raw_shared_cache_size): Likewise.
1930 (__x86_64_shared_cache_size_half): Likewise.
1931 (__x86_64_raw_shared_cache_size_half): Likewise.
1932 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1933 to ...
1934 (__x86_data_cache_size): This.
1935 (__x86_64_raw_data_cache_size): Renamed to ...
1936 (__x86_raw_data_cache_size): This.
1937 (__x86_64_data_cache_size_half): Renamed to ...
1938 (__x86_data_cache_size_half): This.
1939 (__x86_64_raw_data_cache_size_half): Renamed to ...
1940 (__x86_raw_data_cache_size_half): This.
1941 (__x86_64_shared_cache_size): Renamed to ...
1942 (__x86_shared_cache_size): This.
1943 (__x86_64_raw_shared_cache_size): Renamed to ...
1944 (__x86_raw_shared_cache_size): This.
1945 (__x86_64_shared_cache_size_half): Renamed to ...
1946 (__x86_shared_cache_size_half): This.
1947 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1948 (__x86_raw_shared_cache_size_half): This.
1949 * sysdeps/x86_64/memcpy.S: Updated.
1950 * sysdeps/x86_64/memset.S: Likewise.
1951 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1952 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1953 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1954
0b3986d0
DM
19552013-01-04 David S. Miller <davem@davemloft.net>
1956
1957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1958
e47686e9
AS
19592013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1960
d643bac1
AS
1961 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1962 1 to avoid redefinition warning.
1963 (__USE_GNU): Don't define.
1964 (init_signaling_nan): Protoize.
1965
e47686e9
AS
1966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1967
b18decba
SP
19682013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1969
fffb407f
SP
1970 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1972 (__cpymn): Likewise.
1973 (norm): Remove commented code.
1974 (denorm): Likewise.
1975 (__mp_dbl): Likewise.
1976 (__inv): Likewise.
1977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1978 (__cpymn): Likewise.
1979 (norm): Remove commented code.
1980 (denorm): Likewise.
1981 (__mp_dbl): Likewise.
1982 (__inv): Likewise.
1983
b18decba
SP
1984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1985 mp_no value for 1.0 and 2.0.
1986 (norm): Use RADIXI instead of radixi.d.
1987 (denorm): Likewise.
1988 (__mul): Use 0.0 instead of zero.d.
1989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1990 mp_no value for 1.0 and 2.0.
1991 (norm): Use RADIXI instead of radixi.d.
1992 (denorm): Likewise.
1993 (__mul): Use 0.0 instead of zero.d.
1994
cdc1c96f
JM
19952013-01-04 Joseph Myers <joseph@codesourcery.com>
1996
1997 [BZ #14994]
1998 * math/s_casinh.c (__casinh): Reduce finite argument to first
1999 quadrant then set signs of results at the end.
2000 * math/s_casinhf.c (__casinhf): Likewise.
2001 * math/s_casinhl.c (__casinhl): Likewise.
2002 * math/libm-test.inc (casin_test): Add more tests.
2003 (casinh_test): Likewise.
2004 * sysdeps/i386/fpu/libm-test-ulps: Update.
2005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2006
302913e1
SP
20072013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2008
6420d207
SP
2009 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
2010
a9e48ab4
SP
2011 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
2012
b7837264
SP
2013 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
2014 declarations.
2015 (denorm): Likewise.
2016 (__mp_dbl): Likewise.
2017 (__inv): Likewise.
2018
f8af25d2
SP
2019 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
2020 and adjust the header comment.
2021
302913e1
SP
2022 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
2023 variable name from declaration.
2024
5d7dd1ca
L
20252013-01-03 H.J. Lu <hongjiu.lu@intel.com>
2026
2027 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2028 Initialize COMMON_CPUID_INDEX_7 element.
2029 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
2030 (CPUID_RTM): Likewise.
2031 (HAS_RTM): Likewise.
2032 (COMMON_CPUID_INDEX_7): New enum.
2033
2f5f40f4
AS
20342013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2035
2036 [BZ #14981]
2037 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2038 size is zero, record memory as freed.
2039
4056f4a0
AJ
20402013-01-03 Andreas Jaeger <aj@suse.de>
2041
2042 * po/ia.po: Add new Interlingua translation.
2043
ab15736f 20442012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
2045
2046 * locale/programs/localedef.c: Fix description of '--posix' flag.
2047
568035b7
JM
20482013-01-02 Joseph Myers <joseph@codesourcery.com>
2049
e6898b8d
JM
2050 * NEWS: Update dates in second copyright notice.
2051 * README: Update copyright dates in example.
2052 * manual/libc.texinfo: Update copyright dates.
2053 * scripts/test-installation.pl: Update copyright date in --version
2054 output.
2055
0e2f9562
JM
2056 * hurd/ctty-input.c: Fix copyright notice formatting.
2057 * hurd/ctty-output.c: Likewise.
2058 * hurd/dtable.c: Likewise.
2059 * hurd/hurd-raise.c: Likewise.
2060 * hurd/hurdprio.c: Likewise.
2061 * hurd/msgportdemux.c: Likewise.
2062 * misc/sys/file.h: Likewise.
2063 * misc/sys/ioctl.h: Likewise.
2064 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2065 * sysdeps/mach/hurd/chdir.c: Likewise.
2066 * sysdeps/mach/hurd/fchdir.c: Likewise.
2067 * sysdeps/mach/hurd/rename.c: Likewise.
2068 * sysdeps/mach/hurd/rmdir.c: Likewise.
2069 * sysdeps/mach/hurd/seekdir.c: Likewise.
2070 * sysdeps/mach/hurd/setsid.c: Likewise.
2071 * sysdeps/posix/wait3.c: Likewise.
2072
568035b7
JM
2073 * All files with FSF copyright notices: Update copyright dates
2074 using scripts/update-copyrights.
2075 * intl/plural.c: Regenerated.
2076 * locale/programs/charmap-kw.h: Likewise.
2077 * locale/programs/locfile-kw.h: Likewise.
2078
da08f647
SP
20792013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2080
0f5477af
SP
2081 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2082 four values.
2083
44e0d4c2
SP
2084 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2085 calculation loop and add branch prediction.
2086
4d55b4e5
SP
2087 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2088 check access beyond bounds of m1np.
2089
da08f647
SP
2090 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2091 MPTWO.
2092 (__inv): Remove local variable MPTWO to use the global
2093 constant.
2094 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2095 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2096 variable MPTWO.
2097 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2098 MP3HALFS static const.
2099
8e051029
DM
21002013-01-01 David S. Miller <davem@davemloft.net>
2101
2102 * po/ca.po: Update from translation team.
2103
f4cf5f2d
JM
21042013-01-01 Joseph Myers <joseph@codesourcery.com>
2105
2106 * scripts/update-copyrights: New file.
2107 * Makeconfig: Reformat copyright notice.
2108 * ctype/ctype.h: Likewise.
2109 * debug/swprintf_chk.c: Likewise.
2110 * elf/dl-cache.c: Likewise.
2111 * elf/dl-debug.c: Likewise.
2112 * elf/dl-object.c: Likewise.
2113 * grp/initgroups.c: Likewise.
2114 * hurd/Makefile: Likewise.
2115 * hurd/hurd/signal.h: Likewise.
2116 * hurd/hurdfault.c: Likewise.
2117 * hurd/hurdioctl.c: Likewise.
2118 * hurd/hurdlookup.c: Likewise.
2119 * hurd/intr-msg.c: Likewise.
2120 * iconv/gconv_open.c: Likewise.
2121 * libio/swprintf.c: Likewise.
2122 * locale/lc-ctype.c: Likewise.
2123 * locale/nl_langinfo.c: Likewise.
2124 * mach/Machrules: Likewise.
2125 * mach/Makefile: Likewise.
2126 * malloc/obstack.h: Likewise.
2127 * manual/Makefile: Likewise.
2128 * manual/tsort.awk: Likewise.
2129 * misc/bits/stab.def: Likewise.
2130 * nis/nis_print_group_entry.c: Likewise.
2131 * nis/nis_table.c: Likewise.
2132 * nis/nss_compat/compat-pwd.c: Likewise.
2133 * nis/nss_compat/compat-spwd.c: Likewise.
2134 * po/Makefile: Likewise.
2135 * posix/fnmatch.c: Likewise.
2136 * posix/regex.h: Likewise.
2137 * resolv/Makefile: Likewise.
2138 * resolv/nss_dns/dns-network.c: Likewise.
2139 * resolv/res_hconf.c: Likewise.
2140 * scripts/gen-sorted.awk: Likewise.
2141 * soft-fp/soft-fp.h: Likewise.
2142 * stdio-common/printf.h: Likewise.
2143 * stdlib/monetary.h: Likewise.
2144 * stdlib/random.c: Likewise.
2145 * stdlib/random_r.c: Likewise.
2146 * sysdeps/generic/Makefile: Likewise.
2147 * sysdeps/gnu/Makefile: Likewise.
2148 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2149 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2150 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2151 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2152 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2153 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2154 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2155 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2156 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2157 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2158 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2159 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2160 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2161 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2162 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2163 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2164 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2165 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2166 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2167 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2168 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2169 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2170 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2171 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2172 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2173 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2174 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2175 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2176 * sysdeps/mach/hurd/errnos.awk: Likewise.
2177 * sysdeps/mach/hurd/fork.c: Likewise.
2178 * sysdeps/mach/hurd/getcwd.c: Likewise.
2179 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2180 * sysdeps/mach/hurd/mmap.c: Likewise.
2181 * sysdeps/mach/hurd/utimes.c: Likewise.
2182 * sysdeps/mach/hurd/xmknod.c: Likewise.
2183 * sysdeps/posix/profil.c: Likewise.
2184 * sysdeps/posix/readdir_r.c: Likewise.
2185 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2186 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2187 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2188 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2189 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2190 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2191 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2192 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2194 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2195 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2196 * sysdeps/pthread/lio_listio.c: Likewise.
2197 * sysdeps/sparc/dl-procinfo.h: Likewise.
2198 * sysdeps/unix/i386/sysdep.S: Likewise.
2199 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2200 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2201 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2202 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2204 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2205 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2206 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2207 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2208 * sysdeps/wordsize-32/divdi3.c: Likewise.
2209 * time/sys/time.h: Likewise.
2210 * wcsmbs/Makefile: Likewise.
2211
0549fbba
DM
22122013-01-01 David S. Miller <davem@davemloft.net>
2213
a141f1a7
DM
2214 * po/fr.po: Update from translation team.
2215
0549fbba
DM
2216 * catgets/gencat.c: Update copyright year.
2217 * csu/version.c: Likewise.
2218 * debug/catchsegv.sh: Likewise.
2219 * debug/pcprofiledump.c: Likewise.
2220 * debug/xtrace.sh: Likewise.
2221 * elf/ldconfig.c: Likewise.
2222 * elf/ldd.bash.in: Likewise.
2223 * elf/pldd.c: Likewise.
2224 * elf/sotruss.ksh: Likewise.
2225 * elf/sprof.c: Likewise.
2226 * iconv/iconv_prog.c: Likewise.
2227 * iconv/iconvconfig.c: Likewise.
2228 * locale/programs/locale.c: Likewise.
2229 * locale/programs/localedef.c: Likewise.
2230 * login/programs/pt_chown.c: Likewise.
2231 * malloc/memusage.sh: Likewise.
2232 * malloc/memusagestat.c: Likewise.
2233 * malloc/mtrace.pl: Likewise.
2234 * nscd/nscd.c: Likewise.
2235 * nss/getent.c: Likewise.
2236 * nss/makedb.c: Likewise.
2237 * posix/getconf.c: Likewise.
2238
18ea052c
SP
22392012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2240
2241 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2242 numbers.
2243
9c89fca6
MF
22442012-12-30 Mike Frysinger <vapier@gentoo.org>
2245
2246 * math/bits/mathcalls.h (modf): Use __nonnull.
2247
085ec079
SP
22482012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2249
2250 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2251 (split): Use macro CN instead of the bare value.
2252 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2253 could be used.
2254 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2255 instead of the bare value.
2256 (power1): Likewise.
2257
6d9f97e1
SP
22582012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2259
d63f73be
SP
2260 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2261 __ATAN_TWOM.
2262 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2263
6d9f97e1
SP
2264 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2265 their values.
2266 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2267 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2268 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2269 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2270
4c4febf5
AJ
22712012-12-28 Andreas Jaeger <aj@suse.de>
2272
af5843ef
AJ
2273 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2274 values are from Linux 3.7.
2275
4c4febf5
AJ
2276 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2277 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2278
99136f82
SP
22792012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2280
2f216c3c 2281 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
2282 TRUE case.
2283
99136f82
SP
2284 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2285 (norm): Likewise.
2286 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2287 variables with preprocessor constants.
2288 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2289 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2290 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2291
7fffbdff
BH
22922012-12-27 Bruno Haible <bruno@clisp.org>
2293
2294 [BZ #14317]
2295 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2296 only if needed.
2297
b76eb5f0
SP
22982012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2299
31a7fe5c
SP
2300 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2301 and use variable directly.
2302 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2303
b76eb5f0
SP
2304 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2305 MPONE.
2306 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2307 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2308 variable MPONE.
2309 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2310 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2311 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2312 include directive. Remove local variable MPONE.
2313 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2314 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2315 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2316
2c8bfe7d
DM
23172012-12-25 David S. Miller <davem@davemloft.net>
2318
2319 * version.h (RELEASE): Set to "development".
2320 (VERSION): Set to "2.17.90".
2321 * NEWS: Add 2.18 section.
2322
147d03b0
DM
23232012-12-21 David S. Miller <davem@davemloft.net>
2324
2325 * po/hr.po: Update from translation team.
2326
a8ebb2b9
AK
23272012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2328
2329 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2330
95b4f1b6
SE
23312012-12-19 Steve Ellcey <sellcey@mips.com>
2332
b2d94007 2333 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 2334
cedb2a90
MS
23352012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2336
2337 * manual/contrib.texi (Contributors): Spelling correction.
2338
bbf527d6
DM
23392012-12-15 David S. Miller <davem@davemloft.net>
2340
2341 * po/ru.po: Update from translation team.
2342
bc38c906
DM
23432012-12-13 David S. Miller <davem@davemloft.net>
2344
85429b1a
DM
2345 * NEWS: Mention IFUNC testsuite enhancements.
2346
d283e353
DM
2347 * po/pl.po: Update from translation team.
2348 * po/bg.po: Likewise.
2349
bc38c906
DM
2350 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2351 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2352
a181b0d7
DM
23532012-12-11 David S. Miller <davem@davemloft.net>
2354
4641d57e
DM
2355 * po/sv.po: Update from translation team.
2356
f7bc6495
DM
2357 * po/vi.po: Update from translation team.
2358
6fc9048f
DM
2359 * po/cs.po: Update from translation team.
2360
a181b0d7
DM
2361 * po/de.po: Update from translation team.
2362 * po/eo.po: Likewise.
2363 * po/nl.po: Likewise.
2364
f70bfe80
SP
23652012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2366
3c8b4190
SP
2367 [BZ #14246]
2368 * manual/argp.texi (Argp Helper Functions): Move node to follow
2369 Argp Parsing State.
2370
f70bfe80
SP
2371 [BZ #14872]
2372 * manual/conf.texi (Limits on File System Capacity): Mention if
2373 terminating null is included in the max size.
2374
188f0adf
AJ
23752012-12-10 Andreas Jaeger <aj@suse.de>
2376
2377 * po/cs.po: Update from translation team.
2378
56e7d3ad
SP
23792012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2380
2381 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2382 void pointer and cast to uintptr_t.
2383 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2384 path.
2385 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2386 * sysdeps/s390/s390-64/memset.S: Likewise.
2387
76f2d2ea 23882012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
2389
2390 [BZ #14833]
2391 * menual/message.texi (Message Translation): Fix typos.
2392 (Helper programs for gettext): Likewise.
2393
67cbf9a2
AS
23942012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2395
2396 [BZ #14898]
2397 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2398 Change to -1.
2399
682d0e9a
DM
24002012-12-07 David S. Miller <davem@davemloft.net>
2401
2402 * po/libc.pot: Update.
2403
573cd484
RH
24042012-12-07 Richard Henderson <rth@redhat.com>
2405
7e9da188 2406 [BZ #10114]
573cd484
RH
2407 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2408 normal/normal case to before the switch.
2409 (_FP_DIV): Likewise.
2410
e933a943
MF
24112012-12-06 Carlos O'Donell <carlos@systemhalted.org>
2412 Mike Frysinger <vapier@gentoo.org>
2413
2414 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2415 check for __NR_fadvise64_64.
2416
82123268
CM
24172012-12-06 Chris Metcalf <cmetcalf@tilera.com>
2418
2419 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2420 0, not just to plain "0" as a statement.
2421 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
2422 with cw.
2423
d9814526
JM
24242012-12-06 Joseph Myers <joseph@codesourcery.com>
2425
2426 * NEWS: Use sourceware.org in Bugzilla URL.
2427
7728c574
SP
24282012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2429
f16946dd
SP
2430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2431 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2432
5704bbcb
SP
2433 * stdio-common/tst-put-error.c (do_test): Add newline to the
2434 padded test to ensure flush.
2435
17aa0516
JL
24362012-12-05 Jeff Law <law@redhat.com>
2437
2438 * sunrpc/etc.rpc (fedfs_admin): Add entry.
2439
363313b5
JM
24402012-12-05 Joseph Myers <joseph@codesourcery.com>
2441
effbd42a
JM
2442 * README: Don't refer to ports add-on as distributed separately.
2443 Mention AArch64 in list of systems supported in the ports add-on.
2444
87600365
JM
2445 * LICENSES: Add more non-FSF copyright and license notices.
2446
a0d7066a
JM
2447 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
2448 ((unused)).
2449
66ca5a5b
JM
2450 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2451
363313b5
JM
2452 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2453 10000 as width of padded output.
2454
b37984ad
JM
24552012-12-04 Joseph Myers <joseph@codesourcery.com>
2456
9003570a
JM
2457 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2458
b37984ad
JM
2459 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2460 variable LX with __attribute__ ((unused)).
2461 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2462 Likewise.
2463 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2464 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2465 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2466 with __attribute__ ((unused)).
2467
c8df52ec
DM
24682012-12-04 David S. Miller <davem@abraco.davemloft.net>
2469
2470 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2471
b3b099af
JM
24722012-12-04 Joseph Myers <joseph@codesourcery.com>
2473
c33aa6e3
JM
2474 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2475 (CFLAGS-nldbl-acos.c): New variable.
2476 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2477 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2478 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2479 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2480 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2481 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2482 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2483 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2484 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2485 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2486 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2487 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2488 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2489 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2490 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2491 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2492 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2493 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2494 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2495 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2496 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2497 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2498 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2499 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2500 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2501 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2502 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2503 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2504 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2505 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2506 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2507 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2508 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2509 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2510 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2511 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2512 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2513 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2514 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2515 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2516 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2517 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2518 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2519 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2520 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2521 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2522 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2523 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2524 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2525 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2526 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2527 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2528 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2529 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2530 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2531 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2532 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2533 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2534 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2535 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2536 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2537 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2538 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2539 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2540 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2541 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2542 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2543 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2544 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2545 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2546 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2547 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2548 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2549 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2550 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2551 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2552 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2553 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2554 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2555 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2556 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2557 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2558 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2559 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2560 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2561 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2562 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2563 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2564 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2565 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2566 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2567 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2568 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2569 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2570 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2571 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2572 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2573
20f0018d
JM
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2575 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2576
b3b099af
JM
2577 [BZ #14914]
2578 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2579 whole low double instead of just low 47 bits when splitting values
2580 into two parts.
2581
029264d1
AM
25822012-12-03 Allan McRae <allan@archlinux.org>
2583
2584 * manual/stdio.texi (Predefined Printf Handlers): Remove
2585 @hsep and @vsep usage.
2586
c9d6789e
MF
25872012-12-03 Mike Frysinger <vapier@gentoo.org>
2588
2589 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2590 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2591
4b7634a5
JL
25922012-12-03 Jeff Law <law@redhat.com>
2593
2594 * time/sys/time.h (settimeofday): Do not mark TV argument
2595 as __nonnull.
2596
eb6cbd24
MF
25972012-12-01 Mike Frysinger <vapier@gentoo.org>
2598
2599 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2600 when currently writing and seek to current position when not.
2601 * libio/Makefile (tests): Remove bug-fclose1.
2602 * libio/bug-fclose1.c: Delete.
2603
f638872a
JM
26042012-12-01 Joseph Myers <joseph@codesourcery.com>
2605
2606 * manual/arith.texi (feenableexcept): Fix typo.
2607 (fedisableexcept): Likewise.
2608
48085d14
RM
26092012-11-30 Roland McGrath <roland@hack.frob.com>
2610
2611 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2612 second, differently-typed declaration, rather than a cast.
2613
1a538b9f
SP
26142012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2615
2616 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2617 * include/rpc/svc.h: ... here.
2618
d07f2ff1 26192012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
2620
2621 [BZ #13013]
2622 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2623 depending n and resplen2 to catch cases where answer
2624 equals answerp2.
2625
c93ec1f0
CD
26262012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2627
2628 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2629 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2630
37db69de
MF
26312012-11-29 Mike Frysinger <vapier@gentoo.org>
2632
2633 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2634
e10c4e4f
RM
26352012-11-29 Roland McGrath <roland@hack.frob.com>
2636
2637 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2638
2af1b328
JL
26392012-11-28 Jeff Law <law@redhat.com>
2640
2641 [BZ #13761]
2642 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2643 dataset_temporary. Track alloca usage into alloca_used.
2644 If dataset is large allocate and release it via malloc/free.
2645
111db5b1
FW
26462012-06-04 Florian Weimer <fweimer@redhat.com>
2647
f06cc227 2648 [BZ #14197]
111db5b1
FW
2649 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2650
dd694abd
DM
26512012-11-28 David S. Miller <davem@davemloft.net>
2652
2653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2654
9984dd01
JM
26552012-11-28 Joseph Myers <joseph@codesourcery.com>
2656
2657 [BZ #14803]
2658 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2659 of pi/2 rounded to nearest to 64 bits.
2660 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2661 nearest to 64 bits.
2662 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2663 bits.
2664
14bc93a9
JL
26652012-11-28 Jeff Law <law@redhat.com>
2666 Martin Osvald <mosvald@redhat.com>
2667
2668 [BZ #14889]
2669 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2670 * sunrpc/svc.c: Include time.h.
2671 (__svc_accept_failed): New function.
2672 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2673 any reason other than EINTR, call __svc_accept_failed.
2674 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2675 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2676
e3c6aa3a
AS
26772012-11-28 Andreas Schwab <schwab@suse.de>
2678
2679 * scripts/abilist.awk: Also handle indirect functions in .opd
2680 section.
2681
1bead169
JM
26822012-11-28 Joseph Myers <joseph@codesourcery.com>
2683
2684 [BZ #13881]
2685 * sysdeps/x86/fpu/powl_helper.c: New file.
2686 * sysdeps/x86/fpu/Makefile: Likewise.
2687 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2688 (p3): New object.
2689 (__ieee754_powl): Use __powl_helper for finite arguments except
2690 integer exponents below 8.
2691 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2692 (p3): New object.
2693 (__ieee754_powl): Use __powl_helper for finite arguments except
2694 integer exponents below 8.
2695 * math/libm-test.inc (pow_test): Add more tests and enable some
2696 previously disabled tests.
2697 * sysdeps/i386/fpu/libm-test-ulps: Update.
2698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2699
0817d63d
SP
27002012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2701 Carlos O'Donell <carlos_odonell@mentor.com>
2702
2703 * nss/makedb.c (is_prime): Assert that input is odd and greater
2704 than 4. Note that fact in a comment too.
2705 (next_prime): Add 4 to input.
2706
de2fd463
SP
27072012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2708
2709 [BZ #11741]
2710 * libio/Makefile (tests): Add test case tst-fwrite-error.
2711 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2712 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2713 * libio/tst-fwrite-error.c: New test case.
2714
c515fb51
L
27152012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2716
2717 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2718 before casting to void *.
2719 * include/libc-internal.h (__pointer_type): New macro.
2720 (__integer_if_pointer_type_sub): Likewise.
2721 (__integer_if_pointer_type): Likewise.
2722 (cast_to_integer): Likewise.
2723 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2724 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2725 before casting to atomic64_t.
2726 (atomic_exchange_acq): Likewise.
2727 (__arch_exchange_and_add_body): Likewise.
2728 (__arch_add_body): Likewise.
2729 (atomic_add_negative): Likewise.
2730 (atomic_add_zero): Likewise.
2731
4cf77aa9
JM
27322012-11-26 Joseph Myers <joseph@codesourcery.com>
2733
2734 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2735 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2736 (add_fdes): Likewise.
2737 (linear_search_fdes): Likewise.
2738 (binary_search_unencoded_fdes): Likewise.
2739
d260b3b4
AS
27402012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2741
2742 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2743
67060746
AC
27442012-11-24 Adam Conrad <adconrad@0c3.net>
2745
2746 * configure.in: Autodetect C++ header directories.
2747 * configure: Regenerated.
2748
800938a1
MF
27492012-11-23 Mike Frysinger <vapier@gentoo.org>
2750
2751 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2752
4e6e34e6
AS
27532012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2754
2755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2756
7c7feb47
JM
27572012-11-22 Joseph Myers <joseph@codesourcery.com>
2758
7184dcdf
JM
2759 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2760 LDBL_MANT_DIG == 106]: Disable some tests.
2761 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2762 Likewise.
2763 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2764 Likewise.
2765
0a42601f
JM
2766 [BZ #14871]
2767 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2768 input for small inputs. Return +/- pi/2 for large inputs.
2769 * math/libm-test.inc (atan_test): Add more tests.
2770
79c9b9fe
JM
2771 * sysdeps/generic/unwind-dw2-fde-glibc.c
2772 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2773 __attribute__ ((unused)).
2774
c60d3bf2
JM
2775 [BZ #14645]
2776 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2777 x * y if x and y are nonzero and z is zero.
2778
ef1e0867
JM
2779 [BZ #14811]
2780 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2781 nonzero exponents with absolute value below 0x1p-117 to +/-
2782 0x1p-117.
2783
1468ded3
JM
2784 [BZ #14869]
2785 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2786 up arguments below 2**-450, not just those below 2**-500.
2787 * math/libm-test.inc (hypot_test): Add another test.
2788
8e27e3cc
JM
2789 [BZ #14868]
2790 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2791 Return a+b for ratio over 2**120, not 2**60.
2792 * math/libm-test.inc (hypot_test): Add another test.
2793
c9c0279b
JM
2794 * math/libm-test.inc (clog_test): Use
2795 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2796 (clog10_test): Likewise.
2797
7c7feb47
JM
2798 [BZ #6778]
2799 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2800
fff1530e
AS
28012012-11-22 Andreas Schwab <schwab@suse.de>
2802
2803 * sysdeps/i386/fpu/libm-test-ulps: Update.
2804
94558d30
PT
28052012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2806
2807 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2808 printf output with newline.
2809
7e1be741
L
28102012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2811
6bfea974
L
2812 [BZ #14865]
2813 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2814 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2815 -z nodlopen, -z initfirst and -z execstack support.
2816 * configure: Regenerated.
2817
7e1be741
L
2818 * elf/elf.h (DF_1_NODIRECT): New macro.
2819 (DF_1_IGNMULDEF): Likewise.
2820 (DF_1_NOKSYMS): Likewise.
2821 (DF_1_NOHDR): Likewise.
2822 (DF_1_EDITED): Likewise.
2823 (DF_1_NORELOC): Likewise.
2824 (DF_1_SYMINTPOSE): Likewise.
2825 (DF_1_GLOBAUDIT): Likewise.
2826 (DF_1_SINGLETON): Likewise.
2827 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2828 DT_1_SUPPORTED_MASK bits.
2829 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2830
105ce2ce
CD
28312012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2832
2833 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2834
123be9de
TS
28352012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2836
d072f3f7
TS
2837 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2838 macro.
2839
123be9de
TS
2840 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2841 (sendmmsg): Move declarations...
2842 * socket/sys/socket.h: ... here.
2843 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2844 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2845 include it from...
2846 * socket/recvmmsg.c: ... this new file.
2847 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2848 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2849 definition of __sendmmsg hidden.
2850 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2851 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2852 Move ENOSYS stub into and include it from...
2853 * socket/sendmmsg.c: ... this new file.
2854 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2855 (sysdep_routines): Move recvmmsg and sendmmsg...
2856 * socket/Makefile (routines): ... here.
2857 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2858 (GLIBC_PRIVATE): Add __sendmmsg.
2859 * include/sys/socket.h (__sendmmsg): Add declarations.
2860 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2861 sendmmsg.
2862
cf9a5d18
JM
28632012-11-20 Joseph Myers <joseph@codesourcery.com>
2864
2865 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2866 variable I1 with __attribute__ ((unused)).
2867 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2868
ecd4caf9
JM
28692012-11-19 Joseph Myers <joseph@codesourcery.com>
2870
be14d48f
JM
2871 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2872 DUMMY variables with __attribute__ ((unused)).
2873
ecd4caf9
JM
2874 * bits/byteswap.h: Include <bits/types.h>.
2875 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2876
986cab95
PT
28772012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2878
2879 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2880 string_t. Do not manually set errno.
2881 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2882 length with __strnlen. Make sure to both set errno and return it on
2883 failure.
2884
6d33cc9d
DM
28852012-11-19 David S. Miller <davem@davemloft.net>
2886
2887 With help from Joseph Myers.
2888 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2889 very large arguments properly.
2890 * math/libm-test.inc (atan_test): New tests.
2891 (atan2_test): New tests.
2892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2894
ee663277
JM
28952012-11-19 Joseph Myers <joseph@codesourcery.com>
2896
877f2d8e
JM
2897 [BZ #14856]
2898 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2899 Define to 3.
2900
116fc08a
JM
2901 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2902 [POSIX] (EADDRNOTAVAIL): Likewise.
2903 [POSIX] (EAFNOSUPPORT): Likewise.
2904 [POSIX] (EALREADY): Likewise.
2905 [POSIX] (ECONNABORTED): Likewise.
2906 [POSIX] (ECONNREFUSED): Likewise.
2907 [POSIX] (ECONNRESET): Likewise.
2908 [POSIX] (EDESTADDRREQ): Likewise.
2909 [POSIX] (EDQUOT): Likewise.
2910 [POSIX] (EHOSTUNREACH): Likewise.
2911 [POSIX] (EIDRM): Likewise.
2912 [POSIX] (EISCONN): Likewise.
2913 [POSIX] (ELOOP): Likewise.
2914 [POSIX] (EMULTIHOP): Likewise.
2915 [POSIX] (ENETDOWN): Likewise.
2916 [POSIX] (ENETUNREACH): Likewise.
2917 [POSIX] (ENOBUFS): Likewise.
2918 [POSIX] (ENODATA): Likewise.
2919 [POSIX] (ENOLINK): Likewise.
2920 [POSIX] (ENOMSG): Likewise.
2921 [POSIX] (ENOPROTOOPT): Likewise.
2922 [POSIX] (ENOSR): Likewise.
2923 [POSIX] (ENOSTR): Likewise.
2924 [POSIX] (ENOTCONN): Likewise.
2925 [POSIX] (ENOTSOCK): Likewise.
2926 [POSIX] (EOPNOTSUPP): Likewise.
2927 [POSIX] (EOVERFLOW): Likewise.
2928 [POSIX] (EPROTO): Likewise.
2929 [POSIX] (EPROTONOSUPPORT): Likewise.
2930 [POSIX] (EPROTOTYPE): Likewise.
2931 [POSIX] (ESTALE): Likewise.
2932 [POSIX] (ETIME): Likewise.
2933 [POSIX] (ETXTBSY): Likewise.
2934 [POSIX] (EWOULDBLOCK): Likewise.
2935 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2936 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2937 [POSIX] (SEEK_CUR): Likewise.
2938 [POSIX] (SEEK_END): Likewise.
2939 [POSIX || UNIX98] (mode_t): Do not require.
2940 [POSIX] (off_t): Likewise.
2941 [POSIX] (pid_t): Likewise.
2942 [POSIX] (sys/stat.h): Do not allow header.
2943 [POSIX] (unistd.h): Likewise.
2944 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2945 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2946 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2947 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2948 require.
2949 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2950 sigevent): Specify elements.
2951 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2952 entry.
2953 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2954 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2955
a483863f
JM
2956 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2957 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2958 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2959 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2960 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2961 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2962 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2963 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2964 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2965 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2966 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2967 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2968 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2969 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2970 Likewise.
2971 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2972 Likewise.
2973 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2974 Likewise.
2975 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2976 Likewise.
2977 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2978 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2979 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2980 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2981 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2982 Specify lower bound on value.
2983 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2984 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2985 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2986 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2987 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2988 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2989 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2990 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2991 value.
2992 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2993 as optional.
2994 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2995 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2996 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2997 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2998 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2999 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
3000 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
3001 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
3002 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
3003 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
3004 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
3005 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
3006 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
3007 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
3008 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
3009 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
3010 entry.
3011 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
3012 optional.
3013 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
3014 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
3015 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
3016 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
3017 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
3018 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
3019 Likewise.
3020 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
3021 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
3022 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
3023 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
3024 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
3025 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
3026 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
3027 as optional.
3028 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
3029 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
3030 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
3031 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
3032 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
3033 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
3034 specify as optional.
3035 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3036 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3037 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3038 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3039 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3040 [XPG3] (NL_LANGMAX): Likewise.
3041 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3042 [POSIX || XPG3] (NL_NMAX): Likewise.
3043 [POSIX || XPG3] (NL_SETMAX): Likewise.
3044 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3045 [XPG3] (NZERO): Likewise.
3046 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3047 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3048 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3049 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3050 (REG_ERANGE): Expect.
3051 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3052 optional-constant.
3053 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3054 Use (void) in prototype.
3055 [POSIX] (*_t): Allow.
3056 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3057 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3058 (WRDE_BADVAL): Expect.
3059
5ba924e3
JM
3060 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3061 expect.
3062 [XPG3 || XPG4] (O_RSYNC): Likewise.
3063 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3064 Likewise.
3065 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3066 [XPG3 || XPG4] (sigqueue): Likewise.
3067 [XPG3 || XPG4] (sigtimedwait): Likewise.
3068 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3069 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3070 [XPG3 || XPG4] (vsnprintf): Likewise.
3071 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3072 Likewise.
3073 [XPG3 || XPG4] (blksize_t): Likewise.
3074 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3075 Likewise.
3076 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3077 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3078 [XPG3 || XPG4] (struct itimerspec): Likewise.
3079 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3080 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3081 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3082 [XPG3 || XPG4] (clockid_t): Likewise.
3083 [XPG3 || XPG4] (timer_t): Likewise.
3084 [XPG3 || XPG4] (clock_getres): Likewise.
3085 [XPG3 || XPG4] (clock_gettime): Likewise.
3086 [XPG3 || XPG4] (clock_settime): Likewise.
3087 [XPG3 || XPG4] (nanosleep): Likewise.
3088 [XPG3 || XPG4] (timer_create): Likewise.
3089 [XPG3 || XPG4] (timer_delete): Likewise.
3090 [XPG3 || XPG4] (timer_gettime): Likewise.
3091 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3092 [XPG3 || XPG4] (timer_settime): Likewise.
3093 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3094 [XPG3 || XPG4] (getlogin_r): Likewise.
3095 [XPG3 || XPG4] (pread): Likewise.
3096 [XPG3 || XPG4] (pthread_atfork): Likewise.
3097 [XPG3 || XPG4] (pwrite): Likewise.
3098
ee663277
JM
3099 [BZ #14835]
3100 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3101 <bits/siginfo.h>.
3102
942caa16
PT
31032012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3104
e19af380
PT
3105 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3106 finalizing MALLSTREAM.
3107
942caa16
PT
3108 * sysdeps/mach/hurd/syncfs.c: New file.
3109
cfde9b46
SP
31102012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3111
3112 [BZ #14719]
3113 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3114 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3115 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3116 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3117 (_nss_dns_gethostbyname4_r): Likewise.
3118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3119 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3120
f6da27e5
PH
31212012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3122
3123 [BZ #13763]
3124 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3125
6665d4a2
SM
31262012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3127
1f51ee92
SM
3128 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3129 * elf/cache.c (print_entry): Print ",AArch64" for
3130 FLAG_AARCH64_LIB64
3131
6665d4a2
SM
3132 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3133 * elf/cache.c (print_entry): Print ",hard-float" for
3134 FLAG_ARM_LIBHF.
3135
05b227bd
DM
31362012-11-18 David S. Miller <davem@davemloft.net>
3137
3138 With help from Joseph Myers.
3139 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3140 cutoff to 2**-13.
3141 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3142 cutoff to 2**-25.
3143 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3144 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3145 small.
3146 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3147 * math/libm-test.inc (y0_test): New tests.
3148 (y1_test): New tests.
3149 * sysdeps/i386/fpu/libm-test-ulps: Update.
3150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3152
786b0b67
AS
31532012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3154
3155 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3156 64-bit targets.
3157 * configure: Regenerated.
3158
8e18b86d
DM
31592012-11-17 David S. Miller <davem@davemloft.net>
3160
3161 [BZ #14811]
3162 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3163 nonzero exponents with absolute value below 0x1p-128 to +/-
3164 0x1p-128.
3165
531f1ae0
JM
31662012-11-17 Joseph Myers <joseph@codesourcery.com>
3167
12df29e2
JM
3168 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3169
150dc1a0
JM
3170 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3171
531f1ae0
JM
3172 * posix/getconf-speclist.c: New file.
3173 * posix/posix-envs.def: Likewise.
3174 * posix/confstr.c (START_ENV_GROUP): New macro.
3175 (END_ENV_GROUP): Likewise.
3176 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3177 (KNOWN_PRESENT_ENV_STRING): Likewise.
3178 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3179 (UNKNOWN_ENVIRONMENT): Likewise.
3180 (confstr): Include posix-envs.def instead of handling
3181 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3182 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3183 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3184 (END_ENV_GROUP): Likewise.
3185 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3186 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3187 (UNKNOWN_ENVIRONMENT): Likewise.
3188 (__sysconf): Include posix-envs.def instead of handling associated
3189 cases directly here.
3190 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3191 preprocessing getconf-speclist.c rather than running getconf or
3192 generating empty file.
3193
a93f9cbc
PT
31942012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3195
3196 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3197
d64d9f87
AL
31982012-11-16 Andrej Lajovic <natrij@gmail.com>
3199
3200 [BZ #14672]
3201 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3202
447885eb
DM
32032012-11-16 David S. Miller <davem@davemloft.net>
3204
3205 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3206 smaller than LDBL_EPSILON/2.0L, just return xm1.
3207
bcbf9830
L
32082012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3209
3210 * elf/tst-array1.c (init): Set constructor priority to 1000.
3211 (fini): Set destructor priority to 1000.
3212 * elf/tst-array2dep.c: Likewise.
3213
2b766585
SP
32142012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3215
3216 [BZ #11741]
3217 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3218 (_IO_new_file_xsputn): Also return EOF if none of the input
3219 data was written when overflow failed.
3220 * libio/iopadn.c (_IO_padn): Likewise.
3221 * libio/iowpadn.c (_IO_wpadn): Likewise.
3222 * stdio-common/tst-put-error.c: Add copyright notice.
3223 (do_test): Add case for printing padded string.
3224 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3225 _IO_padn returned error.
3226 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3227 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3228 return EOF.
3229
b1848fde
SP
32302012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3231
3232 * libio/libioP.h: Add comment note that the references to C++
3233 bits are now obsolete.
3234
2fd89785
MS
32352012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3236
3237 * math/libm-test.inc (check_complex): Use asprintf.
3238
e3ea5409
JM
32392012-11-14 Joseph Myers <joseph@codesourcery.com>
3240
3241 * debug/pcprofiledump.c (print_version): Update copyright year.
3242 * malloc/memusagestat.c (print_version): Likewise.
3243
2e64d265
L
32442012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3245
3246 [BZ #14831]
3247 * elf/Makefile (tests): Add tst-audit8.
3248 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3249 ($(objpfx)tst-audit8.out): New target.
3250 (tst-audit8-ENV): New variable.
3251 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3252 audit if l_reloc_result is NULL.
3253 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3254 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3255 * elf/tst-audit8.c: New file.
3256
c485e4d2
MS
32572012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3258
3259 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3260 * misc/Makefile (CFLAGS-select.c): Define.
3261 * posix/Makefile (CFLAGS-pause.c): Define.
3262
3a0d900a
DM
32632012-11-13 David S. Miller <davem@davemloft.net>
3264
3265 * crypt/Makefile: Move test targets after toplevel Rules
3266 inclusion. Grab any necessary sysdep routines when linking.
3267 * crypt/md5.c (md5_process_block): Remove define, we will always
3268 name it __md5_process_block.
3269 (md5_finish_ctx): Update md5_process_block call.
3270 (md5_stream): Likewise.
3271 (md5_process_bytes): Likewise.
3272 (md5_process_block): Rename to __md5_process_block and move to ...
3273 * crypt/md5-block.c: ... here.
3274 * crypt/sha256.c (sha256_process_block): Move to ...
3275 * crypt/sha256-block.c: ... here.
3276 * crypt/sha512.c (sha512_process_block): Move to ...
3277 * crypt/sha512-block.c: ... here.
3278 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3279 path.
3280 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3281 * sysdeps/sparc/sparc64/multiarch/Makefile
3282 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3283 crypt subdir.
3284 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3285 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3286 multiarch changes.
3287 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3288 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3289 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3290 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3291 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3292 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3293 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3294 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3295 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3296 file.
3297 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3298 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3299 file.
3300 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3301
8ca89318
JM
33022012-11-13 Joseph Myers <joseph@codesourcery.com>
3303
e27d476a
JM
3304 * timezone/tzselect.ksh: Update from tzcode git revision
3305 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3306 * timezone/zdump.c: Likewise.
3307 * timezone/zic.c: Likewise.
3308 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3309 in TZVERSION setting, not $(PKGVERSION).
3310 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3311 REPORT_BUGS_TO settings.
3312
8ca89318
JM
3313 [BZ #14838]
3314 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3315 macro.
3316
47594329
MS
33172012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3318
3319 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3320 detection to immediately after _FP_ROUND().
3321 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3322 bits are 0.
3323
640ac3f1
DM
33242012-11-11 David S. Miller <davem@davemloft.net>
3325
3326 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3327 inttypes.h
3328 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3329 __close rather than their public counterparts.
3330
3d2577bb
JM
33312012-11-10 Joseph Myers <joseph@codesourcery.com>
3332
3333 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3334 file.
3335 [UNIX98] (sem_timedwait): Do not expect.
3336 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3337 [XPG4 || UNIX98] (sockatmark): Do not expect.
3338 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3339 (clock_getcpuclockid): Do not expect.
3340 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3341 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3342 Do not expect.
3343 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3344 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3345 [UNIX98] (vwscanf): Likewise.
3346 [UNIX98] (vswscanf): Likewise.
3347
fb1ae1ee
JM
33482012-11-09 Joseph Myers <joseph@codesourcery.com>
3349
9ec6f8bd
JM
3350 * timezone/version.h: Remove file.
3351 * timezone/README: Do not refer to version.h.
3352 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3353 $(objpfx)version.h.
3354 ($(objpfx)zdump.o): Likewise.
c3f81911 3355 ($(objpfx)version.h): New target.
9ec6f8bd 3356
0aa8f8a1
JM
3357 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3358 2012i.
3359 * timezone/README: Don't mention modification to tzselect.ksh.
3360 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3361 work on unmodified tzselect.ksh. Substitute version numbers in
3362 tzselect.ksh.
3363
4e87147f
JM
3364 * Makefile (format-me): Remove.
3365 (INSTALL): Adjust indentation. Use commands directly instead of
3366 using $(format-me).
3367
8b748aed
JM
3368 * aclocal.m4 (ACX_PKGVERSION): New macro.
3369 (ACX_BUGURL): Likewise.
3370 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3371 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3372 (REPORT_BUGS_TO): Likewise.
3373 * configure: Regenerated.
3374 * config.h.in (PKGVERSION): New macro.
3375 (REPORT_BUGS_TO): Likewise.
3376 * config.make.in (PKGVERSION): New variable.
3377 (PKGVERSION_TEXI): Likewise.
3378 (REPORT_BUGS_TO): Likewise.
3379 (REPORT_BUGS_TEXI): Likewise.
3380 * Makefile (format-me): Use -I$(common-objpfx)manual.
3381 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3382 ($(common-objpfx)manual/%): New target.
3383 (manual/%): Remove target.
3384 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3385 (print_version): Use PKGVERSION.
3386 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3387 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3388 and REPORT_BUGS_TO.
3389 ($(objpfx)xtrace): Likewise.
3390 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3391 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3392 (print_version): Use PKGVERSION.
3393 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3394 (do_version): Use PKGVERSION.
3395 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3396 REPORT_BUGS_TO.
3397 (common-ldd-rewrite): Likewise.
3398 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3399 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3400 (print_version): Use PKGVERSION.
3401 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3402 * elf/pldd.c (argp_program_bug_address): Remove variable.
3403 (more_help): New function.
3404 (argp): Use more_help.
3405 (print_version): Use PKGVERSION.
3406 * elf/sln.c (main): Use PKGVERSION.
3407 (usage): Use REPORT_BUGS_TO.
3408 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3409 (top level): Use PKGVERSION.
3410 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3411 (print_version): Use PKGVERSION.
3412 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3413 (print_version): Use PKGVERSION.
3414 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3415 (print_version): Use PKGVERSION.
3416 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3417 (print_version): Use PKGVERSION.
3418 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3419 (print_version): Use PKGVERSION.
3420 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3421 (print_version): Use PKGVERSION.
3422 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
3423 and BUGURL.
3424 ($(objpfx)memusage): Likewise.
3425 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
3426 (do_version): Use PKGVERSION.
3427 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3428 (print_version): Use PKGVERSION.
3429 * malloc/mtrace.pl ($PACKAGE): Remove variable.
3430 ($PKGVERSION): New variable.
3431 ($REPORT_BUGS_TO): Likewise.
3432 (usage): Use $REPORT_BUGS_TO.
3433 (top level): Use $PKGVERSION.
3434 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3435 ($(objpfx)pkgvers.texi): New rule.
3436 ($(objpfx)stamp-pkgvers): Likewise.
3437 * manual/install.texi: Include pkgvers.texi.
3438 (--with-pkgversion): Document new configure option.
3439 (--with-bugurl): Likewise.
3440 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
3441 than necessarily for this particular distribution. Use
3442 REPORT_BUGS_TO for where to report bugs.
3443 * INSTALL: Regenerated.
3444 * manual/libc.texinfo: Include pkgvers.texi.
3445 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
3446 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
3447 (print_version): Use PKGVERSION.
3448 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
3449 (print_version): Use PKGVERSION.
3450 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3451 (print_version): Use PKGVERSION.
3452 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3453 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3454 macro.
3455 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3456 (print_version): Use PKGVERSION.
3457 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3458 (print_version): Use PKGVERSION.
3459 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3460 and PKGVERSION.
3461
92e4b6a9
JM
3462 * timezone/checktab.awk: Update from tzcode 2012i.
3463 * timezone/ialloc.c: Likewise.
3464 * timezone/private.h: Likewise.
3465 * timezone/scheck.c: Likewise.
3466 * timezone/tzfile.h: Likewise.
3467 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3468 (TZVERSION): Hardcode tzcode version number.
3469 * timezone/zdump.c: Update from tzcode 2012i.
3470 * timezone/zic.c: Likewise.
3471 * timezone/version.h: New file.
3472 * timezone/README: Describe version.h. Update upstream location.
3473
9bde902c
JM
3474 [BZ #14824]
3475 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3476 (mktemp): Enable declaration.
3477 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3478 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3479 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3480 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3481 Likewise.
3482 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3483 Likewise.
3484 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3485 Likewise.
3486 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3487 Likewise.
3488 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3489 Likewise.
3490 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3491 Likewise.
3492
fb1ae1ee
JM
3493 [BZ #14821]
3494 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3495 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3496 for copies of such integer values.
3497 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3498 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3499
2c1adbcb
AJ
35002012-11-09 Andreas Jaeger <aj@suse.de>
3501
3502 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3503 definitions and declarations that are provided by
3504 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3505
d0f8457e
AK
35062012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3507
3a235abb 3508 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
3509 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3510 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3511 definition.
3512
57241e26
MS
35132012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3514
3515 * elf/elf.h: Update comment before AArch64 relocations.
3516
60e8270d
DM
35172012-11-07 David S. Miller <davem@davemloft.net>
3518
3519 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3520 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3521 (__start_context): Declare.
3522 (__makecontext_ret): Delete.
3523 (__makecontext): Hook up __start_context instead of
3524 __makecontext_ret.
3525 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3526 (sysdep_routines): Add __start_context when in stdlib.
3527
0fbb0fbc
JM
35282012-11-07 Joseph Myers <joseph@codesourcery.com>
3529
3530 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3531 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3532 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3533 hardcoded "nm".
3534 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3535 (READELF): New variable. Use it instead of hardcoded "readelf".
3536
eb48db7e
L
35372012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3538
3539 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3540 * sysdeps/x86/Makefile: Here.
3541 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3542 * sysdeps/x86/tst-xmmymm.sh: This.
3543
05bcf62a
JM
35442012-11-07 Joseph Myers <joseph@codesourcery.com>
3545
c4b6cf53
JM
3546 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3547 expectations.
3548 [UNIX98] (pthread_barrier_t): Do not expect.
3549 [UNIX98] (pthread_barrierattr_t): Likewise.
3550 [UNIX98] (pthread_spinlock_t): Likewise.
3551 [UNIX98] (pthread_barrier_destroy): Likewise.
3552 [UNIX98] (pthread_barrier_init): Likewise.
3553 [UNIX98] (pthread_barrier_wait): Likewise.
3554 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3555 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3556 [UNIX98] (pthread_barrierattr_init): Likewise.
3557 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3558 [UNIX98] (pthread_getcpuclockid): Likewise.
3559 [UNIX98] (pthread_mutex_timedlock): Likewise.
3560 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3561 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3562 [UNIX98] (pthread_sigmask): Likewise.
3563 [UNIX98] (pthread_spin_destroy): Likewise.
3564 [UNIX98] (pthread_spin_init): Likewise.
3565 [UNIX98] (pthread_spin_lock): Likewise.
3566 [UNIX98] (pthread_spin_trylock): Likewise.
3567 [UNIX98] (pthread_spin_unlock): Likewise.
3568 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3569 Do not expect.
3570 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3571 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3572 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3573 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3574 [XPG3 || XPG4] (pthread_key_t): Likewise.
3575 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3576 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3577 [XPG3 || XPG4] (pthread_once_t): Likewise.
3578 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3579 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3580 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3581 [XPG3 || XPG4] (pthread_t): Likewise.
3582
cbe6e120
JM
3583 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3584 not expect.
3585 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3586
1b126443
JM
3587 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3588 Change function return type to int.
3589
b961a573
JM
3590 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3591 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3592 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3593 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3594 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3595 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3596 [!POSIX] (posix_madvise): Likewise.
3597 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3598 && !UNIX98].
3599 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3600 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3601 (mode_t): Likewise.
3602 (posix_mem_offset): Likewise.
3603 (posix_typed_mem_get_info): Likewise.
3604 (posix_typed_mem_open): Likewise.
3605
9e188909
JM
3606 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3607 Change condition to [XOPEN2K8].
3608
05bcf62a
JM
3609 * conform/conformtest.pl: Preprocess allow-header data with -x c
3610 instead of from stdin.
3611 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3612 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3613 [C99-based standards] (cerfc): Likewise.
3614 [C99-based standards] (cexp2): Likewise.
3615 [C99-based standards] (cexpm1): Likewise.
3616 [C99-based standards] (clog10): Likewise.
3617 [C99-based standards] (clog1p): Likewise.
3618 [C99-based standards] (clog2): Likewise.
3619 [C99-based standards] (clgamma): Likewise.
3620 [C99-based standards] (ctgamma): Likewise.
3621 [C99-based standards] (cerff): Likewise.
3622 [C99-based standards] (cerfcf): Likewise.
3623 [C99-based standards] (cexp2f): Likewise.
3624 [C99-based standards] (cexpm1f): Likewise.
3625 [C99-based standards] (clog10f): Likewise.
3626 [C99-based standards] (clog1pf): Likewise.
3627 [C99-based standards] (clog2f): Likewise.
3628 [C99-based standards] (clgammaf): Likewise.
3629 [C99-based standards] (ctgammaf): Likewise.
3630 [C99-based standards] (cerfl): Likewise.
3631 [C99-based standards] (cerfcl): Likewise.
3632 [C99-based standards] (cexp2l): Likewise.
3633 [C99-based standards] (cexpm1l): Likewise.
3634 [C99-based standards] (clog10l): Likewise.
3635 [C99-based standards] (clog1pl): Likewise.
3636 [C99-based standards] (clog2l): Likewise.
3637 [C99-based standards] (clgammal): Likewise.
3638 [C99-based standards] (ctgammal): Likewise.
3639 * conform/data/inttypes.h-data [C99-based standards]: Include
3640 stdint.h-data. Remove all expectations for stdint.h contents.
3641 [C99-based standards] (PRI*): Do not allow.
3642 [C99-based standards] (SCN*): Likewise.
3643 [C99-based standards] (*_t): Likewise.
3644 [C99-based-standards] (PRId8): Expect macro.
3645 [C99-based-standards] (PRIi8): Likewise.
3646 [C99-based-standards] (PRIo8): Likewise.
3647 [C99-based-standards] (PRIu8): Likewise.
3648 [C99-based-standards] (PRIx8): Likewise.
3649 [C99-based-standards] (PRIX8): Likewise.
3650 [C99-based-standards] (SCNd8): Likewise.
3651 [C99-based-standards] (SCNi8): Likewise.
3652 [C99-based-standards] (SCNo8): Likewise.
3653 [C99-based-standards] (SCNu8): Likewise.
3654 [C99-based-standards] (SCNx8): Likewise.
3655 [C99-based-standards] (PRIdLEAST8): Likewise.
3656 [C99-based-standards] (PRIiLEAST8): Likewise.
3657 [C99-based-standards] (PRIoLEAST8): Likewise.
3658 [C99-based-standards] (PRIuLEAST8): Likewise.
3659 [C99-based-standards] (PRIxLEAST8): Likewise.
3660 [C99-based-standards] (PRIXLEAST8): Likewise.
3661 [C99-based-standards] (SCNdLEAST8): Likewise.
3662 [C99-based-standards] (SCNiLEAST8): Likewise.
3663 [C99-based-standards] (SCNoLEAST8): Likewise.
3664 [C99-based-standards] (SCNuLEAST8): Likewise.
3665 [C99-based-standards] (SCNxLEAST8): Likewise.
3666 [C99-based-standards] (PRIdFAST8): Likewise.
3667 [C99-based-standards] (PRIiFAST8): Likewise.
3668 [C99-based-standards] (PRIoFAST8): Likewise.
3669 [C99-based-standards] (PRIuFAST8): Likewise.
3670 [C99-based-standards] (PRIxFAST8): Likewise.
3671 [C99-based-standards] (PRIXFAST8): Likewise.
3672 [C99-based-standards] (SCNdFAST8): Likewise.
3673 [C99-based-standards] (SCNiFAST8): Likewise.
3674 [C99-based-standards] (SCNoFAST8): Likewise.
3675 [C99-based-standards] (SCNuFAST8): Likewise.
3676 [C99-based-standards] (SCNxFAST8): Likewise.
3677 [C99-based-standards] (PRId16): Likewise.
3678 [C99-based-standards] (PRIi16): Likewise.
3679 [C99-based-standards] (PRIo16): Likewise.
3680 [C99-based-standards] (PRIu16): Likewise.
3681 [C99-based-standards] (PRIx16): Likewise.
3682 [C99-based-standards] (PRIX16): Likewise.
3683 [C99-based-standards] (SCNd16): Likewise.
3684 [C99-based-standards] (SCNi16): Likewise.
3685 [C99-based-standards] (SCNo16): Likewise.
3686 [C99-based-standards] (SCNu16): Likewise.
3687 [C99-based-standards] (SCNx16): Likewise.
3688 [C99-based-standards] (PRIdLEAST16): Likewise.
3689 [C99-based-standards] (PRIiLEAST16): Likewise.
3690 [C99-based-standards] (PRIoLEAST16): Likewise.
3691 [C99-based-standards] (PRIuLEAST16): Likewise.
3692 [C99-based-standards] (PRIxLEAST16): Likewise.
3693 [C99-based-standards] (PRIXLEAST16): Likewise.
3694 [C99-based-standards] (SCNdLEAST16): Likewise.
3695 [C99-based-standards] (SCNiLEAST16): Likewise.
3696 [C99-based-standards] (SCNoLEAST16): Likewise.
3697 [C99-based-standards] (SCNuLEAST16): Likewise.
3698 [C99-based-standards] (SCNxLEAST16): Likewise.
3699 [C99-based-standards] (PRIdFAST16): Likewise.
3700 [C99-based-standards] (PRIiFAST16): Likewise.
3701 [C99-based-standards] (PRIoFAST16): Likewise.
3702 [C99-based-standards] (PRIuFAST16): Likewise.
3703 [C99-based-standards] (PRIxFAST16): Likewise.
3704 [C99-based-standards] (PRIXFAST16): Likewise.
3705 [C99-based-standards] (SCNdFAST16): Likewise.
3706 [C99-based-standards] (SCNiFAST16): Likewise.
3707 [C99-based-standards] (SCNoFAST16): Likewise.
3708 [C99-based-standards] (SCNuFAST16): Likewise.
3709 [C99-based-standards] (SCNxFAST16): Likewise.
3710 [C99-based-standards] (PRId32): Likewise.
3711 [C99-based-standards] (PRIi32): Likewise.
3712 [C99-based-standards] (PRIo32): Likewise.
3713 [C99-based-standards] (PRIu32): Likewise.
3714 [C99-based-standards] (PRIx32): Likewise.
3715 [C99-based-standards] (PRIX32): Likewise.
3716 [C99-based-standards] (SCNd32): Likewise.
3717 [C99-based-standards] (SCNi32): Likewise.
3718 [C99-based-standards] (SCNo32): Likewise.
3719 [C99-based-standards] (SCNu32): Likewise.
3720 [C99-based-standards] (SCNx32): Likewise.
3721 [C99-based-standards] (PRIdLEAST32): Likewise.
3722 [C99-based-standards] (PRIiLEAST32): Likewise.
3723 [C99-based-standards] (PRIoLEAST32): Likewise.
3724 [C99-based-standards] (PRIuLEAST32): Likewise.
3725 [C99-based-standards] (PRIxLEAST32): Likewise.
3726 [C99-based-standards] (PRIXLEAST32): Likewise.
3727 [C99-based-standards] (SCNdLEAST32): Likewise.
3728 [C99-based-standards] (SCNiLEAST32): Likewise.
3729 [C99-based-standards] (SCNoLEAST32): Likewise.
3730 [C99-based-standards] (SCNuLEAST32): Likewise.
3731 [C99-based-standards] (SCNxLEAST32): Likewise.
3732 [C99-based-standards] (PRIdFAST32): Likewise.
3733 [C99-based-standards] (PRIiFAST32): Likewise.
3734 [C99-based-standards] (PRIoFAST32): Likewise.
3735 [C99-based-standards] (PRIuFAST32): Likewise.
3736 [C99-based-standards] (PRIxFAST32): Likewise.
3737 [C99-based-standards] (PRIXFAST32): Likewise.
3738 [C99-based-standards] (SCNdFAST32): Likewise.
3739 [C99-based-standards] (SCNiFAST32): Likewise.
3740 [C99-based-standards] (SCNoFAST32): Likewise.
3741 [C99-based-standards] (SCNuFAST32): Likewise.
3742 [C99-based-standards] (SCNxFAST32): Likewise.
3743 [C99-based-standards] (PRId64): Likewise.
3744 [C99-based-standards] (PRIi64): Likewise.
3745 [C99-based-standards] (PRIo64): Likewise.
3746 [C99-based-standards] (PRIu64): Likewise.
3747 [C99-based-standards] (PRIx64): Likewise.
3748 [C99-based-standards] (PRIX64): Likewise.
3749 [C99-based-standards] (SCNd64): Likewise.
3750 [C99-based-standards] (SCNi64): Likewise.
3751 [C99-based-standards] (SCNo64): Likewise.
3752 [C99-based-standards] (SCNu64): Likewise.
3753 [C99-based-standards] (SCNx64): Likewise.
3754 [C99-based-standards] (PRIdLEAST64): Likewise.
3755 [C99-based-standards] (PRIiLEAST64): Likewise.
3756 [C99-based-standards] (PRIoLEAST64): Likewise.
3757 [C99-based-standards] (PRIuLEAST64): Likewise.
3758 [C99-based-standards] (PRIxLEAST64): Likewise.
3759 [C99-based-standards] (PRIXLEAST64): Likewise.
3760 [C99-based-standards] (SCNdLEAST64): Likewise.
3761 [C99-based-standards] (SCNiLEAST64): Likewise.
3762 [C99-based-standards] (SCNoLEAST64): Likewise.
3763 [C99-based-standards] (SCNuLEAST64): Likewise.
3764 [C99-based-standards] (SCNxLEAST64): Likewise.
3765 [C99-based-standards] (PRIdFAST64): Likewise.
3766 [C99-based-standards] (PRIiFAST64): Likewise.
3767 [C99-based-standards] (PRIoFAST64): Likewise.
3768 [C99-based-standards] (PRIuFAST64): Likewise.
3769 [C99-based-standards] (PRIxFAST64): Likewise.
3770 [C99-based-standards] (PRIXFAST64): Likewise.
3771 [C99-based-standards] (SCNdFAST64): Likewise.
3772 [C99-based-standards] (SCNiFAST64): Likewise.
3773 [C99-based-standards] (SCNoFAST64): Likewise.
3774 [C99-based-standards] (SCNuFAST64): Likewise.
3775 [C99-based-standards] (SCNxFAST64): Likewise.
3776 [C99-based-standards] (PRIdMAX): Likewise.
3777 [C99-based-standards] (PRIiMAX): Likewise.
3778 [C99-based-standards] (PRIoMAX): Likewise.
3779 [C99-based-standards] (PRIuMAX): Likewise.
3780 [C99-based-standards] (PRIxMAX): Likewise.
3781 [C99-based-standards] (PRIXMAX): Likewise.
3782 [C99-based-standards] (SCNdMAX): Likewise.
3783 [C99-based-standards] (SCNiMAX): Likewise.
3784 [C99-based-standards] (SCNoMAX): Likewise.
3785 [C99-based-standards] (SCNuMAX): Likewise.
3786 [C99-based-standards] (SCNxMAX): Likewise.
3787 [C99-based-standards] (PRIdPTR): Likewise.
3788 [C99-based-standards] (PRIiPTR): Likewise.
3789 [C99-based-standards] (PRIoPTR): Likewise.
3790 [C99-based-standards] (PRIuPTR): Likewise.
3791 [C99-based-standards] (PRIxPTR): Likewise.
3792 [C99-based-standards] (PRIXPTR): Likewise.
3793 [C99-based-standards] (SCNdPTR): Likewise.
3794 [C99-based-standards] (SCNiPTR): Likewise.
3795 [C99-based-standards] (SCNoPTR): Likewise.
3796 [C99-based-standards] (SCNuPTR): Likewise.
3797 [C99-based-standards] (SCNxPTR): Likewise.
3798 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3799 allow.
3800 * conform/data/stdint.h-data: Update comments to clarify
3801 requirements.
3802 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3803 type.
3804 [C99-based standards] (INT8_MAX): Likewise.
3805 [C99-based standards] (INT16_MIN): Likewise.
3806 [C99-based standards] (INT16_MAX): Likewise.
3807 [C99-based standards] (INT32_MIN): Likewise.
3808 [C99-based standards] (INT32_MAX): Likewise.
3809 [C99-based standards] (INT64_MIN): Likewise.
3810 [C99-based standards] (INT64_MAX): Likewise.
3811 [C99-based standards] (UINT8_MAX): Likewise.
3812 [C99-based standards] (UINT16_MAX): Likewise.
3813 [C99-based standards] (UINT32_MAX): Likewise.
3814 [C99-based standards] (UINT64_MAX): Likewise.
3815 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3816 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3817 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3818 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3819 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3820 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3821 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3822 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3823 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3824 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3825 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3826 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3827 [C99-based standards] (INT_FAST8_MIN): Likewise.
3828 [C99-based standards] (INT_FAST8_MAX): Likewise.
3829 [C99-based standards] (INT_FAST16_MIN): Likewise.
3830 [C99-based standards] (INT_FAST16_MAX): Likewise.
3831 [C99-based standards] (INT_FAST32_MIN): Likewise.
3832 [C99-based standards] (INT_FAST32_MAX): Likewise.
3833 [C99-based standards] (INT_FAST64_MIN): Likewise.
3834 [C99-based standards] (INT_FAST64_MAX): Likewise.
3835 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3836 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3837 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3838 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3839 [C99-based standards] (INTPTR_MIN): Likewise.
3840 [C99-based standards] (INTPTR_MAX): Likewise.
3841 [C99-based standards] (UINTPTR_MAX): Likewise.
3842 [C99-based standards] (INTMAX_MIN): Likewise.
3843 [C99-based standards] (INTMAX_MAX): Likewise.
3844 [C99-based standards] (UINTMAX_MAX): Likewise.
3845 [C99-based standards] (PTRDIFF_MIN): Likewise.
3846 [C99-based standards] (PTRDIFF_MAX): Likewise.
3847 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3848 [C99-based standards] (SIZE_MAX): Likewise.
3849 [C99-based standards] (WCHAR_MAX): Likewise.
3850 [C99-based standards] (WINT_MAX): Likewise.
3851 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3852 constraint on value.
3853 [C99-based standards] (WCHAR_MIN): Likewise.
3854 [C99-based standards] (WINT_MIN): Likewise.
3855 [C99-based standards] (*_t): Allow.
3856 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3857 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3858 Include math.h-data and complex.h-data. Remove all expectations
3859 of math.h and complex.h contents.
3860 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3861 at end of line.
3862 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3863 (struct tm): Expect tag.
3864 [C99-based-standards] (wcstof): Expect function.
3865 [C99-based-standards] (wcstold): Likewise.
3866 [C99-based-standards] (wcstoll): Likewise.
3867 [C99-based-standards] (wcstoull): Likewise.
3868 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3869 macro-int-constant. Specify type.
3870 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3871 constraint on value.
3872 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3873 Specify type.
3874 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3875 Specify value.
3876 [ISO C standards]: Do not allow headers.
3877 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3878 wcs[abcdefghijklmnopqrstuvwxyz]*.
3879 [ISO C standards] (*_t): Do not allow.
3880 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3881 Expect function.
3882 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3883 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3884 Specify type.
3885 [ISO C standards]: Do not allow headers.
3886 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3887 is[abcdefghijklmnopqrstuvwxyz]*.
3888 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3889 to[abcdefghijklmnopqrstuvwxyz]*.
3890 [ISO C standards] (*_t): Do not allow.
3891 * conform/data/stdalign.h-data: New file.
3892 * conform/data/stdbool.h-data: Likewise.
3893 * conform/data/stdnoreturn.h-data: Likewise.
3894
7514feb8
RM
38952012-11-07 Roland McGrath <roland@hack.frob.com>
3896
3897 [BZ #14815]
3898 * manual/filesys.texi (Directory Entries): Typo fix.
3899 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3900
19b2ecfc
MS
39012012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3902
3903 * elf/elf.h (EM_AARCH64): New macro.
3904 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3905 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3906 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3907 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3908 (R_AARCH64_TLSDESC): Likewise.
3909 (NT_ARM_TLS): Likewise.
3910 (NT_ARM_HW_BREAK): Likewise.
3911 (NT_ARM_HW_WATCH): Likewise.
3912
60e235ee
JM
39132012-11-07 Joseph Myers <joseph@codesourcery.com>
3914
3915 [BZ #14811]
3916 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3917 (__ieee754_powl): Saturate nonzero exponents with absolute value
3918 below 0x1p-79 to +/- 0x1p-79.
3919 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3920 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3921 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3922 nonzero exponents with absolute value below 0x1p-32 to +/-
3923 0x1p-32.
3924 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3925 (__ieee754_powl): Saturate nonzero exponents with absolute value
3926 below 0x1p-79 to +/- 0x1p-79.
3927 * math/libm-test.inc (pow_test): Add more tests.
3928
0ab234b7
AK
39292012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3930
3931 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3932 _dl_s390_cap_flags with kernel. Increase string length.
3933 (_dl_s390_platforms): Add z196 and zEC12.
3934
45832f74
JM
39352012-11-07 Joseph Myers <joseph@codesourcery.com>
3936
3937 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3938 Change XOPEN21K to XOPEN2K.
3939
19218757
MK
39402012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3941
3942 * string/memmove.c: Use memcpy when possible.
3943
c5f45721
AJ
39442012-11-06 Andreas Jaeger <aj@suse.de>
3945
3946 * po/eo.po: Update from translation team.
3947
82477c28
JM
39482012-11-06 Joseph Myers <joseph@codesourcery.com>
3949
3950 [BZ #14793]
3951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3952 exponent and small x and y exponents, scale x or y up. Increase
3953 by 2 the exponent used in scaling up.
3954 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3955 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3956 * math/libm-test.inc (fma_test): Add more tests.
3957 (fma_test_towardzero): Likewise.
3958 (fma_test_downward): Likewise.
3959 (fma_test_upward): Likewise.
3960
99252c8c
JM
39612012-11-05 Joseph Myers <joseph@codesourcery.com>
3962
acfa885f
JM
3963 [BZ #14805]
3964 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3965 fenv_t *.
3966
99252c8c
JM
3967 [BZ #14801]
3968 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3969 namespace for names of struct fields.
3970 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3971 fenv_t fields.
3972 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3973 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3974
d6d98dea
ST
39752012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3976
3977 [BZ #3665]
3978 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3979
e10bb107
TS
39802012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3981
3982 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3983 PTR_DEMANGLE.
3984
3985 [BZ #5246]
3986 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3987 PTR_DEMANGLE.
3988
a0c2940d
JM
39892012-11-04 Joseph Myers <joseph@codesourcery.com>
3990
3991 [BZ #14797]
3992 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3993 definitely overflow as x * y not x * y + z.
3994 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3995 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3996 * math/libm-test.inc (fma_test): Add more tests.
3997 (fma_test_towardzero): Likewise.
3998 (fma_test_downward): Likewise.
3999 (fma_test_upward): Likewise.
4000
b830319d
TS
40012012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4002
4003 [BZ #157]
4004
4005 * include/stub-tag.h: Remove file.
4006 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
4007 '#include' of it.
4008 * manual/maint.texi (Porting): Don't reference it.
4009 * Makerules ($(objpfx)stubs): Likewise.
4010 * dirent/closedir.c: Don't include <stub-tag.h>.
4011 * dirent/dirfd.c: Likewise.
4012 * dirent/fdopendir.c: Likewise.
4013 * dirent/getdents.c: Likewise.
4014 * dirent/getdents64.c: Likewise.
4015 * dirent/opendir.c: Likewise.
4016 * dirent/readdir.c: Likewise.
4017 * dirent/readdir64.c: Likewise.
4018 * dirent/readdir64_r.c: Likewise.
4019 * dirent/readdir_r.c: Likewise.
4020 * dirent/rewinddir.c: Likewise.
4021 * dirent/seekdir.c: Likewise.
4022 * dirent/telldir.c: Likewise.
4023 * gmon/profil.c: Likewise.
4024 * grp/setgroups.c: Likewise.
4025 * inet/if_index.c: Likewise.
4026 * io/access.c: Likewise.
4027 * io/chdir.c: Likewise.
4028 * io/chmod.c: Likewise.
4029 * io/chown.c: Likewise.
4030 * io/close.c: Likewise.
4031 * io/dup.c: Likewise.
4032 * io/dup2.c: Likewise.
4033 * io/dup3.c: Likewise.
4034 * io/euidaccess.c: Likewise.
4035 * io/faccessat.c: Likewise.
4036 * io/fchdir.c: Likewise.
4037 * io/fchmod.c: Likewise.
4038 * io/fchmodat.c: Likewise.
4039 * io/fchown.c: Likewise.
4040 * io/fchownat.c: Likewise.
4041 * io/fcntl.c: Likewise.
4042 * io/flock.c: Likewise.
4043 * io/fstatfs.c: Likewise.
4044 * io/fstatfs64.c: Likewise.
4045 * io/fstatvfs.c: Likewise.
4046 * io/fstatvfs64.c: Likewise.
4047 * io/futimens.c: Likewise.
4048 * io/fxstat.c: Likewise.
4049 * io/fxstat64.c: Likewise.
4050 * io/fxstatat.c: Likewise.
4051 * io/fxstatat64.c: Likewise.
4052 * io/getcwd.c: Likewise.
4053 * io/isatty.c: Likewise.
4054 * io/lchmod.c: Likewise.
4055 * io/lchown.c: Likewise.
4056 * io/link.c: Likewise.
4057 * io/linkat.c: Likewise.
4058 * io/lseek.c: Likewise.
4059 * io/lseek64.c: Likewise.
4060 * io/lxstat64.c: Likewise.
4061 * io/mkdir.c: Likewise.
4062 * io/mkdirat.c: Likewise.
4063 * io/mkfifo.c: Likewise.
4064 * io/mkfifoat.c: Likewise.
4065 * io/open.c: Likewise.
4066 * io/open64.c: Likewise.
4067 * io/openat.c: Likewise.
4068 * io/openat64.c: Likewise.
4069 * io/pipe.c: Likewise.
4070 * io/pipe2.c: Likewise.
4071 * io/poll.c: Likewise.
4072 * io/posix_fadvise.c: Likewise.
4073 * io/posix_fadvise64.c: Likewise.
4074 * io/posix_fallocate.c: Likewise.
4075 * io/posix_fallocate64.c: Likewise.
4076 * io/read.c: Likewise.
4077 * io/readlink.c: Likewise.
4078 * io/readlinkat.c: Likewise.
4079 * io/rmdir.c: Likewise.
4080 * io/sendfile.c: Likewise.
4081 * io/sendfile64.c: Likewise.
4082 * io/statfs.c: Likewise.
4083 * io/statfs64.c: Likewise.
4084 * io/statvfs.c: Likewise.
4085 * io/statvfs64.c: Likewise.
4086 * io/symlink.c: Likewise.
4087 * io/symlinkat.c: Likewise.
4088 * io/ttyname.c: Likewise.
4089 * io/ttyname_r.c: Likewise.
4090 * io/umask.c: Likewise.
4091 * io/unlink.c: Likewise.
4092 * io/unlinkat.c: Likewise.
4093 * io/utime.c: Likewise.
4094 * io/utimensat.c: Likewise.
4095 * io/write.c: Likewise.
4096 * io/xmknod.c: Likewise.
4097 * io/xmknodat.c: Likewise.
4098 * io/xstat.c: Likewise.
4099 * io/xstat64.c: Likewise.
4100 * login/getpt.c: Likewise.
4101 * login/grantpt.c: Likewise.
4102 * login/unlockpt.c: Likewise.
4103 * math/e_acoshl.c: Likewise.
4104 * math/e_acosl.c: Likewise.
4105 * math/e_asinl.c: Likewise.
4106 * math/e_atan2l.c: Likewise.
4107 * math/e_atanhl.c: Likewise.
4108 * math/e_coshl.c: Likewise.
4109 * math/e_expl.c: Likewise.
4110 * math/e_fmodl.c: Likewise.
4111 * math/e_gammal_r.c: Likewise.
4112 * math/e_hypotl.c: Likewise.
4113 * math/e_j0l.c: Likewise.
4114 * math/e_j1l.c: Likewise.
4115 * math/e_jnl.c: Likewise.
4116 * math/e_lgammal_r.c: Likewise.
4117 * math/e_log10l.c: Likewise.
4118 * math/e_log2l.c: Likewise.
4119 * math/e_logl.c: Likewise.
4120 * math/e_powl.c: Likewise.
4121 * math/e_rem_pio2l.c: Likewise.
4122 * math/e_sinhl.c: Likewise.
4123 * math/e_sqrtl.c: Likewise.
4124 * math/fclrexcpt.c: Likewise.
4125 * math/fedisblxcpt.c: Likewise.
4126 * math/feenablxcpt.c: Likewise.
4127 * math/fegetenv.c: Likewise.
4128 * math/fegetexcept.c: Likewise.
4129 * math/fegetround.c: Likewise.
4130 * math/feholdexcpt.c: Likewise.
4131 * math/fesetenv.c: Likewise.
4132 * math/fesetround.c: Likewise.
4133 * math/feupdateenv.c: Likewise.
4134 * math/fgetexcptflg.c: Likewise.
4135 * math/fraiseexcpt.c: Likewise.
4136 * math/fsetexcptflg.c: Likewise.
4137 * math/ftestexcept.c: Likewise.
4138 * math/k_cosl.c: Likewise.
4139 * math/k_rem_pio2l.c: Likewise.
4140 * math/k_sinl.c: Likewise.
4141 * math/k_tanl.c: Likewise.
4142 * math/s_asinhl.c: Likewise.
4143 * math/s_atanl.c: Likewise.
4144 * math/s_cbrtl.c: Likewise.
4145 * math/s_erfl.c: Likewise.
4146 * math/s_expm1l.c: Likewise.
4147 * math/s_log1pl.c: Likewise.
4148 * math/s_tanhl.c: Likewise.
4149 * misc/acct.c: Likewise.
4150 * misc/brk.c: Likewise.
4151 * misc/chflags.c: Likewise.
4152 * misc/chroot.c: Likewise.
4153 * misc/fchflags.c: Likewise.
4154 * misc/fgetxattr.c: Likewise.
4155 * misc/flistxattr.c: Likewise.
4156 * misc/fremovexattr.c: Likewise.
4157 * misc/fsetxattr.c: Likewise.
4158 * misc/fsync.c: Likewise.
4159 * misc/ftruncate.c: Likewise.
4160 * misc/futimes.c: Likewise.
4161 * misc/futimesat.c: Likewise.
4162 * misc/getdomain.c: Likewise.
4163 * misc/getdtsz.c: Likewise.
4164 * misc/gethostid.c: Likewise.
4165 * misc/gethostname.c: Likewise.
4166 * misc/getloadavg.c: Likewise.
4167 * misc/getpagesize.c: Likewise.
4168 * misc/getsysstats.c: Likewise.
4169 * misc/getxattr.c: Likewise.
4170 * misc/gtty.c: Likewise.
4171 * misc/ioctl.c: Likewise.
4172 * misc/lgetxattr.c: Likewise.
4173 * misc/listxattr.c: Likewise.
4174 * misc/llistxattr.c: Likewise.
4175 * misc/lremovexattr.c: Likewise.
4176 * misc/lsetxattr.c: Likewise.
4177 * misc/lutimes.c: Likewise.
4178 * misc/madvise.c: Likewise.
4179 * misc/mincore.c: Likewise.
4180 * misc/mlock.c: Likewise.
4181 * misc/mlockall.c: Likewise.
4182 * misc/mmap.c: Likewise.
4183 * misc/mprotect.c: Likewise.
4184 * misc/msync.c: Likewise.
4185 * misc/munlock.c: Likewise.
4186 * misc/munlockall.c: Likewise.
4187 * misc/munmap.c: Likewise.
4188 * misc/preadv.c: Likewise.
4189 * misc/preadv64.c: Likewise.
4190 * misc/ptrace.c: Likewise.
4191 * misc/pwritev.c: Likewise.
4192 * misc/pwritev64.c: Likewise.
4193 * misc/readv.c: Likewise.
4194 * misc/reboot.c: Likewise.
4195 * misc/remap_file_pages.c: Likewise.
4196 * misc/removexattr.c: Likewise.
4197 * misc/revoke.c: Likewise.
4198 * misc/select.c: Likewise.
4199 * misc/setdomain.c: Likewise.
4200 * misc/setegid.c: Likewise.
4201 * misc/seteuid.c: Likewise.
4202 * misc/sethostid.c: Likewise.
4203 * misc/sethostname.c: Likewise.
4204 * misc/setregid.c: Likewise.
4205 * misc/setreuid.c: Likewise.
4206 * misc/setxattr.c: Likewise.
4207 * misc/sstk.c: Likewise.
4208 * misc/stty.c: Likewise.
4209 * misc/swapoff.c: Likewise.
4210 * misc/swapon.c: Likewise.
4211 * misc/sync.c: Likewise.
4212 * misc/syncfs.c: Likewise.
4213 * misc/syscall.c: Likewise.
4214 * misc/truncate.c: Likewise.
4215 * misc/ualarm.c: Likewise.
4216 * misc/usleep.c: Likewise.
4217 * misc/ustat.c: Likewise.
4218 * misc/utimes.c: Likewise.
4219 * misc/vhangup.c: Likewise.
4220 * misc/writev.c: Likewise.
4221 * posix/_exit.c: Likewise.
4222 * posix/alarm.c: Likewise.
4223 * posix/execve.c: Likewise.
4224 * posix/fexecve.c: Likewise.
4225 * posix/fork.c: Likewise.
4226 * posix/fpathconf.c: Likewise.
4227 * posix/getaddrinfo.c: Likewise.
4228 * posix/getegid.c: Likewise.
4229 * posix/geteuid.c: Likewise.
4230 * posix/getgid.c: Likewise.
4231 * posix/getgroups.c: Likewise.
4232 * posix/getlogin.c: Likewise.
4233 * posix/getlogin_r.c: Likewise.
4234 * posix/getpgid.c: Likewise.
4235 * posix/getpid.c: Likewise.
4236 * posix/getppid.c: Likewise.
4237 * posix/getresgid.c: Likewise.
4238 * posix/getresuid.c: Likewise.
4239 * posix/getsid.c: Likewise.
4240 * posix/getuid.c: Likewise.
4241 * posix/glob64.c: Likewise.
4242 * posix/nanosleep.c: Likewise.
4243 * posix/pathconf.c: Likewise.
4244 * posix/pause.c: Likewise.
4245 * posix/posix_madvise.c: Likewise.
4246 * posix/pread.c: Likewise.
4247 * posix/pread64.c: Likewise.
4248 * posix/pwrite.c: Likewise.
4249 * posix/pwrite64.c: Likewise.
4250 * posix/sched_getaffinity.c: Likewise.
4251 * posix/sched_getp.c: Likewise.
4252 * posix/sched_gets.c: Likewise.
4253 * posix/sched_primax.c: Likewise.
4254 * posix/sched_primin.c: Likewise.
4255 * posix/sched_rr_gi.c: Likewise.
4256 * posix/sched_setaffinity.c: Likewise.
4257 * posix/sched_setp.c: Likewise.
4258 * posix/sched_sets.c: Likewise.
4259 * posix/sched_yield.c: Likewise.
4260 * posix/setgid.c: Likewise.
4261 * posix/setlogin.c: Likewise.
4262 * posix/setpgid.c: Likewise.
4263 * posix/setresgid.c: Likewise.
4264 * posix/setresuid.c: Likewise.
4265 * posix/setsid.c: Likewise.
4266 * posix/setuid.c: Likewise.
4267 * posix/sleep.c: Likewise.
4268 * posix/spawni.c: Likewise.
4269 * posix/sysconf.c: Likewise.
4270 * posix/times.c: Likewise.
4271 * posix/wait.c: Likewise.
4272 * posix/wait3.c: Likewise.
4273 * posix/wait4.c: Likewise.
4274 * posix/waitpid.c: Likewise.
4275 * resolv/gai_sigqueue.c: Likewise.
4276 * resource/getpriority.c: Likewise.
4277 * resource/getrlimit.c: Likewise.
4278 * resource/getrusage.c: Likewise.
4279 * resource/nice.c: Likewise.
4280 * resource/setpriority.c: Likewise.
4281 * resource/setrlimit.c: Likewise.
4282 * resource/ulimit.c: Likewise.
4283 * rt/aio_cancel.c: Likewise.
4284 * rt/aio_fsync.c: Likewise.
4285 * rt/aio_read.c: Likewise.
4286 * rt/aio_sigqueue.c: Likewise.
4287 * rt/aio_suspend.c: Likewise.
4288 * rt/aio_write.c: Likewise.
4289 * rt/clock_getres.c: Likewise.
4290 * rt/clock_gettime.c: Likewise.
4291 * rt/clock_nanosleep.c: Likewise.
4292 * rt/clock_settime.c: Likewise.
4293 * rt/lio_listio.c: Likewise.
4294 * rt/mq_close.c: Likewise.
4295 * rt/mq_getattr.c: Likewise.
4296 * rt/mq_notify.c: Likewise.
4297 * rt/mq_open.c: Likewise.
4298 * rt/mq_receive.c: Likewise.
4299 * rt/mq_send.c: Likewise.
4300 * rt/mq_setattr.c: Likewise.
4301 * rt/mq_timedreceive.c: Likewise.
4302 * rt/mq_timedsend.c: Likewise.
4303 * rt/mq_unlink.c: Likewise.
4304 * rt/shm_open.c: Likewise.
4305 * rt/shm_unlink.c: Likewise.
4306 * rt/timer_create.c: Likewise.
4307 * rt/timer_delete.c: Likewise.
4308 * rt/timer_getoverr.c: Likewise.
4309 * rt/timer_gettime.c: Likewise.
4310 * rt/timer_settime.c: Likewise.
4311 * setjmp/__longjmp.c: Likewise.
4312 * setjmp/setjmp.c: Likewise.
4313 * signal/kill.c: Likewise.
4314 * signal/killpg.c: Likewise.
4315 * signal/raise.c: Likewise.
4316 * signal/sigaction.c: Likewise.
4317 * signal/sigaltstack.c: Likewise.
4318 * signal/sigblock.c: Likewise.
4319 * signal/sigignore.c: Likewise.
4320 * signal/sigintr.c: Likewise.
4321 * signal/signal.c: Likewise.
4322 * signal/sigpause.c: Likewise.
4323 * signal/sigpending.c: Likewise.
4324 * signal/sigqueue.c: Likewise.
4325 * signal/sigreturn.c: Likewise.
4326 * signal/sigset.c: Likewise.
4327 * signal/sigsetmask.c: Likewise.
4328 * signal/sigstack.c: Likewise.
4329 * signal/sigsuspend.c: Likewise.
4330 * signal/sigtimedwait.c: Likewise.
4331 * signal/sigvec.c: Likewise.
4332 * signal/sigwait.c: Likewise.
4333 * signal/sigwaitinfo.c: Likewise.
4334 * signal/sysv_signal.c: Likewise.
4335 * socket/accept.c: Likewise.
4336 * socket/accept4.c: Likewise.
4337 * socket/bind.c: Likewise.
4338 * socket/connect.c: Likewise.
4339 * socket/getpeername.c: Likewise.
4340 * socket/getsockname.c: Likewise.
4341 * socket/getsockopt.c: Likewise.
4342 * socket/isfdtype.c: Likewise.
4343 * socket/listen.c: Likewise.
4344 * socket/recv.c: Likewise.
4345 * socket/recvfrom.c: Likewise.
4346 * socket/recvmsg.c: Likewise.
4347 * socket/send.c: Likewise.
4348 * socket/sendmsg.c: Likewise.
4349 * socket/sendto.c: Likewise.
4350 * socket/setsockopt.c: Likewise.
4351 * socket/shutdown.c: Likewise.
4352 * socket/sockatmark.c: Likewise.
4353 * socket/socket.c: Likewise.
4354 * socket/socketpair.c: Likewise.
4355 * stdio-common/ctermid.c: Likewise.
4356 * stdio-common/cuserid.c: Likewise.
4357 * stdio-common/remove.c: Likewise.
4358 * stdio-common/rename.c: Likewise.
4359 * stdio-common/renameat.c: Likewise.
4360 * stdio-common/tempname.c: Likewise.
4361 * stdlib/getcontext.c: Likewise.
4362 * stdlib/makecontext.c: Likewise.
4363 * stdlib/setcontext.c: Likewise.
4364 * stdlib/swapcontext.c: Likewise.
4365 * stdlib/system.c: Likewise.
4366 * streams/fattach.c: Likewise.
4367 * streams/fdetach.c: Likewise.
4368 * streams/getmsg.c: Likewise.
4369 * streams/getpmsg.c: Likewise.
4370 * streams/putmsg.c: Likewise.
4371 * streams/putpmsg.c: Likewise.
4372 * sysdeps/unix/bsd/getpt.c: Likewise.
4373 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4374 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4375 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4377 Likewise.
4378 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4379 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4380 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4381 * sysvipc/msgctl.c: Likewise.
4382 * sysvipc/msgget.c: Likewise.
4383 * sysvipc/msgrcv.c: Likewise.
4384 * sysvipc/msgsnd.c: Likewise.
4385 * sysvipc/semctl.c: Likewise.
4386 * sysvipc/semget.c: Likewise.
4387 * sysvipc/semop.c: Likewise.
4388 * sysvipc/semtimedop.c: Likewise.
4389 * sysvipc/shmat.c: Likewise.
4390 * sysvipc/shmctl.c: Likewise.
4391 * sysvipc/shmdt.c: Likewise.
4392 * sysvipc/shmget.c: Likewise.
4393 * termios/tcdrain.c: Likewise.
4394 * termios/tcflow.c: Likewise.
4395 * termios/tcflush.c: Likewise.
4396 * termios/tcgetattr.c: Likewise.
4397 * termios/tcgetpgrp.c: Likewise.
4398 * termios/tcsendbrk.c: Likewise.
4399 * termios/tcsetattr.c: Likewise.
4400 * termios/tcsetpgrp.c: Likewise.
4401 * time/adjtime.c: Likewise.
4402 * time/clock.c: Likewise.
4403 * time/getitimer.c: Likewise.
4404 * time/gettimeofday.c: Likewise.
4405 * time/setitimer.c: Likewise.
4406 * time/settimeofday.c: Likewise.
4407 * time/stime.c: Likewise.
4408 * time/time.c: Likewise.
4409
44102012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 4411
a20492cf
PT
4412 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4413 /usr/old/bin.
4414
72e182e3
PT
4415 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4416 instead of spaces.
4417 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4418
fbeafede
JM
44192012-11-03 Joseph Myers <joseph@codesourcery.com>
4420
5b5b04d6
JM
4421 [BZ #14796]
4422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
4423 FE_TONEAREST before applying Dekker multiplication and Knuth
4424 addition. Clear inexact exceptions and check for exact zero
4425 results afterwards.
4426 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4427 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4428 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4429 * math/libm-test.inc (fma_test): Add more tests.
4430 (fma_test_towardzero): Likewise.
4431 (fma_test_downward): Likewise.
4432 (fma_test_upward): Likewise.
4433 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4434 function.
4435 (libc_fesetround): New macro.
4436 (libc_fesetroundf): Likewise.
4437 (libc_fesetroundl): Likewise.
4438 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
4439 function.
4440 (libc_fesetround_387): Likewise.
4441 (libc_fesetroundf): New macro.
4442 (libc_fesetround): Likewise.
4443 (libc_fesetroundl): Likewise.
4444 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
4445 function.
4446 (libc_fesetroundf): New macro.
4447 (libc_fesetround): Likewise.
4448 (libc_fesetroundl): Likewise.
4449 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
4450 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4451 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4452 libm_hidden_ver.
4453 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4454 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4455 libm_hidden_def.
4456 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4457 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4458 libm_hidden_ver.
4459 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4460 libm_hidden_def.
4461
fbeafede
JM
4462 [BZ #3439]
4463 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4464 integer constant usable in #if and use that to give value to enum
4465 constant.
4466 (FE_DIVBYZERO): Likewise.
4467 (FE_UNDERFLOW): Likewise.
4468 (FE_OVERFLOW): Likewise.
4469 (FE_INVALID): Likewise.
4470 (FE_INVALID_SNAN): Likewise.
4471 (FE_INVALID_ISI): Likewise.
4472 (FE_INVALID_IDI): Likewise.
4473 (FE_INVALID_ZDZ): Likewise.
4474 (FE_INVALID_IMZ): Likewise.
4475 (FE_INVALID_COMPARE): Likewise.
4476 (FE_INVALID_SOFTWARE): Likewise.
4477 (FE_INVALID_SQRT): Likewise.
4478 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4479 (FE_TONEAREST): Likewise.
4480 (FE_TOWARDZERO): Likewise.
4481 (FE_UPWARD): Likewise.
4482 (FE_DOWNWARD): Likewise.
4483 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4484 (FE_DIVBYZERO): Likewise.
4485 (FE_OVERFLOW): Likewise.
4486 (FE_UNDERFLOW): Likewise.
4487 (FE_INEXACT): Likewise.
4488 (FE_TONEAREST): Likewise.
4489 (FE_DOWNWARD): Likewise.
4490 (FE_UPWARD): Likewise.
4491 (FE_TOWARDZERO): Likewise.
4492 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4493 (FE_UNDERFLOW): Likewise.
4494 (FE_OVERFLOW): Likewise.
4495 (FE_DIVBYZERO): Likewise.
4496 (FE_INVALID): Likewise.
4497 (FE_TONEAREST): Likewise.
4498 (FE_TOWARDZERO): Likewise.
4499 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4500 (FE_OVERFLOW): Likewise.
4501 (FE_UNDERFLOW): Likewise.
4502 (FE_DIVBYZERO): Likewise.
4503 (FE_INEXACT): Likewise.
4504 (FE_TONEAREST): Likewise.
4505 (FE_TOWARDZERO): Likewise.
4506 (FE_UPWARD): Likewise.
4507 (FE_DOWNWARD): Likewise.
4508 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4509 (FE_DIVBYZERO): Likewise.
4510 (FE_OVERFLOW): Likewise.
4511 (FE_UNDERFLOW): Likewise.
4512 (FE_INEXACT): Likewise.
4513 (FE_TONEAREST): Likewise.
4514 (FE_DOWNWARD): Likewise.
4515 (FE_UPWARD): Likewise.
4516 (FE_TOWARDZERO): Likewise.
4517
105ca950
CM
45182012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4519
4520 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4521
a542b389
AS
45222012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4523
4524 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4525 commands. Quote $PWD.
4526 (blacklist_exports): Don't use remove_newlines. Replace "declare
4527 -x" by "export".
4528 (remove_newlines): Remove.
4529
f62c8abc
L
45302012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4531
4532 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4533 * stdlib/stdlib.h (atof): Moved to ...
4534 * include/bits/stdlib-float.h: Here. New file.
4535 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4536 * stdlib/bits/stdlib-float.h: New file.
4537 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4538 -mno-sse -mno-mmx.
4539 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4540 <xmmintrin.h>.
4541
0155d5b2
JM
45422012-11-02 Joseph Myers <joseph@codesourcery.com>
4543
a68d0680
JM
4544 * conform/conformtest.pl (@headers): Add fenv.h.
4545 * conform/data/fenv.h-data: New file.
4546 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4547 include of <math/fenv.h>.
4548
caf7f573
JM
4549 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4550 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4551 && !UNIX98]. Enables tests for XOPEN2K8.
4552 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4553 POSIX2008]: Likewise.
4554
6c073ad6
JM
4555 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4556 (struct rusage): Do not expect type or its members.
4557
0155d5b2
JM
4558 [BZ #3439]
4559 * math/math.h (FP_NAN): Define macro to integer constant usable in
4560 #if and use that to give value to enum constant.
4561 (FP_INFINITE): Likewise.
4562 (FP_ZERO): Likewise.
4563 (FP_SUBNORMAL): Likewise.
4564 (FP_NORMAL): Likewise.
4565
b5dcacb4
AS
45662012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4567
4568 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4569 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4570 arguments.
4571
f7934be8
RM
45722012-11-02 Roland McGrath <roland@hack.frob.com>
4573
4574 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4575 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4576 autoconf-time if not.
4577 * configure.in: Remove AC_PREREQ.
4578
d7d08bde
TMQMF
45792012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4580
4581 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4582 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4583 of the internal implementation.
4584
dcdae19a
JM
45852012-11-02 Joseph Myers <joseph@codesourcery.com>
4586
4587 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4588 except include of <misc/sys/syslog.h>.
4589
d6cffd3e
AS
45902012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4591
4592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4593 function returns with a NULL context exit with zero.
4594
b3563932
TMQMF
45952012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4596
4597 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4598
b288a93d
L
45992012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4600
4601 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4602 (run_program_cmd): This.
4603 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4604 (tst_langinfo): New variable. Use it.
4605
a2421a68
SAS
46062012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4607
4608 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4609 floating point opcodes.
4610
6f796e1b
TS
46112012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4612
7402596b
TS
4613 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4614 variable.
4615
d0d4f868
TS
4616 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4617
6f796e1b
TS
4618 * sysdeps/mach/hurd/powerpc: Remove directory.
4619 * sysdeps/mach/powerpc: Likewise.
4620
4da224a2
AS
46212012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4622
4623 * scripts/check-local-headers.sh: Ignore c++ headers.
4624
341dd673
TS
46252012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4626
4627 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4628 __libc_cleanup_region_start argument.
4629
473611b2
JM
46302012-11-01 Joseph Myers <joseph@codesourcery.com>
4631
4632 [BZ #14784]
4633 [BZ #14785]
4634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4635 x * y using scaling, not as x * y + z.
4636 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4637 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4638 * math/libm-test.inc (fma_test): Add more tests.
4639 (fma_test_towardzero): Likewise.
4640 (fma_test_downward): Likewise.
4641 (fma_test_upward): Likewise.
4642
4078da3d
TS
46432012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4644
4645 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4646
903252aa
JM
46472012-10-31 Joseph Myers <joseph@codesourcery.com>
4648
4649 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4650 New variable.
4651
cbc818d0
TS
46522012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4653
4654 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4655
5a03cb1e
AS
46562012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4657
4658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4659 Fix sort order.
4660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4661 Likewise.
4662
90aff2ff
TMQMF
46632012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4664
4665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4666 Fix the order of the list for glibc 2.17.
4667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4668 Likewise.
4669
1818fcb7
AS
46702012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4671
4672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4673
ef82f4da
JM
46742012-10-31 Joseph Myers <joseph@codesourcery.com>
4675
16a0e2ec
JM
4676 [BZ #14610]
4677 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4678 for low part of x being zero before using __atanl (y).
4679 * math/libm-test.inc (atan2_test): Add another test.
4680
0eb69512
JM
4681 * manual/install.texi (Configuring and compiling): Document
4682 general use of test-wrapper and test-wrapper-env.
4683 * INSTALL: Regenerated.
4684
ef82f4da
JM
4685 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4686 (__fma): Do not extract and scale down low bits on after-rounding
4687 systems when result rounded to normal precision would have normal
4688 exponent.
4689 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4690 (__fmal): Do not extract and scale down low bits on after-rounding
4691 systems when result rounded to normal precision would have normal
4692 exponent.
4693 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4694 (__fmal): Do not extract and scale down low bits on after-rounding
4695 systems when result rounded to normal precision would have normal
4696 exponent.
4697 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4698 macro.
4699 (fma_test): Add more tests.
4700 (fma_test_towardzero): Likewise.
4701 (fma_test_downward): Likewise.
4702 (fma_test_upward): Likewise.
4703
954ef0d9
L
47042012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4705
4706 * sysdeps/i386/tininess.h: Renamed to ...
4707 * sysdeps/x86/tininess.h: This.
4708 * sysdeps/x86_64/tininess.h: Removed.
4709
df61ffb2
JM
47102012-10-30 Joseph Myers <joseph@codesourcery.com>
4711
4712 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4713 input. Use $(build-program-cmd).
4714 ($(objpfx)tst-array1-static.out): Likewise.
4715 ($(objpfx)tst-array2.out): Likewise.
4716 ($(objpfx)tst-array3.out): Likewise.
4717 ($(objpfx)tst-array4.out): Likewise.
4718 ($(objpfx)tst-array5.out): Likewise.
4719 ($(objpfx)tst-array5-static.out): Likewise.
4720
01767843
CM
47212012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4722
47cc1490
CM
4723 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4724 if defined.
4725
01767843
CM
4726 * nss/nsswitch.h (nss_interface_function): Provide new
4727 macro for use with NSS functions.
4728 * grp/initgroups.c: Use new macro.
4729 * nss/getXXbyYY.c: Likewise.
4730 * nss/getXXbyYY_r.c: Likewise.
4731 * nss/getXXent.c: Likewise.
4732 * nss/getXXent_r.c: Likewise.
4733 * sysdeps/posix/getaddrinfo.c: Likewise.
4734
8321aa97
AJ
47352012-10-30 Andreas Jaeger <aj@suse.de>
4736
4737 * po/ru.po: Update Russion translation from translation project.
4738
2a27fd6d
JM
47392012-10-30 Joseph Myers <joseph@codesourcery.com>
4740
8627a232
JM
4741 [BZ #14152]
4742 [BZ #14783]
4743 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4744 result and shift together with sticky bit instead of replicating
4745 round-to-nearest rounding.
4746 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4747 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4748 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4749 missing underflow exceptions.
4750 (fma_test_towardzero): Add more tests.
4751 (fma_test_downward): Likewise.
4752 (fma_test_upward): Likewise.
4753
2a27fd6d
JM
4754 [BZ #14047]
4755 * sysdeps/generic/tininess.h: New file.
4756 * sysdeps/i386/tininess.h: Likewise.
4757 * sysdeps/sh/tininess.h: Likewise.
4758 * sysdeps/x86_64/tininess.h: Likewise.
4759 * stdlib/tst-strtod-underflow.c: Likewise.
4760 * stdlib/tst-tininess.c: Likewise.
4761 * stdlib/strtod_l.c: Include <tininess.h>.
4762 (round_and_return): Do not set errno for exact underflow cases.
4763 Force an underflow exception when setting errno for underflow.
4764 Determine underflow based on rounding to normal precision if
4765 TININESS_AFTER_ROUNDING.
4766 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4767 ERANGE for exact underflow cases.
4768 * stdlib/Makefile (tests): Add tst-tininess and
4769 tst-strtod-underflow.
4770 ($(objpfx)tst-tininess): Use $(link-libm).
4771 ($(objpfx)tst-strtod-underflow): Likewise.
4772
e7170363
AJ
47732012-10-30 Andreas Jaeger <aj@suse.de>
4774
e5088dc6
AJ
4775 [BZ#14767]
4776 * elf/Makefile (tests): Remove conditional for have-initfini-array
4777 since this is now always required and the variable does not exist
4778 anymore.
4779 (tests-static): Likewise.
4780 (modules-names): Likewise.
4781
e7170363 4782 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
4783
4784 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4785 merged with constructor/destructor.
4786 (init_array): Likewise.
4787 * elf/tst-array2dep.c (fini_array): Likewise.
4788 (init_array): Likewise.
4789
60457d8a
MF
47902012-10-29 Mike Frysinger <vapier@gentoo.org>
4791
4792 * manual/message.texi: Delete @cartouche tags.
4793
8bece752
PT
47942012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4795
94ce799f
PT
4796 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4797 EOPNOTSUPP.
4798 * sysdeps/mach/hurd/fsync.c: Likewise.
4799
8bece752
PT
4800 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4801 [_POSIX_REALTIME_SIGNALS]: Change condition to
4802 [_POSIX_REALTIME_SIGNALS > 0].
4803
86ebe6b1
AJ
48042012-10-27 Andreas Jaeger <aj@suse.de>
4805
4806 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4807 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4808 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4809 [__WORDSIZE != 64]: Likewise.
4810
54399c08
L
48112012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4812
4813 * iconvdata/tst-table.sh: Remove ${SHELL}.
4814 * iconvdata/tst-tables.sh: Likewise.
4815
e2211bed
DM
48162012-10-25 David S. Miller <davem@davemloft.net>
4817
4818 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4819 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4820 of strtoull.
4821
f303f97c
DM
4822 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4823 ifunc-impl-list.c
4824 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4825 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4826 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4827 file.
4828
1e9d84cd
RM
48292012-10-25 Roland McGrath <roland@hack.frob.com>
4830
4831 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4832 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4833 __getdirentries.
4834
df381762
JM
48352012-10-25 Joseph Myers <joseph@codesourcery.com>
4836 Jim Blandy <jimb@codesourcery.com>
4837
4838 * scripts/cross-test-ssh.sh: New file.
4839 * manual/install.texi (Configuring and compiling): Document use of
4840 cross-test-ssh.sh.
4841 * INSTALL: Regenerated.
4842
bff64913
PT
48432012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4844
4845 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4846 EOPNOTSUPP.
4847
25fe8932
JM
48482012-10-25 Joseph Myers <joseph@codesourcery.com>
4849
4850 * Makeconfig (run-program-prefix): Fix comment.
4851
cc1290d0
JM
48522012-10-24 Joseph Myers <joseph@codesourcery.com>
4853 Jim Blandy <jimb@codesourcery.com>
4854
4855 * Makeconfig (test-wrapper): New variable,
4856 (test-wrapper-env): Likewise.
4857 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4858 (run-built-tests): Define to yes.
4859 (run-program-prefix): Use $(test-wrapper).
4860 (built-program-cmd): Likewise.
4861 * Rules (make-test-out): Use $(test-wrapper-env) and
4862 $(host-built-program-cmd).
4863 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4864 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4865 tst-pathopt.sh.
4866 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4867 $(test-wrapper-env) to tst-rtld-load-self.sh.
4868 ($(objpfx)order2.out): Use $(test-wrapper).
4869 ($(objpfx)tst-initorder.out): Likewise.
4870 ($(objpfx)tst-initorder2.out): Likewise.
4871 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4872 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4873 (test_wrapper_env): New variable. Use it to run ld.so.
4874 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4875 Use it to run ld.so.
4876 (test_wrapper_env): Likewise.
4877 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4878 $(test-wrapper) to run-iconv-test.sh.
4879 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4880 (ICONV): Use $test_wrapper.
4881 * posix/Makefile ($(objpfx)globtest.out): Pass
4882 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4883 globtest.sh, not $(run-program-prefix).
4884 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4885 (test_wrapper): Likewise.
4886 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4887 set together with run_via_rtld_prefix.
4888 (run_program_prefix): Define in terms of test_wrapper and
4889 run_via_rtld_prefix.
4890
6e6249d0
RM
48912012-10-24 Roland McGrath <roland@hack.frob.com>
4892
4893 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4894 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4895 Targets removed.
4896
4897 [BZ #14743]
4898 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4899 Declare __clock_getres, __clock_gettime, __clock_settime,
4900 __clock_nanosleep, and __clock_getcpuclockid.
4901 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4902 Remove librt_hidden_def (clock_gettime).
4903 * sysdeps/unix/clock_gettime.c: Likewise.
4904 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4905 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4906 * rt/clock_getres.c: Define __clock_getres as an alias.
4907 * sysdeps/posix/clock_getres.c: Likewise.
4908 * rt/clock_settime.c: Define __clock_settime as an alias.
4909 * sysdeps/unix/clock_settime.c: Likewise.
4910 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4911 * sysdeps/unix/clock_nanosleep.c: Likewise.
4912 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4913 * rt/clock-compat.c: New file.
4914 * rt/Makefile (librt-routines): Add clock-compat and move
4915 $(clock-routines) to ...
4916 (routines): ... here, new variable.
4917 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4918 Don't add get_clockfreq here.
4919 * rt/Versions (libc: GLIBC_2.17): New version set.
4920 Add clock_* symbols here.
4921 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4922 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4923 (GLIBC_2.17): Add clock_* symbols.
4924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4926 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4928 Likewise.
4929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4930 Likewise.
4931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4935 * NEWS: Mention the move.
4936
4937 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4938 Use __open, __read, __close rather than their public counterparts.
4939 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4940 (__get_clockfreq_via_cpuinfo): Likewise.
4941 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4942 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4943
4944 * config.h.in (HAVE_IFUNC): New #undef.
4945 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4946 was successful.
4947 * configure: Regenerated.
4948
0cae3f4b
MF
49492012-10-24 Mike Frysinger <vapier@gentoo.org>
4950
4951 * configure.in: Move READELF check to start of file.
4952 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4953 libc_cv_asm_gnu_indirect_function in the process.
4954 * configure: Regenerated.
4955
8175a253
MF
49562012-10-24 Mike Frysinger <vapier@gentoo.org>
4957
4958 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4959 send the output to /dev/null.
4960 (libc_cv_cc_with_libunwind): Likewise.
4961 (libc_cv_as_noexecstack): Likewise.
4962 * configure: Regenerate.
4963
0708a7d1
JM
49642012-10-24 Joseph Myers <joseph@codesourcery.com>
4965
10b40d85
JM
4966 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4967
0708a7d1
JM
4968 * posix/globtest.sh (TMPDIR): Do not set.
4969 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4970 (testout): Likewise.
4971
9fddec1a
AJ
49722012-10-24 Andreas Jaeger <aj@suse.de>
4973
3a8db22f
AJ
4974 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4975 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4976 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4977 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4978 posix_fadvise64, posix_fallocate64.
4979
9fddec1a
AJ
4980 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4981 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4982 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4983 Likewise.
4984 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4985 Likewise.
4986 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4987
4988 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4989 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4990 <bits/fcntl-linux.h>.
4991 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4992
4993 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4994 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4995 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4996 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4997 [__WORDSIZE != 64]: Likewise.
4998
ebfd1bbd
JM
49992012-10-23 Joseph Myers <joseph@codesourcery.com>
5000
03ac099f
JM
5001 * Makeconfig (run-built-tests): New variable.
5002 * Rules [$(cross-compiling) = yes]: Change condition to
5003 [$(run-built-tests) = no].
5004 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
5005 to [$(run-built-tests) = yes].
5006 * elf/Makefile [$(cross-compiling) = no]: Likewise
5007 * grp/Makefile [$(cross-compiling) = no]: Likewise.
5008 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
5009 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
5010 * intl/Makefile [$(cross-compiling) = no]: Likewise.
5011 * io/Makefile [$(cross-compiling) = no]: Likewise.
5012 * libio/Makefile [$(cross-compiling) = no]: Likewise.
5013 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
5014 * misc/Makefile [$(cross-compiling) = no]: Likewise.
5015 * posix/Makefile [$(cross-compiling) = no]: Likewise.
5016 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
5017 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
5018 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
5019 * string/Makefile [$(cross-compiling) = no]: Likewise.
5020
ebfd1bbd
JM
5021 * posix/Makefile ($(objpfx)globtest.out): Pass
5022 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
5023 $(rtld-installed-name).
5024 * posix/globtest.sh (elf_objpfx): Remove variable.
5025 (rtld_installed_name): Likewise.
5026 (library_path): Likewise.
5027 (run_program_prefix): New variable. Use for running globtest
5028 binary.
5029
166bca24
JB
50302012-10-23 Jim Blandy <jimb@codesourcery.com>
5031 Joseph Myers <joseph@codesourcery.com>
5032
5033 * Makeconfig (host-built-program-cmd): New variable.
5034 * elf/Makefile (tst-stackguard1-ARGS): Use
5035 $(host-built-program-cmd).
5036 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5037 (tst-spawn-ARGS): Likewise.
5038 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5039
88866099
JM
50402012-10-23 Joseph Myers <joseph@codesourcery.com>
5041 Jim Blandy <jimb@codesourcery.com>
5042
5043 * Makeconfig (run-via-rtld-prefix): New variable.
5044 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5045 (built-program-cmd): Likewise.
5046
b4b4c296
AJ
50472012-10-22 Andreas Jaeger <aj@suse.de>
5048
5049 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5050 __O_RSYNC if it exists, otherwise to O_SYNC.
5051
6fb54a22
JB
50522012-10-22 Jim Blandy <jimb@codesourcery.com>
5053 Joseph Myers <joseph@codesourcery.com>
5054
5055 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5056 /dev/null.
5057 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5058 from /dev/null
5059 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5060 /dev/null.
5061
481b90b9
AJ
50622012-10-22 Andreas Jaeger <aj@suse.de>
5063
2a0e2669
AJ
5064 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5065 Define always.
5066 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5067
76e38f9a
AJ
5068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5069 bits/fcntl-linux.h.
5070
7cd37b43
AJ
5071 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5072 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5073
481b90b9
AJ
5074 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5075 to __O_LARGEFILE.
5076 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5077 to __O_LARGEFILE.
5078
aba75984
JB
50792012-10-21 Jim Blandy <jimb@codesourcery.com>
5080 Joseph Myers <joseph@codesourcery.com>
5081
5082 * config.make.in (NM): New variable.
5083
88d4247f
AJ
50842012-10-21 Andreas Jaeger <aj@suse.de>
5085
5086 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5087 definitions and declarations that are provided by
5088 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5089
f2eed205
L
50902012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5091
5092 [BZ #14683]
5093 * elf/Makefile (tests-static): Add tst-leaks1-static.
5094 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5095 ($(objpfx)tst-leaks1-static): New rule.
5096 ($(objpfx)tst-leaks1-static-mem): Likewise.
5097 (tst-leaks1-static-ENV): New macro.
5098 * elf/dl-open.c (dl_open_worker): Check the main application
5099 only if SHARED is defined.
5100 * elf/tst-leaks1-static.c: New file.
5101
335e6931
AJ
51022012-10-20 Andreas Jaeger <aj@suse.de>
5103
5104 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5105 generic values for Linux.
5106 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5107 and declarations that are provided by <bits/fcntl-linux.h> and
5108 include <bits/fcntl-linux.h>.
5109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5110 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5111
ac5c94d3
RM
51122012-10-20 Roland McGrath <roland@hack.frob.com>
5113
5114 * io/fcntl.h: Move include of <bits/types.h> to the top and
5115 include it unconditionally.
5116
de54b33a
L
51172012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5118
228cfb01
L
5119 * wcsmbs/Makefile (tests-ifunc): New variable.
5120 (tests): Add $(tests-ifunc).
5121 * wcsmbs/test-wcschr-ifunc.c: New file.
5122 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5123 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5124 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5125 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5126 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5127
69f07e5f
L
5128 * string/Makefile (tests-ifunc): New variable.
5129 (tests): Add $(tests-ifunc).
5130 * string/test-memccpy.c (TEST_NAME): New macro.
5131 * string/test-memchr.c (TEST_NAME): Likewise.
5132 * string/test-memcmp.c (TEST_NAME): Likewise.
5133 * string/test-memcpy.c (TEST_NAME): Likewise.
5134 * string/test-memmem.c (TEST_NAME): Likewise.
5135 * string/test-memmove.c (TEST_NAME): Likewise.
5136 * string/test-memset.c (TEST_NAME): Likewise.
5137 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5138 * string/test-stpcpy.c (TEST_NAME): Likewise.
5139 * string/test-stpncpy.c (TEST_NAME): Likewise.
5140 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5141 * string/test-strcasestr.c (TEST_NAME): Likewise.
5142 * string/test-strcat.c (TEST_NAME): Likewise.
5143 * string/test-strchr.c (TEST_NAME): Likewise.
5144 * string/test-strcmp.c(TEST_NAME): Likewise.
5145 * string/test-strcpy.c (TEST_NAME): Likewise.
5146 * string/test-strcspn.c (TEST_NAME): Likewise.
5147 * string/test-strlen.c (TEST_NAME): Likewise.
5148 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5149 * string/test-strncmp.c (TEST_NAME): Likewise.
5150 * string/test-strncpy.c (TEST_NAME): Likewise.
5151 * string/test-strnlen.c (TEST_NAME): Likewise.
5152 * string/test-strpbrk.c (TEST_NAME): Likewise.
5153 * string/test-strrchr.c (TEST_NAME): Likewise.
5154 * string/test-strspn.c (TEST_NAME): Likewise.
5155 * string/test-strstr.c (TEST_NAME): Likewise.
5156 * string/test-bcopy-ifunc.c: New file.
5157 * string/test-bzero-ifunc.c: Likewise.
5158 * string/test-memccpy-ifunc.c: Likewise.
5159 * string/test-memchr-ifunc.c: Likewise.
5160 * string/test-memcmp-ifunc.c: Likewise.
5161 * string/test-memcpy-ifunc.c: Likewise.
5162 * string/test-memmem-ifunc.c: Likewise.
5163 * string/test-memmove-ifunc.c: Likewise.
5164 * string/test-mempcpy-ifunc.c: Likewise.
5165 * string/test-memset-ifunc.c: Likewise.
5166 * string/test-rawmemchr-ifunc.c: Likewise.
5167 * string/test-stpcpy-ifunc.c: Likewise.
5168 * string/test-stpncpy-ifunc.c: Likewise.
5169 * string/test-strcasecmp-ifunc.c: Likewise.
5170 * string/test-strcasestr-ifunc.c: Likewise.
5171 * string/test-strcat-ifunc.c: Likewise.
5172 * string/test-strchr-ifunc.c: Likewise.
5173 * string/test-strchrnul-ifunc.c: Likewise.
5174 * string/test-strcmp-ifunc.c: Likewise.
5175 * string/test-strcpy-ifunc.c: Likewise.
5176 * string/test-strcspn-ifunc.c: Likewise.
5177 * string/test-strlen-ifunc.c: Likewise.
5178 * string/test-strncasecmp-ifunc.c: Likewise.
5179 * string/test-strncat-ifunc.c: Likewise.
5180 * string/test-strncmp-ifunc.c: Likewise.
5181 * string/test-strncpy-ifunc.c: Likewise.
5182 * string/test-strnlen-ifunc.c: Likewise.
5183 * string/test-strpbrk-ifunc.c: Likewise.
5184 * string/test-strrchr-ifunc.c: Likewise.
5185 * string/test-strspn-ifunc.c: Likewise.
5186 * string/test-strstr-ifunc.c: Likewise.
5187
de54b33a
L
5188 * debug/Makefile (tests-ifunc): New variable.
5189 (tests): Add $(tests-ifunc).
5190 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5191 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5192 * debug/test-stpcpy_chk-ifunc.c: New file.
5193 * debug/test-strcpy_chk-ifunc.c: Likewise.
5194
88481c16
SP
51952012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5196
5197 [BZ #13601]
5198 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5199 header is not read in.
5200
135948bd
JM
52012012-10-19 Joseph Myers <joseph@codesourcery.com>
5202
89f1c388
JM
5203 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5204 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5205 directly. Pass built executable to script as
5206 $(built-program-cmd).
5207 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5208 $testprogram without using LD_LIBRARY_PATH and $ldso.
5209
e40a0d21
JM
5210 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5211 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5212 $(rtld-installed-name).
5213 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5214 (rtld_installed_name): Likewise.
5215 (library_path): Likewise.
5216 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5217 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5218 $(run-program-prefix) to tst-tables.sh.
5219 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5220 it to run tst-table-from and tst-table-to.
5221 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5222 Pass it to tst-table.sh.
5223 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5224 $(run-program-prefix) to tst-gettext.sh.
5225 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5226 tst-translit.sh.
5227 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5228 tst-gettext2.sh.
5229 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5230 to run tst-gettext.
5231 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5232 to run tst-gettext2.
5233 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5234 to run tst-translit.
5235 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5236 $(run-program-prefix) to tst-mtrace.sh.
5237 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5238 to run tst-mtrace.
5239 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5240 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5241 $(rtld-installed-name).
5242 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5243 (rtld_installed_name): Likewise.
5244 (run_program_prefix): New variable. Use it to run wordexp-test.
5245
728e272a
JM
5246 * Makeconfig (ARCH): Remove all definitions.
5247 (machine): Likewise.
5248 [ARCH]: Remove conditional code.
5249 [!objdir]: Give error.
5250 [!objdir] (objpfx): Remove.
5251 [!objdir] (common-objpfx): Likewise.
5252 [!objdir] (common-objdir): Likewise.
5253 * configure.in (config_makefile): Remove. Hardcode Makefile in
5254 AC_CONFIG_FILES call.
5255 * configure: Regenerated.
5256
d528cdcf
JM
5257 [BZ #13888]
5258 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5259 or TMPDIR.
5260 (testout): Likewise.
5261
135948bd
JM
5262 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5263 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5264 $(rtld-installed-name).
5265 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5266 (rtld_installed_name): Likwise.
5267 (runit): Remove function.
5268 (run_getconf): New variable, Use it for running getconf binary.
5269
38c78296
L
52702012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5271
5272 [BZ #14716]
5273 * string/test-memmem.c (check_result): New function.
5274 (do_one_test): Use it.
5275 (check1): New function.
5276 (test_main): Use it.
5277
d077f65f
MT
52782012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5279
5280 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5281
ced52c71
JM
52822012-10-18 Joseph Myers <joseph@codesourcery.com>
5283
5284 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5285 (_G_LSEEK64): Likewise.
5286 (_G_MMAP64): Likewise.
5287 (_G_FSTAT64): Likewise.
5288 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5289 (_G_LSEEK64): Likewise.
5290 (_G_MMAP64): Likewise.
5291 (_G_FSTAT64): Likewise.
5292 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5293 unconditional. Call __mmap64 directly.
5294 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5295 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5296 __lseek64 directly.
5297 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5298 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5299 __mmap64 directly.
5300 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5301 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5302 __lseek64 directly.
5303 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5304 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5305 __lseek64 directly.
5306 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5307 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5308 __lseek64 directly.
5309 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5310 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5311 __fxstat64 directly.
5312 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5313 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5314 unconditional.
5315 (freopen64) [!_G_OPEN64]: Remove conditional code.
5316 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5317 unconditional.
5318 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5319 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5320 unconditional.
5321 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5322 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5323 unconditional.
5324 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5325 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5326 unconditional.
5327 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5328 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5329 unconditional.
5330 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5331 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5332 unconditional.
5333 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5334 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5335 unconditional.
5336 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5337
b741de23
SP
53382012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5339
5340 [BZ #12140]
5341 * manual/memory.texi (Malloc Tunable Parameters): Add note
5342 about free list pointers overwriting some perturb bytes.
5343 Wording suggested by Roland McGrath.
5344
f9b9d9c9
JM
53452012-10-17 Joseph Myers <joseph@codesourcery.com>
5346
5347 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5348 (lgamma_test): Likewise.
5349 (tgamma_test): Likewise.
5350
172a631a
FW
53512012-10-16 Florian Weimer <fweimer@redhat.com>
5352
5353 [BZ #14700]
5354 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5355 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5356
e9f37252
MK
53572012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5358
5359 * NEWS: Mention BZ #14716.
5360 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5361 when removing AVAILABLE1_USES_J macro.
5362
d394eb74
L
53632012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5364
5365 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5366 (__bswap_64): __uint64_t for unsigned 64-bit int.
5367
ca38dc17
AS
53682012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5369
5370 * include/string.h (memmem): Declare libc hidden alias.
5371 * string/memmem.c (memmem): Define libc hidden alias.
5372 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5373 __read, __close instead of open, read, close.
5374
9a387d1f
L
53752012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5376
ac49ecaf
L
5377 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5378 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5379 global and hidden.
5380 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5381 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5382 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5383 Likewise.
5384 (__rawmemchr_sse2): Likewise.
5385 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5386 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5387 (__strchr_sse2): Likewise.
5388 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5389 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5390 (__strcasecmp_sse2): Likewise.
5391 (__strncasecmp_sse2): Likewise.
5392 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5393 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5394 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5395 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5396 (__strrchr_sse2): Likewise.
5397 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5398 ifunc-impl-list.c.
5399 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5400 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5401 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5402 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5403 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5404 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5405 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5406 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5407 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5408 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5409 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5410 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5411 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5412 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5413 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5414 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5415 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5416 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5417 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5418 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5419 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5420 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5421 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
5422 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5423 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5424 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5425 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5426 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5427 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5428 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5429
b090e8ea
L
5430 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5431 global and hidden.
5432 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5433 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5434 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5435 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5436 Likewise.
5437 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
5438 Likewise.
5439 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
5440 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
5441 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
5442 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
5443 ifunc-impl-list.c.
5444 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5445 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5446 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5447 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5448 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5449 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5450 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5451 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5452 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5453 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5454 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5455 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5456 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5457 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5458 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5459 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5460 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5461 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5462 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5463 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5464 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5465 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5466 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5467 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5468 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5469 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5470 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5471 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5472 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5473 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5474 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5475 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5476 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5477 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5478 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5479 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5480 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5481 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5482 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5483 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5484 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5485
11dd4af6
L
5486 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5487 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5488 * include/ifunc-impl-list.h: New file.
5489 * misc/ifunc-impl-list.c: Likewise.
5490 * misc/Makefile (routines): Add ifunc-impl-list.
5491 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5492 * string/test-string.h: Include <ifunc-impl-list.h>.
5493 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5494 impl_array): New variables.
5495 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5496 are defined.
5497 (test_init): Call __libc_ifunc_impl_list to initialize
5498 func_list if TEST_IFUNC and TEST_NAME are defined.
5499
9a387d1f
L
5500 * string/Makefile (strop-tests): Add bcopy and bzero.
5501 * string/test-bcopy.c: New file.
5502 * string/test-bzero.c: Likewise.
5503 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5504 defined.
5505 * string/test-memset.c: Support bzero test if TEST_BZERO is
5506 defined.
5507 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5508 __libc_memmove.
5509 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5510 __libc_memset.
5511 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5512 of memset.
5513
472371b9
JM
55142012-10-10 Joseph Myers <joseph@codesourcery.com>
5515
1e4a9536
JM
5516 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5517 * configure: Regenerated.
5518
d173d12e
JM
5519 * Makeconfig (+link-static-before-libc): Don't include
5520 $(link-static-libc).
5521
472371b9
JM
5522 * libio/libio.h (_IO_pos_t): Remove.
5523
89a3ad0b
AO
55242012-10-10 Alexandre Oliva <aoliva@redhat.com>
5525
5526 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5527 McGrath.
5528
e7451425
AO
55292012-10-10 Alexandre Oliva <aoliva@redhat.com>
5530
5531 * crypt/crypt-entry.c: Include fips-private.h.
5532 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5533 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5534 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5535 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5536
4ba74a35
AO
55372012-10-10 Alexandre Oliva <aoliva@redhat.com>
5538
5539 * crypt/crypt-private.h: Include stdbool.h.
5540 (_ufc_setup_salt_r): Return bool.
5541 * crypt/crypt-entry.c: Include errno.h.
5542 (__crypt_r): Return NULL with EINVAL for bad salt.
5543 * crypt/crypt_util.c (bad_for_salt): New.
5544 (_ufc_setup_salt_r): Check that salt is long enough and within
5545 the specified alphabet.
5546 * crypt/badsalttest.c: New file.
5547 * crypt/Makefile (tests): Add it.
5548 ($(objpfx)badsalttest): New.
5549
f96f1242
MK
55502012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5551
5552 * NEWS: Add entry for BZ #14602.
5553
0e8e0c1c
JM
55542012-10-09 Joseph Myers <joseph@codesourcery.com>
5555
5556 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5557 type-generic.
5558 * math/libm-test.inc: Update comment listing what functions and
5559 macros are tested.
5560 (isgreater_test): New function.
5561 (isgreaterequal_test): Likewise.
5562 (isless_test): Likewise.
5563 (islessequal_test): Likewise.
5564 (islessgreater_test): Likewise.
5565 (isunordered_test): Likewise.
5566 (main): Call the new functions.
5567
273edc5e
RM
55682012-10-09 Roland McGrath <roland@hack.frob.com>
5569
b8493de0
RM
5570 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5571 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5572 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5573 * sysdeps/i386/configure: Regenerated.
5574 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5575 * sysdeps/mach/configure: Regenerated.
5576 * sysdeps/mach/hurd/configure: Regenerated.
5577 * sysdeps/powerpc/configure: Regenerated.
5578 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5579 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5580 * sysdeps/s390/s390-32/configure: Regenerated.
5581 * sysdeps/s390/s390-64/configure: Regenerated.
5582 * sysdeps/sh/configure: Regenerated.
5583 * sysdeps/sparc/configure: Regenerated.
5584 * sysdeps/unix/sysv/linux/configure: Regenerated.
5585 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5586 * sysdeps/x86_64/configure: Regenerated.
5587
273edc5e
RM
5588 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5589 defined. Don't check if MAP is NULL.
5590
c8450f70
JM
55912012-10-09 Joseph Myers <joseph@codesourcery.com>
5592
5593 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5594 (_G_stat64): Likewise.
5595 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5596 (_G_stat64): Likewise.
5597 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5598 instead of struct _G_stat64.
5599 * libio/fileops.c (mmap_remap_check): Likewise.
5600 (decide_maybe_mmap): Likewise.
5601 (_IO_new_file_seekoff): Likewise.
5602 (_IO_file_stat): Likewise.
5603 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5604 _G_off64_t.
5605 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5606 instead of struct _G_stat64.
5607 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5608
57e605ba
MK
56092012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5610
5611 [BZ #14602]
5612 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5613 Replace with ...
5614 (CHECK_EOL): New macro.
5615 (two_way_short_needle): Check beginning of haystack for EOL. Use
5616 CHECK_EOL.
5617 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5618 Replace with CHECK_EOL.
5619 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5620 Replace with CHECK_EOL.
5621
ef1bb361
JM
56222012-10-08 Joseph Myers <joseph@codesourcery.com>
5623
5624 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5625 type-generic.
5626 * math/libm-test.inc: Update comment listing what functions and
5627 macros are tested.
5628 (finite_test): New function.
5629 (isinf_test): Likewise.
5630 (isnan_test): Likewise.
5631 (fpclassify_test): Test subnormal input.
5632 (isfinite_test): Likewise.
5633 (isnormal_test): Likewise.
5634 (main): Call the new functions.
5635
55f11534
JN
56362012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5637
5638 [BZ #14660]
5639 * Makerules (%.dynsym): Force C locale when running
5640 $(OBJDUMP) --dynamic-syms.
5641
1ab29350
AS
56422012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5643
5644 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5645 <stdint.h>.
5646
f1ecb7ef
DM
56472012-10-06 David S. Miller <davem@davemloft.net>
5648
5649 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5650 upper 32-bits of the length value in %o2 since we use branch-on-register
5651 tests which consider the entire 64-bit register.
5652
5d41d91a
L
56532012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5654
5655 * string/test-strstr.c (check2): Add a test for page boundary.
5656
3baddb72
DM
56572012-10-05 David S. Miller <davem@davemloft.net>
5658
5659 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5660 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5661 file.
5662 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5663 sysdep_routines.
5664 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5665 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5666 and bzero when HWCAP_SPARC_CRYPTO is present.
5667
9cee5585
L
56682012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5669
d7e0dab9
L
5670 [BZ #14602]
5671 * string/test-strstr.c (check2): New function.
5672 (test_main): Call check2.
5673
03759f47
L
5674 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5675 and bug-strchr1.
5676 * string/bug-strcasestr1.c (do_test): Moved to ...
5677 * string/test-strcasestr.c (check1): Here. New function.
5678 (do_one_test): Break out result checking code into ...
5679 (check_result): This. New function.
5680 (do_one_test): Call check_result.
5681 (test_main): Call check1.
5682 * string/bug-strchr1.c (do_test): Moved to ...
5683 * string/test-strchr.c (check1): Here. New function.
5684 (do_one_test): Break out result checking code into ...
5685 (check_result): This. New function.
5686 (do_one_test): Call check_result.
5687 (test_main): Call check1.
5688 * string/bug-strstr1.c (main): Moved to ...
046f153e 5689 * string/test-strstr.c (check1): Here. New function.
03759f47
L
5690 (do_one_test): Break out result checking code into ...
5691 (check_result): This. New function.
5692 (do_one_test): Call check_result.
5693 (test_main): Call check1.
5694 * string/bug-strcasestr1.c: Removed.
5695 * string/bug-strchr1.c: Likewise.
5696 * string/bug-strstr1.c: Likewise.
5697
53cea63e
L
5698 * elf/Makefile (dl-routines): Add hwcaps.
5699 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5700 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5701 (_dl_important_hwcaps): Moved to ...
5702 * elf/dl-hwcaps.c: Here. New file.
5703 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5704
9cee5585 5705 [BZ #14557]
bb859b06
L
5706 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5707 if IS_IN_rtld isn't defined.
5708
9cee5585
L
5709 * elf/dl-support.c (_dl_sysinfo_map): New.
5710 Include "get-dynamic-info.h" and "setup-vdso.h".
5711 (_dl_non_dynamic_init): Call setup_vdso.
5712 * elf/dynamic-link.h: Don't include <assert.h>.
5713 (elf_get_dynamic_info): Moved to ...
5714 * elf/get-dynamic-info.h: Here. New file.
5715 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5716 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5717 * elf/setup-vdso.h: Here. New file.
5718 * elf/rtld.c: Include "setup-vdso.h".
5719 (dl_main): Call setup_vdso.
5720
23c31b76
JM
57212012-10-05 Joseph Myers <joseph@codesourcery.com>
5722
28234b07
JM
5723 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5724 creal in comment listing functions tested. List finite, isinf,
5725 isnan, isless, islessequal, isgreater, isgreaterequal,
5726 islessgreater, isunordered, lgamma_r and pow10 as functions and
5727 macros not tested. Mention which functions not tested are aliases
5728 for other functions. Fix typo. Note that signs of NaNs are not
5729 tested.
5730
23c31b76
JM
5731 * scripts/config.guess: Update from config.git.
5732 * scripts/config.sub: Likewise.
5733
9043e228
RM
57342012-10-04 Roland McGrath <roland@hack.frob.com>
5735
5736 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5737 * misc/madvise.c (madvise): Renamed to __madvise.
5738 Make madvise a weak alias.
5739 * include/sys/mman.h: Declare __madvise.
5740 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5741 * sysdeps/unix/syscalls.list
5742 (madvise): Make __madvise the strong name, and madvise a weak alias.
5743 * sysdeps/unix/sysv/linux/syscalls.list
5744 (madvise, mmap): Remove redundant entries.
5745 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5746 * malloc/malloc.c (mtrim): Likewise.
5747 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5748
f57f8055
RM
57492012-10-03 Roland McGrath <roland@hack.frob.com>
5750
5751 * sysdeps/mach/hurd/dl-cache.c: File removed.
5752 * config.h.in (USE_LDCONFIG): New #undef.
5753 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5754 * configure: Regenerated.
5755 * elf/Makefile (dl-routines): Add dl-cache only under
5756 [$(use-ldconfig) = yes].
5757 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5758 cache on [USE_LDCONFIG].
5759 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5760 [USE_LDCONFIG].
5761 * elf/rtld.c (dl_main): Likewise.
5762
5bb0c10a
PT
57632012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5764
5765 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5766 _SC_LEVEL4_CACHE_LINESIZE.
5767
010188c6
RM
57682012-10-03 Roland McGrath <roland@hack.frob.com>
5769
5770 * sysdeps/unix/bsd/confstr.h: File removed.
5771
b6c5ec07
AO
57722012-10-02 Alexandre Oliva <aoliva@redhat.com>
5773
5774 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5775 sys/sdt-config.h.
5776
408223d4
RM
57772012-10-02 Roland McGrath <roland@hack.frob.com>
5778
5779 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5780 Make 'mapoff' field ElfW(Off) rather than off_t.
5781
bb9510dc
DL
57822012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5783
fc997c6e
DL
5784 * nscd/Makefile: Remove nscd-cflags and all its users.
5785 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5786 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5787
bb9510dc
DL
5788 [BZ #10631]
5789 * malloc.c (malloc_printerr): Clarify error message.
5790
05699367
L
57912012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5792
5793 [BZ #14648]
5794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5795 Set bit_FMA_Usable if FMA is supported.
5796 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5797 macro.
5798 (bit_FMA4_Usable): Updated.
5799 (index_FMA_Usable): New macro.
5800 (CPUID_FMA): Likewise
5801 (HAS_FMA): Defined with bit_FMA_Usable.
5802
51367701
RM
58032012-10-01 Roland McGrath <roland@hack.frob.com>
5804
5805 * bits/types.h (__swblk_t): Type removed.
5806 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5807 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5808 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5809 (__SWBLK_T_TYPE): Likewise.
5810 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5811 (__SWBLK_T_TYPE): Likewise.
5812 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5813 (__SWBLK_T_TYPE): Likewise.
5814 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5815 (__SWBLK_T_TYPE): Likewise.
5816
4d57bf63 58172012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 5818 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
5819
5820 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5821 (xdr_mapname): Use YPMAXMAP as maxsize.
5822 (xdr_peername): Use YPMAXPEER as maxsize.
5823 (xdr_keydat): Use YPAXRECORD as maxsize.
5824 (xdr_valdat): Use YPMAXRECORD as maxsize.
5825
93c65d43
RM
58262012-10-01 Roland McGrath <roland@hack.frob.com>
5827
497a03d6
RM
5828 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5829
93c65d43
RM
5830 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5831 * csu/init-first.c: ... here.
5832 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5833 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5834 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5835 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5836 * sysdeps/i386/init-first.c: File removed.
5837 * sysdeps/sh/init-first.c: File removed.
5838
bec749fd
JM
58392012-10-01 Joseph Myers <joseph@codesourcery.com>
5840
5841 [BZ #14645]
5842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5843 if x * y might underflow to zero and z is zero.
5844 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5845 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5846 * math/libm-test.inc (min_subnorm_value): New variable.
5847 (fma_test): Add more tests.
5848 (fma_test_towardzero): Likewise.
5849 (fma_test_downward): Likewise
5850 (fma_test_upward): Likewise.
5851 (initialize): Set min_subnorm_value.
5852
8ec5b013
JM
58532012-09-29 Joseph Myers <joseph@codesourcery.com>
5854
5855 [BZ #14638]
5856 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5857 0 + 0.
5858 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5859 mode for addition resulting in exact zero.
5860 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5861 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5862 exact 0 + 0.
5863 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5864 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5865 * math/libm-test.inc (fma_test): Add more tests.
5866 (fma_test_towardzero): New function.
5867 (fma_test_downward): Likewise.
5868 (fma_test_upward): Likewise.
5869 (main): Call the new functions.
5870
b1fa802e
DM
58712012-09-28 David S. Miller <davem@davemloft.net>
5872
5873 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5874
d3b9fd9e
RM
58752012-09-28 Roland McGrath <roland@hack.frob.com>
5876
ea4d37b3
RM
5877 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5878 instead of SIGALRM.
5879
ac51c949
RM
5880 * sysdeps/gnu/_G_config.h: Moved to ...
5881 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5882 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5883 * sysdeps/generic/_G_config.h: ... here.
5884
28c195f7
RM
5885 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5886
848917f9
RM
5887 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5888
6bacf05b
RM
5889 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5890 Conditionalize target on [libnss_test1.so-version].
5891
91363dbb
RM
5892 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5893
cc87f7d8
RM
5894 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5895 (elfobjdir): Move out of conditionals.
5896
b1c608fe
RM
5897 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5898 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5899 (__nss_lookup_function): Conditionalize label remove_from_tree on
5900 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 5901
1d9a6d96
DM
59022012-09-28 David S. Miller <davem@davemloft.net>
5903
5904 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5905 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5906 file.
5907 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5908 sysdep_routines.
5909 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5910 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5911 when HWCAP_SPARC_CRYPTO is present.
5912
72581615
PT
59132012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5914
5915 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5916
715a900c
JL
59172012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5918
5919 [BZ #6530]
5920 * stdio-common/vfprintf.c (process_string_arg): Revert
5921 2000-07-22 change.
5922
59232011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5924
5925 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5926 for testcase.
5927 * stdio-common/tst-sprintf.c: Include <locale.h>
5928 (main): Test sprintf's handling of incomplete multibyte
5929 characters.
5930
9bac1d86
L
59312012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5932
5933 * elf/dl-runtime.c (VERSYMIDX): Removed.
5934 * elf/dl-version.c (VERSYMIDX): Likewise.
5935 * elf/do-rel.h (VERSYMIDX): Likewise.
5936 (VALIDX): Likewise.
5937 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5938 * elf/rtld.c (VALIDX): Likewise.
5939 (ADDRIDX): Likewise.
9bac1d86
L
5940 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5941 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5942 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
5943 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5944 (VALIDX): Likewise.
5945 (ADDRIDX): Likewise.
9bac1d86 5946
b31606c0
PT
59472012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5948
5949 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5950
11541177
JL
59512012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5952
5953 [BZ #11438]
5954 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5955 to global scope.
5956 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5957 addresses are in the same scope as 192.0.2/24.
5958 * posix/gai.conf: Document new scope table defaults.
5959
adb26fae
SP
59602012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5961
5962 [BZ #5298]
5963 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5964 for ftell. Compute offsets from write pointers instead.
5965 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5966
4573c6b0
SP
59672012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5968
5969 [BZ #14543]
5970 * libio/Makefile (tests): New test case tst-fseek.
5971 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5972 combination works in wide mode.
5973 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5974 state when the external buffer state changes.
5975
aa9bbfe6
DM
59762012-09-27 David S. Miller <davem@davemloft.net>
5977
5978 [BZ #14376]
5979 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5980 pass reloc->r_addend in as the 'high' argument to
5981 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5982
784421e7
DM
5983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5984
c39bc8b8
PT
59852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5986
5987 * rt/tst-aio2.c: Include <pthread.h>.
5988 * rt/tst-aio3.c: Likewise.
5989
1ccc2399
SE
59902012-09-27 Steve Ellcey <sellcey@mips.com>
5991
5992 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5993
31ed4153
L
59942012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5995
25f5f885
L
5996 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5997 contents on [SHARED].
31ed4153 5998
b7bfe116
MP
59992012-09-26 Marek Polacek <polacek@redhat.com>
6000
6001 [BZ #14530]
6002 [BZ #13741]
6003 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
6004 for C++ and GCC <4.3 as well as for non GCC compilers.
6005
43c4edba
MT
60062012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6007
6008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6009
6a1bf82f
RM
60102012-09-25 Roland McGrath <roland@hack.frob.com>
6011
6012 * Makefile.in (all, install): Declare with .PHONY.
6013 Reported by Michael Hope <michael.hope@linaro.org>.
6014
8ad11b9a
TMQMF
60152012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6016
6017 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
6018 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
6019 system header.
6020 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
6021 Likewise.
6022 (sydep_routines): Add the new and the internal functions.
6023 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
6024 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
6025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
6026 (GLIBC_2.17): Add the new function.
6027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6028 (GLIBC_2.17): Likewise.
6029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6030 (GLIBC_2.17): Likewise.
6031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
6032 (GLIBC_2.17): Likewise.
6033 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
6034
7e2fca8d
AM
60352012-09-25 Alan Modra <amodra@gmail.com>
6036
6037 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6038 Add release barrier before setting once_control to say
6039 initialisation is done. Add hints on lwarx. Use macro in
6040 place of isync.
6041 (clear_once_control): Add release barrier.
6042
b87c4b24
JM
60432012-09-25 Joseph Myers <joseph@codesourcery.com>
6044
d032e0d2
JM
6045 [BZ #13629]
6046 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6047 specially.
6048 * math/s_clog10.c (__clog10): Likewise.
6049 * math/s_clog10f.c (__clog10f): Likewise.
6050 * math/s_clog10l.c (__clog10l): Likewise.
6051 * math/s_clogf.c (__clogf): Likewise.
6052 * math/s_clogl.c (__clogl): Likewise.
6053 * math/Makefile (libm-calls): Add x2y2m1.
6054 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6055 (__x2y2m1): Likewise.
6056 (__x2y2m1l): Likewise.
6057 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6058 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6059 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6060 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6061 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6062 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6063 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6064 * sysdeps/i386/fpu/libm-test-ulps: Update.
6065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6066
b87c4b24
JM
6067 [BZ #14621]
6068 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6069 int as type of variable DEPTH.
6070 (glob): Use size_t instead of int as type of variables NEWCOUNT
6071 and OLD_PATHC.
6072
6d3bf199
LD
60732012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6074
22bf5c17
LD
6075 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6076 Add s_sincosf-sse2.
6077 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6078 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6079 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6080 macros for using routine as __sincosf_ia32.
6081 Use macro for function declaration and weak_alias.
6082 * sysdeps/i386/fpu/libm-test-ulps: Update.
6083
6084 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6086
6087 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
6088 subnormal argument.
6089 * math/s_cexpf.c (__cexpf): Likewise.
6090 * math/s_csinf.c (__csinf): Likewise.
6091 * math/s_csinhf.c (__csinhf): Likewise.
6092 * math/s_ctanf.c (__ctanf): Likewise.
6093 * math/s_ctanhf.c (__ctanhf): Likewise.
6094 * math/s_ccosh.c (__ccoshf): Likewise.
6095 * math/s_cexp.c (__cexpl): Likewise.
6096 * math/s_csin.c (__csin): Likewise.
6097 * math/s_csinh.c (__csinh): Likewise.
6098 * math/s_ctan.c (__ctan): Likewise.
6099 * math/s_ctanh.c (ctanh): Likewise.
6100 * math/s_ccoshl.c (__ccoshl): Likewise.
6101 * math/s_cexpl.c (__cexpl): Likewise.
6102 * math/s_csinl.c (__csinl): Likewise.
6103 * math/s_csinhl.c (__csinhl): Likewise.
6104 * math/s_ctanl.c (__ctanl): Likewise.
6105 * math/s_ctanhl.c (__ctanhl): Likewise.
6106
203e5603
JM
61072012-09-25 Joseph Myers <joseph@codesourcery.com>
6108
6109 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6110 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6111 (_IO_off_t): Define to __off_t, not _G_off_t.
6112 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6113 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6114 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6115 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6116 type of __dummy and __dummy2 fields.
6117 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6118 (_G_ssize_t): Likewise.
6119 (_G_off_t): Likewise.
6120 (_G_pid_t): Likewise.
6121 (_G_uid_t): Likewise.
6122 (_G_wchar_t): Likewise.
6123 (_G_wint_t): Likewise.
6124 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6125 (_G_ssize_t): Likewise.
6126 (_G_off_t): Likewise.
6127 (_G_pid_t): Likewise.
6128 (_G_uid_t): Likewise.
6129 (_G_wchar_t): Likewise.
6130 (_G_wint_t): Likewise.
6131 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6132 (_G_ssize_t): Likewise.
6133 (_G_off_t): Likewise.
6134 (_G_pid_t): Likewise.
6135 (_G_uid_t): Likewise.
6136 (_G_wchar_t): Likewise.
6137 (_G_wint_t): Likewise.
6138
9fab36eb
SP
61392012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6140
6141 * malloc/arena.c: Include malloc-sysdep.h.
6142 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6143 is sufficient to shrink the heap or an unmap is needed.
6144 * sysdeps/generic/malloc-sysdep.h: New file. Define
6145 new function check_may_shrink_heap.
6146 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6147 new function check_may_shrink_heap.
6148
2b4f00d1
SP
61492012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6150
6151 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6152 comments.
6153
9a9028b1
DL
61542012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6155
57c69bef
DL
6156 * catgets/test-gencat.sh: Add "set -e".
6157 * elf/tst-pathopt.sh: Likewise.
6158 * grp/tst_fgetgrent.sh: Likewise.
6159 * iconvdata/run-iconv-test.sh: Likewise.
6160 * intl/tst-gettext.sh: Likewise.
6161 * intl/tst-gettext2.sh: Likewise.
6162 * intl/tst-gettext4.sh: Likewise.
6163 * intl/tst-gettext6.sh: Likewise.
6164 * intl/tst-translit.sh: Likewise.
6165 * io/ftwtest-sh: Likewise.
6166 * libio/test-freopen.sh: Likewise.
6167 * malloc/tst-mtrace.sh: Likewise.
6168 * posix/globtest.sh: Likewise.
6169 * posix/tst-getconf.sh: Likewise.
6170 * posix/wordexp-tst.sh: Likewise.
6171 * stdio-common/tst-printf.sh: Likewise.
6172 * stdio-common/tst-unbputc.sh: Likewise.
6173 * stdlib/tst-fmtmsg.sh: Likewise.
6174 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6175 * catgets/Makefile: Do not specify -e option when running
6176 testsuite shell scripts.
6177 * elf/Makefile: Likewise.
6178 * grp/Makefile: Likewise.
6179 * iconvdata/Makefile: Likewise.
6180 * intl/Makefile: Likewise.
6181 * io/Makefile: Likewise.
6182 * libio/Makefile: Likewise.
6183 * malloc/Makefile: Likewise.
6184 * posix/Makefile: Likewise.
6185 * stdio-common/Makefile: Likewise.
6186 * stdlib/Makefile: Likewise.
6187 * sysdeps/x86_64/Makefile: Likewise.
6188
9a9028b1
DL
6189 * io/ftwtest-sh: Add copyright header.
6190 * posix/globtest.sh: Likewise.
6191 * posix/tst-getconf.sh: Likewise.
6192 * posix/wordexp-tst.sh: Likewise.
6193 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6194
ced6f16e
L
61952012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6196
94b32c39
L
6197 [BZ #13679]
6198 * Makeconfig (+link): Defined as $(+link-static) if
6199 $(build-shared) isn't yes.
6200 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6201 isn't yes.
6202 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6203
189e935b
L
6204 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6205
ced6f16e
L
6206 [BZ #14562]
6207 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6208 new chunk size with MALLOC_ALIGN_MASK.
6209
a9f8e53a
JM
62102012-09-24 Joseph Myers <joseph@codesourcery.com>
6211
6212 [BZ #5044]
6213 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6214 <rounding-mode.h>.
6215 (__printf_fphex): Determine rounding using get_rounding_mode and
6216 round_away.
6217 * stdio-common/tst-printf-round.c (struct hex_test): New
6218 structure.
6219 (hex_tests): New variable.
6220 (test_hex_in_one_mode): New function.
6221 (do_test): Also run tests for hex float output.
6222
43153109
JM
62232012-09-21 Joseph Myers <joseph@codesourcery.com>
6224
6225 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6226 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6227 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6228 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6229 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6230 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6231 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6232 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6233
8a26625d
JM
62342012-09-20 Joseph Myers <joseph@codesourcery.com>
6235
6236 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6237 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6238 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6239 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6240
f3fd569c
DL
62412012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6242
6243 [BZ #14579]
6244 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6245 mode only.
6246 * elf/tst-rtld-load-self.sh: New test.
6247 * elf/Makefile: Run it.
6248
63bbedd4
JM
62492012-09-18 Joseph Myers <joseph@codesourcery.com>
6250
6251 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6252 (tst-writev-ENV): Remove.
6253 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6254
626f8b6a
CM
62552012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6256
6257 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6258
b7aaa4d6
JM
62592012-09-17 Joseph Myers <joseph@codesourcery.com>
6260
6261 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6262 unconditional.
6263 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6264 Likewise.
6265 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6266 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6267 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6268 Likewise.
6269
65513990
L
62702012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6271
6272 [BZ #14587]
6273 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6274 * config.make.in (have-cpp-asm-debuginfo): Removed.
6275 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6276 * configure: Regenerated.
6277
784761be
JM
62782012-09-14 Joseph Myers <joseph@codesourcery.com>
6279
6280 [BZ #5044]
6281 * stdio-common/printf_fp.c: Include <stdbool.h> and
6282 <rounding-mode.h>.
6283 (___printf_fp): Determine rounding using get_rounding_mode and
6284 round_away.
6285 * stdio-common/tst-printf-round.c: New file.
6286 * stdio-common/Makefile (tests): Add tst-printf-round.
6287 (link-libm): New variable.
6288 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6289
9503345f
L
62902012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6291
6292 [BZ #14576]
6293 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6294 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6295 Likewise.
6296 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6297 Likewise.
6298
ad35fc00
JM
62992012-09-13 Joseph Myers <joseph@codesourcery.com>
6300
6301 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6302 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6303 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6304 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6305
6c9b0f68
JM
63062012-09-12 Joseph Myers <joseph@codesourcery.com>
6307
6308 [BZ #14518]
6309 * include/rounding-mode.h: New file.
6310 * sysdeps/generic/get-rounding-mode.h: Likewise.
6311 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6312 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6313 (MAX_VALUE): New macro.
6314 (MIN_VALUE): Likewise.
6315 (overflow_value): New function.
6316 (underflow_value): Likewise.
6317 (round_and_return): Use overflow_value and underflow_value to
6318 determine return values in overflow and underflow cases. Use
6319 round_away to determine rounding depending on rounding mode.
6320 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6321 determine return values in overflow and underflow cases.
6322 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6323 (struct test_results): New structure.
6324 (struct test): Use struct test_results to store expected results
6325 for all rounding modes.
6326 (TEST): Include expected results for all rounding modes.
6327 (test_in_one_mode): New function.
6328 (do_test): Use test_in_one_mode to compute and check results.
6329 Check results for all rounding modes.
6330 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6331 $(link-libm).
6332
19fcedd5
AM
63332012-12-09 Allan McRae <allan@archlinux.org>
6334
1e9d84cd 6335 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 6336
8bbfd2f1
JM
63372012-09-11 Joseph Myers <joseph@codesourcery.com>
6338
6339 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6340 (_G_int32_t): Likewise.
6341 (_G_uint16_t): Likewise.
6342 (_G_uint32_t): Likewise.
6343 (_G_HAVE_BOOL): Likewise.
6344 (_G_HAVE_ATEXIT): Likewise.
6345 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6346 (_G_HAVE_IO_FILE_OPEN): Likewise.
6347 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6348 (_G_int32_t): Likewise.
6349 (_G_uint16_t): Likewise.
6350 (_G_uint32_t): Likewise.
6351 (_G_HAVE_BOOL): Likewise.
6352 (_G_HAVE_ATEXIT): Likewise.
6353 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6354 (_G_HAVE_IO_FILE_OPEN): Likewise.
6355 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6356 (_G_int32_t): Likewise.
6357 (_G_uint16_t): Likewise.
6358 (_G_uint32_t): Likewise.
6359 (_G_HAVE_BOOL): Likewise.
6360 (_G_HAVE_ATEXIT): Likewise.
6361 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6362 (_G_HAVE_IO_FILE_OPEN): Likewise.
6363
b1dc5912
L
63642012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6365
6366 * csu/libc-tls.c: Update copyright years.
6367
0e886ef9
JM
63682012-09-10 Joseph Myers <joseph@codesourcery.com>
6369
28361c5e
JM
6370 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6371 [!_G_USING_THUNKS]: Remove conditional code.
6372 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6373 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6374
0e886ef9
JM
6375 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6376 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6377 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6378 (_G_VTABLE_LABEL_PREFIX): Likewise.
6379 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6380 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6381 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6382 (_G_VTABLE_LABEL_PREFIX): Likewise.
6383 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6384 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6385 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6386 (_G_VTABLE_LABEL_PREFIX): Likewise.
6387 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6388
bcba7aa2
L
63892012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6390
6391 * libio/Makefile: Include ../Makeconfig before tests.
6392 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6393 only if $(build-shared) is yes.
6394
06585ee8
L
6395 * iconv/gconv_db.c: Update copyright years.
6396
80ccd52c
LD
63972012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6398
6399 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6400 unwind info if defined PIC. Fix special cases description.
6401 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6402
6403 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6404 DP_HI_MASK entry.
6405 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6406
691bc9c1
L
64072012-09-07 H.J. Lu <hongjiu.lu@intel.com>
6408
3d9b46b3
L
6409 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6410
de2139a9
L
6411 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6412 is NULL.
6413
5ca78dd0
L
6414 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6415 (LDLIBS-tst-chk4): This.
6416 (LDFLAGS-tst-chk5): Renamed to ...
6417 (LDLIBS-tst-chk5): This.
6418 (LDFLAGS-tst-chk6): Renamed to ...
6419 (LDLIBS-tst-chk6): This.
6420 (LDFLAGS-tst-lfschk4): Renamed to ...
6421 (LDLIBS-tst-lfschk4): This.
6422 (LDFLAGS-tst-lfschk5): Renamed to ...
6423 (LDLIBS-tst-lfschk5): This.
6424 (LDFLAGS-tst-lfschk6): Renamed to ...
6425 (LDLIBS-tst-lfschk6): This.
6426
691bc9c1
L
6427 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6428 on $(common-objpfx)soversions.mk.
6429
65cafb1c
JM
64302012-09-07 Joseph Myers <joseph@codesourcery.com>
6431
6432 [BZ #10014]
6433 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6434 example host name.
6435
c78ab094
SP
64362012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6437
6438 * malloc/arena.c (arena_get_retry): New function that gets
6439 another arena for the caller to try its request on.
6440 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
6441 current arena cannot fulfill the request.
6442 (__libc_memalign): Likewise.
6443 (__libc_memalign): Likewise.
6444 (__libc_pvalloc): Likewise.
6445 (__libc_calloc): Likewise.
6446
01f49f59
JT
64472012-09-05 John Tobey <john.tobey@gmail.com>
6448
6449 [BZ #13542]
6450 * manual/arith.texi (Operations on Complex): Fix description
6451 of carg branch cut.
6452
4c23fed5
JM
64532012-09-06 Joseph Myers <joseph@codesourcery.com>
6454
1d3c8572
JM
6455 [BZ #10014]
6456 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6457 host name.
6458
4c23fed5
JM
6459 [BZ #10038]
6460 * manual/memory.texi (Memory): Make order of menu items match
6461 order of sections.
6462
04570aaa
L
64632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6464
6465 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6466 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6467 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6468
b80af2f4
L
64692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6470
6471 * csu/libc-tls.c (static_dtv): Renamed to ...
6472 (_dl_static_dtv): This. Make it global.
6473 (_dl_initial_dtv): Removed.
6474 (__libc_setup_tls): Updated.
6475 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6476 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6477 DL_INITIAL_DTV.
6478
2abe9f15
PM
64792012-09-06 Petr Machata <pmachata@redhat.com>
6480
6481 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6482 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6483 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6484 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6485
0948c3af
L
64862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6487
6488 [BZ #14545]
6489 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6490 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6491 freeing dtv[-1].
6492
a5055ad1
L
64932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6494
6495 [BZ #14544]
6496 * Makeconfig (link-static-before-libc): Replace $(+prector)
6497 with $(+prectorT).
6498 (link-static-after-libc): Replace $(+postctor) with
6499 $(+postctorT).
6500 (link-bounded): Replace $(+prector)/$(+postctor) with
6501 $(+prectorT)/$(+postctorT).
6502 (+prectorT): New macro.
6503 (+postctorT): Likewise.
6504
ed8c2ecd
JM
65052012-09-06 Joseph Myers <joseph@codesourcery.com>
6506
6507 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6508 (round_str): Handle values above the maximum for IBM long double
6509 as inexact.
6510 * stdlib/tst-strtod-round.c (tests): Regenerated.
6511
14c996c8
AK
65122012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6513
6514 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6515 assembler flag.
6516 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6517 zarch_nohighgprs around the zarch optimized routines.
6518 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6519 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6520 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6521 for zarch.
6522
430d6ce6
DM
65232012-09-05 David S. Miller <davem@davemloft.net>
6524
6525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6526
ff04dda4
DM
6527 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6528 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6529 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6530 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6531 entries.
6532
24d4e01b
AO
65332012-09-05 Alexandre Oliva <aoliva@redhat.com>
6534
6535 * malloc/arena.c: Fold copyright years.
6536 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6537
61d58174
AO
65382012-09-05 Alexandre Oliva <aoliva@redhat.com>
6539
6540 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6541
20196a5e
AO
65422012-09-05 Alexandre Oliva <aoliva@redhat.com>
6543
6544 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6545
5c447383
AO
65462012-09-05 Alexandre Oliva <aoliva@redhat.com>
6547
6548 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6549 change internal state upon failure.
6550
fad64255
AO
65512012-09-05 Alexandre Oliva <aoliva@redhat.com>
6552
6553 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6554 * malloc/memusage.c (mmap): Likewise.
6555 (mmap64, mremap): Likewise. Adjust name in comment.
6556
1ffb8c90
SP
65572012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6558
6559 * libio/fileops.c: Fix typos in comments.
6560 * libio/oldfileops.c: Likewise.
6561 * libio/wfileops.c: Likewise.
6562
6ef9cc37
SP
65632012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6564
6565 [BZ #1349]
6566 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6567 (tst-malloc-usable-ENV): Set environment for test case.
6568 * malloc/hooks.c (malloc_check_get_size): New function to get
6569 requested size.
6570 * malloc/malloc.c (musable): Use malloc_check_get_size.
6571 * malloc/tst-malloc-usable.c: New test case.
6572
4d038ae3
AS
65732012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6574
6575 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6576
c4e85184
AM
65772012-09-05 Allan McRae <allan@archlinux.org>
6578
b9dafc56 6579 [BZ #13966]
c4e85184
AM
6580 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6581 determine header location.
6582 * configure: Regenerated.
6583
e1343020
AS
65842012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6585
6586 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6587 float format.
6588 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
6589 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6590 format.
e1343020
AS
6591 (test): Regenerate.
6592
0a9f1987
DM
65932012-09-04 David S. Miller <davem@davemloft.net>
6594
6595 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6596 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6597 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6598
29237804
FW
65992012-09-04 Florian Weimer <fweimer@redhat.com>
6600
6601 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6602 failures.
6603
edb3cb88
FW
6604 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6605
60160d83
JM
66062012-09-04 Joseph Myers <joseph@codesourcery.com>
6607
6608 [BZ #9914]
6609 * libio/iogetdelim.c: Include <limits.h>.
6610 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6611 + len + 1 would overflow.
6612
bcd6c8dc
AJ
66132012-09-03 Andreas Jaeger <aj@suse.de>
6614
6615 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6616 * sysdeps/i386/fpu/libm-test-ulps: Update.
6617
4ffffbd2
LD
66182012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6619
6620 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6621 Add s_sinf-sse2, s_conf-sse2.
6622
6623 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6624 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6625 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6626 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6627
6628 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6629 for using routine as __sinf_ia32.
6630 Use macro for function declaration and weak_alias.
6631 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6632 for using routine as __cosf_ia32.
6633 Use macro for function declaration and weak_alias.
6634
6635 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6636 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6637
6638 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6639 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6640 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6641
6642 * math/libm-test.inc (cos_test): Add more test cases.
6643 (sin_test): Likewise.
6644 (sincos_test): Likewise.
6645
511fa286
AK
66462012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6647
6648 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6649 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6650 hidden.
6651 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6652
5f30cfec
L
66532012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6654
6655 [BZ #14538]
6656 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6657 first element of the GOT.
6658 (elf_machine_load_address): Return the difference between
6659 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6660
0786794f
AM
66612012-09-01 Allan McRae <allan@archlinux.org>
6662
5f30cfec
L
6663 [BZ #13412]
6664 * configure.in (AWK): Require gawk version 3.0 or later.
6665 * configure: Regenerated.
0786794f 6666
26889eac
JM
66672012-09-01 Joseph Myers <joseph@codesourcery.com>
6668
6669 * sysdeps/unix/sysv/linux/kernel-features.h
6670 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6671 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6672 [__NR_clock_getres]: Make code unconditional.
6673 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6674 (clock_getcpuclockid): Remove code left unreachable by removal of
6675 conditionals.
6676 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6677 code unconditional.
6678 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6679 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6680 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6681 Make code unconditional.
6682 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6683 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6684 * sysdeps/unix/sysv/linux/clock_settime.c
6685 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6686 conditional code.
6687 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6688 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6689
d22e28b0
L
66902012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6691
6692 [BZ #14476]
6693 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6694 scripts/test-installation.pl.
6695
6696 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6697 and $ld_so_version if it is set.
6698
050af9c4
SP
66992012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6700
6701 [BZ #14516]
6702 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6703 failure if reading from procfs failed.
6704 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6705
ad845c0b
JM
67062012-08-27 Joseph Myers <joseph@codesourcery.com>
6707
6708 * sysdeps/unix/sysv/linux/kernel-features.h
6709 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6710 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6711 Remove conditional code.
6712 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6713 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6714 Remove conditional code.
6715 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6716 * sysdeps/unix/sysv/linux/i386/fxstat.c
6717 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6718 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6719 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6720 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6721 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6722 * sysdeps/unix/sysv/linux/i386/lxstat.c
6723 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6724 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6725 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6726 Remove conditional code.
6727 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6728 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6729 Remove conditional code.
6730 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6731 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6732 <kernel-features.h>.
6733 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6734 Remove.
6735 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6736 Remove conditional code.
6737 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6738 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6739 Remove conditional.
6740
5dbf56af
MF
67412012-08-27 Mike Frysinger <vapier@gentoo.org>
6742
6743 [BZ #5400]
6744 * NEWS: Add fixed bug number.
6745
d6e70f43
JM
67462012-08-27 Joseph Myers <joseph@codesourcery.com>
6747
7efb4737
JM
6748 [BZ #14519]
6749 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6750 underflowing exponent in case of negative sign.
6751 * stdlib/tst-strtod-round-data: Add more tests.
6752 * stdlib/tst-strtod-round.c (tests): Regenerated.
6753
af92131a
JM
6754 [BZ #3479]
6755 * stdlib/strtod_l.c (NDIG): Remove.
6756 (HEXNDIG): Likewise.
6757 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6758 smallest representable value.
6759 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6760 lie within an exact representation of 1/2 ulp of the result.
6761 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6762 unconditionally.
6763 (TENS_P9_IDX): Define unconditionally.
6764 (TENS_P9_SIZE): Likewise.
6765 (TENS_P10_IDX): Likewise.
6766 (TENS_P10_SIZE): Likewise.
6767 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6768 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6769 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6770 entries for 10^2^13 and 10^2^14.
6771 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6772 (TENS_P13_IDX): Define.
6773 (TENS_P13_SIZE): Likewise.
6774 (TENS_P14_IDX): Likewise.
6775 (TENS_P14_SIZE): Likewise.
6776 (_fpioconst_pow10): Change array size to
6777 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6778 unconditional.
6779 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6780 1024]: Add entries for 10^2^13 and 10^2^14.
6781 [LAST_POW10 > _LAST_POW10]: Remove #error.
6782 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6783 (_fpioconst_pow10): Change array size to
6784 FPIOCONST_POW10_ARRAY_SIZE.
6785 * stdlib/gen-fpioconst.c: New file.
6786 * stdlib/gen-tst-strtod-round.c: Likewise.
6787 * stdlib/tst-strtod-round-data: Likewise.
6788 * stdlib/tst-strtod-round.c: Likewise.
6789 * stdlib/Makefile (tests): Add tst-strtod-round.
6790
d6e70f43
JM
6791 [BZ #14459]
6792 * stdlib/strtod_l.c: Include <stdint.h>.
6793 (NDEBUG): Do not define.
6794 (round_and_return): Change EXPONENT parameter to type intmax_t.
6795 Rearrange calculations to avoid internal overflow possibilities.
6796 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6797 Rearrange calculations to avoid internal overflow possibilities.
6798 Assert that number fits inside MPNSIZE limbs.
6799 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6800 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6801 calculations and add assertions to avoid internal overflow
6802 possibilities. Add casts to avoid signed/unsigned operations.
6803 * stdlib/tst-strtod-overflow.c: New file.
6804 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6805
1f529f7d
MP
68062012-08-25 Marek Polacek <polacek@redhat.com>
6807
6808 * time/time.h: Fix some typos in comments.
6809
59a629f1
RM
68102012-08-23 Roland McGrath <roland@hack.frob.com>
6811
6812 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6813 * posix/tst-rfc3484-2.c: Likewise.
6814 * posix/tst-rfc3484-3.c: Likewise.
6815
d3bafbc9
SM
68162012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6817
6818 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6819 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6820
4efcc022
JM
68212012-08-23 Joseph Myers <joseph@codesourcery.com>
6822
6823 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6824 #include of fxstatat64.c.
6825
3cc3ef96
RM
68262012-08-22 Roland McGrath <roland@hack.frob.com>
6827
f04e2132
RM
6828 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6829 * shadow/getspent_r.c: Likewise.
6830 * shadow/getspnam.c: Likewise.
6831 * shadow/getspnam_r.c: Likewise.
6832 * gshadow/getsgent.c: Likewise.
6833 * gshadow/getsgent_r.c: Likewise.
6834 * gshadow/getsgnam.c: Likewise.
6835 * gshadow/getsgnam_r.c: Likewise.
6836 * inet/getnetbyad.c: Likewise.
6837 * inet/getnetbyad_r.c: Likewise.
6838 * inet/getnetbynm.c: Likewise.
6839 * inet/getnetbynm_r.c: Likewise.
6840 * inet/getnetent.c: Likewise.
6841 * inet/getnetent_r.c: Likewise.
6842 * inet/getproto.c: Likewise.
6843 * inet/getproto_r.c: Likewise.
6844 * inet/getprtent.c: Likewise.
6845 * inet/getprtent_r.c: Likewise.
6846 * inet/getprtname.c: Likewise.
6847 * inet/getprtname_r.c: Likewise.
6848 * inet/getrpcbyname.c: Likewise.
6849 * inet/getrpcbyname_r.c: Likewise.
6850 * inet/getrpcbynumber.c: Likewise.
6851 * inet/getrpcbynumber_r.c: Likewise.
6852 * inet/getrpcent.c: Likewise.
6853 * inet/getrpcent_r.c: Likewise.
6854 * inet/getaliasent.c: Likewise.
6855 * inet/getaliasent_r.c: Likewise.
6856 * inet/getaliasname.c: Likewise.
6857 * inet/getaliasname_r.c: Likewise.
6858 * nscd/getgrgid_r.c: Likewise.
6859 * nscd/getgrnam_r.c: Likewise.
6860 * nscd/gethstbyad_r.c: Likewise.
6861 * nscd/gethstbynm3_r.c: Likewise.
6862 * nscd/getpwnam_r.c: Likewise.
6863 * nscd/getpwuid_r.c: Likewise.
6864 * nscd/getsrvbynm_r.c: Likewise.
6865 * nscd/getsrvbypt_r.c: Likewise.
6866 * nscd/gai.c: Likewise.
6867
c53d909c
RM
6868 * configure.in (build_nscd): New substituted variable, set
6869 by --disable-build-nscd and defaults to $use_nscd.
6870 * configure: Regenerated.
6871 * config.make.in (build-nscd): New substituted variable.
6872 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6873 Change conditional to require [$(build-nscd) = yes] as well.
6874 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6875
3cc3ef96
RM
6876 [BZ# 13696]
6877 * configure.in (use_nscd): New substituted variable, set by
6878 --disable-nscd. If enabled, define USE_NSCD.
6879 * configure: Regenerated.
6880 * config.h.in: Add USE_NSCD.
6881 * config.make.in (use-nscd): New substituted variable.
6882 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6883 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6884 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6885 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6886 (CFLAGS-getgrnam_r.c): Likewise.
6887 (CFLAGS-initgroups.c): Likewise.
6888 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6889 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6890 Variables removed.
6891 * inet/getnetgrent_r.c
6892 (nscd_setnetgrent): New function, broken out of ...
6893 (setnetgrent): ... here. Call it.
6894 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6895 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6896 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6897 * nscd/Makefile (routines, aux): Move definitions after include of
6898 Makeconfig. Conditionalize on [$(use-nscd) != no].
6899 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6900 Conditionalize on [USE_NSCD].
6901 (is_nscd, nscd_init_cb): Likewise.
6902 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6903 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6904 * nss/nss_db/db-init.c: Likewise.
6905 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6906 [USE_NSCD].
6907 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6908 (make_request): Use it.
6909 (cache_valid_p): New function.
6910 (__check_pf): Use it.
6911 * NEWS: Add item for --disable-nscd.
6912
07e51550
DL
69132012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6914
6915 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6916 to support sed >= 4.2.1-20-ga9bf076.
6917 * configure: Regenerated.
6918
35a5b08b
RM
69192012-08-22 Roland McGrath <roland@hack.frob.com>
6920
6921 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6922 Conditionalize whole body on [IREL].
6923
8479f23a
JL
69242012-08-22 Jeff Law <law@redhat.com>
6925
6926 [BZ #14505]
6927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6928 if the family is PF_UNSPEC.
6929
48da0b21
MF
69302012-08-22 Mike Frysinger <vapier@gentoo.org>
6931
6932 * Makerules (lib-version): Rename from V.
6933 (install-lib-nosubdir): Change V to lib-version.
6934
15d0da8c
WS
69352012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6936
6937 [BZ #14252]
6938 * powerpc32/power6/wcschr.c: New file.
6939 * powerpc32/power6/wcscpy.c: New file.
6940 * powerpc32/power6/wcsrchr.c: New file.
6941 * powerpc64/power6/wcschr.c: New file.
6942 * powerpc64/power6/wcscpy.c: New file.
6943 * powerpc64/power6/wcsrchr.c: New file.
6944
bcca0895
MK
69452012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6946
6947 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6948 (two_way_short_needle): Use it.
5a4aaa33
RM
6949 * string/strstr.c (AVAILABLE1_USES_J): Define.
6950 * string/strcasestr.c: Likewise.
99677e57
MK
6951
6952 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6953 array references.
6954 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6955
400726de
MK
6956 [BZ #11607]
6957 * NEWS: Add an entry.
6958 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6959 define their defaults.
6960 (two_way_short_needle): Detect end-of-string on-the-fly.
6961 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6962 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6963 * string/bug-strcasestr1.c: New test.
6964 * string/Makefile: Run it.
6965
20a71f2c
MK
69662012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6967
6968 [BZ #11607]
6969 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6970 the first character.
6971
21ad0558
RM
69722012-08-21 Roland McGrath <roland@hack.frob.com>
6973
6974 * csu/elf-init.c (__libc_csu_irel): Function removed.
6975 * csu/libc-start.c (apply_irel): New function.
6976 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6977
0e1d9911
JM
69782012-08-21 Joseph Myers <joseph@codesourcery.com>
6979
6980 * sysdeps/unix/sysv/linux/kernel-features.h
6981 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6982 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6983 <kernel-features.h>.
6984 [__NR_fadvise64_64]: Make code unconditional.
6985 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6986 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6987 !__NR_fadvise64_64)]: Likewise.
6988 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6989 !__NR_fadvise64_64))]: Likewise.
6990 [__NR_fadvise64]: Make code unconditional.
6991 [!__NR_fadvise64]: Remove conditional code.
6992 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6993 <kernel-features.h>.
6994 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6995 unconditional.
6996 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6997 conditional code.
6998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6999 not include <kernel-features.h>.
7000 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7001 unconditional.
7002 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7003 conditional code.
7004 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
7005 include <kernel-features.h>.
7006 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
7007 unconditional.
7008 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
7009 conditional code.
7010
14a50c9d
WS
70112012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7012
7013 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
7014 slight instruction rearrangements per scrollpipe analysis.
7015 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7016
c0f4faf0
RM
70172012-08-20 Roland McGrath <roland@hack.frob.com>
7018
696da859
RM
7019 * manual/syslog.texi (syslog; vsyslog, closelog):
7020 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
7021 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
7022
c0f4faf0
RM
7023 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
7024 DSOCAPS to match condition on defining it.
7025
348363b2
JM
70262012-08-20 Joseph Myers <joseph@codesourcery.com>
7027
a35cbf28
JM
7028 * sysdeps/unix/sysv/linux/kernel-features.h
7029 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
7030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
7031 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7032 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
7034 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7035 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7037 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7038 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7039
445f7ecd
JM
7040 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7041 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7042
348363b2
JM
7043 * sysdeps/unix/sysv/linux/kernel-features.h
7044 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7045 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7046 unconditional.
7047 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7048 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7049 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7050 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7051 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7052 Make code unconditional.
7053 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7054 (__mmap64) [!__NR_mmap2]: Likewise.
7055 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7056 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7057 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7058 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7059 [__NR_mmap2]: Make code unconditional.
7060 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7061 (__mmap64) [!__NR_mmap2]: Likewise.
7062
bc5bc0e5
AK
70632012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7064
7065 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7066
88d506de
AJ
70672012-08-18 Andreas Jaeger <aj@suse.de>
7068
7069 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7070
493387d2
MF
70712012-08-18 Mike Frysinger <vapier@gentoo.org>
7072
7073 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7074 * include/unistd.h (__have_sock_cloexec): Likewise.
7075 (__have_pipe2): Likewise.
7076 (__have_dup3): Likewise.
7077
a277af22
MF
70782012-08-18 Mike Frysinger <vapier@gentoo.org>
7079
7080 [BZ #9685]
7081 * include/unistd.h (__have_pipe2): Change define into an extern int.
7082 (__have_dup3): Likewise.
7083 * socket/have_sock_cloexec.c: Include fcntl.h.
7084 (__have_pipe2): New variable.
7085 (__have_dup3): Likewise.
7086
fdab8fd3
MF
70872012-08-17 Mike Frysinger <vapier@gentoo.org>
7088
7089 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7090
31035e80
MP
70912012-08-17 Marek Polacek <polacek@redhat.com>
7092
7093 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7094 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7095
3bd9e993
RM
70962012-08-17 Roland McGrath <roland@hack.frob.com>
7097
c91c505f
RM
7098 * configure.in: Add AC_SUBST for sysheaders.
7099 * configure: Regenerated.
7100 * config.make.in (sysheaders): New substituted variable.
7101
7c6f9d53
RM
7102 * sysdeps/unix/mkfifo.c: Moved ...
7103 * sysdeps/posix/mkfifo.c: ... here.
7104 * sysdeps/unix/mkfifoat.c: Moved ...
7105 * sysdeps/posix/mkfifoat.c: ... here.
7106
7107 * sysdeps/unix/utime.c: Moved ...
7108 * sysdeps/posix/utime.c: ... here.
7109
7110 * sysdeps/unix/time.c: Moved ...
7111 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
7112 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7113 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
7114
7115 * sysdeps/unix/nice.c: Moved ...
7116 * sysdeps/posix/nice.c: ... here.
7117
7118 * sysdeps/unix/alarm.c: Moved ...
7119 * sysdeps/posix/alarm.c: ... here.
7120
3bd9e993
RM
7121 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7122
d1f09384
JL
71232012-08-17 Jeff Law <law@redhat.com>
7124
7125 * intl/Makefile (codeset_mo): New variable.
7126 ($(codeset_mo)): New target.
7127 (tst-codeset.out): Depend on that. Remove explicit rule.
7128 (tst-gettext3.out, tst-gettext5.out): Likewise.
7129 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7130 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7131 * intl/tst-codeset.sh: Remove.
7132 * intl/tst-gettext3.sh: Likewise.
7133 * intl/tst-gettext5.sh: Likewise.
7134
2ae1ae5c
RM
71352012-08-17 Roland McGrath <roland@hack.frob.com>
7136
c31fdb83
RM
7137 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7138 * sysdeps/unix/syscalls.list: ... here.
7139
a0844057
RM
7140 * sysdeps/posix/getaddrinfo.c
7141 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7142 (gaiconf_init, gaiconf_reload): Use them.
7143 [!_STATBUF_ST_NSEC]
7144 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7145 Define using time_t rather than struct timespec.
7146
750c1f2a
RM
7147 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7148 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7149 Macros removed.
7150 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7151 [!NO_THREADS].
7152 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7153 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7154 Likewise.
7155
2ae1ae5c
RM
7156 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7157 __libc_cleanup_push argument.
7158
e66a42f5
RM
7159 * bits/param.h: New file.
7160 * misc/sys/param.h: New file.
7161 * include/sys/param.h: New file.
7162 * misc/Makefile (headers): Add bits/param.h.
7163 * sysdeps/generic/sys/param.h: File removed.
7164 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7165 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7166 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 7167 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 7168
b7c08a66
RM
7169 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7170 last change.
7171
b2e1c562
RM
7172 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7173 [_IO_MTSAFE_IO].
7174 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7175 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7176 New macros.
7177
c75ccd4c
RM
7178 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7179 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7180 rather than -D_IO_MTSAFE_IO conditionally.
7181 * stdio-common/Makefile (CPPFLAGS): Likewise.
7182 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7183 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7184 Use $(libio-mtsafe).
7185 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7186 of -D_IO_MTSAFE_IO.
7187 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7188 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7189 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7190 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7191 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7192 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7193 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7194 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7195 (CFLAGS-fread_u_chk.c): Likewise.
7196 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7197 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7198 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7199 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7200 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7201 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7202 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7203 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7204 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7205
7206 * libio/Makefile: Test [$(libc-reentrant) = yes]
7207 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7208
7209 * Makeconfig
7210 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7211 * sysdeps/pthread/configure: File removed.
7212 * sysdeps/pthread/Makeconfig: New file.
7213 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7214 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7215
d9195db8
GB
72162012-08-16 Gary Benson <gbenson@redhat.com>
7217
7218 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7219 unmapping the first object in a namespace.
7220
86466cd9
RM
72212012-08-16 Roland McGrath <roland@hack.frob.com>
7222
7223 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7224 (__internal_setnetgrent): ... this. Add internal_function to
7225 definition. Add libc_hidden_def.
7226 (setnetgrent): Update caller.
7227 (internal_endnetgrent): Renamed to ...
7228 (__internal_endnetgrent): ... this. Add internal_function to
7229 definition. Add libc_hidden_def.
7230 (endnetgrent): Update caller.
7231 (internal_getnetgrent_r): Renamed to ...
7232 (__internal_getnetgrent_r): ... this. Add internal_function to
7233 definition. Add libc_hidden_def.
7234 (__getnetgrent_r): Update caller.
7235 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7236
c3c8283c
JM
72372012-08-16 Joseph Myers <joseph@codesourcery.com>
7238
7239 * stdlib/longlong.h: Update from GCC.
7240
db1ee0a8
RM
72412012-08-16 Roland McGrath <roland@hack.frob.com>
7242
7243 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7244 on _QL, which is set by umul_ppmm but never used.
7245 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7246 variables, which are set by GMP macros but never used.
7247 * stdio-common/_itowa.c (_itowa): Likewise.
7248 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7249 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7250
30f69637
CD
72512012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7252
7253 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7254 struct La_sh_regs is not constant.
7255 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7256 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7257 and struct La_sparc64_regs are not constant.
7258
93a78ac4
JM
72592012-08-16 Joseph Myers <joseph@codesourcery.com>
7260
7261 * sysdeps/unix/sysv/linux/kernel-features.h
7262 (__ASSUME_POSIX_TIMERS): Remove.
7263 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7264 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7265 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7266 Make code unconditional.
7267 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7268 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7269 Make code unconditional.
7270 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7271 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7272 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7273 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7274 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7275 Make code unconditional.
7276 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7277 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7278 (__libc_missing_posix_timers): Remove.
7279
dd924cd7
RM
72802012-08-15 Roland McGrath <roland@hack.frob.com>
7281
4b4f2771
RM
7282 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7283 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7284
601c888b
RM
7285 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7286
176790a7
RM
7287 * elf/dl-sym.c: Include <stdlib.h>.
7288
329bc018
RM
7289 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7290 constants, which avoids warnings in 32-bit builds.
7291
e04e272d
RM
7292 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7293 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7294
952bf94a
RM
7295 * misc/lseek.c: File moved to ...
7296 * io/lseek.c: ... here.
7297
7c99b50a
RM
7298 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7299
dd924cd7
RM
7300 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7301 shifting LEN more than 31 bits at once.
7302
b3f479a8
LD
73032012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7304
7305 [BZ #14195]
8c4ae0d4
RM
7306 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7307 segmentation fault for a case of two empty input strings.
b3f479a8
LD
7308 * string/test-strncasecmp.c (check1): Renamed to...
7309 (bz12205): ...this.
7310 (bz14195): Add new testcase for two empty input strings and N > 0.
7311 (test_main): Call new testcase, adapt for renamed function.
7312
9c55864e
AJ
73132012-08-15 Andreas Jaeger <aj@suse.de>
7314
7315 [BZ #14090]
7316 * crypt/md5test2.c: New test, based on test supplied by Serge
7317 Belyshev <belyshev@depni.sinp.msu.ru>.
7318 * crypt/Makefile (xtests): Add md5test-giant..
7319 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7320
02dcb6c5
PE
73212012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7322
7323 [BZ #14090]
7324 * crypt/md5.c (md5_process_block): Don't assume the buffer
7325 length is less than 2**32.
7326 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7327 length is less than 2**64.
7328
a3f95dcc
RM
73292012-08-15 Roland McGrath <roland@hack.frob.com>
7330
be75d758
RM
7331 * string/str-two-way.h: Include <sys/param.h>.
7332 (MAX): Macro removed.
7333
7312ca90
RM
7334 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7335 Move #define and #undef of memmove to just before and after
7336 including <string.h>.
7337
9a0a5486
RM
7338 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7339 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7340 and after including <string.h>. Move declarations of
7341 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7342 to before #include "string/memmove.c".
7343
67cc348d
RM
7344 * include/dirent.h: Declare __getdirentries.
7345
a3f95dcc
RM
7346 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7347 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7348
ca98e171
MF
73492012-08-14 Mike Frysinger <vapier@gentoo.org>
7350
7351 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7352 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7353 * sysdeps/i386/configure: Regenerated.
7354 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7355 STABS_CURRENT_FILE, and STABS_FUN.
7356 (END): Remove call to STABS_FUN_END.
7357 (STABS_CURRENT_FILE1): Delete.
7358 (STABS_CURRENT_FILE): Likewise.
7359 (STABS_FUN): Likewise.
7360 (STABS_FUN_END): Likewise.
7361 (STABS_FUN2): Likewise.
7362 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7363 * sysdeps/x86_64/configure: Regenerated.
7364
5908bf46
RM
73652012-08-14 Roland McGrath <roland@hack.frob.com>
7366
7367 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 7368 * elf/dl-lookup.c: Likewise.
5908bf46 7369
f2c05b9e
JM
73702012-08-14 Joseph Myers <joseph@codesourcery.com>
7371
7372 * sysdeps/unix/sysv/linux/kernel-features.h
7373 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7374 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7375 unconditionally.
7376 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7377 unconditionally.
7378 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7379 condition on __ASSUME_CLONE_THREAD_FLAGS.
7380
e11f5155
AJ
73812012-08-14 Andreas Jaeger <aj@suse.de>
7382
7383 * sysdeps/i386/fpu/libm-test-ulps: Update.
7384
51a9ba86
MK
73852012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7386
2fdd4f78
AJ
7387 * include/atomic.h (atomic_exchange_and_add): Split into ...
7388 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7389 New atomic macros.
51a9ba86 7390
ba6cba9e
MT
73912012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7392
7393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7394
42443a47
JL
73952012-08-13 Jeff Law <law@redhat.com>
7396
7397 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7398 null byte in the output string.
7399
121dce05
JM
74002012-08-10 Joseph Myers <joseph@codesourcery.com>
7401
7402 * sysdeps/unix/sysv/linux/kernel-features.h
7403 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7404 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7405 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7406 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7407 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7408 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
7409 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7410
bf51f568
JL
74112012-08-09 Jeff Law <law@redhat.com>
7412
7413 [BZ #13939]
7414 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7415 When avoid_arena is set, don't retry in the that arena. Pick the
7416 next one, whatever it might be.
7417 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7418 (arena_lock): Pass in new parameter to arena_get2.
7419 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7420 arena_get2.
7421 (__libc_malloc): Unify retrying after main arena failure with
7422 __libc_memalign version.
7423 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7424
f85fa270
L
74252012-08-09 H.J. Lu <hongjiu.lu@intel.com>
7426
7427 [BZ #14166]
7428 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7429 to __redirect_strstr.
7430 (__strstr_sse42): Use typeof __redirect_strstr.
7431 (__strstr_ia32): Likewise.
7432 (__libc_strstr): New prototype.
7433 (strstr): Renamed to ...
7434 (__libc_strstr): This.
7435 (strstr): New strong alias of __libc_strstr.
7436 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7437 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
7438 __redirect_time.
7439 Include <time.h>.
7440 (__libc_time): New prototype.
7441 (time_ifunc): Replace time with __libc_time.
7442 (time): New strong alias and hidden definition of __libc_time.
7443 (__GI_time): Remove strong alias.
7444 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
7445 Include <stddef.h>.
7446 (memmove): Redefined to __redirect_memmove.
7447 (__memmove_sse2): Use typeof __redirect_memmove.
7448 (__memmove_ssse3): Likewise.
7449 (__memmove_ssse3_back): Likewise.
7450 (__libc_memmove): New prototype.
7451 (memmove): Renamed to ...
7452 (__libc_memmove): This.
7453 (memmove): New strong alias of __libc_memmove.
7454
33b4a91e
MS
74552012-08-08 Mark Salter <msalter@redhat.com>
7456
7457 * elf/elf.h
7458 (R_MN10300_TLS_GD): Define.
7459 (R_MN10300_TLS_LD): Likewise.
7460 (R_MN10300_TLS_LDO): Likewise.
7461 (R_MN10300_TLS_GOTIE): Likewise.
7462 (R_MN10300_TLS_IE): Likewise.
7463 (R_MN10300_TLS_LE): Likewise.
7464 (R_MN10300_TLS_DTPMOD): Likewise.
7465 (R_MN10300_TLS_DTPOFF): Likewise.
7466 (R_MN10300_TLS_TPOFF): Likewise.
7467 (R_MN10300_SYM_DIFF): Likewise.
7468 (R_MN10300_ALIGN): Likewise.
7469 (R_MN10300_NUM): Update.
7470
b36137f1
JM
74712012-08-08 Joseph Myers <joseph@codesourcery.com>
7472
7473 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7474 Remove.
7475
cdd915fd
RM
74762012-08-08 Roland McGrath <roland@hack.frob.com>
7477
a2433aac
RM
7478 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7479
cdd915fd
RM
7480 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7481 sysdeps/unix -> sysdeps/posix move.
7482 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7483
bf9b740a
AM
74842012-08-07 Allan McRae <allan@archlinux.org>
7485
7486 [BZ #14303]
7487 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7488 (SUNOS_CPP): Likewise.
7489 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7490 not found.
7491 (open_input): Call CPP using execvp.
7492
93df14ee
JM
74932012-08-07 Joseph Myers <joseph@codesourcery.com>
7494
7495 * sysdeps/unix/sysv/linux/kernel-features.h
7496 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7497 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7498 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7499 (__ASSUME_WAITID_SYSCALL): Likewise.
7500 * sysdeps/unix/sysv/linux/dl-execstack.c
7501 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7502 code unconditional.
7503 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7504 conditional code.
7505 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7506 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7507 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7508 code.
7509 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7510 unconditional.
7511 [__ASSUME_WAITID_SYSCALL]: Likewise.
7512 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7513
d34689de
RM
75142012-08-07 Roland McGrath <roland@hack.frob.com>
7515
a281decc
RM
7516 * sysdeps/unix/closedir.c: Renamed to ...
7517 * sysdeps/posix/closedir.c: ... here.
7518 * sysdeps/unix/dirfd.c: Renamed to ...
7519 * sysdeps/posix/dirfd.c: ... here.
7520 * sysdeps/unix/dirstream.h: Renamed to ...
7521 * sysdeps/posix/dirstream.h: ... here.
7522 * sysdeps/unix/fdopendir.c: Renamed to ...
7523 * sysdeps/posix/fdopendir.c: ... here.
7524 * sysdeps/unix/opendir.c: Renamed to ...
7525 * sysdeps/posix/opendir.c: ... here.
7526 * sysdeps/unix/readdir.c: Renamed to ...
7527 * sysdeps/posix/readdir.c: ... here.
7528 * sysdeps/unix/readdir_r.c: Renamed to ...
7529 * sysdeps/posix/readdir_r.c: ... here.
7530 * sysdeps/unix/rewinddir.c: Renamed to ...
7531 * sysdeps/posix/rewinddir.c: ... here.
7532 * sysdeps/unix/seekdir.c: Renamed to ...
7533 * sysdeps/posix/seekdir.c: ... here.
7534 * sysdeps/unix/telldir.c: Renamed to ...
7535 * sysdeps/posix/telldir.c: ... here.
7536 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7537 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7538 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7539 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7540
22895b47
RM
7541 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7542 * bits/fcntl.h: ... here.
7543
707a53b6
RM
7544 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7545 not 0.
7546 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7547 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7548 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7549 (struct flock): Move l_start, l_len to the beginning.
7550 Use __pid_t for l_pid.
7551 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7552 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7553 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7554 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7555 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7556 [__USE_LARGEFILE64] (struct flock64): New type.
7557 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7558
f0bd3e25
RM
7559 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7560 * bits/dirent.h: ... here.
7561
d34689de
RM
7562 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7563 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7564
6dad2c06
JM
75652012-08-07 Joseph Myers <joseph@codesourcery.com>
7566
7567 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7568 Change from 2.6.0 to 2.6.16.
7569 * sysdeps/unix/sysv/linux/configure: Regenerated.
7570 * sysdeps/unix/sysv/linux/kernel-features.h
7571 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7572 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7573 version.
7574 (__ASSUME_UTIMES): Likewise.
7575 (__ASSUME_CLONE_STOPPED): Remove.
7576 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7577 architectures, not kernel version.
7578 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7579 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7580 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7581 (__ASSUME_WAITID_SYSCALL): Likewise.
7582 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7583 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7584 * README: State 2.6.16 as minimum Linux kernel version. Do not
7585 refer to older versions.
7586
03af9520
RM
75872012-08-06 Roland McGrath <roland@hack.frob.com>
7588
8e49df1d
RM
7589 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7590 Define alphasort64 as an alias.
7591 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7592 Define versionsort64 as an alias.
7593 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7594 Define scandir64 as an alias.
7595 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7596 Define scandirat64 as an alias.
7597 * dirent/alphasort64.c (alphasort64):
7598 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7599 * dirent/versionsort64.c: Likewise.
7600 * dirent/scandir64.c: Likewise.
7601 * dirent/scandirat64.c: Likewise.
7602 * sysdeps/wordsize-64/alphasort.c: File removed.
7603 * sysdeps/wordsize-64/alphasort64.c: File removed.
7604 * sysdeps/wordsize-64/scandir.c: File removed.
7605 * sysdeps/wordsize-64/scandir64.c: File removed.
7606 * sysdeps/wordsize-64/scandirat.c: File removed.
7607 * sysdeps/wordsize-64/scandirat64.c: File removed.
7608 * sysdeps/wordsize-64/versionsort.c: File removed.
7609 * sysdeps/wordsize-64/versionsort64.c: File removed.
7610 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7611 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7612 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7613 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7614 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7615 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7616 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7617 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7618
7619 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7620 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7621 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7622 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7623 [defined __arch64__ || defined __sparcv9]
7624 (__INO_T_MATCHES_INO64_T): New macro.
7625 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7626 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7627 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7628 * sysdeps/unix/sysv/linux/bits/dirent.h
7629 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7630 (_DIRENT_MATCHES_DIRENT64): New macro.
7631
03af9520
RM
7632 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7633 Define lockf64 as an alias.
7634 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7635 Define fseeko64 as an alias.
7636 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7637 Define ftello64 as an alias.
7638 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7639 Define _IO_fgetpos64 and fgetpos64 as aliases.
7640 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7641 Define _IO_fsetpos64 and fsetpos64 as aliases.
7642 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7643 Conditionalize body on this.
7644 * libio/fseeko64.c: Likewise.
7645 * libio/ftello64.c: Likewise.
7646 * libio/iofgetpos64.c: Likewise.
7647 * libio/iofsetpos64.c: Likewise.
7648 * sysdeps/wordsize-64/lockf.c: File removed.
7649 * sysdeps/wordsize-64/lockf64.c: File removed.
7650 * sysdeps/wordsize-64/fseeko.c: File removed.
7651 * sysdeps/wordsize-64/fseeko64.c: File removed.
7652 * sysdeps/wordsize-64/ftello.c: File removed.
7653 * sysdeps/wordsize-64/ftello64.c: File removed.
7654 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7655 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7656 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7657 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7658 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7659 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7660 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7661 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7662 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7663 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7664 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7665 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7666 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7667 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7668
7669 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7670 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7671 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7672 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7673 [defined __arch64__ || defined __sparcv9]
7674 (__OFF_T_MATCHES_OFF64_T): New macro.
7675 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7676 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7677 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7678 (__OFF_T_MATCHES_OFF64_T): New macro.
7679
c5757acd
L
76802012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7681
7682 * stdlib/secure-getenv.c (__secure_getenv): Replace
7683 GLIBC_2_16 with GLIBC_2_17.
7684
3a31811e
L
76852012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7686
7687 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7688 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7689
faa2bccb
DM
76902012-08-03 David S. Miller <davem@davemloft.net>
7691
7692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7693
85fe1997
JM
76942012-08-03 Joseph Myers <joseph@codesourcery.com>
7695
7696 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7697 Remove.
7698 (__ASSUME_CORRECT_SI_PID): Likewise.
7699 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7700 (__ASSUME_TMPFS_NAME): Likewise.
7701 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7702 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7703 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7704 (HAVE_AUX_SECURE): Make definition unconditional.
7705 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7706 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7707
4f75b7a0
RM
77082012-08-03 Roland McGrath <roland@hack.frob.com>
7709
7710 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7711 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7712 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7713 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7714 __eloop_threshold instead of SYMLOOP_MAX.
7715
7716 * sysdeps/generic/eloop-threshold.h: New file.
7717 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7718 of MAXSYMLINKS.
7719 * elf/chroot_canon.c (chroot_canon): Likewise.
7720
7aab07e4
JM
77212012-08-03 Joseph Myers <joseph@codesourcery.com>
7722
7723 [BZ #13717]
7724 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7725 Change to 2.6.0 everywhere.
7726 * sysdeps/unix/sysv/linux/configure: Regenerated.
7727 * sysdeps/unix/sysv/linux/kernel-features.h
7728 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7729 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7730 kernel versions.
7731 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7732 (__ASSUME_FUTEX_REQUEUE): Remove.
7733 (__ASSUME_STATFS64): Define unconditionally.
7734 (__ASSUME_AT_SECURE): Likewise.
7735 (__ASSUME_CORRECT_SI_PID): Likewise.
7736 (__ASSUME_TGKILL): Define without depending on kernel version for
7737 i386.
7738 (__ASSUME_UTIMES): Likewise.
7739 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7740 kernel version.
7741 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7742 (__ASSUME_TMPFS_NAME): Likewise.
7743 * README: Update reference to Linux kernel versions.
7744
b67e9372
MP
77452012-08-02 Marek Polacek <polacek@redhat.com>
7746
1f529f7d 7747 [BZ# 14150]
b67e9372
MP
7748 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7749 libc_cv_asm_type_prefix with %.
7750 * configure: Regenerated.
d2441631
RM
7751 * include/libc-symbols.h: Remove comment about
7752 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
7753 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7754 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7755 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7756 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7757 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7758 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7759 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7760 * elf/tst-unique2mod1.c: Likewise.
7761 * elf/tst-unique1mod2.c: Likewise.
7762 * elf/tst-unique1mod1.c: Likewise.
7763 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7764 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7765 Replace ASM_TYPE_DIRECTIVE with .type.
7766 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7767 * sysdeps/i386/sysdep.h: Likewise.
7768 * sysdeps/x86_64/sysdep.h: Likewise.
7769 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
7770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7771 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 7772 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
7773 * sysdeps/powerpc/powerpc32/sysdep.h:
7774 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
7775 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7776 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7777 * sysdeps/i386/fpu/e_powf.S: Likewise.
7778 * sysdeps/i386/fpu/e_expl.S: Likewise.
7779 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7780 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7781 * sysdeps/i386/fpu/e_pow.S: Likewise.
7782 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7783 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7784 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7785 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7786 * sysdeps/i386/fpu/e_log2.S: Likewise.
7787 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7788 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7789 * sysdeps/i386/fpu/e_powl.S: Likewise.
7790 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7791 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7792 * sysdeps/i386/fpu/e_logl.S: Likewise.
7793 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7794 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7795 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7796 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7797 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7798 * sysdeps/i386/fpu/e_log.S: Likewise.
7799 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7800 * sysdeps/i386/fpu/e_logf.S: Likewise.
7801 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7802 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7803 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7804 * sysdeps/i386/fpu/e_log10.S: Likewise.
7805 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7806 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7807 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7808 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7809 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7810 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7811 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7812 * sysdeps/i386/i686/strtok.S: Likewise.
7813 * sysdeps/i386/i386-mcount.S: Likewise.
7814 * sysdeps/i386/strtok.S: Likewise.
7815 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7816 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7817 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7818 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7819 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7820 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7821 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7822 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7823 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7824 * sysdeps/x86_64/_mcount.S: Likewise.
7825 * sysdeps/x86_64/strtok.S: Likewise.
7826 * sysdeps/sh/_mcount.S: Likewise.
7827
2747bf9a
RM
78282012-08-01 Roland McGrath <roland@hack.frob.com>
7829
7830 * libio/iofopen.c: Include <fcntl.h>.
7831 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7832 (_IO_fopen64, fopen64): Define as aliases.
7833 * libio/iofopen64.c: Include <fcntl.h>.
7834 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7835 Conditionalize body on this.
7836 * sysdeps/wordsize-64/iofopen.c: File removed.
7837 * sysdeps/wordsize-64/iofopen64.c: File removed.
7838
3fb791b8
MP
78392012-08-01 Marek Polacek <polacek@redhat.com>
7840
7841 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7842 Use dlfcn directly instead of a variable.
7843 (binfmt-subdir): Do not define.
7844 (dlfcn): Likewise.
7845
a9f1039f
JM
78462012-08-01 Joseph Myers <joseph@codesourcery.com>
7847
23bddc06
JM
7848 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7849 Remove all definitions.
7850 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7851 <kernel-features.h>.
7852 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7853 (miss_F_GETOWN_EX): Remove all definitions.
7854 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7855 macro definition.
7856 [!__ASSUME_FCNTL64]: Remove conditional code.
7857 [__ASSUME_FCNTL64]: Make code unconditional.
7858 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7859 <kernel-features.h>.
7860 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7861 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7862 (lockf64) [__NR_fcntl64]: Make code unconditional.
7863 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7864
a9f1039f
JM
7865 * sysdeps/unix/sysv/linux/kernel-features.h
7866 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7867 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7868 Make code unconditional.
7869 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7870 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7872 [__NR_vfork]: Make code unconditional.
7873 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7874 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7876 [__NR_vfork]: Make code unconditional.
7877 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7878 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7879
09c0ee5f
RM
78802012-08-01 Roland McGrath <roland@hack.frob.com>
7881
48aec5b9
RM
7882 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7883 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7884
cd97c966
RM
7885 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7886 Define mkstemp64 as an alias.
3f55550c
RM
7887 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7888 Define mkstemps64 as an alias.
cd97c966
RM
7889 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7890 Define mkostemp64 as an alias.
b8625cfc
RM
7891 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7892 Define mkostemps64 as an alias.
cd97c966
RM
7893 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7894 Conditionalize body on this.
7895 * misc/mkostemp64.c: Likewise.
b8625cfc 7896 * misc/mkostemps64.c: Likewise.
3f55550c 7897 * misc/mkstemps64.c: Likewise.
cd97c966
RM
7898 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7899 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7900 * sysdeps/wordsize-64/mkostemp.c: File removed.
7901 * sysdeps/wordsize-64/mkstemp.c: File removed.
7902 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7903 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7904 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7905 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7906
09c0ee5f
RM
7907 [BZ #14138]
7908 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7909 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7910 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7911 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7912
7913 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7914 compat_symbol macros from <shlib-compat.h> rather than the underlying
7915 default_symbol_version and symbol_version macros, so that DEFAULT
7916 lines in shlib-versions are respected.
7917 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7918
7e66ee51
FW
79192012-08-01 Florian Weimer <fweimer@redhat.com>
7920
7921 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7922 Declare with warn_unused_result.
7923 (setgid, setregid, setegid, setresgid): Likewise.
7924 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7925 Likewise.
7926 * WUR-REPORT: Remove set*id functions.
7927
d2a54255
PT
79282012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7929
7930 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7931
7ecdb005
RM
79322012-07-31 Roland McGrath <roland@hack.frob.com>
7933
789bd351
RM
7934 * include/sys/socket.h (__libc_accept, __libc_accept4):
7935 Add attribute_hidden.
7936 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7937
40ce302d
RM
7938 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7939 use of PTR_MANGLE.
7940 * inet/getnetgrent_r.c (setup): Likewise.
7941
7ecdb005
RM
7942 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7943
e2eabb2c
DM
79442012-07-31 David S. Miller <davem@davemloft.net>
7945
7946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7947
d0419dbf
JM
79482012-07-31 Joseph Myers <joseph@codesourcery.com>
7949
7950 [BZ #13629]
7951 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7952 value between 1.0 and 2.0 and smaller part has absolute value less
7953 than 1.0.
7954 * math/s_clog10.c (__clog10): Likewise.
7955 * math/s_clog10f.c (__clog10f): Likewise.
7956 * math/s_clog10l.c (__clog10l): Likewise.
7957 * math/s_clogf.c (__clogf): Likewise.
7958 * math/s_clogl.c (__clogl): Likewise.
7959 * math/libm-test.inc (clog_test): Add more tests.
7960 (clog10_test): Likewise.
7961 * sysdeps/i386/fpu/libm-test-ulps: Update.
7962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7963
2bc13872
FW
79642012-07-31 Florian Weimer <fweimer@redhat.com>
7965
7966 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7967 Exit with zero in case no suitable GID is found, and write a
7968 message to standard error.
7969
bea9b193
RM
79702012-07-30 Roland McGrath <roland@hack.frob.com>
7971
7972 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7973 rather than to 1.
7974 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7975 (MAXPATHLEN): Removed.
7976 (NOGROUP, NODEV): New macros.
7977 (setbit, clrbit, isset, isclr): New macros.
7978 (howmany, roundup, powerof2): New macros.
7979 (DEV_BSIZE): New macro.
7980
7981 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7982 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7983
7984 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7985 definition on [!__NO_LONG_DOUBLE_MATH].
7986
7987 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7988 PTR_MANGLE and PTR_DEMANGLE.
7989
7990 * socket/accept4.c (accept4): Rename to __libc_accept4.
7991 Define accept4 as a weak alias.
7992
7993 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7994 on [_DIRENT_HAVE_D_TYPE].
7995 * io/ftw.c (ftw_dir): Likewise.
7996
7997 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7998
7999 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
8000
8001 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
8002 Use the BSD numbers rather than the arbitrary ones we had.
8003 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
8004 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
8005 (SIGXCPU, SIGXFSZ): New macros.
8006 (_NSIG): Now 32.
8007
8008 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
8009 initializer on [_LIBC_REENTRANT].
8010
8011 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
8012 definitions inside [_POSIX_MAPPED_FILES].
8013
8014 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
8015
8016 * dirent/opendir.c: Include <fcntl.h>.
8017
8018 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
8019 (__libc_getspecific): Likewise.
8020 (__libc_key_create): Likewise.
8021
8022 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
8023 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
8024 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
8025 (tmpfile64): Define as alias.
8026 * sysdeps/wordsize-64/tmpfile.c: File removed.
8027 * sysdeps/wordsize-64/tmpfile64.c: File removed.
8028 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
8029 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
8030
8031 * stdio-common/vfscanf.c: Include <stdbool.h>.
8032 * nss/makedb.c: Likewise.
8033 * stdio-common/_i18n_number.h: Likewise.
8034 * argp/argp-help.c: Likewise.
8035 * posix/wordexp.c: Likewise.
8036 * sysdeps/posix/spawni.c: Likewise.
8037 * nss/nss_files/files-initgroups.c: Likewise.
8038 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8039 * nss/nss_files/files-initgroups.c: Likewise.
8040 * nss/nss_db/db-netgrp.c: Likewise.
8041 * nss/nss_db/db-initgroups.c: Likewise.
8042 * io/fchmodat.c: Include <sys/stat.h>.
8043
8044 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8045 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8046
8047 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8048 [HAVE_MMAP].
8049
8050 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8051 Add multiple inclusion protection.
8052
e5abc686
DM
80532012-07-27 David S. Miller <davem@davemloft.net>
8054
8055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8056
815e6fa3
GB
80572012-07-27 Gary Benson <gbenson@redhat.com>
8058
8059 [BZ #14298]
8060 * elf/rtld.c: Include <stap-probe.h>.
8061 (dl_main): Added static probes "init_start" and "init_complete".
8062 * elf/dl-load.c: Include <stap-probe.h>.
8063 (lose): Take new parameter "nsid".
8064 Added static probe "map_failed".
8065 (_dl_map_object_from_fd): Pass namespace id to lose.
8066 Added static probe "map_start".
8067 (open_verify): Pass namespace id to lose.
8068 * elf/dl-open.c: Include <stap-probe.h>.
8069 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8070 and "reloc_complete".
8071 * elf/dl-close.c: Include <stap-probe.h>.
8072 (_dl_close_worker): Added static probes "unmap_start" and
8073 "unmap_complete".
8074 * elf/rtld-debugger-interface.txt: New file documenting the above.
8075
9f98c16c
RM
80762012-07-26 Roland McGrath <roland@hack.frob.com>
8077
8078 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8079 rather than a string variable.
8080 * sunrpc/rpc_main.c (h_output): Likewise.
8081 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8082
f3c22df3
PT
80832012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8084
8085 * inet/check_native.c: New file.
8086
3129cfc6
JM
80872012-07-26 Joseph Myers <joseph@codesourcery.com>
8088
da865e95
JM
8089 [BZ #13629]
8090 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8091 if larger part has absolute value 1.0.
8092 * math/s_clog10.c (__clog10): Likewise.
8093 * math/s_clog10f.c (__clog10f): Likewise.
8094 * math/s_clog10l.c (__clog10l): Likewise.
8095 * math/s_clogf.c (__clogf): Likewise.
8096 * math/s_clogl.c (__clogl): Likewise.
8097 * math/libm-test.inc (clog_test): Add more tests.
8098 (clog10_test): Likewise.
8099 * sysdeps/i386/fpu/libm-test-ulps: Update.
8100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8101
3129cfc6
JM
8102 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8103 (pltexit): Likewise.
8104 (La_regs): Likewise.
8105 (La_retval): Likewise.
8106 (int_retval): Likewise.
8107 Update #error for removed macros to refer only to definitions in
8108 tst-audit.h.
8109 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8110 macro.
8111 (pltexit): Likewise.
8112 (La_regs): Likewise.
8113 (La_retval): Likewise.
8114 (int_retval): Likewise.
8115 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8116 macro.
8117 (pltexit): Likewise.
8118 (La_regs): Likewise.
8119 (La_retval): Likewise.
8120 (int_retval): Likewise.
8121 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8122 macro.
8123 (pltexit): Likewise.
8124 (La_regs): Likewise.
8125 (La_retval): Likewise.
8126 (int_retval): Likewise.
8127 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8128 macro.
8129 (pltexit): Likewise.
8130 (La_regs): Likewise.
8131 (La_retval): Likewise.
8132 (int_retval): Likewise.
8133 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8134 macro.
8135 (pltexit): Likewise.
8136 (La_regs): Likewise.
8137 (La_retval): Likewise.
8138 (int_retval): Likewise.
8139 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8140 macro.
8141 (pltexit): Likewise.
8142 (La_regs): Likewise.
8143 (La_retval): Likewise.
8144 (int_retval): Likewise.
8145 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8146 macro definitions in tst-audit.h.
8147 * sysdeps/i386/tst-audit.h: New file.
8148 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8149 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8150 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8151 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8152 * sysdeps/sh/tst-audit.h: Likewise.
8153 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8154 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8155 * sysdeps/x86_64/tst-audit.h: Likewise.
8156
bfc07087
AJ
81572012-07-26 Andreas Jaeger <aj@suse.de>
8158
b1b2aaf8
AJ
8159 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8160 ptrace.
8161
8162 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8163 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8164 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8165 PTRACE_O_MASK.
8166 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8167 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8168 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8169
bfc07087
AJ
8170 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8171 value.
8172
8173 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8174 _sigsys.
8175 (si_call_addr, si_syscall, si_arch): Define new macro.
8176 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8177 _sigsys.
8178 (si_call_addr, si_syscall, si_arch): Define new marcro.
8179 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8180 _sigsys.
8181 (si_call_addr, si_syscall, si_arch): Define new macro.
8182 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8183 _sigsys.
8184 (si_call_addr, si_syscall, si_arch): Define new macro.
8185
89b4b02f
JM
81862012-07-25 Joseph Myers <joseph@codesourcery.com>
8187
8188 [BZ #13717]
8189 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8190 Change to 2.4.21 where previously 2.4.1.
8191 * sysdeps/unix/sysv/linux/configure: Regenerated.
8192 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8193 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8194 Linux kernel version.
8195 (__ASSUME_STD_AUXV): Remove.
8196 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8197 kernel version.
8198 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8199 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8200 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8201 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8202 (__ASSUME_NETLINK_SUPPORT): Likewise.
8203 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8204 (__no_netlink_support): Remove conditional definition.
8205 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8206 Remove.
8207 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8208 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8209 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8210 (if_nameindex_ioctl): Remove.
8211 (if_nameindex_netlink): Do not handle __no_netlink_support.
8212 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8213 code.
8214 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8215 Remove conditional code.
8216 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8217 code.
8218 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8219 unconditional.
8220 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8221 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8222 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8223 Remove.
8224 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8225 [!__ASSUME_STD_AUXV]: Remove conditional code.
8226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8227 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8228 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8230 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8231 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8232 code.
8233 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8235 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8236 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8237 conditional code.
8238 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8240 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8241 code.
8242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8243 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8244 conditional code.
8245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8246 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8247 code unconditional.
8248 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8249 conditional code.
8250 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8251 unconditional.
8252 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8253 conditional code.
8254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8255 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8256 unconditional.
8257 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8258 conditional code.
8259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8260 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8261 code unconditional.
8262 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8263 conditional code.
8264 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8265 unconditional.
8266 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8267 conditional code.
8268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8269 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8270 code unconditional.
8271 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8272 conditional code.
8273 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8274 unconditional.
8275 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8276 conditional code.
8277
842a39cd
AS
82782012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8279
8280 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8281 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8282 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8283 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8284 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8285 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8286 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8287 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8288 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8289 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8290 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8291 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8292 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8293 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8294 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8295 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8296 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8297 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8298 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8299 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8300 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8301 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8302 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8303
84b3fd84
FW
83042012-07-25 Florian Weimer <fweimer@redhat.com>
8305
8306 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
8307 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8308 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8309 Introduce __libc_secure_getenv.
0c7936d5
FW
8310 * stdlib/Versions (2.17): Add secure_getenv
8311 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8312 * stdlib/secure-getenv.c: Rename __secure_getenv to
8313 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8314 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
8315 * stdlib/tst-secure-getenv.c: New.
8316 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
8317 * manual/startup.texi (Environment Access): Document
8318 secure_getenv.
84b3fd84
FW
8319 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8320 __libc_secure_getenv.
8321 * inet/ruserpass.c (ruserpass): Likewise.
8322 * malloc/mtrace.c (mtrace): Likewise.
8323 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 8324 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
8325 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8326 * sysdeps/posix/tempname.c: Likewise. Evaluate
8327 HAVE_SECURE_GETENV.
8328 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 8329 __secure_getenv to __libc_secure_getenv.
84b3fd84 8330 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
8331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8332 Likewise.
8333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8334 Likewise.
8335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8337 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 8342
56e49b71
JM
83432012-07-25 Joseph Myers <joseph@codesourcery.com>
8344
8345 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8346 (struct La_i86_retval): Likewise.
8347 (struct La_x86_64_regs): Likewise.
8348 (struct La_x86_64_retval): Likewise.
8349 (struct La_x32_regs): Likewise.
8350 (struct La_x32_retval): Likewise.
8351 (struct La_ppc32_regs): Likewise.
8352 (struct La_ppc32_retval): Likewise.
8353 (struct La_ppc64_regs): Likewise.
8354 (struct La_ppc64_retval): Likewise.
8355 (struct La_sh_regs): Likewise.
8356 (struct La_sh_retval): Likewise.
8357 (struct La_s390_32_regs): Likewise.
8358 (struct La_s390_32_retval): Likewise.
8359 (struct La_s390_64_regs): Likewise.
8360 (struct La_s390_64_retval): Likewise.
8361 (struct La_sparc32_regs): Likewise.
8362 (struct La_sparc32_retval): Likewise.
8363 (struct La_sparc64_regs): Likewise.
8364 (struct La_sparc64_retval): Likewise.
8365 (struct audit_ifaces): Remove architecture-specific pltenter and
8366 pltexit members.
8367 * sysdeps/i386/ldsodefs.h: New file.
8368 * sysdeps/powerpc/ldsodefs.h: Likewise.
8369 * sysdeps/s390/ldsodefs.h: Likewise.
8370 * sysdeps/sh/ldsodefs.h: Likewise.
8371 * sysdeps/sparc/ldsodefs.h: Likewise.
8372 * sysdeps/x86_64/ldsodefs.h: Likewise.
8373
354691b7
MP
83742012-07-25 Marek Polacek <polacek@redhat.com>
8375
8376 [BZ #6808]
8377 * math/libm-test.inc (yn_test): Add another test.
8378 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8379 to ERANGE when the result is +-Inf.
8380 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8381 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8382 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8383 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8384
bf9e2071
JM
83852012-07-24 Joseph Myers <joseph@codesourcery.com>
8386
8387 * conform/data/time.h-data (NULL): Use macro-constant. Require
8388 equal to 0.
8389 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8390 clock_t.
8391 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8392
57633811
TS
83932012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8394
8395 * configure.in <sysdeps resolving>: Correct printing
8396 Implies_before.
8397 * configure: Regenerate.
8398
c23c33b0
TS
83992012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8400
8401 * math/w_ilogb.c: Include <limits.h>.
8402 * math/w_ilogbl.c: Likewise.
8403
b5982523
JM
84042012-07-20 Joseph Myers <joseph@codesourcery.com>
8405
8406 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8407 va_copy. Document allowing for unavailable va_copy only as
8408 pre-C99 compatibility.
8409 * manual/string.texi (Copying and Concatenation): Use va_copy
8410 instead of __va_copy in concat example.
8411
ac4ea442
PT
84122012-07-20 Pino Toscano <toscano.pino@tiscali.it>
8413
8414 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8415 (__sendto): Use create_address_port. Initialize APORT and deallocate
8416 it if not null.
8417
f98eafbd
PT
8418 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8419 with O_NOLINK passed to __file_name_lookup.
8420
898c7aab
PT
8421 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
8422 with O_NOLINK passed to __file_name_lookup.
8423
0ced335a
PT
8424 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
8425 negative N or less than NGIDS.
8426
b3404dbd
PT
8427 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8428 type to string_t. Set ERANGE as errno and return it if NAME is not big
8429 enough. Use memcpy instead of strncpy.
8430
0f48659e
JM
84312012-07-20 Joseph Myers <joseph@codesourcery.com>
8432
8433 * elf/Makefile (check-data): Remove.
8434 (localplt.data): New vpath directive.
8435 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8436 instead of $(check-data).
8437 * scripts/data/localplt-generic.data: Move to ...
8438 * sysdeps/generic/localplt.data: ... here.
8439 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
8440 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
8441 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
8442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8443 ... here.
8444 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
8445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8446 ... here.
8447 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
8448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
8449 ... here.
8450 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8452 ... here.
8453 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8455 ... here.
8456 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8458 ... here.
8459
d37cbdaa
AZ
84602012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8461
8462 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8463 PPC32 and PPC64 files.
8464 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8465 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8466
46f85fc2
AK
84672012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8468
8469 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8470 __makecontext_ret to ...
8471 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8472 ... here and call exit if uc_link is NULL. New file.
8473 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8474 __makecontext_ret.S.
8475 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8476 __makecontext_ret to ...
8477 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8478 ... here and call exit if uc_link is NULL. New file.
8479 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8480 __makecontext_ret.S.
8481
08f43f9b
AK
84822012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8483
8484 * elf/elf.h (R_390_IRELATIVE): New definition.
8485 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8486 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8487 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8488 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8489 (elf_machine_lazy_rel): Likewise.
8490 * sysdeps/s390/dl-irel.h: New file.
8491 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8492 * sysdeps/s390/s390-64/memset.S: New asm code.
8493 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8494 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8495 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8496 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8497 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8498 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8499 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8500 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8501 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8502 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8503 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8504 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8505 * sysdeps/s390/s390-32/memset.S: New asm code.
8506 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8507
3b05db33
MP
85082012-07-17 Marek Polacek <polacek@redhat.com>
8509
8510 [BZ #14349]
8511 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8512 * sysdeps/s390/s390-64/configure.in: Likewise.
8513 * sysdeps/sparc/configure.in: Likewise.
8514 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8515 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8516 * sysdeps/i386/configure.in: Likewise.
8517 * sysdeps/x86_64/configure.in: Likewise.
8518 * sysdeps/sh/configure.in: Likewise.
8519 * sysdeps/s390/s390-32/configure: Regenerated.
8520 * sysdeps/s390/s390-64/configure: Likewise.
8521 * sysdeps/x86_64/configure: Likewise.
8522 * sysdeps/sh/configure: Likewise.
8523 * sysdeps/powerpc/powerpc64/configure: Likewise.
8524 * sysdeps/powerpc/powerpc32/configure: Likewise.
8525 * sysdeps/sparc/configure: Likwise.
8526 * sysdeps/i386/configure: Likewise.
8527
a66877c6
MP
8528 * elf/dl-open.c: Comment fixes.
8529
cfc82fd8
JM
85302012-07-17 Joseph Myers <joseph@codesourcery.com>
8531
bd29910a
JM
8532 * Makefile [CXX] (check-data): Remove.
8533 [CXX] (c++-types.data): New vpath directive.
8534 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8535 vpath. Do not allow for C++ type data being missing.
8536 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8537 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8538 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8539 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8540 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8541 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8542 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8544 ... here.
8545 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8547 ... here.
8548 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8550 ... here.
8551 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8553 ... here.
8554 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8556 ... here.
8557 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8559 ... here.
8560 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8562 ... here.
8563 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8565
cfc82fd8
JM
8566 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8567 definitions to architecture-specific files.
8568 (TLS_IE): Likewise.
8569 (TLS_LD): Likewise.
8570 (TLS_GD): Likewise.
8571 * sysdeps/i386/tls-macros.h: New file.
8572 * sysdeps/powerpc/tls-macros.h: Likewise.
8573 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8574 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8575 * sysdeps/sh/tls-macros.h: Likewise.
8576 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8577 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8578 * sysdeps/x86_64/tls-macros.h: Likewise.
8579
f7db3170
TS
85802012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8581
07cbfc23
TS
8582 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8583 zero value for regular exit case.
8584
f7db3170
TS
8585 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8586 (__start_context): Preserve zero value for regular exit case.
8587
dc97c227
TS
85882012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8589 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8590
8591 * manual/setjmp.texi (setcontext): Clarify normal process
8592 termination when uc_link is the null pointer.
8593 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8594 exit call.
8595
d0cd7d02
AS
85962012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8597
8598 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8599 preprocessor. Test for each exception mask separately.
8600
dd318934
AJ
86012012-07-16 Andreas Jaeger <aj@suse.de>
8602
8603 * po/ru.po: Update from translation team.
8604
8048311a
JM
86052012-07-15 Joseph Myers <joseph@codesourcery.com>
8606
8607 * conform/data/string.h-data (NULL): Use macro-constant. Require
8608 equal to 0.
8609 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8610 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8611 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8612 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8613 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8614
b637d46e
AJ
86152012-07-13 Andreas Jaeger <aj@suse.de>
8616
8617 * po/fr.po: Update from translation team.
8618
541428fe
MP
86192012-07-12 Marek Polacek <polacek@redhat.com>
8620
8621 [BZ #14173]
8622 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8623 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8624 loop condition.
8625
ec332e94
JM
86262012-07-12 Joseph Myers <joseph@codesourcery.com>
8627
8628 [BZ #13717]
8629 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8630 Change to 2.4.1 where previously 2.4.0.
8631 * sysdeps/unix/sysv/linux/configure: Regenerated.
8632 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8633 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8634 version.
8635 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8636 (__ASSUME_AT_CLKTCK): Remove.
8637 (__ASSUME_AT_PAGESIZE): Likewise.
8638 (__ASSUME_AT_XID): Likewise.
8639 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8640 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8641 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8642 unconditionally.
8643 (HAVE_AUX_PAGESIZE): Likewise.
8644 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8645 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8646 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8647
7b6e99be
JB
86482012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8649
8650 [BZ #14307]
8651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8652 the temporary buffer used to invoke __gethostbyname2_r,
8653 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8654 host_data / struct gaih_addrtuple.
8655 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8656 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8657 header file nss/nsswitch.h.
8658 * nss/nsswitch.h (global scope): Add definition of implementation
8659 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8660 resolv/nss_dns/dns-host.c).
8661
608404eb
AJ
86622012-07-11 Andreas Jaeger <aj@suse.de>
8663
8664 * po/fr.po: Update from translation team.
8665
71220aca
AJ
8666 * po/sv.po: Update from translation team
8667 * po/fr.po: Another update from translation team.
8668
28cfe843
AZ
86692012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8670
8671 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8672 for subnormals or multiply small sinh result by itself.
8673 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8675
6b90f981
DM
86762012-07-11 David S. Miller <davem@davemloft.net>
8677
8678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8679
c6825772
AS
86802012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8681
8682 [BZ #14347]
8683 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8684 (INTERNAL_MARK): Shift it here.
8685
7b8e0d49
MP
86862012-07-10 Marek Polacek <polacek@redhat.com>
8687
8688 [BZ #14151]
8689 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8690 libc_cv_asm_global_directive with .globl.
8691 * configure: Regenerated.
8692 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8693 with .globl.
8694 * sysdeps/i386/configure: Regenerated.
8695 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8696 with .globl.
8697 * sysdeps/x86_64/configure: Regenerated.
8698 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8699 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8700 * elf/tst-unique2mod2.c: Likewise.
8701 * elf/tst-unique2mod1.c: Likewise.
8702 * elf/tst-unique1mod2.c: Likewise.
8703 * elf/tst-unique1mod1.c: Likewise.
8704 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8705 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8706 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8707 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8708 * sysdeps/mach/sysdep.h: Likewise.
8709 * sysdeps/i386/sysdep.h: Likewise.
8710 * sysdeps/i386/i386-mcount.S: Likewise.
8711 * sysdeps/x86_64/_mcount.S: Likewise.
8712 * sysdeps/x86_64/sysdep.h: Likewise.
8713 * sysdeps/sh/_mcount.S: Likewise.
8714 * sysdeps/sh/sysdep.h: Likewise.
8715 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8716 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8717 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8718 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8719 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8720 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8721 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8722 * locale/localeinfo.h: Likewise.
8723 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8724 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8725
6c55cda3
RM
87262012-07-09 Roland McGrath <roland@hack.frob.com>
8727
8728 [BZ #14336]
8729 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8730 system".
8731 * manual/message.texi (The Uniforum approach): Likewise.
8732 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8733 (glibc iconv Implementation): Likewise.
8734
638a572e
JM
87352012-07-09 Joseph Myers <joseph@codesourcery.com>
8736
8737 [BZ #14337]
8738 * math/s_clog.c (__clog): Avoid scaling a value down where that
8739 could result in underflow.
8740 * math/s_clog10.c (__clog10): Likewise.
8741 * math/s_clog10f.c (__clog10f): Likewise.
8742 * math/s_clog10l.c (__clog10l): Likewise.
8743 * math/s_clogf.c (__clogf): Likewise.
8744 * math/s_clogl.c (__clogl): Likewise.
8745 * math/libm-test.inc (clog_test): Add more tests.
8746 (clog10_test): Likewise.
8747 * sysdeps/i386/fpu/libm-test-ulps: Update.
8748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8749
261f4859
AS
87502012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8751
0abaf3e4
AS
8752 [BZ #14283]
8753 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8754 by 7 not 8 to examine high bit of fractional part.
8755
261f4859
AS
8756 [BZ #14042]
8757 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8758 for call to __mcount_internal.
8759 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8760 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8761 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8762
f17ac40d
JM
87632012-07-06 Joseph Myers <joseph@codesourcery.com>
8764
9ad63c23
JM
8765 [BZ #14154]
8766 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8767 approximation for values within 0x1p-13f of an odd multiple of
8768 pi/4.
8769 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8770 exception. Add more tests.
8771 * sysdeps/i386/fpu/libm-test-ulps: Update.
8772
f17ac40d
JM
8773 [BZ #6778]
8774 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8775 inputs and return -1 for them. Do not check for +Inf in case not
8776 reachable for +Inf.
8777 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8778 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8779 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8780 and return -1 for them. Do not check for +Inf in case not
8781 reachable for +Inf.
8782 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8783 define.
8784 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8785 and return -1 for them. Do not check for +Inf in case not
8786 reachable for +Inf.
8787 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8788 spurious underflow.
8789 * sysdeps/i386/fpu/libm-test-ulps: Update.
8790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8791
fb21f89b
MF
87922012-07-06 Mike Frysinger <vapier@gentoo.org>
8793
8794 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8795
cdfe2c5e
JM
87962012-07-05 Joseph Myers <joseph@codesourcery.com>
8797
8798 [BZ #14157]
8799 [BZ #14331]
8800 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8801 could result in spurious underflow. Scale down values above
8802 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8803 * math/s_csqrtf.c (__csqrtf): Likewise.
8804 * math/s_csqrtl.c (__csqrtl): Likewise.
8805 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8806 spurious underflow.
8807 * sysdeps/i386/fpu/libm-test-ulps: Update.
8808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8809
70d35b67
AS
88102012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8811
704bc459
AS
8812 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8813 xopen-msg.sed.
8814 * catgets/xopen-msg.awk: New file.
8815 * catgets/xopen-msg.sed: Removed.
8816
70d35b67
AS
8817 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8818 po2text.sed.
8819 * intl/po2test.awk: New file.
8820 * intl/po2test.sed: Removed.
8821
ca61cf32
JM
88222012-07-04 Joseph Myers <joseph@codesourcery.com>
8823
8824 [BZ #14328]
8825 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8826 or multiply small sinh result by itself.
8827 * math/s_ctanf.c (__ctanf): Likewise.
8828 * math/s_ctanh.c (__ctanh): Likewise.
8829 * math/s_ctanhf.c (__ctanhf): Likewise.
8830 * math/s_ctanhl.c (__ctanhl): Likewise.
8831 * math/s_ctanl.c (__ctanl): Likewise.
8832 * math/libm-test.inc (ctan_test_tonearest): New function.
8833 (ctan_test_towardzero): Likewise.
8834 (ctan_test_downward): Likewise.
8835 (ctan_test_upward): Likewise.
8836 (ctanh_test_tonearest): Likewise.
8837 (ctanh_test_towardzero): Likewise.
8838 (ctanh_test_downward): Likewise.
8839 (ctanh_test_upward): Likewise.
8840 (main): Call these new functions.
8841 * sysdeps/i386/fpu/libm-test-ulps: Update.
8842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8843
ca48a46a
MF
88442012-07-03 Mike Frysinger <vapier@gentoo.org>
8845
8846 * .gitignore: Delete /ports entry.
8847
9d63d37d
AJ
88482012-07-03 Andreas Jaeger <aj@suse.de>
8849
8850 * po/bg.po: Update from translation team.
8851 * po/cs.po: Likewise.
8852 * po/de.po: Likewise.
8853 * po/hr.po: Likewise.
8854 * po/nl.pl: Likewise.
8855 * po/pl.po: Likewise.
8856 * po/vi.po: Likewise.
8857
370ca3d2
JM
88582012-07-03 Joseph Myers <joseph@codesourcery.com>
8859
95f5a9a8
JM
8860 * Makeconfig [!+link] (+link-before-libc): New variable.
8861 [!+link] (+link-after-libc): Likewise.
8862 [!+link] (+link-tests): Likewise.
8863 [!+link] (+link): Define in terms of $(+link-before-libc) and
8864 $(+link-after-libc).
8865 [!+link-static] (+link-static-before-libc): New variable.
8866 [!+link-static] (+link-static-after-libc): Likewise.
8867 [!+link-static] (+link-static-tests): Likewise.
8868 [!+link-static] (+link-static): Define in terms of
8869 $(+link-static-before-libc) and $(+link-static-after-libc).
8870 [build-shared] (link-libc-before-gnulib): New variable.
8871 [build-shared] (link-libc-tests): Likewise.
8872 [build-shared] (link-libc): Define in terms of
8873 $(link-libc-before-gnulib).
8874 [!build-shared] (link-libc-tests): New variable.
8875 (link-libc-static-tests): New variable.
8876 [!gnulib] (gnulib-arch): New variable.
8877 [!gnulib] (gnulib-tests): Likewise.
8878 [!gnulib] (static-gnulib-arch): Likewise.
8879 [!gnulib] (static-gnulib-tests): Likewise.
8880 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8881 Define with "=" instead of ":=".
8882 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8883 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8884 * Rules (binaries-all-notests): New variable.
8885 (binaries-all-tests): Likewise.
8886 (binaries-static-notests): Likewise.
8887 (binaries-static-tests): Likewise.
8888 (binaries-all): Define using $(binaries-all-notests) and
8889 $(binaries-all-tests).
8890 (binaries-static): Define using $(binaries-static-notests) and
8891 $(binaries-static-tests).
8892 (binaries-shared-tests): New variable.
8893 (binaries-shared-notests): Likewise.
8894 (binaries-shared): Remove variable.
8895 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8896 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8897 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8898 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8899 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8900 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8901 * elf/Makefile (sln-modules): New variable.
8902 (extra-objs): Add $(sln-modules:=.o).
8903 (ldconfig-modules): Add static-stubs.
8904 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8905 * elf/static-stubs.c: New file.
8906
7a845b2c
JM
8907 [BZ #14283]
8908 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8909 by 7 not 8 to examine high bit of fractional part. Use volatile
8910 variables when splitting into final array of floats if
8911 __FLT_EVAL_METHOD__ != 0.
8912 * math/libm-test.inc (cos_test): Add another test.
8913 (sin_test): Likewise.
8914 * sysdeps/i386/fpu/libm-test-ulps: Update.
8915
e2283f38
JM
8916 [BZ #14273]
8917 * math/libm-test.inc (cosh_test): Add more tests.
8918
370ca3d2
JM
8919 * version.h (RELEASE): Set to "development".
8920 (VERSION): Set to "2.16.90".
8921
ee9247c3
CD
89222012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8923
8924 * NEWS: Update copyright. Remove last-updated date.
8925 Mention math library bug fixes and timezone data changes.
8926 * README: Mention GNU/Hurd, x32, and HPPA support status.
8927
4648c381
TS
89282012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8929
8930 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8931
aac78a43
AJ
89322012-06-27 Andreas Jaeger <aj@suse.de>
8933
8934 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8935
ed3dbfad
AJ
89362012-06-25 Andreas Jaeger <aj@suse.de>
8937
8938 * sysdeps/s390/fpu/libm-test-ulps: Update.
8939
4d0ee855
AS
89402012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8941 Thomas Schwinge <thomas@codesourcery.com>
8942
8943 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8944 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8945 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8946 fanotify_mark.
8947
af1bce34
TS
89482012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8949
a9fa33ba
TS
8950 * sysdeps/mach/start.c: Remove file.
8951 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8952 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8953 * sysdeps/sh/init-first.c: Likewise.
8954
58f902b8
TS
8955 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8956 registers for frame unwinding purposes, add CFI directives.
8957 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8958 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8959 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8960 Likewise.
8961
1518f58b
TS
8962 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8963 __fortify_fail returning.
8964 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8965
db9b5059
TS
8966 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8967 sysdeps/sh/____longjmp_chk.S.
8968 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8969 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8970 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8971 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8972
967705fe
TS
8973 * sysdeps/sh/abort-instr.h: New file.
8974 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8975 process in case exit returns.
8976
a9def8c4
TS
8977 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8978 initialize the GOT register before use.
8979
2a649725
TS
8980 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8981 calculation of ARGC > 4.
8982
af1bce34
TS
8983 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8984 meaningful names to some local labels.
8985
d230f50a
KK
89862012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8987 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8988
8989 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8990 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8991 (__arch_compare_and_exchange_val_16_acq): Likewise.
8992 (__arch_compare_and_exchange_val_32_acq): Likewise.
8993 (atomic_exchange_and_add): Fix gUSA sequence.
8994 (atomic_add): Likewise.
8995 (atomic_add_negative): Likewise.
8996 (atomic_add_zero): Likewise.
8997 (atomic_bit_test_set): Likewise.
8998
0479b305
AS
89992012-06-22 Andreas Schwab <schwab@redhat.com>
9000
9001 [BZ #13579]
9002 * include/link.h (struct link_map): Add l_free_initfini.
9003 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
9004 l_initfini.
9005 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
9006 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
9007 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
9008 set.
9009
0e3933b9
CD
90102012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
9011
9012 * configure.in: Use AC_LANG_SOURCE.
9013 * configure: Regenerate.
9014
4248b1b1
RM
90152012-06-22 Roland McGrath <roland@hack.frob.com>
9016
9017 * configure.in (libc_cv_localstatedir): New substituted variable.
9018 * configure: Regenerated.
9019 * config.make.in (localstatedir): New variable, substituted from
9020 libc_cv_localstatedir.
9021 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
9022 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
9023 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
9024 * sysdeps/gnu/configure: Regenerated.
9025
006dd861
JL
90262012-06-21 Jeff Law <law@redhat.com>
9027
9028 [BZ #14277]
9029 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
9030 free. Simplify list management for _LIBC case.
9031
79662d42
JM
90322012-06-21 Joseph Myers <joseph@codesourcery.com>
9033
b7abb4bf
JM
9034 [BZ #14273]
9035 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9036 Clear sign bit of 64-bit integer value before comparing against
9037 overflow value.
9038
79662d42
JM
9039 * sysdeps/mach/configure: Regenerated.
9040
1f150908
L
90412012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9042
9043 [BZ #14278]
9044 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9045
28363bbf
JL
90462012-06-21 Jeff Law <law@redhat.com>
9047
9048 [BZ #13882]
9049 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9050 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 9051 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
9052 * elf/dl-open.c (dl_open_worker): Likewise.
9053
09615db4
CD
90542012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9055
9056 * scripts/list-sources.sh: Scan PORTS for translations.
9057 * po/libc.pot: Regenerated.
9058
2174c6dd
AJ
90592012-06-21 Andreas Jaeger <aj@suse.de>
9060
9061 [BZ #12194]
9062 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9063 warning.
9064 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9065 * bits/byteswap-16.h (__bswap_16): Likewise.
9066 * bits/byteswap.h (__bswap_constant_16): Likewise.
9067
3ee947b1
L
90682012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9069
9070 [BZ #14117]
a2f34833
L
9071 * sysdeps/i386/fpu_control.h: Removed.
9072 * sysdeps/x86_64/fpu_control.h: Moved to ...
9073 * sysdeps/x86/fpu_control.h: Here.
9074
3ee947b1
L
9075 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9076 (_FPU_SETCW): Likewise.
9077
ed1825f8
L
90782012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9079
25f1282a
L
9080 [BZ #14117]
9081 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9082 * sysdeps/x86/fpu/bits/mathinline.h: This.
9083 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9084
ed1825f8
L
9085 [BZ #14050]
9086 [BZ #14117]
9087 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9088 functions if __x86_64__ is defined.
9089
36d54b74
CLT
90902012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9091
9092 * string/endian.h: Add !__ASSEMBLER__ condition for including
9093 conversion interfaces.
9094
10285c21
JM
90952012-06-15 Joseph Myers <joseph@codesourcery.com>
9096
9097 [BZ #14241]
9098 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9099 of ABS(x) in calculating zero to negative powers other than odd
9100 integers.
9101 * math/libm-test.inc (pow_test): Add more tests.
9102
06c5abbd
AJ
91032012-06-15 Andreas Jaeger <aj@suse.de>
9104
9105 * manual/contrib.texi (Contributors): Update entry of Liubov
9106 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9107 Machado Filho.
9108
a3aeac40
CH
91092012-06-15 Cyril Hrubis <metan@ucw.cz>
9110
9111 * string/string.h: Add __wur to GNU version of strerror_r.
9112
49bdf4c1
L
91132012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9114
9115 [BZ #14229]
9116 * string/Makefile (tests): Add tst-strtok_r.
9117 * string/tst-strtok_r.c: New file.
9118 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9119 RAX_LP/RDX_LP on SAVE_PTR.
9120
834f9b8d
RM
91212012-06-14 Roland McGrath <roland@hack.frob.com>
9122
9123 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9124
75fa1921
JM
91252012-06-14 Joseph Myers <joseph@codesourcery.com>
9126
9127 * libm_test.inc (csqrt_test): Allow more spurious underflow
9128 exceptions.
9129 (j0_test): Likewise.
9130 (j1_test): Likewise.
9131 (y0_test): Likewise.
9132 (y1_test): Likewise.
9133
771766df
CD
91342012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9135
9136 * po/Makefile (libc.pot): Use UTF-8 charset.
9137
ceb9e56b
PP
91382012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9139
9140 [BZ #14210]
9141 Suppress sign-conversion warning from FD_SET.
9142 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9143 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9144 not unsigned long int.
9145 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9146
ddb28975
L
91472012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9148
9149 [BZ #14050]
9150 [BZ #14117]
9151 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9152 __extern_always_inline instead of __extern_inline.
9153 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9154 (__signbit): Likewise.
9155 (__signbitl): Support C++ namespace.
9156 (lrintf): New inline function.
9157 (lrint): Likewise.
9158 (llrintf): Likewise.
9159 (llrint): Likewise.
9160 (fmaxf): Likewise.
9161 (fmax): Likewise.
9162 (fminf): Likewise.
9163 (fmin): Likewise.
9164 (rint): Likewise.
9165 (rintf): Likewise.
9166 (ceil): Likewise.
9167 (ceilf): Likewise.
9168 (floor): Likewise.
9169 (floorf): Likewise.
9170 (nearbyint): Likewise.
9171 (nearbyintf): Likewise.
9172
d7b4fb26
TS
91732012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9174
9175 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9176 non-default versions.
9177
eb55f5c2
RM
91782012-06-11 Roland McGrath <roland@hack.frob.com>
9179
9180 [BZ #14218]
9181 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9182
366af02c
TS
91832012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9184
99ff6e5c
TS
9185 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9186 (FE_UPWARD, FE_DOWNWARD): Don't define.
9187 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9188 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9189
366af02c
TS
9190 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9191 reading it.
9192 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9193 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9194
793ea851
KK
91952012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9196
9197 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9198 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9199 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9200 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9201
a728a38f
L
92022012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9203
9204 [BZ #14117]
c08010c7
L
9205 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9206 * sysdeps/i386/fpu/Implies: New file.
9207 * sysdeps/x86_64/fpu/Implies: Likewise.
9208 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9209 * sysdeps/x86/fpu/bits/fenv.h: This.
9210
a728a38f
L
9211 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9212 __SSE_MATH__.
9213
6e230d11
SP
92142012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9215
9216 [BZ #14134]
9217 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9218 character 0xffff that matches the last element of the
9219 conversion table.
9220
1b671feb
AZ
92212012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9222
9223 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9224 fmodl commit.
9225
6043738b
AZ
92262012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9227
9228 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9229 values higher than 25.6283.
9230
34ae0b32
AZ
92312012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9232
9233 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9234 subnormal exponent extraction and add some __builtin_expect.
9235 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9236 Fix for subnormal mantissa calculation.
9237
1214ec8f
MF
92382012-06-04 Mike Frysinger <vapier@gentoo.org>
9239
9240 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9241 cpu2 is -1 and errno is not ENOSYS.
9242
f3d1f93c
L
92432012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9244
9245 [BZ #14117]
0e4a3cd7
L
9246 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9247 * sysdeps/x86/bits/string.h: This.
9248 * sysdeps/x86_64/bits/string.h: Removed.
9249
6704c645
L
9250 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9251 if not compiling for x86-64, but compiling for >= i486.
9252
48495318
L
9253 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9254 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9255
14adcbfc
L
9256 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9257 New macro from Linux kernel 3.4.0.
9258 (FP_XSTATE_MAGIC2): Likewise.
9259 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9260 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9261 (struct _fpx_sw_bytes): New struct.
9262 (struct _xsave_hdr): Likewise.
9263 (struct _ymmh_state): Likewise.
9264 (struct _xstate): Likewise.
9265
68e408ab
L
9266 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9267 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9268 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9269 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9270 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9271 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9272
f3d1f93c
L
9273 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9274 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9275 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9276 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9277 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9278 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9279
d9dc34cd
TMQMF
92802012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9281
9282 [BZ #13743]
9283 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9284 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9285 (sysdep_headers): Include sys/platform/ppc.h.
9286 * sysdeps/powerpc/test-gettimebase.c: Test for
9287 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9288 * manual/Makefile (appendices): Include platform.texi.
9289 * manual/contrib.texi (Contributors): Update @node pointers.
9290 * manual/maint.texi (Maintenance): Likewise.
9291 (Platform): New node.
9292 * manual/platform.texi: New file. Document the new features.
9293
4af3879c
SP
92942012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9295 Jakub Jelinek <jakub@redhat.com>
9296
9297 [BZ #14188]
9298 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9299 where __builtin_expect is unavailable.
9300
2fd6ff13
DM
93012012-06-03 David S. Miller <davem@davemloft.net>
9302
9303 * stdlib/longlong.h: Updated from GCC.
9304
173f7220
AS
93052012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9306
9307 [BZ #14042]
9308 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9309 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9310 __mcount_internal.
9311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9312 (GLIBC_2.16): Likewise.
9313
f34a1c6f
L
93142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9315
9316 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9317
88a4576f
JM
93182012-06-01 Joseph Myers <joseph@codesourcery.com>
9319
ea32bcdd
JM
9320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9321 (default-abi): New variable.
9322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9323 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9324 variable.
9325 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9326 Likewise.
9327 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9328 Likewise.
9329 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9330 Likewise.
9331
88a4576f
JM
9332 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9333 definition. Document in comment.
9334
402fe938
DM
93352012-06-01 David S. Miller <davem@davemloft.net>
9336
9337 * stdlib/longlong.h: Updated from GCC.
9338
3553723f
L
93392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9340
9341 [BZ #14117]
3bd872c4
L
9342 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9343 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9344 sys/debugreg.h sys/io.h here.
9345 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9346 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9347 sys/io.h.
9348 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9349 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9350 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9351 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9352 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9353 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9354
3553723f
L
9355 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9356 Define only if __x86_64__ is defined.
9357
4842e4fe
JM
93582012-06-01 Joseph Myers <joseph@codesourcery.com>
9359
c5bfe3d5
JM
9360 [BZ #14048]
9361 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9362 Use int64_t for variable i.
9363 * math/libm-test.inc (fmod_test): Add more tests.
9364
4842e4fe
JM
9365 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9366 z computation is not scheduled after fetestexcept.
9367 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9368 Use math_force_eval instead of asm to ensure calculation scheduled
9369 before exception test.
9370 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9371 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9372
efb73488
AJ
93732012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9374
9375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9376 computation is not scheduled after fetestexcept.
9377
29bcce7c
L
93782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9379
9380 [BZ #14117]
9381 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9382 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9383
73a68f94
AZ
93842012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9385
9386 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9387 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9388
67b6df78
L
93892012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9390
edf2933a 9391 [BZ #14117]
ebc64a18
L
9392 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9393 <bits/wordsize.h>.
9394 (__WCHAR_MIN): Support __WORDSIZE == 64.
9395 (__WCHAR_MAX): Likewise.
9396
edf2933a
L
9397 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9398 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9399
57c6cf40
L
9400 [BZ #14183]
9401 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9402 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9403
67b6df78 9404 [BZ #14117]
8eb6281e
L
9405 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9406 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9407
aac639f4
L
9408 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9409 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9410
67b6df78
L
9411 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9412 Defined to 1 if __x86_64__ isn't defined.
9413 (_STAT_VER_LINUX_OLD): New.
9414 (st_atime): Remove duplicate.
9415 (st_mtime): Likewise.
9416 (st_ctime): Likewise.
9417
1c2cfe81
DM
94182012-05-31 David S. Miller <davem@davemloft.net>
9419
9420 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9421 entries.
9422
5be8418c
AS
94232012-06-01 Andreas Schwab <schwab@linux-m68k.org>
9424
e7725326
AS
9425 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9426 gen-libm-test.pl.
9427
5be8418c
AS
9428 [BZ #14132]
9429 * elf/dl-reloc.c: Include <_itoa.h>.
9430 (_dl_reloc_bad_type): Remove use of INTUSE.
9431 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9432 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9433 * stdio-common/psiginfo.c (psiginfo): Likewise.
9434 * stdio-common/psignal.c (psignal): Likewise.
9435 * string/strsignal.c (strsignal): Likewise.
9436 * include/signal.h (_sys_siglist): Declare hidden proto.
9437 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
9438 INTVARDEF with libc_hidden_data_def.
9439 * stdio-common/itoa-udigits.c: Likewise.
9440 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
9441 (_itoa_lower_digits_internal): Remove declaration.
9442 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
9443 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
9444 (_sys_sigabbrev_internal): Remove aliases.
9445 (_sys_siglist): Define hidden alias.
9446
507352f1
MT
94472012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
9448
9449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9450 bits/sysctl.h.
9451
42bbb1c3
L
94522012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9453
9454 [BZ #14117]
6bd784b6
L
9455 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9456 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9457
8bca20f0
L
9458 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9459 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9460 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9461 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9462 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9463 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9464
f9e890a9
L
9465 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9466 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9467 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9468
471101a1
L
9469 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9470 with __addr.
9471 (insw): Likewise.
9472 (insl): Likewise.
9473 (outsb): Likewise.
9474 (outsw): Likewise.
9475 (outsl): Likewise.
9476
6451c862
L
9477 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9478 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9479 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9480
a254b8c9
L
9481 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9482 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9483 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9484 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9485 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9486 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9487
b8dfdd92
L
9488 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9489 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9490
578cd270
L
9491 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9492 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9493
de662f5f
L
9494 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9495 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9496 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9497
25653439
L
9498 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9499 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9500 to ...
9501 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9502
6bad24a0
L
9503 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9504 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9505 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9506
42bbb1c3
L
9507 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9508 for x86-64.
9509 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9510
2d10d547
JM
95112012-05-31 Joseph Myers <joseph@codesourcery.com>
9512
9513 * math/math.h (M_El): Use two more decimal places.
9514 (M_LOG2El): Likewise.
9515 (M_LOG10El): Likewise.
9516 (M_LN2l): Likewise.
9517 (M_LN10l): Likewise.
9518 (M_PIl): Likewise.
9519 (M_PI_2l): Likewise.
9520 (M_PI_4l): Likewise.
9521 (M_1_PIl): Likewise.
9522 (M_2_PIl): Likewise.
9523 (M_2_SQRTPIl): Likewise.
9524 (M_SQRT2l): Likewise.
9525 (M_SQRT1_2l): Likewise.
9526
f230c29b
DM
95272012-05-31 David S. Miller <davem@davemloft.net>
9528
9529 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9530 values between float registers.
9531 * sysdeps/sparc/sparc64/memset.S: Likewise.
9532 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9533
fed806c3
MF
95342012-05-31 Mike Frysinger <vapier@gentoo.org>
9535
9536 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9537 -D_FORTIFY_SOURCE=1.
9538 (CPPFLAGS-tst-longjmp_chk.c): Define.
9539 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9540 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9541 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9542 CFLAGS-tst-wchar-h.c.
9543
30917259
MP
95442012-05-31 Marek Polacek <polacek@redhat.com>
9545
9546 [BZ #14132]
9547 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9548 __endmntent_internal): Remove declaration.
9549 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9550 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9551 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9552
1c58d5dc
DM
95532012-05-30 David S. Miller <davem@davemloft.net>
9554
9555 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9556 (___Q_simulate_exceptions): Use real FP ops rather than writing
9557 into the %fsr.
9558 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9559 Likewise.
9560
7dc00e0d
L
95612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9562
9563 [BZ #14117]
0bd53985
L
9564 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9565 * sysdeps/x86/bits/xtitypes.h: This.
9566
3a257e66
L
9567 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9568 * sysdeps/x86/bits/wordsize.h: This.
9569
62f62904
L
9570 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9571 * sysdeps/x86/bits/huge_vall.h: This.
9572
404fe9d9
L
9573 * sysdeps/i386/bits/select.h: Removed.
9574 * sysdeps/x86_64/bits/select.h: Renamed to ...
9575 * sysdeps/x86/bits/select.h: This.
9576
d48d0446
L
9577 * sysdeps/i386/bits/setjmp.h: Removed.
9578 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9579 * sysdeps/x86/bits/setjmp.h: This.
9580
7dc00e0d
L
9581 * sysdeps/i386/bits/mathdef.h: Removed.
9582 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9583 * sysdeps/x86/bits/mathdef.h: This.
9584
03277f8f
AS
95852012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9586
9587 [BZ #14132]
9588 * include/sys/socket.h (__connect_internal)
9589 (__libc_sa_len_internal): Remove declaration.
9590 (__connect, __libc_sa_len): Declare hidden_proto.
9591 (SA_LEN): Remove use of INTUSE.
9592 * socket/connect.c: Add libc_hidden_def.
9593 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9594 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9595 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9596 alias.
9597 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9598 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9599 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9600 of adding _internal alias.
9601
13764867
L
96022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9603
9604 [BZ #14117]
6bd97696
L
9605 * sysdeps/i386/bits/link.h: Removed.
9606 * sysdeps/i386/bits/linkmap.h: Likewise.
9607 * sysdeps/x86_64/bits/link.h: Renamed to ...
9608 * sysdeps/x86/bits/link.h: This.
9609 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9610 * sysdeps/x86/bits/linkmap.h: This.
9611
f726f0bb
L
9612 * sysdeps/i386/bits/endian.h: Removed.
9613 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9614 * sysdeps/x86/bits/endian.h: This.
9615
13764867
L
9616 * sysdeps/i386/bits/byteswap.h: Removed.
9617 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9618 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9619 * sysdeps/x86/bits/byteswap.h: This.
9620 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9621 * sysdeps/x86/bits/byteswap-16.h: This.
9622 * sysdeps/i386/Implies: Add x86.
9623 * sysdeps/x86_64/Implies: Likewise.
9624
ae251b0b
DM
96252012-05-30 David S. Miller <davem@davemloft.net>
9626
9627 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9628 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9629 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9630 (FP_TRAPPING_EXCEPTIONS): Define.
9631 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9632 (FP_TRAPPING_EXCEPTIONS): Define.
9633 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9634 subnormals only when inexact has been signalled or underflow
9635 exceptions are enabled.
9636 (_FP_PACK_CANONICAL): Likewise.
9637
d5c90867
L
96382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9639
9640 [BZ #14183]
9641 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9642 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9643
63f1549e
RH
96442012-05-30 Richard Henderson <rth@twiddle.net>
9645
8d8f2279
RH
9646 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9647 with #ifndef NOT_IN_libc.
9648
63f1549e
RH
9649 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9650 marked to avoid plt entry.
9651
0ab0291b
L
96522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9653
9654 [BZ #14112]
9655 * Makeconfig (default-abi): New macro.
9656 (abi-includes): Likewise.
9657 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9658 $(abi-$(default-abi)-lib-soname) for soname if defined.
9659 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9660 abi-variants.
9661 * Makefile (installed-stubs): Likewise.
9662 * include/stubs-biarch.h: Removed.
9663 * scripts/lib-names.awk: Only handle one library at a time.
9664 * scripts/soversions.awk: Remove WORDSIZE support.
9665 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9666 entries.
9667 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9668 Removed.
9669 (syscall-list-default-condition): Likewise.
9670 (syscall-list-default-condition): Likewise.
9671 (syscall-list-includes): Likewise.
9672 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9673 syscall-list-* with abi-*. Handle undefined abi-variants.
9674 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9675 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9676 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9677 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9678 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9679 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9680 Removed.
9681 (syscall-list-32-options): Likewise.
9682 (syscall-list-32-condition): Likewise.
9683 (syscall-list-64-options): Likewise.
9684 (syscall-list-64-condition): Likewise.
9685 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9686 macro.
9687 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9688 Renamed to ...
9689 (abi-*): This.
9690 (abi-64-ld-soname): New macro.
9691 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9692 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9693 Renamed to ...
9694 (abi-*): This.
9695 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9696 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9697
4da0431d
JM
96982012-05-30 Joseph Myers <joseph@codesourcery.com>
9699
3a85279c
JM
9700 * sysdeps/unix/sysv/linux/kernel-features.h
9701 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9702 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9703 include <kernel-features.h>.
9704 [!__NR_ftruncate64]: Remove conditional code.
9705 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9706 [__NR_ftruncate64]: Make code unconditional.
9707 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9708 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9709 include <kernel-features.h>.
9710 [!__NR_ftruncate64]: Remove conditional code.
9711 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9712 [__NR_ftruncate64]: Make code unconditional.
9713 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9715 include <kernel-features.h>.
9716 [!__NR_ftruncate64]: Remove conditional code.
9717 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9718 [__NR_ftruncate64]: Make code unconditional.
9719 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9721 include <kernel-features.h>.
9722 [!__NR_ftruncate64]: Remove conditional code.
9723 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9724 [__NR_ftruncate64]: Make code unconditional.
9725 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9726
4da0431d
JM
9727 * configure.in (libc_cv_fpie): Weaken to a compile test using
9728 LIBC_TRY_CC_OPTION.
9729 * configure: Regenerated.
9730
11ef492c
AK
97312012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9732
9733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9737 Refreshed.
9738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9744 Refreshed.
9745
d66ef399
DM
97462012-05-27 David S. Miller <davem@davemloft.net>
9747
9748 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9749 (___Q_zero): New.
9750 (__Q_simulate_exceptions): Return void. Change to simulate
9751 exceptions by writing into the %fsr.
9752 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9753 (__Qp_handle_exceptions): Likewise.
9754 (numbers): Delete.
9755 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9756 __Qp_handle_exceptions.
9757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9758 __Qp_handle_exceptions.
9759 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9760 as unused and give dummy FP_RND_NEAREST initializer.
9761 (FP_INHIBIT_RESULTS): Define.
9762 (___Q_simulate_exceptions): Update declaration.
9763 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9764 formatting.
9765 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9766 as unused and give dummy FP_RND_NEAREST initializer.
9767 (__Qp_handle_exceptions): Update declaration.
9768 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9769 formatting.
9770
04fb54b5
TS
97712012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9772
9773 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9774 the temporary FPU control word.
9775 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9776 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9777 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9778 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9779 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9780 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9781 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9782 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9783 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9784 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9785 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9786
3f99608f
KK
97872012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9788
9789 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9790 fields.
9791
65a4de4e
CLT
97922012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9793
9794 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9795 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9796 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9797 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9798 Likewise.
9799 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9800 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9801 Likewise.
9802
15749d40
UD
98032012-05-27 Ulrich Drepper <drepper@gmail.com>
9804
9805 * po/h.po: Update from translation team.
9806
25dbcb27
AS
98072012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9808
3d3f8e55
AS
9809 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9810
25dbcb27
AS
9811 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9812 handling of denormals.
9813 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9814 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9815 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9816 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9817 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9818 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9819 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9820 Likewise.
9821
7ad47a80 98222012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
9823
9824 [BZ #14152]
9825 * math/libm-test.inc (fma_test): Don't always expect underflow
9826 exception.
9827
9c6ea9fa
SP
98282012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9829
9830 [BZ #12416]
9831 * elf/tst-execstack.c: Include stackinfo.h.
9832 (do_test): Adjust test case to ensure that pthread_getattr_np
9833 behaviour remains the same after marking stack executable.
9834
a8239222
JM
98352012-05-25 Joseph Myers <joseph@codesourcery.com>
9836
9837 * sysdeps/unix/sysv/linux/kernel-features.h
9838 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9839 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9840 kernel-features.h.
9841 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9842 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9843 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9844 kernel-features.h.
9845 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9846 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9847
918b5606
L
98482012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9849
9850 * configure.in: Define the default includes to being none.
9851 * configure: Regenerated.
9852
3a097cc7
RM
98532012-05-25 Roland McGrath <roland@hack.frob.com>
9854
8422c9a5
RM
9855 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9856 * sysdeps/x86_64/setjmp.S: Likewise.
9857 * sysdeps/i386/bsd-setjmp.S: Likewise.
9858 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9859 * sysdeps/i386/setjmp.S: Likewise.
9860 * sysdeps/i386/__longjmp.S: Likewise.
9861 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9862 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9863
3a097cc7
RM
9864 * include/stap-probe.h: New file.
9865 * configure.in: Handle --enable-systemtap.
9866 * configure: Regenerated.
9867 * config.h.in (USE_STAP_PROBE): New #undef.
9868 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9869 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9870 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9871
21708942
JM
98722012-05-25 Joseph Myers <joseph@codesourcery.com>
9873
9874 [BZ #13717]
9875 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9876 to 2.4.0 where earlier.
9877 * sysdeps/unix/sysv/linux/configure: Regenerated.
9878 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9879 <kernel-features.h>.
9880 [__ASSUME_32BITUIDS]: Make code unconditional.
9881 [!__ASSUME_32BITUIDS]: Remove conditional code.
9882 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9883 <kernel-features.h>.
9884 [__ASSUME_32BITUIDS]: Make code unconditional.
9885 [!__ASSUME_32BITUIDS]: Remove conditional code.
9886 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9887 [__ASSUME_32BITUIDS]: Make code unconditional.
9888 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9889 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9890 <kernel-features.h>.
9891 [__ASSUME_32BITUIDS]: Make code unconditional.
9892 [!__ASSUME_32BITUIDS]: Remove conditional code.
9893 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9894 <kernel-features.h>.
9895 [__ASSUME_32BITUIDS]: Make code unconditional.
9896 [!__ASSUME_32BITUIDS]: Remove conditional code.
9897 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9898 <kernel-features.h>.
9899 [__ASSUME_32BITUIDS]: Make code unconditional.
9900 [!__ASSUME_32BITUIDS]: Remove conditional code.
9901 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9902 <kernel-features.h>.
9903 [__ASSUME_32BITUIDS]: Make code unconditional.
9904 [!__ASSUME_32BITUIDS]: Remove conditional code.
9905 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9906 <kernel-features.h>.
9907 [__ASSUME_32BITUIDS]: Make code unconditional.
9908 [!__ASSUME_32BITUIDS]: Remove conditional code.
9909 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9910 <kernel-features.h>.
9911 [__ASSUME_32BITUIDS]: Make code unconditional.
9912 [!__ASSUME_32BITUIDS]: Remove conditional code.
9913 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
9914 <kernel-features.h>.
9915 [__ASSUME_32BITUIDS]: Make code unconditional.
9916 [!__ASSUME_32BITUIDS]: Remove conditional code.
9917 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9918 <kernel-features.h>.
9919 [__ASSUME_32BITUIDS]: Make code unconditional.
9920 [!__ASSUME_32BITUIDS]: Remove conditional code.
9921 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9922 <kernel-features.h>.
9923 [__ASSUME_32BITUIDS]: Make code unconditional.
9924 [!__ASSUME_32BITUIDS]: Remove conditional code.
9925 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9926 <kernel-features.h>.
9927 [__ASSUME_32BITUIDS]: Make code unconditional.
9928 [!__ASSUME_32BITUIDS]: Remove conditional code.
9929 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9930 <kernel-features.h>.
9931 [__NR_setresgid] (__setresgid): Do not declare.
9932 [__ASSUME_32BITUIDS]: Make code unconditional.
9933 [!__ASSUME_32BITUIDS]: Remove conditional code.
9934 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9935 <kernel-features.h>.
9936 [__NR_setresuid] (__setresuid): Do not declare.
9937 [__ASSUME_32BITUIDS]: Make code unconditional.
9938 [!__ASSUME_32BITUIDS]: Remove conditional code.
9939 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9940 <kernel-features.h>.
9941 [__ASSUME_32BITUIDS]: Make code unconditional.
9942 [!__ASSUME_32BITUIDS]: Remove conditional code.
9943 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9944 <kernel-features.h>.
9945 [__ASSUME_32BITUIDS]: Make code unconditional.
9946 [!__ASSUME_32BITUIDS]: Remove conditional code.
9947 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9948 <kernel-features.h>.
9949 [__ASSUME_32BITUIDS]: Make code unconditional.
9950 [!__ASSUME_32BITUIDS]: Remove conditional code.
9951 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9952 <kernel-features.h>.
9953 [__ASSUME_32BITUIDS]: Make code unconditional.
9954 [!__ASSUME_32BITUIDS]: Remove conditional code.
9955 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9956 <kernel-features.h>.
9957 [__ASSUME_32BITUIDS]: Make code unconditional.
9958 [!__ASSUME_32BITUIDS]: Remove conditional code.
9959 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9960 <kernel-features.h>.
9961 [__ASSUME_32BITUIDS]: Make code unconditional.
9962 [!__ASSUME_32BITUIDS]: Remove conditional code.
9963 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9964 <kernel-features.h>.
9965 [__ASSUME_32BITUIDS]: Make code unconditional.
9966 [!__ASSUME_32BITUIDS]: Remove conditional code.
9967 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9968 <kernel-features.h>.
9969 [__ASSUME_32BITUIDS]: Make code unconditional.
9970 [!__ASSUME_32BITUIDS]: Remove conditional code.
9971 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9972 <kernel-features.h>.
9973 [__ASSUME_32BITUIDS]: Make code unconditional.
9974 [!__ASSUME_32BITUIDS]: Remove conditional code.
9975 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9976 <kernel-features.h>.
9977 [__ASSUME_32BITUIDS]: Make code unconditional.
9978 [!__ASSUME_32BITUIDS]: Remove conditional code.
9979 * sysdeps/unix/sysv/linux/kernel-features.h
9980 (__ASSUME_SETRESUID_SYSCALL): Remove.
9981 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9982 (__ASSUME_32BITUIDS): Likewise.
9983 (__ASSUME_LDT_WORKS): Likewise.
9984 (__ASSUME_O_DIRECTORY): Likewise.
9985 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9986 architecture but not kernel version.
9987 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9988 (__ASSUME_MMAP2_SYSCALL): Likewise.
9989 (__ASSUME_STAT64_SYSCALL): Likewise.
9990 (__ASSUME_IPC64): Likewise.
9991 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9992 <kernel-features.h>.
9993 [__ASSUME_32BITUIDS]: Make code unconditional.
9994 [!__ASSUME_32BITUIDS]: Remove conditional code.
9995 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9996 <kernel-features.h>.
9997 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9998 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9999 132096]: Remove conditional code.
10000 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
10001 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10002 <kernel-features.h>.
10003 [__ASSUME_32BITUIDS]: Make code unconditional.
10004 [!__ASSUME_32BITUIDS]: Remove conditional code.
10005 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10006 <kernel-features.h>.
10007 [__ASSUME_32BITUIDS]: Make code unconditional.
10008 [!__ASSUME_32BITUIDS]: Remove conditional code.
10009 * sysdeps/unix/sysv/linux/setegid.c: Do not include
10010 <kernel-features.h>.
10011 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
10012 unconditional.
10013 (__setresgid): Do not declare.
10014 [__ASSUME_32BITUIDS]: Make code unconditional.
10015 [!__ASSUME_32BITUIDS]: Remove conditional code.
10016 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
10017 <kernel-features.h>.
10018 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
10019 unconditional.
10020 (__setresuid): Do not declare.
10021 [__ASSUME_32BITUIDS]: Make code unconditional.
10022 [!__ASSUME_32BITUIDS]: Remove conditional code.
10023 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10024 <kernel-features.h>.
10025 [__ASSUME_32BITUIDS]: Make code unconditional.
10026 [!__ASSUME_32BITUIDS]: Remove conditional code.
10027 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
10028 <kernel-features.h>.
10029 [__ASSUME_32BITUIDS]: Make code unconditional.
10030 [!__ASSUME_32BITUIDS]: Remove conditional code.
10031
a386f1cc
RH
100322012-05-25 Richard Henderson <rth@twiddle.net>
10033
10034 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10035 dl_hwcap to ifunc resolver.
10036 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10037 elf_ifunc_invoke.
10038 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10039 dl_hwcap to ifunc resolver.
10040 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10041
b6550497
JM
100422012-05-24 Joseph Myers <joseph@codesourcery.com>
10043
10044 [BZ #14153]
10045 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10046 for |x| <= 2**-26, not 2**-57.
10047 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10048 exception.
10049
b0bc23a1
JL
100502012-05-24 Jeff Law <law@redhat.com>
10051
10052 * stdio-common/Makefile (tests): Add bug25.
10053 * stdio-common/bug25.c: New test.
10054
347c92e9
L
100552012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10056
10057 [BZ #13576]
10058 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10059 multiple of MALLOC_ALIGNMENT in size.
10060 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10061
6bcc8b3f
JM
100622012-05-24 Joseph Myers <joseph@codesourcery.com>
10063
10064 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10065 Require >= 256.
10066 (FILENAME_MAX): Use macro-int-constant.
10067 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10068 (_IOFBF): Use macro-int-constant.
10069 (_IOLBF): Likewise.
10070 (_IONBF): Likewise.
10071 (SEEK_CUR): Likewise.
10072 (SEEK_END): Likewise.
10073 (SEEK_SET): Likewise.
10074 (TMP_MAX): Likewise.
10075 (EOF): Use macro-int-constant. Require < 0.
10076 (NULL): Use macro-constant. Require == 0.
10077 (stdin): Require type to be FILE *.
10078 (stdout): Likewise.
10079 (stderr): Likewise.
10080 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10081 macro-int-constant.
10082 (EXIT_SUCCESS): Likewise.
10083 (NULL): Use macro-constant. Require == 0.
10084 (RAND_MAX): Use macro-int-constant.
10085 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10086 [C99-based standards] (strtof): Require function.
10087 [C99-based standards] (strtold): Likewise.
10088 [C99-based standards] (strtoll): Likewise.
10089 [C99-based standards] (strtoull): Likewise.
10090 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10091 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10092 [ISO || ISO99 || ISO11] (math.h): Likewise.
10093 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10094 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10095 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10096
d18ea0c5
AS
100972012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10098
10099 [BZ #14132]
56d25bb8
AS
10100 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10101 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10102 * intl/dgettext.c (DCGETTEXT): Likewise.
10103 * intl/gettext.c (DCGETTEXT): Likewise.
10104 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10105 * posix/regex_internal.h (gettext): Likewise.
10106 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10107 Remove declaration.
10108 * include/argz.h (__argz_count_internal)
10109 (__argz_stringify_internal): Remove declaration.
10110 (__argz_count, __argz_stringify): Declare hidden proto.
10111 * intl/dcgettext.c: Remove use of INTDEF.
10112 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10113 * string/argz-stringify.c: Likewise.
10114 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10115 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10116 Declare hidden proto.
d18ea0c5
AS
10117 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10118 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10119 Declare hidden proto.
10120 * include/stdio.h (__asprintf_internal): Don't declare.
10121 (__asprintf): Don't define as macro. Declare hidden proto.
10122 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10123 (__fsetlocking): Declare hidden proto.
10124 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10125 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10126 hidden proto.
10127 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10128 (_IO_setlinebuf): Remove use of INTUSE.
10129 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10130 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10131 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10132 Remove declaration.
10133 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10134 (_IO_do_flush): Remove use of INTUSE.
10135 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10136 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10137 (_IO_adjust_column, _IO_least_wmarker)
10138 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10139 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10140 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10141 (_IO_default_doallocate, _IO_wdefault_doallocate)
10142 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10143 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10144 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10145 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10146 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10147 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10148 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10149 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10150 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10151 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10152 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10153 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10154 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10155 proto.
10156 (_IO_flush_all_internal, _IO_adjust_column_internal)
10157 (_IO_default_uflow_internal, _IO_default_finish_internal)
10158 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10159 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10160 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10161 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10162 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10163 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10164 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10165 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10166 (_IO_file_close_internal, _IO_file_close_it_internal)
10167 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10168 (_IO_file_init_internal, _IO_file_attach_internal)
10169 (_IO_file_fopen_internal, _IO_file_read_internal)
10170 (_IO_file_sync_internal, _IO_file_seek_internal)
10171 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10172 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10173 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10174 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10175 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10176 (_IO_list_all_internal, _IO_link_in_internal)
10177 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10178 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10179 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10180 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10181 (_IO_do_write_internal, _IO_padn_internal)
10182 (_IO_getline_info_internal, _IO_getline_internal)
10183 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10184 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10185 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10186 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10187 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10188 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10189 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10190 with libc_hidden_ver, remove use of INTUSE.
10191 * libio/genops.c: Likewise.
10192 * libio/freopen.c: Likewise.
10193 * libio/freopen64.c: Likewise.
10194 * libio/iofclose.c: Likewise.
10195 * libio/iofdopen.c: Likewise.
10196 * libio/iofflush.c: Likewise.
10197 * libio/iofflush_u.c: Likewise.
10198 * libio/iofgets.c: Likewise.
10199 * libio/iofgets_u.c: Likewise.
10200 * libio/iofopen.c: Likewise.
10201 * libio/iofopncook.c: Likewise.
10202 * libio/iofread.c: Likewise.
10203 * libio/iofread_u.c: Likewise.
10204 * libio/ioftell.c: Likewise.
10205 * libio/iofwrite.c: Likewise.
10206 * libio/iogetline.c: Likewise.
10207 * libio/iogets.c: Likewise.
10208 * libio/iogetwline.c: Likewise.
10209 * libio/iopadn.c: Likewise.
10210 * libio/iopopen.c: Likewise.
10211 * libio/ioseekoff.c: Likewise.
10212 * libio/ioseekpos.c: Likewise.
10213 * libio/iosetbuffer.c: Likewise.
10214 * libio/iosetvbuf.c: Likewise.
10215 * libio/ioungetc.c: Likewise.
10216 * libio/ioungetwc.c: Likewise.
10217 * libio/iovdprintf.c: Likewise.
10218 * libio/iovsprintf.c: Likewise.
10219 * libio/iovsscanf.c: Likewise.
10220 * libio/memstream.c: Likewise.
10221 * libio/obprintf.c: Likewise.
10222 * libio/oldfileops.c: Likewise.
10223 * libio/oldiofclose.c: Likewise.
10224 * libio/oldiofdopen.c: Likewise.
10225 * libio/oldiofopen.c: Likewise.
10226 * libio/oldiopopen.c: Likewise.
10227 * libio/oldstdfiles.c: Likewise.
10228 * libio/putc.c: Likewise.
10229 * libio/setbuf.c: Likewise.
10230 * libio/setlinebuf.c: Likewise.
10231 * libio/stdfiles.c: Likewise.
10232 * libio/strops.c: Likewise.
10233 * libio/vasprintf.c: Likewise.
10234 * libio/vscanf.c: Likewise.
10235 * libio/vsnprintf.c: Likewise.
10236 * libio/vswprintf.c: Likewise.
10237 * libio/wfiledoalloc.c: Likewise.
10238 * libio/wfileops.c: Likewise.
10239 * libio/wgenops.c: Likewise.
10240 * libio/wmemstream.c: Likewise.
10241 * libio/wstrops.c: Likewise.
10242 * libio/__fpurge.c: Likewise.
10243 * libio/__fsetlocking.c: Likewise.
10244 * assert/assert.c: Likewise.
10245 * debug/fgets_chk.c: Likewise.
10246 * debug/fgets_u_chk.c: Likewise.
10247 * debug/fread_chk.c: Likewise.
10248 * debug/fread_u_chk.c: Likewise.
10249 * debug/gets_chk.c: Likewise.
10250 * debug/obprintf_chk.c: Likewise.
10251 * debug/vasprintf_chk.c: Likewise.
10252 * debug/vdprintf_chk.c: Likewise.
10253 * debug/vsnprintf_chk.c: Likewise.
10254 * debug/vsprintf_chk.c: Likewise.
10255 * malloc/mtrace.c: Likewise.
10256 * misc/error.c: Likewise.
10257 * misc/syslog.c: Likewise.
10258 * stdio-common/asprintf.c: Likewise.
10259 * stdio-common/fxprintf.c: Likewise.
10260 * stdio-common/getw.c: Likewise.
10261 * stdio-common/isoc99_fscanf.c: Likewise.
10262 * stdio-common/isoc99_scanf.c: Likewise.
10263 * stdio-common/isoc99_vfscanf.c: Likewise.
10264 * stdio-common/isoc99_vscanf.c: Likewise.
10265 * stdio-common/isoc99_vsscanf.c: Likewise.
10266 * stdio-common/printf-prs.c: Likewise.
10267 * stdio-common/printf_fp.c: Likewise.
10268 * stdio-common/printf_fphex.c: Likewise.
10269 * stdio-common/printf_size.c: Likewise.
10270 * stdio-common/putw.c: Likewise.
10271 * stdio-common/scanf.c: Likewise.
10272 * stdio-common/sprintf.c: Likewise.
10273 * stdio-common/tmpfile.c: Likewise.
10274 * stdio-common/vfprintf.c: Likewise.
10275 * stdio-common/vfscanf.c: Likewise.
10276 * stdlib/strfmon_l.c: Likewise.
10277 * sunrpc/openchild.c: Likewise.
10278 * sunrpc/xdr_stdio.c: Likewise.
10279 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10280 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10281
d6c33fda
RM
102822012-05-24 Roland McGrath <roland@hack.frob.com>
10283
c1487492
RM
10284 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10285
10286 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10287 in the third column, to generate for the shared library an IFUNC
10288 that uses _dl_vdso_vsym.
10289 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10290 * Makeconfig (object-suffixes-noshared): New variable.
10291
10292 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10293 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10294 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10295 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10296
d6c33fda
RM
10297 [BZ #14132]
10298 * include/sys/time.h (__gettimeofday): Remove macro.
10299 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10300 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10301 Remove INTDEF.
10302 (__gettimeofday): Add libc_hidden_def.
10303 (gettimeofday): Add libc_hidden_weak.
10304 * sysdeps/mach/gettimeofday.c: Likewise.
10305 * sysdeps/posix/gettimeofday.c: Likewise.
10306 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10307 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10308 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10309 (__gettimeofday_internal): Remove strong_alias.
10310 (__gettimeofday): Add libc_hidden_def.
10311 (gettimeofday): Add libc_hidden_weak.
10312 * sysdeps/unix/syscalls.list (gettimeofday):
10313 Remove __gettimeofday_internal alias.
10314
b5a2bbe6
L
103152012-05-24 Daniel Jacobowitz <drow@false.org>
10316 H.J. Lu <hongjiu.lu@intel.com>
10317
10318 [BZ #12495]
10319 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10320 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10321 (largebin_index_32_big): New.
10322 (largebin_index): Use it for 16-byte alignment.
10323 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10324 correction with front_misalign.
10325
cfba4fda
L
103262012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10327
7f907421
L
10328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10330 Likewise.
10331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10332 Likewise.
10333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10334 Likewise.
10335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10336 Likewise.
10337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10338 Likewise.
10339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10340 Likewise.
10341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10342 Likewise.
10343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10344 Likewise.
10345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10346 Likewise.
10347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10348 Likewise.
10349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10350 Likewise.
10351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10352 Likewise.
10353
cfba4fda
L
10354 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10355 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10356
80bad0cc
JM
103572012-05-24 Joseph Myers <joseph@codesourcery.com>
10358
7a25eb06
JM
10359 [BZ #10846]
10360 [BZ #14036]
10361 * math/libm-test.inc (exp_test): Add test from bug 14036.
10362 (pow_test): Add test from bug 10846.
10363
795405f9
JM
10364 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10365 and other flags.
10366 (special_function): Do not include flags in test name.
10367 (parse_args): Likewise.
10368 * sysdeps/i386/fpu/libm-test-ulps: Update.
10369 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10370 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10371 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10373
80bad0cc
JM
10374 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10375 exceptions.
10376 * math/libm-test.inc ("Philosophy"): Update comment about
10377 exception testing.
10378 (UNDERFLOW_EXCEPTION): New macro.
10379 (UNDERFLOW_EXCEPTION_OK): Likewise.
10380 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10381 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10382 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10383 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10384 (INVALID_EXCEPTION_OK): Update value.
10385 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10386 (OVERFLOW_EXCEPTION_OK): Likewise.
10387 (IGNORE_ZERO_INF_SIGN): Likewise.
10388 (test_exceptions): Handle underflow exceptions.
10389 (acos_test): Update for underflow exception expectations.
10390 (cexp_test): Likewise.
10391 (clog_test): Likewise.
10392 (clog10_test): Likewise.
10393 (csqrt_test): Likewise.
10394 (ctan_test): Likewise.
10395 (ctanh_test): Likewise.
10396 (exp_test): Likewise.
10397 (exp10_test): Likewise.
10398 (exp2_test): Likewise.
10399 (expm1_test): Likewise.
10400 (fma_test): Likewise.
10401 (j0_test): Likewise.
10402 (jn_test): Likewise.
10403 (nexttoward_test): Likewise.
10404 (pow_test): Likewise.
10405 (scalbn_test): Likewise.
10406 (scalbln_test): Likewise.
10407 (tan_test): Likewise.
10408 (y1_test): Likewise.
10409 * sysdeps/i386/fpu/libm-test-ulps: Update.
10410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10411
9e0e3d0b
DM
104122012-05-23 David S. Miller <davem@davemloft.net>
10413
10414 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10415 (__libc_sigaction): Remove unused local variables.
10416
ccd0a08f
L
104172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10418
10419 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10420
62bdf9a6
PE
104212012-05-23 Paul Eggert <eggert@cs.ucla.edu>
10422
f8591f80
PE
10423 mktime: avoid signed integer overflow
10424 * time/mktime.c (__mktime_internal): Do not mishandle the case
10425 where diff == INT_MIN.
10426
94c7d826
PE
10427 mktime: simplify computation of average
10428 * time/mktime.c (ranged_convert): Use new time_t_avg function
10429 instead of rolling our own (probably-slower) code.
10430
ce73d683
PE
10431 mktime: do not assume signed right shift propagates sign bit
10432 * time/mktime.c (isdst_differ): New static function.
10433 (__mktime_internal): No need to normalize tm_isdst now.
10434 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10435 tm_isdst values.
10436
72a22e59
PE
10437 mktime: merge another wrapv change from gnulib
10438 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
10439 from some compilers.
10440
68605433
PE
10441 mktime: remove incorrect attempt at unusual arithmetics
10442 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
10443 The code didn't really work on such machines anyway.
10444 (TYPE_MINIMUM): Assume two's complement.
10445 (twos_complement_arithmetic): Verify that long_int and time_t
10446 are two's complement (or unsigned, in the latter case).
10447
03cf7fe3
PE
10448 mktime: check signed shifts on long_int and time_t, too
10449 * time/mktime.c (SHR): Check that shifts work as desired
10450 on the types long_int and time_t too, as SHR is used on
10451 such types.
10452
f04dfbc2
PE
10453 mktime: do not assume 'long' is wide enough
10454 * time/mktime.c (verify): Move decl up.
10455 (long_int): New type.
10456 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10457 to remove assumption in the code that 'long' is wide enough to
10458 store year values. This assumption is not true on x32 and on
10459 some non-glibc platforms.
10460
62bdf9a6
PE
10461 mktime: merge wrapv change from gnulib
10462 * time/mktime.c (WRAPV): New macro.
10463 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10464 (guess_time_tm, __mktime_internal): Do not assume that signed
10465 integer overflow wraps around; modern compilers generate code
10466 where this assumption is no longer valid.
10467
5e292e4f
L
104682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10469
10470 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10471 Replace "jmp L(pseudo_end)" with "ret".
10472 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10473 Likewise.
10474
8caf8c87
AJ
104752012-05-23 Andreas Jaeger <aj@suse.de>
10476
10477 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10478 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10479
1a09dc56
AJ
104802012-05-23 Andreas Jaeger <aj@suse.de>
10481 Maximilian Attems <max@stro.at>
10482
10483 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10484 New macros.
10485
1c87aba0
L
104862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10487
10488 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10489 code so that pseudo_end is just ret and the stack pointer is
10490 correct also for static library in error case.
10491
40e45bd5
JM
104922012-05-23 Joseph Myers <joseph@codesourcery.com>
10493
c2670533
JM
10494 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10495 move to syscalls.list.
10496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10500
40e45bd5
JM
10501 * manual/install.texi (Running make install): Do not mention Linux
10502 kernel version for which pt_chown is not needed.
10503 (Linux): Do not mention problems with nscd with 2.0 kernels.
10504 * INSTALL: Regenerated.
10505
be08eda5
AJ
105062012-05-23 Andreas Jaeger <aj@suse.de>
10507
10508 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10509 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10510 macro.
10511 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10512 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10513 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10514 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10515 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10516 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10517 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10518 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10519 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10520 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10521 * sysdeps/unix/sysv/linux/bits/in.h
10522 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10523
a6a056bb
RM
105242012-05-22 Roland McGrath <roland@hack.frob.com>
10525
10526 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10527 (PREPARE_VERSION): Just use assert instead, it will be elided
10528 under [NDEBUG] anyway.
10529
c9009328
L
105302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10531
10532 * sysdeps/unix/sysv/linux/Makefile: Include
10533 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 10534 (sysdep_routines): Remove sysctl.
c9009328
L
10535 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10536 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10537 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10538 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10539 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10540
73338355
AJ
105412012-05-22 Andreas Jaeger <aj@suse.de>
10542
10543 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10544 that pseudo_end is just ret and the stack pointer is correct also
10545 for static library in error case.
10546
d44638b0
PP
105472012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10548
10549 [BZ #14122]
10550 * nss/nsswitch.c (defconfig_entries): New variable.
10551 (__nss_database_lookup): Don't leak defconfig entries.
10552 (nss_parse_service_list): Don't leak on error paths.
10553 (free_database_entries): New function.
10554 (free_defconfig): New function.
10555 (free_mem): Move common code to free_database_entries.
10556
31a39bd8
L
105572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10558
da0331a8
L
10559 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10560 Add arch_prctl.
10561 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10562
31a39bd8
L
10563 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10564 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10565 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10566 New macro.
10567 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10568 (INTERNAL_SYSCALL_TYPES): Likewise.
10569 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10570 (LOAD_REGS_TYPES_[1-6]): Likewise.
10571 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10572 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10573
45470df3
AZ
105742012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10575
10576 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10577 copysignl for GLIBC_2_0.
10578 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10579 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10580 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10581 logbl for GLIBC_2_0.
10582 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10583 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10584
98a61bcb
L
105852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10586
a4f6e481
L
10587 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10588 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10589
f63d5db6
L
10590 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10591 Use "neg %eax".
10592
98a61bcb
L
10593 * time/mktime.c: Update copyright years.
10594
95770f14
PE
105952012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10596
6226efbd
PE
10597 mktime: merge comment-quoting-style change from gnulib
10598 * time/mktime.c: Quote 'like this' in comments.
10599 The GNU coding standards suggest that we no longer quote `like this',
10600 as "`" and "'" are typically rendered asymmetrically nowadays.
10601 The typical gnulib style is to quote 'like this' when quoting
10602 code, and "like this" when quoting English.
10603
b99e4f78
PE
10604 * time/mktime.c (compile-command): Add "-I.".
10605
643e01e6
PE
10606 mktime: merge mktime-internal.h change from gnulib
10607 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10608
2554247d
PE
10609 mktime: merge time_r change from gnulib
10610 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10611
826dd0ab
PE
10612 mktime: merge DEBUG change from gnulib
10613 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10614 case system <time.h> has a #define.
10615
bd83aabe
PE
10616 mktime: merge <sys/types.h> change from gnulib
10617 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10618 since <time.t> is now guaranteed to define time_t.
10619
95770f14
PE
10620 mktime: merge HAVE_CONFIG_H change from gnulib
10621 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10622
5e1a27a9
L
106232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10624
0e44a77e
L
10625 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10626 Use "neg %eax".
10627
5e1a27a9
L
10628 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10629 __rlim_t cast.
10630 (struct rusage): Use anonymous union to pad each field to
10631 __syscall_slong_t.
10632
46259bec
DM
106332012-05-21 David S. Miller <davem@davemloft.net>
10634
10635 * Makefules (o-iterator): Remove .s cases.
10636 (compile-command.s): Delete.
10637 (COMPILE.s): Delete.
10638 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10639
59f0c22e
JM
106402012-05-21 Joseph Myers <joseph@codesourcery.com>
10641
10642 * configure.in (libc_cv_predef_stack_protector): Only consider
10643 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10644 * configure: Regenerated.
10645
20c07380
L
106462012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10647
bbb3154b
L
10648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10649 New macro. Use R*LP on int and pointer.
10650 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
10651 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10652 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
10653 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10654
20c07380
L
10655 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10656 [__WORDSIZE_TIME64_COMPAT32] instead of
10657 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10658 (struct utmp): Likewise.
10659 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10660 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10661 Renamed to ...
10662 (__WORDSIZE_TIME64_COMPAT32): This.
10663 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10664 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10665 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10666 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10667 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10668 (__WORDSIZE_TIME64_COMPAT32): New macro.
10669
d8d1017e
AJ
106702012-05-21 Andreas Jaeger <aj@suse.de>
10671
10672 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10673 only if [SHARED]. Add prototype for __wcschr_ia32.
10674
6c7fb145
RM
106752012-05-21 Roland McGrath <roland@hack.frob.com>
10676
10677 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10678 of %rbp unmolested in the jmp_buf while mangling the low bits.
10679 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10680 unmolested high bits of %rbp while demangling the low bits.
10681 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10682
66274218
AJ
106832012-05-21 Andreas Jaeger <aj@suse.de>
10684
07c58f8f
AJ
10685 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10686 * sunrpc/svc_simple.c: Use it for registerrpc.
10687 * sunrpc/xcrypt.c: Use it for passwd2des.
10688
66274218
AJ
10689 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10690
61f65140
L
106912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10692
10693 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10694 Don't define if [__SYSCALL_WORDSIZE != 32].
10695 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10696 New macro.
10697
5fefb436
AJ
106982012-05-21 Bruno Haible <bruno@clisp.org>
10699 Andreas Jaeger <aj@suse.de>
10700
10701 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10702 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10703 inptr and inend for must_buffer_ch.
10704 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10705 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10706 * stdio-common/Makefile (tests): Remove bug15.
10707 (bug15-ENV): Remove macro.
10708 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10709 anymore.
10710
d8e272ab
AJ
107112012-05-19 Andreas Jaeger <aj@suse.de>
10712 Roland McGrath <roland@hack.frob.com>
10713
10714 * manual/contrib.texi: Completely rewritten. It contains now an
10715 alphabetical list of contributors and their contributions.
10716
4a56a162
RH
107172012-05-21 Richard Henderson <rth@twiddle.net>
10718
10719 * misc/getauxval.c (__getauxval): Use unsigned long int.
10720 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10721 (getauxval): Use unsigned long int.
10722
d024d23c
L
107232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10724
10725 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10726
cbc00a03
RM
107272012-05-21 Roland McGrath <roland@hack.frob.com>
10728
10729 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10730 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10731 __alignof__ (long double).
10732
478143fa
AZ
107332012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10734
10735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10736
c7683a6d
RH
107372012-05-20 Richard Henderson <rth@twiddle.net>
10738
10739 * misc/getauxval.c: New file.
10740 * misc/sys/auxv.h: New file.
10741 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10742 (routines): Add getauxval.
10743 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10744 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10745 * elf/dl-sysdep.c (_dl_auxv): Remove.
10746 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10747 * elf/dl-support.c (_dl_auxv): New variable.
10748 (_dl_aux_init): Initialize it.
10749 * manual/startup.texi (Auxiliary Vector): New node.
10750 * sysdeps/generic/bits/hwcap.h: New file.
10751 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10752 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10753 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10754 * sysdeps/sparc/sysdep.h: ... here. Include it.
10755 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10756 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
10757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10758 Update.
c7683a6d
RH
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10762 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10767
a6f1845d
AZ
107682012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10769
10770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10771
cbcbe830
DM
107722012-05-19 David S. Miller <davem@davemloft.net>
10773
10774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10775
e0b16cc2
JM
107762012-05-19 Joseph Myers <joseph@codesourcery.com>
10777
10778 [BZ #14123]
10779 * math/s_ccosh.c: Include <float.h>
10780 (__ccosh): Avoid internal overflow calculating sinh and cosh
10781 values before multiplying by sin and cos values.
10782 * math/s_ccoshf.c: Likewise.
10783 * math/s_ccoshl.c: Likewise.
10784 * math/s_csin.c: Likewise.
10785 * math/s_csinf.c: Likewise.
10786 * math/s_csinl.c: Likewise.
10787 * math/s_csinh.c: Likewise.
10788 * math/s_csinhf.c: Likewise.
10789 * math/s_csinhl.c: Likewise.
10790 * math/libm-test.inc (ccos_test): Add more tests.
10791 (ccosh_test): Likewise.
10792 (csin_test): Likewise.
10793 (csinh_test): Likewise.
10794 * sysdeps/i386/fpu/libm-test-ulps: Update.
10795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10796
6ad13e08
L
107972012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10798
f66f0ce8
L
10799 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10800 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10801
6ad13e08
L
10802 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10803
b1d072a7
JM
108042012-05-19 Joseph Myers <joseph@codesourcery.com>
10805
10806 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10807 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10808 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10809 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10810 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10811 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10812 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10813 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10814 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10815 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10816 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10817 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10818 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10819 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10820 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10821 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10822 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10823 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10824 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10825 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10826 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10827 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10828 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10829 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10830 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10831 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10832 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10833 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10834 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10835 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10836 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10837
9eae47cb
AJ
108382012-05-18 Andreas Jaeger <aj@suse.de>
10839
10840 * csu/.gitignore: Delete.
10841
bb07f69f
L
108422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10843
10844 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10845 (timex): Use __syscall_slong_t.
10846
e6bdb741
AJ
108472012-05-18 Andreas Jaeger <aj@suse.de>
10848 Carlos O'Donell <carlos_odonell@mentor.com>
10849
10850 * manual/install.texi (Configuring and compiling): Update
10851 description about files modified in the source directory.
d6c33fda 10852 * INSTALL: Regenerated.
e6bdb741 10853
1b74487e
L
108542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10855
10856 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10857 value. Use "or" to set return value to -1.
10858 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10859 negate return value.
10860
a88b64b9
TMQMF
108612012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10862
10863 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10864 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10865 failure if the compiler has Graphite support disabled.
10866 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10867 Likewise.
10868 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10869 CFLAGS-memmove.c): Likewise.
10870 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10871 Likewise.
10872
3707636e
L
108732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10874
610b8622
L
10875 * sysdeps/x86_64/x32/_itoa.h: New file.
10876
7cd195df
L
10877 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10878 getdents system call only if kernel and user dirents have the
10879 same d_ino and d_off.
10880
94b07d20
L
10881 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10882 LLONG_MAX != LONG_MAX.
10883 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10884 (_fitoa_word): Likewise.
10885
18298070
L
10886 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10887 years.
10888 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10889 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10890 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10891
553c7ea4
L
10892 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10893 include <bits/wordsize.h>. Check __x86_64__ instead of
10894 __WORDSIZE.
10895 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10896 if __x86_64__ is defined. Use anonymous union on fpstate.
10897
3707636e
L
10898 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10899 anonymous union.
10900
b53ef01a
AS
109012012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10902
37fb1dc0
AS
10903 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10904 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10905 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10906 Refer to _rtld_local_ro instead of _rtld_global_ro.
10907 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10908 Likewise.
10909 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10910 Likewise.
10911 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10912 Likewise.
10913 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10914 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10915 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10916
b53ef01a
AS
10917 * sysdeps/powerpc/powerpc32/dl-machine.c
10918 (__elf_machine_runtime_setup) [PROF]: Don't reference
10919 _dl_prof_resolve.
10920
7a185db2
AJ
109212012-05-18 Andreas Jaeger <aj@suse.de>
10922
10923 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10924 function only available for GCCs before 3.4 since GCC 3.4
10925 introduced a builtin.
10926 (lrint): Likewise.
10927 (llrintf): Likewise.
10928 (llrint): Likewise.
10929 (fmaxf): Likewise.
10930 (fmax): Likewise.
10931 (fminf): Likewise.
10932 (fmin): Likewise.
10933 (rint): Likewise.
10934 (rintf): Likewise.
10935 (nearbyint): Likewise.
10936 (nearbyintf): Likewise.
10937 (ceil): Likewise.
10938 (ceilf): Likewise.
10939 (floor): Likewise.
10940 (floorf): Likewise.
10941
3e5aef87
L
109422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10943
428bd707
L
10944 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10945 on both fields and cast pointer to __syscall_ulong_t.
10946
3e5aef87
L
10947 * bits/types.h (__fsword_t): New type.
10948 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10949 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10950 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10951 (__FSWORD_T_TYPE): Likewise.
10952 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10953 (__FSWORD_T_TYPE): Likewise.
10954 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10955 (__FSWORD_T_TYPE): Likewise.
10956 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10957 (__FSWORD_T_TYPE): Likewise.
10958 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10959 __SWORD_TYPE with __fsword_t.
10960 (statfs64): Likewise.
10961
1ba7c3dc
DM
109622012-05-17 David S. Miller <davem@davemloft.net>
10963
10964 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10965
59910343
AJ
109662012-05-17 Andreas Jaeger <aj@suse.de>
10967
10968 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10969 warning.
10970
2e4c1e9e
L
109712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10972
10973 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10974
de7f5ce7
AJ
109752012-05-17 Andreas Jaeger <aj@suse.de>
10976
10977 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10978 when it is used.
10979
286abc3d
CM
109802012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10981
10982 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10983
477cc68e
L
109842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10985
10986 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10987 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10988
1a0994f5
CD
109892012-05-17 Andreas Jaeger <aj@suse.de>
10990 Carlos O'Donell <carlos_odonell@mentor.com>
10991
10992 [BZ #14059]
10993 * sysdeps/x86_64/multiarch/init-arch.h
10994 (bit_YMM_Usable): Rename to...
10995 (bit_AVX_Usable): ... this.
10996 (bit_FMA4_Usable): New macro.
10997 (bit_XMM_state): New macro.
10998 (bit_YMM_state): New macro.
10999 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
11000 [__ASSEMBLER__] (index_AVX_Usable): ... this.
11001 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
11002 (CPUID_OSXSAVE): New macro.
11003 (CPUID_AVX): New macro.
11004 (CPUID_FMA4): New macro.
11005 (index_YMM_Usable): Rename to...
11006 (index_AVX_Usable): ... this.
11007 (HAS_AVX): Use HAS_ARCH_FEATURE.
11008 (HAS_FMA4): Likewise.
11009 (HAS_YMM_USABLE): Remove.
11010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11011 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
11012 are present.
11013 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
11014 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
11015 * sysdeps/x86_64/multiarch/Makefile: Likewise.
11016 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
11017 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
11018
0af797de
CM
110192012-05-17 Chris Metcalf <cmetcalf@tilera.com>
11020
11021 * math/libm-test.c: Support platforms without multiple rounding modes.
11022 * math/bug-nextafter.c: Support platforms without FP exceptions.
11023 * math/bug-nexttoward.c: Likewise.
11024 * math/test-fenv.c: Likewise.
11025 * math/test-misc.c: Likewise.
11026 * stdlib/bug-getcontext.c: Likewise.
11027
e39745ff
AJ
110282012-05-17 Andreas Jaeger <aj@suse.de>
11029
11030 * manual/examples/search.c (critter_cmp): Change signature to
11031 avoid warnings.
11032 * manual/string.texi (Collation Functions): Likewise.
11033
48970aba
L
110342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11035
11036 * bits/types.h: Fold copyright years.
11037 * bits/typesizes.h: Likewise.
11038 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11039 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11040 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11041 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11042 * time/time.h: Likewise.
11043
bedee953
PP
110442012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11045
11046 [BZ #208]
11047 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11048 in instead of returning them. Return void.
11049 (__libc_mallinfo): Accumulate over all arenas.
11050 (__malloc_stats): Adjust for change in int_mallinfo interface.
11051
61653dfb
RM
110522012-05-16 Roland McGrath <roland@hack.frob.com>
11053
30b99d79
RM
11054 [BZ #10375]
11055 * configure.in (NM): Add AC_CHECK_TOOL for it.
11056 (libc_extra_cflags): New substituted variable.
11057 Check for -fstack-protector being used implicitly.
11058 * configure: Regenerated.
11059 * config.make.in (config-extra-cflags): New variable,
11060 gets @libc_extra_cflags@.
11061 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11062
61653dfb
RM
11063 [BZ #10375]
11064 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11065 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11066 * configure: Regenerated.
11067 * config.make.in (CPPUNDEFS): New substituted variable.
11068 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11069 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11070 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11071
661768bb
L
110722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11073
11074 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11075 (mq_attr): Use __syscall_slong_t.
11076
d4261567
L
110772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11078
11079 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11080 Check __x86_64__ instead of __WORDSIZE.
11081 (_STAT_VER_LINUX): Likewise.
11082 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11083 __syscall_ulong_t and __syscall_slong_t.
11084 (stat64): Likewise.
11085
cf3ff365
L
110862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11087
11088 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11089
76cf3e4d
L
110902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11091
11092 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11093
a637753a
L
110942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11095
11096 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11097 __syscall_ulong_t.
11098
d5e05119
L
11099 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11100 include <bits/wordsize.h>. Check __x86_64__ instead of
11101 __WORDSIZE.
11102 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11103 defined.
11104 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11105
f62ee380
L
11106 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11107 include <bits/wordsize.h>. Check __x86_64__ instead of
11108 __WORDSIZE.
11109 (user_regs_struct): Use "__extension__ unsigned long long"
11110 instead of "unsigned long" if __x86_64__ is defined.
11111 (user): Likewise. Pad after pointer field if __ILP32__ is
11112 defined.
11113
4e124ced
JM
111142012-05-16 Joseph Myers <joseph@codesourcery.com>
11115
6a3951a0
JM
11116 * configure.in (makeinfo): Require version 4.5 or later. Allow
11117 versions 5 to 9.
11118 * configure: Regenerated.
11119 * manual/install.texi (texinfo): Increase version requirement to
11120 4.5 or later.
11121 * INSTALL: Regenerated.
11122
4e124ced
JM
11123 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11124
953ca31a
L
111252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11126
11127 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11128
617aca05
L
11129 * sysdeps/x86_64/x32/ffs.c: New file.
11130
5762f7ae
L
11131 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11132 __syscall_ulong_t.
11133 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11134 defined. Use __syscall_ulong_t.
11135 (shminfo): Use __syscall_ulong_t.
11136 (shm_info): Likewise.
11137
a26b6856
L
11138 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11139 __syscall_ulong_t.
11140
cb2b9ef7
L
11141 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11142 <bits/wordsize.h>.
11143 (msgqnum_t): Use __syscall_ulong_t.
11144 (msglen_t): Likewise.
11145 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11146 __syscall_ulong_t.
11147
34683bb0
L
11148 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11149 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11150
84a68786
L
11151 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11152
48baa5f1
L
11153 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11154 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11155
180be88b
L
11156 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11157 __syscall_slong_t.
11158
5e90c8ad
L
11159 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11160 include <bits/wordsize.h>. Check __x86_64__ instead of
11161 __WORDSIZE.
11162
23dfb58b
L
11163 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11164 "unsigned long long int" if __x86_64__ is defined.
11165 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11166
ce5d54b0
L
11167 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11168 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11169 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11170
13dc9eac
L
11171 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11172 <stdint.h>.
11173 (GET_PC): Cast to uintptr_t first.
11174 (GET_FRAME): Likewise.
11175 (GET_STACK): Likewise.
11176
a7895d15
L
11177 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11178 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11179 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11180 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11181 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11182 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11183 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11184 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11185 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11186 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11187 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11188 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11189 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11190 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11191 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11192 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11193 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11194 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11195 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11196 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11197 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11198 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11199 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11200 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11201 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11202 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11203 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11204 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11205 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11206
656416c9
AS
112072012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11208
5bd66283
AS
11209 * Makerules (+depfiles): Also collect depfiles from .oS in
11210 $(extra-objs).
11211 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11212 .oS, $(libnldbl-routines)).
11213
656416c9
AS
11214 * Makerules (native-compile-mkdep-flags): Define.
11215 * sunrpc/Makefile (extra-objs): Add $(addprefix
11216 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11217 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11218 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11219 calling $(make-target-directory).
11220
a46f2169
L
112212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11222
11223 * bits/types.h (__snseconds_t): Removed.
11224 * time/time.h (struct timespec): Replace __snseconds_t with
11225 __syscall_slong_t.
11226 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11227 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11228 Likewise.
11229 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11230 (__SNSECONDS_T_TYPE): Likewise.
11231 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11232 (__SNSECONDS_T_TYPE): Likewise.
11233 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11234 (__SNSECONDS_T_TYPE): Likewise.
11235
6af6528b
L
112362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11237
11238 * sysdeps/mach/hurd/bits/typesizes.h
11239 (__SYSCALL_SLONG_TYPE): New macro.
11240 (__SYSCALL_ULONG_TYPE): Likewise.
11241
de986b56
L
112422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11243
11244 * bits/types.h (__syscall_slong_t): New type.
11245 (__syscall_ulong_t): Likewise.
11246
11247 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11248 (__SYSCALL_ULONG_TYPE): Likewise.
11249 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11250 (__SYSCALL_SLONG_TYPE): Likewise.
11251 (__SYSCALL_ULONG_TYPE): Likewise.
11252 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11253 (__SYSCALL_SLONG_TYPE): Likewise.
11254 (__SYSCALL_ULONG_TYPE): Likewise.
11255 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11256 (__SYSCALL_SLONG_TYPE): Likewise.
11257 (__SYSCALL_ULONG_TYPE): Likewise.
11258
85736dc7
L
112592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11260
11261 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11262 Add sigaltstack-offsets.sym.
11263 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11264 <sigaltstack-offsets.h>.
11265 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11266 longjmp_msg pointer.
11267 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11268 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11269 signal stack.
11270 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11271
cc03b296
JM
112722012-05-15 Joseph Myers <joseph@codesourcery.com>
11273
a9538892
JM
11274 * elf/stackguard-macros.h: Remove file.
11275 * sysdeps/generic/stackguard-macros.h: New file.
11276 * sysdeps/i386/stackguard-macros.h: Likewise.
11277 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11278 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11279 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11280 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11281 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11282 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11283 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11284 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11285 <elf/stackguard-macros.h>.
11286
cc03b296
JM
11287 [BZ #14109]
11288 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11289 __aligned__ in attribute.
11290 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11291 (gregset_t): Likewise.
11292
93171016
L
112932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11294
11295 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11296 * sysdeps/x86_64/64/Implies-after: Here. New file.
11297 * sysdeps/x86_64/x32/Implies-after: New file.
11298
d86813a0
L
112992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11300
11301 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11302 and access return value for _dl_profile_fixup. Use R10_LP to
11303 load frame size.
11304
2953ec75
L
113052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11306
11307 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11308
3b550e9e
L
113092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11310
11311 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11312 * sysdeps/x86_64/x32/sysdep.h: New file.
11313
eda41706
L
113142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11315
11316 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11317 * sysdeps/x86_64/setjmp.S: Likewise.
11318
9ea01d93
AZ
113192012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11320
11321 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11322 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11323 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11324 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11325 remove unused global constant.
11326
02a91938
CM
113272012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11328
11329 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11330 include of <not-cancel.h>.
11331
6540185f
RM
113322012-05-15 Roland McGrath <roland@hack.frob.com>
11333
11334 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11335
509072a0
AJ
113362012-05-15 Jeff Law <law@redhat.com>
11337 Andreas Jaeger <aj@suse.de>
11338
11339 [BZ #13594]
11340 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11341 out from...
11342 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11343 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11344 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11345 code changing __hst_map_handle.map.
11346
ba75122d
RM
113472012-05-15 Roland McGrath <roland@hack.frob.com>
11348
11349 * configure.in (sysnames): Look for Implies-before and Implies-after
11350 files.
11351 * configure: Regenerated.
11352
890d8bd8
L
113532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11354
11355 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11356 8-byte data alignment with LP_SIZE alignment.
11357
f6ee6623
L
113582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11359
11360 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11361 into R10_LP.
11362
ea2626f6
L
113632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11364
11365 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11366
085f715e
L
113672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11368
11369 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11370 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11371 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11372 Likewise.
11373 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11374
be8498fc
L
113752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11376
11377 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11378 (stackinfo_sub_sp): Likewise.
11379
70bc83b9
L
113802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11381
11382 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11383 RAX_LP.
11384
9bc0b730
L
113852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11386
11387 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11388 into R*_LP.
11389
6d2850e7
L
113902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11391
11392 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11393 sizes into R*_LP.
11394
3cb84561
L
113952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11396
11397 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11398
54e2ed81
L
113992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11400
11401 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11402 into R11_LP and load __x86_64_shared_cache_size_half into
11403 R8_LP.
11404
8a17f349
L
114052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11406
11407 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11408 R8_LP.
11409
777b1eea
AZ
114102012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11411
11412 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11413 logb for POWER7.
11414 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11415 logbf for POWER7.
11416 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11417 logbl for POWER7.
11418 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11419 powerpc32/power7/fpu/s_logb.c via #include.
11420 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11421 powerpc32/power7/fpu/s_logbf.c via #include.
11422 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
11423 powerpc32/power7/fpu/s_logbl.c via #include.
11424
d20d4ac2
JM
114252012-05-15 Joseph Myers <joseph@codesourcery.com>
11426
11427 * README.libm: Remove file.
11428
6cdef1ab
L
114292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11430
11431 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11432 count for x32. Use R*_LP and omit operand-size suffix.
11433
0b254d8f
L
114342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11435
11436 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11437 * sysdeps/x86_64/64/shlib-versions: Here. New file.
11438 * sysdeps/x86_64/x32/shlib-versions: New file.
11439
ceb809dc
RM
114402012-05-14 Roland McGrath <roland@hack.frob.com>
11441
11442 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
11443 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11444 Use _dl_fatal_printf instead.
11445
37f1abd4
JM
114462012-05-14 Joseph Myers <joseph@codesourcery.com>
11447
11448 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
11449 set if not set by the user. Do not allow for being unset.
11450 * sysdeps/unix/sysv/linux/configure: Regenerated.
11451
11de3a33
L
114522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11453
11454 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11455 the `q' suffix from lea and replace .quad with ASM_ADDR.
11456
e02f153a
L
114572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11458
11459 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11460 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11461 instead of $17.
11462 (PTR_DEMANGLE): Likewise.
11463
520ae0fd
L
114642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11465
11466 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11467 (LP_OP): Likewise.
11468 (ASM_ADDR): Likewise.
11469 (RAX_LP): Likewise.
11470 (RBP_LP): Likewise.
11471 (RBX_LP): Likewise.
11472 (RCX_LP): Likewise.
11473 (RDI_LP): Likewise.
11474 (RSI_LP): Likewise.
11475 (RSP_LP): Likewise.
11476 (R8_LP): Likewise.
11477 (R9_LP): Likewise.
11478 (R10_LP): Likewise.
11479 (R10_LP): Likewise.
11480 (R11_LP): Likewise.
11481 (R12_LP): Likewise.
11482 (R13_LP): Likewise.
11483 (R14_LP): Likewise.
11484 (R15_LP): Likewise.
11485
b985be81
L
114862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11487
11488 * sysdeps/x86_64/x32/dl-machine.h: New file.
11489
6a4888ff
AJ
114902012-05-14 Andreas Jaeger <aj@suse.de>
11491
11492 * manual/Makefile (subdir): Remove export of subdir.
11493 (all): Remove target.
11494 (.PHONY): Remove all from list.
11495 (mkinstalldirs): Remove.
11496 (.PHONY): Remove installdirs from list.
11497 ($(inst_infodir)/libc.info): Use make-target-directory.
11498 (installdirs): Remove.
11499 (subdir_%): Remove.
11500 (glibc-targets): Remove.
11501 (lib): Remove.
11502 (stubs): Remove.
11503 ($(objpfx)stubs ../po/manual.pot): Remove.
11504 ($(objpfx)stamp%): Remove.
11505 (make-target-directory): Remove.
11506 (subdir_install): Remove.
11507 (routines): Remove.
11508 (aux): Remove.
11509 (sources): Remove.
11510 (objects): Remove.
11511 (headers): Remove.
11512
11513 [BZ #13750]
11514 * manual/.gitignore: Remove, it's not needed anymore.
11515 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11516 all files in it.
11517 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11518 directory.
11519 (texis): Renamed to $(objpfx)texis.
11520 (texis-path): New, contains path to generated files.
11521 (chapters.%): Use texis-path for complete path, add extra argument
11522 libc-texinfo.sh.
11523 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11524 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11525 (summary,texi, stamp-summary): Use complete path of
11526 files. Generate files in build dir.
11527 (dir-add.texi): Build in build dir.
11528 (libm-err.texi,stamp-libm-err): Likewise.
11529 (version.texi, stamp-version): Likewise.
11530 (.%c.texi): Likewise.
11531 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11532 (mostlyclean): Remove target.
11533 (realclean): Remove target.
11534 (generated): Add new variable with contents from mostlyclean and
11535 realclean, remove entries duplicated in common-mostlyclean, add
11536 stamp-libm-err and stamp-version.
11537 (generated-dirs): Add libc directory.
11538 ($(inst_infodir)/libc.info): Install files from build dir.
11539
11540 * manual/install.texi (Configuring and compiling): Adjust since
11541 the info files are not part of the tar ball anymore.
11542
7ac77294
AJ
115432012-05-14 Andreas Jaeger <aj@suse.de>
11544
11545 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11546 variable.
11547
ffb7875d
JM
115482012-05-14 Joseph Myers <joseph@codesourcery.com>
11549
11550 [BZ #13717]
11551 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11552 to 2.2.0 where earlier.
11553 * sysdeps/unix/sysv/linux/configure: Regenerated.
11554 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11555 Remove conditional code.
11556 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11557 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11558 Remove conditional code.
11559 [!__NR_lchown]: Likewise.
11560 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11561 [__NR_lchown]: Likewise.
11562 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11563 comment referencing __ASSUME_LCHOWN_SYSCALL.
11564 * sysdeps/unix/sysv/linux/i386/sigaction.c
11565 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11566 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11567 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11568 Remove conditional code.
11569 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11570 (__protocol_available): Remove #if 0 code.
11571 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11572 conditional code.
11573 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11574 * sysdeps/unix/sysv/linux/kernel-features.h
11575 (__ASSUME_GETCWD_SYSCALL): Don't define.
11576 (__ASSUME_REALTIME_SIGNALS): Likewise.
11577 (__ASSUME_PREAD_SYSCALL): Likewise.
11578 (__ASSUME_PWRITE_SYSCALL): Likewise.
11579 (__ASSUME_POLL_SYSCALL): Likewise.
11580 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11581 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11582 non-SPARC.
11583 (__ASSUME_SIOCGIFNAME): Don't define.
11584 (__ASSUME_MSG_NOSIGNAL): Likewise.
11585 (__ASSUME_SENDFILE): Define unconditionally.
11586 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11587 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11588 conditional code.
11589 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11590 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11591 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11592 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11593 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11594 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11595 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11597 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11598 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11600 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11601 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11603 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11604 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11606 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11607 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11609 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11610 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11612 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11613 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11615 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11616 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11618 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11619 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11620 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11621 Remove conditional code.
11622 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11623 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11624 Remove conditional code.
11625 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11626 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11627 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11628 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11629 Remove conditional code.
11630 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11631 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11632 Remove conditional code.
11633 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11634 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11635 Remove conditional code.
11636 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11637 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11638 Remove conditional code.
11639 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11640 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11641 Remove conditional code.
11642 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11643 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11644 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11645 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11646 * sysdeps/unix/sysv/linux/sigaction.c
11647 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11648 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11649 * sysdeps/unix/sysv/linux/sigpending.c
11650 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11651 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11652 * sysdeps/unix/sysv/linux/sigprocmask.c
11653 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11654 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11655 * sysdeps/unix/sysv/linux/sigsuspend.c
11656 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11657 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11658 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11659 (__libc_missing_rt_sigs): Remove.
11660 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11661 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11662 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11663 Remove conditional code.
11664 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11665 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11666 return 1.
11667 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11668 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11669 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11670 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11671
1bfb7291
AJ
116722012-05-14 Andreas Jaeger <aj@suse.de>
11673
caae5a81
AJ
11674 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11675 it's not used in glibc.
11676 (__coshm1): Likewise.
11677 (__acosh1p): Likewise.
11678 (__sgn): Likewise.
11679
1bfb7291
AJ
11680 * manual/string.texi (Copying and Concatenation): Add missing
11681 variable in concat example.
11682 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11683
c044d724
L
116842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11685
144c5467 11686 [BZ #14103]
c044d724
L
11687 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11688 __builtin_clzl with __builtin_clzll.
11689
2523c62b
L
116902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11691
11692 [BZ #14104]
11693 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11694 libc_freeres_ptr.
11695
d7bb4c42
LD
116962012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11697
11698 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11699 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11700 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11701 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11702
9dc4e1fb
MF
117032012-05-14 Mike Frysinger <vapier@gentoo.org>
11704
11705 * NEWS: Update ia64 info.
11706
c7df0112
AS
117072012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11708
11709 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11710 used as bcopy.
11711
dc70356c
TS
117122012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11713
11714 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11715 * sysdeps/unix/syscalls.list (dup3): Likewise.
11716 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11717 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11718
9fb1a21f
L
117192012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11720
11721 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11722 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11723
4822a2a5
L
117242012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11725
11726 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11727 thread pointer.
11728 (TLS_IE): Use mov/add instead of movq/addq to load thread
11729 pointer.
11730 (TLS_GD_PREFIX): New.
11731 (TLS_GD): Use it.
11732
842b81d6
DM
117332012-05-11 David S. Miller <davem@davemloft.net>
11734
11735 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11736 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11737 (_FPU_SETCW): Likewise.
11738
1cf463cd
L
117392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11740
11741 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11742 is 32-byte aligned.
11743
60cc4a18
AS
117442012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11745
11746 [BZ #11837]
11747 * iconvdata/gb18030.c: Update tables.
11748 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11749 characters specially.
11750 (BODY for TO_LOOP): Add encoding of missing ranges.
11751
febb44a4
TS
117522012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11753
11754 [BZ #13673]
11755 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11756 * sysdeps/mach/hurd/dup3.c: Likewise.
11757 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11758 * sysdeps/powerpc/memmove.c:: Likewise.
11759
0a10fb9e
L
117602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11761
11762 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11763 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11764
df8a552f
L
117652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11766
11767 * elf/elf.h (R_X86_64_RELATIVE64): New.
11768 (R_X86_64_NUM): Updated.
11769 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11770 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11771 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11772 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11773 tst-quad1pie tst-quad2pie
11774 (modules-names): Add tst-quadmod1 tst-quadmod2.
11775 ($(objpfx)tst-quad1): New dependency.
11776 ($(objpfx)tst-quad2): Likewise.
11777 ($(objpfx)tst-quad1pie): Likewise.
11778 ($(objpfx)tst-quad2pie): Likewise.
11779 * sysdeps/x86_64/tst-quad1.c: New file.
11780 * sysdeps/x86_64/tst-quad1pie.c: New file.
11781 * sysdeps/x86_64/tst-quad2.c: Likewise.
11782 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11783 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11784 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11785 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11786 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11787
f34d6f84
ST
117882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11789
f42d41d1
ST
11790 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11791 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11792 * streams/stropts.h (t_scalar_t): Define type.
11793
3c3571fc
ST
11794 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11795 (_PATH_PRESERVE): Set to "/var/lib".
11796 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11797
61f06bd3
ST
11798 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11799 instead of int.
11800
918d4d71
ST
11801 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11802 if __dir_mkfile succeeded.
11803
f34d6f84
ST
11804 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11805 checking for _hurd_dtablesize. Unlock it right after having
11806 finished _hurd_dtable allocation.
11807
10589b4a
TS
118082012-05-10 Thomas Schwinge <thomas@schwinge.name>
11809
674cdbc7
TS
11810 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11811 * sysdeps/mach/hurd/configure: Regenerated.
11812 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11813 special-casing to...
11814 * sysdeps/gnu/configure.in: ... this new file.
11815 * sysdeps/unix/sysv/linux/configure: Regenerated.
11816 * sysdeps/gnu/configure: New generated file.
11817
8e41b99f
TS
11818 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11819 for Linux: use nsec instead of usec, as well as:
11820 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11821 members of type struct timespec.
11822 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11823 New macros.
11824 (struct stat64): Likewise.
11825 (_STATBUF_ST_NSEC): New macro.
11826 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11827
10589b4a
TS
11828 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11829 __strtoul_internal rather than strtoul.
11830
63643c85
PT
118312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11832
11833 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11834 and reject them.
11835
3faebe6a
ST
118362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11837
11838 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11839 which preserves existing values.
11840 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11841
c6474b07
PT
118422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11843
11844 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11845 TIMEOUT values. Return EINVAL for NFDS values either negative or
11846 greater than FD_SETSIZE.
11847
1043890b
ST
118482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11849
11850 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11851 allocated, call __vm_protect to finish enabling the existing space, and
11852 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11853 allocate the remainder.
11854
37ed8b9b
PT
118552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11856
11857 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11858 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11859
db653660
ST
118602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11861
37ed8b9b
PT
11862 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11863 sysdeps/mach/hurd/readlink.c.
b29d4053 11864
db653660
ST
11865 * posix/tst-sysconf.c (posix_options): Only use
11866 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11867 _POSIX_SYNCHRONIZED_IO when they are defined
11868 * sysdeps/mach/hurd/bits/posix_opt.h:
11869 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11870 (_XOPEN_REALTIME): Undefine macro.
11871 (_XOPEN_REALTIME_THREADS): Undefine macro.
11872 (_XOPEN_SHM): Undefine macro.
11873 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11874 macro to -1.
11875 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11876 macro to -1.
11877 (_POSIX_ASYNC_IO): Undefine macro.
11878 (_POSIX_PRIORITIZED_IO): Undefine macro.
11879 (_POSIX_SPIN_LOCKS): Define macro to -1.
11880
ee16e894
ST
11881 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11882 SA_NODEFER, SA_RESETHAND.
11883 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11884 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11885 F_DUPFD_CLOEXEC.
11886
6103ae3b
TS
118872012-05-10 Thomas Schwinge <thomas@schwinge.name>
11888
11889 * elf/Makefile (pldd-modules): Define unconditionally.
11890
80b4e5f3
TS
118912012-05-10 Thomas Schwinge <thomas@schwinge.name>
11892
11893 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11894
edadcbd6
ST
118952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11896
11897 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11898 Return ENOENT when name is empty.
11899 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11900
80694780
TS
119012012-05-10 Thomas Schwinge <thomas@schwinge.name>
11902
1792c087
TS
11903 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11904
80694780
TS
11905 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11906
6b645f0d
ST
119072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11908
80694780
TS
11909 Fix mlock in all cases except non-readable pages.
11910 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11911 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 11912
6b645f0d
ST
11913 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11914 (__mkdir): When path is `/', just fail with EEXIST.
11915 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11916
e468f8a3
TS
119172012-05-10 Thomas Schwinge <thomas@schwinge.name>
11918
11919 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11920 <sys/uio.h> (for writev).
11921 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11922 and <sys/param.h> (for MIN).
11923
a4186cff
PT
119242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11925
11926 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11927 REQUESTED_TIME. Properly set the remaining time and return EINTR
11928 if interrupted.
11929
510bbf14
TS
119302012-05-10 Thomas Schwinge <thomas@schwinge.name>
11931
11932 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11933 Depend on against $(link-rpcuserlibs).
11934
5d5722e8
ST
119352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11936
a4186cff
PT
11937 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11938 (__libc_stack_end): Do not use attribute_relro.
11939 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11940 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 11941 to libthread-provided value.
a4186cff
PT
11942 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11943 attribute_relro.
5d5722e8 11944
37233df9
TS
119452012-05-10 Thomas Schwinge <thomas@schwinge.name>
11946
be971a2b
TS
11947 [BZ #3748]
11948 * bits/libc-lock.h (__libc_once_get): New macro.
11949 * sysdeps/mach/bits/libc-lock.h: Likewise.
11950 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11951 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11952 instead of using implementation details.
11953
37233df9
TS
11954 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11955 * libio/freopen.c: Likewise.
11956 * libio/freopen64.c: Likewise.
11957 * misc/syslog.c: Likewise.
11958 * nscd/connections.c: Likewise.
11959 * nscd/netgroupcache.c: Likewise.
11960 * sysdeps/posix/getcwd.c: Likewise.
11961
38de94a5
RM
119622012-05-10 Roland McGrath <roland@hack.frob.com>
11963
11964 * math/w_ilogbf.c: Add #include <limits.h>.
11965
67530489
ST
119662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11967
a4186cff 11968 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
11969 path instead of returning without unlocking.
11970
67530489
ST
11971 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11972 immediate-write ioctls.
11973 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11974
5aa3a74a
TS
119752012-05-10 Thomas Schwinge <thomas@schwinge.name>
11976
18bad2ae
TS
11977 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11978 __builtin_frame_address instead of making assumptions about the
11979 location of the return address relative to DATA. Force early load of
11980 the return address.
11981 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11982 __builtin_frame_address.
11983
5aa3a74a
TS
11984 dup3 for GNU Hurd.
11985 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11986 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11987 implement dup3 and do some further code clean-ups.
11988 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11989 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11990
ecd0de9a
ST
119912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11992
cd9fa985
ST
11993 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11994
a4186cff
PT
11995 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11996 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11997 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11998 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11999 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
12000 d->port.lock.
802ca5a5 12001
a4186cff
PT
12002 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
12003 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
12004 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 12005
bcf55240
TS
120062012-05-10 Thomas Schwinge <thomas@schwinge.name>
12007
6960eb42
TS
12008 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
12009 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
12010 definitions.
12011
eb43375f
TS
12012 accept4 for GNU Hurd.
12013 * include/sys/socket.h (__libc_accept4): New prototype.
12014 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
12015 to implement __libc_accept4.
12016 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
12017 __libc_accept4.
12018 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
12019
bcf55240
TS
12020 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
12021 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
12022 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
12023 signal-defines.sym.
12024
6178c55b
ST
120252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12026
a4186cff 12027 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 12028
6f080c2f
TS
120292012-05-10 Thomas Schwinge <thomas@schwinge.name>
12030
12031 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
12032 assertion on O_CLOEXEC flag.
12033 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
12034 * hurd/intern-fd.c: Likewise.
12035 * hurd/port2fd.c: Likewise.
12036
bcfe3a54
ST
120372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12038
12039 [BZ #3906]
12040 * bits/in.h (IPV6_PKTINFO): Define new macro.
12041 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12042
89c9aa49
AZ
120432012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12044
12045 [BZ #13954]
12046 [BZ #13955]
12047 [BZ #13956]
12048 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12049 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12050 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12051 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12052 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12053 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12054 * math/libm-test.inc (logb_test) : Additional logb tests.
12055
021db4be
AJ
120562012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12057 Andreas Jaeger <aj@suse.de>
12058
12059 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12060 * configure: Regenerated.
12061 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12062 * config.make.in (link-obsolete-rpc): New substituted variable.
12063 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12064 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12065 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12066 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12067 so that libc.a contains the symbols.
12068 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12069 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12070 * sunrpc/auth_none.c: Likewise.
12071 * sunrpc/auth_unix.c: Likewise.
12072 * sunrpc/authdes_prot.c: Likewise.
12073 * sunrpc/authuxprot.c: Likewise.
12074 * sunrpc/clnt_gen.c: Likewise.
12075 * sunrpc/clnt_perr.c: Likewise.
12076 * sunrpc/clnt_raw.c: Likewise.
12077 * sunrpc/clnt_simp.c: Likewise.
12078 * sunrpc/clnt_tcp.c: Likewise.
12079 * sunrpc/clnt_udp.c: Likewise.
12080 * sunrpc/clnt_unix.c: Likewise.
12081 * sunrpc/des_crypt.c: Likewise.
12082 * sunrpc/des_soft.c: Likewise.
12083 * sunrpc/get_myaddr.c: Likewise.
12084 * sunrpc/key_call.c: Likewise.
12085 * sunrpc/key_prot.c: Likewise.
12086 * sunrpc/netname.c: Likewise.
12087 * sunrpc/pm_getmaps.c: Likewise.
12088 * sunrpc/pm_getport.c: Likewise.
12089 * sunrpc/pmap_clnt.c: Likewise.
12090 * sunrpc/pmap_prot.c: Likewise.
12091 * sunrpc/pmap_prot2.c: Likewise.
12092 * sunrpc/pmap_rmt.c: Likewise.
12093 * sunrpc/publickey.c: Likewise.
12094 * sunrpc/rpc_cmsg.c: Likewise.
12095 * sunrpc/rpc_common.c: Likewise.
12096 * sunrpc/rpc_dtable.c: Likewise.
12097 * sunrpc/rpc_prot.c: Likewise.
12098 * sunrpc/rpc_thread.c: Likewise.
12099 * sunrpc/rtime.c: Likewise.
12100 * sunrpc/svc.c: Likewise.
12101 * sunrpc/svc_auth.c: Likewise.
12102 * sunrpc/svc_raw.c: Likewise.
12103 * sunrpc/svc_run.c: Likewise.
12104 * sunrpc/svc_tcp.c: Likewise.
12105 * sunrpc/svc_udp.c: Likewise.
12106 * sunrpc/svc_unix.c: Likewise.
12107 * sunrpc/svcauth_des.c: Likewise.
12108 * sunrpc/xcrypt.c: Likewise.
12109 * sunrpc/xdr.c: Likewise.
12110 * sunrpc/xdr_array.c: Likewise.
12111 * sunrpc/xdr_float.c: Likewise.
12112 * sunrpc/xdr_intXX_t.c: Likewise.
12113 * sunrpc/xdr_mem.c: Likewise.
12114 * sunrpc/xdr_rec.c: Likewise.
12115 * sunrpc/xdr_ref.c: Likewise.
12116 * sunrpc/xdr_sizeof.c: Likewise.
12117 * sunrpc/xdr_stdio.c: Likewise.
12118
b5c086a2
RM
121192012-05-10 Roland McGrath <roland@hack.frob.com>
12120
12121 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12122 change. Update copyright years.
12123
6d74dd09
JM
121242012-05-10 Joseph Myers <joseph@codesourcery.com>
12125
12126 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12127
28e72501
MK
121282012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12129 Joseph Myers <joseph@codesourcery.com>
12130 Paul Pluzhnikov <ppluzhnikov@google.com>
12131
12132 [BZ #14012]
12133 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12134 requiring rpcgen.
12135 [cross-compiling] (extra-libs): Likewise.
12136 [cross-compiling] (extra-libs-others): Likewise.
12137 [cross-compiling] (librpcsvc-routines): Likewise.
12138 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12139 [cross-compiling] (omit-deps): Likewise.
12140 (sunrpc-CPPFLAGS): New variable.
12141 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12142 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12143 (cross-rpcgen-objs): New variable.
12144 (extra-objs): Append $(cross-rpcgen-objs).
12145 ($(cross-rpcgen-objs)): New rule.
12146 ($(objpfx)cross-rpcgen): Likewise.
12147 (rpcgen-cmd): Define to use $(built-program-file). Expand
12148 comment.
12149 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12150 ($(objpfx)x%.stmp): Likewise.
12151 * sunrpc/proto.h [IS_IN_build] (_): Define.
12152 [IS_IN_build] (_libc_intl_domainname): Likewise.
12153
c8c59454
L
121542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12155
12156 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12157 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12158 and R_X86_64_TPOFF64.
12159
6f27cd16
JM
121602012-05-10 Joseph Myers <joseph@codesourcery.com>
12161
12162 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12163 sysdeps/unix/sysv/syscalls.list.
12164 (stime): Likewise.
12165 (utime): Likewise.
12166 * sysdeps/unix/sysv/syscalls.list: Remove file.
12167
02467e1c
PE
121682012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12169
12170 [BZ #3440]
12171 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12172 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12173 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12174 (__LC_IDENTIFICATION): Make these macros useful in #if
12175 expressions, as required by C99.
12176
da392631
AS
121772012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12178
12179 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12180 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12181 after this.
12182
8115f29b
L
121832012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12184
12185 * stdlib/longlong.h: Updated from GCC.
12186
bdd74070
AJ
121872012-05-09 Andreas Jaeger <aj@suse.de>
12188
edfe0dbe
AJ
12189 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12190 default is first entry.
12191 (run_mode): Set type.
12192 (main): Remove informal message about syslog.
12193 (options): Fix typo.
12194
bcfe3a54
ST
12195 [BZ #14053]
12196 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 12197 to asm.
bcfe3a54
ST
12198 (lrint): Likewise.
12199 (llrintf): Likewise.
12200 (llrint): Likewise.
12201 (rint): Likewise.
12202 (rintf): Likewise.
12203 (nearbyint): Likewise.
12204 (nearbyintf): Likewise.
bdd74070 12205
91d8d69e
AJ
122062012-05-09 Andreas Jaeger <aj@suse.de>
12207 Pedro Alves <palves@redhat.com>
12208
12209 * nscd/nscd.c (run_mode): Use enum.
12210 (main): Cleanup coding style issue.
12211
bb90b80b
AJ
122122012-05-09 Alexandre Oliva <aoliva@redhat.com>
12213 Andreas Jaeger <aj@suse.de>
12214
bcfe3a54
ST
12215 * nscd/nscd.c (go_background): Replaced with...
12216 (run_mode): ... this.
bb90b80b 12217 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
12218 (options): Add -F --foreground.
12219 (main): Implement it.
12220 (parse_opt): Parse it.
bb90b80b 12221
1a4b75a1
AJ
122222012-05-09 Andreas Jaeger <aj@suse.de>
12223
12224 [BZ #14083]
12225 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12226 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12227 -Wconversion warning.
12228 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12229 Likewise.
12230
b1cc2472
JM
122312012-05-09 Joseph Myers <joseph@codesourcery.com>
12232
12233 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12234 == 0.
12235 (LC_ALL): Use macro-int-constant.
12236 (LC_COLLATE): Likewise.
12237 (LC_CTYPE): Likewise.
12238 (LC_MESSAGES): Likewise.
12239 (LC_MONETARY): Likewise.
12240 (LC_NUMERIC): Likewise.
12241 (LC_TIME): Likewise.
12242 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12243 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12244 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12245 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12246 Specify type.
12247 [C99-based standards] (float_t): Expect type.
12248 [C99-based standards] (double_t): Expect type.
12249 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12250 type.
12251 [C99-based standards] (HUGE_VALL): Likewise.
12252 [C99-based standards] (INFINITY): Likewise.
12253 [C99-based standards] (NAN): Likewise.
12254 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12255 [C99-based standards] (FP_NAN): Likewise.
12256 [C99-based standards] (FP_NORMAL): Likewise.
12257 [C99-based standards] (FP_SUBNORMAL): Likewise.
12258 [C99-based standards] (FP_ZERO): Likewise.
12259 [C99-based standards] (FP_FAST_FMA): Use
12260 optional-macro-int-constant. Specify type. Require == 1.
12261 [C99-based standards] (FP_FAST_FMAF): Likewise.
12262 [C99-based standards] (FP_FAST_FMAL): Likewise.
12263 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12264 [C99-based standards] (FP_ILOGBNAN): Likewise.
12265 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12266 Specify type.
12267 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12268 [C99-based standards] (math_errhandling): Specify type.
12269 [ISO99 || ISO11] (signgam): Do not allow.
12270 [non-C99-based standards] (copysignf): Do not allow.
12271 [non-C99-based standards] (exp2f): Likewise.
12272 [non-C99-based standards] (log2f): Likewise.
12273 [non-C99-based standards] (modff): Allow.
12274 [non-C99-based standards] (erff): Do not allow.
12275 [non-C99-based standards] (erfcf): Likewise.
12276 [non-C99-based standards] (gammaf): Likewise.
12277 [non-C99-based standards] (hypotf): Likewise.
12278 [non-C99-based standards] (j0f): Likewise.
12279 [non-C99-based standards] (j1f): Likewise.
12280 [non-C99-based standards] (jnf): Likewise.
12281 [non-C99-based standards] (lgammaf): Likewise.
12282 [non-C99-based standards] (tgammaf): Likewise.
12283 [non-C99-based standards] (y0f): Likewise.
12284 [non-C99-based standards] (y1f): Likewise.
12285 [non-C99-based standards] (ynf): Likewise.
12286 [non-C99-based standards] (isnanf): Likewise.
12287 [non-C99-based standards] (acoshf): Likewise.
12288 [non-C99-based standards] (asinhf): Likewise.
12289 [non-C99-based standards] (atanhf): Likewise.
12290 [non-C99-based standards] (cbrtf): Likewise.
12291 [non-C99-based standards] (expm1f): Likewise.
12292 [non-C99-based standards] (ilogbf): Likewise.
12293 [non-C99-based standards] (log1pf): Likewise.
12294 [non-C99-based standards] (logbf): Likewise.
12295 [non-C99-based standards] (nextafterf): Likewise.
12296 [non-C99-based standards] (remainderf): Likewise.
12297 [non-C99-based standards] (rintf): Likewise.
12298 [non-C99-based standards] (scalbf): Likewise.
12299 [non-C99-based standards] (copysignl): Likewise.
12300 [non-C99-based standards] (exp2l): Likewise.
12301 [non-C99-based standards] (log2l): Likewise.
12302 [non-C99-based standards] (modfl): Allow.
12303 [non-C99-based standards] (erfl): Do not allow.
12304 [non-C99-based standards] (erfcl): Likewise.
12305 [non-C99-based standards] (gammal): Likewise.
12306 [non-C99-based standards] (hypotl): Likewise.
12307 [non-C99-based standards] (j0l): Likewise.
12308 [non-C99-based standards] (j1l): Likewise.
12309 [non-C99-based standards] (jnl): Likewise.
12310 [non-C99-based standards] (lgammal): Likewise.
12311 [non-C99-based standards] (tgammal): Likewise.
12312 [non-C99-based standards] (y0l): Likewise.
12313 [non-C99-based standards] (y1l): Likewise.
12314 [non-C99-based standards] (ynl): Likewise.
12315 [non-C99-based standards] (isnanl): Likewise.
12316 [non-C99-based standards] (acoshl): Likewise.
12317 [non-C99-based standards] (asinhl): Likewise.
12318 [non-C99-based standards] (atanhl): Likewise.
12319 [non-C99-based standards] (cbrtl): Likewise.
12320 [non-C99-based standards] (expm1l): Likewise.
12321 [non-C99-based standards] (ilogbl): Likewise.
12322 [non-C99-based standards] (log1pl): Likewise.
12323 [non-C99-based standards] (logbl): Likewise.
12324 [non-C99-based standards] (nextafterl): Likewise.
12325 [non-C99-based standards] (remainderl): Likewise.
12326 [non-C99-based standards] (rintl): Likewise.
12327 [non-C99-based standards] (scalbl): Likewise.
12328 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12329 [non-C99-based standards] (FP_*): Do not allow.
12330 [C99-based standards] (FP_*): Change to
12331 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12332 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12333 allow.
12334 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12335 (SIG_ERR): Likewise.
12336 [X/Open-based standards] (SIG_HOLD): Likewise.
12337 (SIG_IGN): Likewise.
12338 (SIGABRT): Use macro-int-constant. Specify type. Require
12339 positive value.
12340 (SIGFPE): Likewise.
12341 (SIGILL): Likewise.
12342 (SIGINT): Likewise.
12343 (SIGSEGV): Likewise.
12344 (SIGTER): Likewise.
12345 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12346 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12347 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12348 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12349 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12350 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12351 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12352 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12353 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12354 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12355 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12356 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12357 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12358 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12359 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12360 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12361 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12362 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12363 [X/Open-based standards] (SIGTRAP): Likewise.
12364 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12365 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12366 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12367 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12368 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12369 allow.
12370
b9f1922d
IW
123712012-05-08 Ian Wienand <ianw@vmware.com>
12372
12373 [BZ #14080]
12374 * time/tzset.c (__tzset_parse_tz): Update default rules for
12375 daylight time changes in the Energy Policy Act of 2005.
12376
1db86e88
AJ
123772012-05-09 Andreas Jaeger <aj@suse.de>
12378
12379 [BZ #13983]
12380 * elf/ldconfig.c (parse_conf): Change string to make clear that
12381 ldconfig only issued a warning if ld.so.conf does not exist.
12382
dee4a4e3
DM
123832012-05-08 David S. Miller <davem@davemloft.net>
12384
ee0db190
DM
12385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12386 movxtod instead of popping the value on the stack.
12387
dee4a4e3
DM
12388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12389
6a43ec98
CD
123902012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12391
12392 * config.h.in: Add HAVE_ARM_PCS_VFP.
12393
05c2c961
RMG
123942012-05-08 Roland Mc Grath <roland@hack.frob.com>
12395
bcfe3a54
ST
12396 [BZ #13979]
12397 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12398 checking but the checks are disabled for any reason.
05c2c961 12399
4b30f61a
L
124002012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12401
12402 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12403 and ELF64_R_TYPE with ELFW(R_TYPE).
12404
eee2bc67
JM
124052012-05-08 Joseph Myers <joseph@codesourcery.com>
12406
7ea5391a
JM
12407 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12408 (ulimit): Likewise.
12409
eee2bc67
JM
12410 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12411 (settimeofday): Likewise.
12412
abb66a67
MF
124132012-05-08 Mike Frysinger <vapier@gentoo.org>
12414
12415 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
12416 a struct th_u2 inside the union, and move tu_block/tu_code into
12417 a new th_u3 union of tu_block/tu_code inside of that. Move
12418 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
12419 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
12420 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12421 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
12422 (th_stuff): Change to th_u1.tu_stuff.
12423 (th_data): Define.
12424 (th_msg): Change to th_u1.th_u2.tu_data.
12425
7f18b530
DM
124262012-05-07 David S. Miller <davem@davemloft.net>
12427
05760585
DM
12428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12429
7f18b530
DM
12430 [BZ #14074]
12431 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12432 (SETUP_PIC_REG): Use it.
12433 (SETUP_PIC_REG_LEAF): Use it.
12434
495fd99f
JM
124352012-05-07 Joseph Myers <joseph@codesourcery.com>
12436
12437 [BZ #13885]
12438 [BZ #13923]
12439 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12440 USE_AS_EXPM1L.
12441 (EXPL_FINITE): Likewise.
12442 (FLDLOG): Likewise.
12443 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12444 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12445 e_expl.S.
12446 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12447 USE_AS_EXPM1L.
12448 (EXPL_FINITE): Likewise.
12449 (FLDLOG): Likewise.
12450 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12451 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12452 e_expl.S.
12453 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12454 test of -max_value argument for long double.
12455 * sysdeps/i386/fpu/libm-test-ulps: Update.
12456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12457
6693d694
DM
124582012-05-06 David S. Miller <davem@davemloft.net>
12459
12460 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12461 quad soft-float symbols whose references which are compiler
12462 generated.
12463 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12464
6c23e11c
JM
124652012-05-06 Joseph Myers <joseph@codesourcery.com>
12466
d8b82cad
JM
12467 [BZ #13884]
12468 [BZ #13914]
12469 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12470 USE_AS_EXP10L.
12471 (EXPL_FINITE): Likewise.
12472 (FLDLOG): Likewise.
12473 (c0): Likewise.
12474 (c1): Likewise.
12475 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12476 Adjust comments for base varying.
12477 (__expl_finite): Change alias to EXPL_FINITE.
12478 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12479 e_expl.S.
12480 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12481 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12482 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12483 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12484 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12485 USE_AS_EXP10L.
12486 (EXPL_FINITE): Likewise.
12487 (FLDLOG): Likewise.
12488 (c0): Likewise.
12489 (c1): Likewise.
12490 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12491 Adjust comments for base varying.
12492 (__expl_finite): Change alias to EXPL_FINITE.
12493 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12494 tests for bugs.
12495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12496
6c23e11c
JM
12497 [BZ #14064]
12498 * math/libm-test.inc (check_float_internal): Correct ulp
12499 calculation for subnormal expected results.
12500
29ba805c
AJ
125012012-05-06 Andreas Jaeger <aj@suse.de>
12502
12503 * Makeconfig (+math-flags): New, set to -frounding-math.
12504 (+cflags): Add +math-flags so that all of glibc gets compiled with
12505 it.
12506
12507 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12508
7b17aeda
JM
125092012-05-05 Joseph Myers <joseph@codesourcery.com>
12510
5779f134
JM
12511 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12512 Disable one test.
12513
41498f4d
JM
12514 [BZ #13787]
12515 [BZ #13922]
12516 [BZ #14036]
12517 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12518 (__ieee754_expl): Allow for and saturate large arguments.
12519 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12520 (u_threshold): Likewise.
12521 (__exp): Call __ieee754_exp before checking for overflow and
12522 underflow.
12523 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12524 (u_threshold): Likewise.
12525 (__expf): Call __ieee754_expf before checking for overflow and
12526 underflow.
12527 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12528 (u_threshold): Likewise.
12529 (__expl): Call __ieee754_expl before checking for overflow and
12530 underflow.
12531 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12532 (__ieee754_expl): Allow for and saturate large arguments.
12533 * math/libm-test.inc (exp_test): Add another test. Do not allow
12534 missing overflow exception on overflow.
12535 (expm1_test): Do not allow missing overflow exception on overflow.
12536
6698b8bf
JM
12537 * sysdeps/i386/fpu/e_expl.c: Move to ...
12538 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12539 rather than using inline asm.
12540 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12541 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12542 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12543
7b17aeda
JM
12544 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12545 (nice): Likewise.
12546 (poll): Likewise.
12547 (signal): Likewise.
12548 (time): Likewise.
12549 (times): Likewise.
12550
f7c85819
JM
125512012-05-04 Joseph Myers <joseph@codesourcery.com>
12552
12553 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12554 sysdeps/unix/common/syscalls.list.
12555 (fchmod): Likewise.
12556 (fchown): Likewise.
12557 (ftruncate): Likewise.
12558 (getrusage): Likewise.
12559 (gettimeofday): Likewise.
12560 (setpgid): Likewise.
12561 (setregid): Likewise.
12562 (setreuid): Likewise.
12563 (sigaction): Likewise.
12564 (truncate): Likewise.
12565 (vhangup): Likewise.
12566 * sysdeps/unix/common/syscalls.list: Remove file.
12567 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12568 * sysdeps/unix/sysv/linux/Implies: Likewise.
12569
336270d0
L
125702012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12571
12572 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12574 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12575 Moved to ...
12576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12577 Here.
12578 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12579 to ...
12580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12581 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12582 to ...
12583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12584 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12585 to ...
12586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12587 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12588 to ...
12589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12590 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12591 to ...
12592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12593 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12594 to ...
12595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12596 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12597 to ...
12598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12599 Here.
12600 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12601 to ...
12602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12603 Here.
12604 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12605 to ...
12606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12607 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12608 Moved to ...
12609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12610 Here.
12611 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12612 to ...
12613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12614
d128e450
JM
126152012-05-04 Joseph Myers <joseph@codesourcery.com>
12616
fa8ee516
JM
12617 * sysdeps/unix/common/bits/dirent.h: Remove file.
12618 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12619
d128e450
JM
12620 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12621 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12622 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12623 * sysdeps/unix/bsd/isatty.c: Likewise.
12624 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12625 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12626 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12627
ff8faaf0 126282012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 12629
62881be4 12630 [BZ #13563]
31dc8730
AZ
12631 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12632 long double comparison inaccuracies.
12633 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12635
6fef930c
AS
126362012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12637
12638 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12639 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12640
8f203e6c
JM
126412012-05-04 Joseph Myers <joseph@codesourcery.com>
12642
12643 [BZ #14049]
12644 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12645 nonzero digits before rounding a hex value.
12646 * stdlib/tst-strtod.c (tests): Add another test.
12647
5197d9c2
AK
126482012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12649
12650 * sysdeps/s390/fpu/libm-test-ulps: Update.
12651
f0c1dedf
AJ
126522012-05-03 Andreas Jaeger <aj@suse.de>
12653
12654 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12655 does not get optimized out.
12656 (malloc_opt_barrier): New.
12657
a65ef2ae 126582012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 12659 Roland McGrath <roland@hack.frob.com>
a65ef2ae 12660
2b942cb7 12661 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 12662 intermediate file deletion.
2b942cb7 12663 (generated): Add .symlist files.
a65ef2ae 12664
54b71e02
JM
126652012-05-03 Joseph Myers <joseph@codesourcery.com>
12666
12667 [BZ #13775]
12668 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12669 Redirect under this condition.
12670 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12671 [__USE_GNU] (__dprintf_chk): Not under this condition.
12672 [__USE_GNU] (__vdprintf_chk): Likewise.
12673 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12674 under this condition.
12675 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12676 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12677 [__USE_XOPEN2K8] (vdprintf): Likewise.
12678 [__USE_GNU] (__dprintf_chk): Not under this condition.
12679 [__USE_GNU] (__vdprintf_chk): Likewise.
12680 [__USE_GNU] (dprintf): Likewise.
12681 [__USE_GNU] (vdprintf): Likewise.
12682
d3dfcc41
RM
126832012-05-03 Roland McGrath <roland@hack.frob.com>
12684
12685 * elf/Makefile (common-generated): Set this instead of generated for
12686 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12687 $(all-built-dso)-derived lists.
12688
7ac30cc5
AJ
126892012-05-03 Andreas Jaeger <aj@suse.de>
12690
0c51e550
AJ
12691 * sysdeps/i386/fpu/libm-test-ulps: Update.
12692
7ac30cc5
AJ
12693 * FAQ: Removed.
12694 * FAQ.in: Likewise.
12695 * scripts/gen-FAQ.pl: Likewise.
12696 * manual/install.texi (Installation): Point to online location of
12697 FAQ.
12698 * Makefile (files-for-dist): Remove FAQ.
12699 (FAQ): Remove.
12700
d4c2917f
AM
127012012-05-02 Allan McRae <allan@archlinux.org>
12702
12703 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12704 (LDFLAGS-reldepmod5.so): Likewise.
12705 (LDFLAGS-reldep6mod1.so): Likewise.
12706 (LDFLAGS-reldep6mod4.so): Likewise.
12707 (LDFLAGS-reldep8mod3.so): Likewise.
12708 (LDFLAGS-unload4mod1.so): Likewise.
12709 (LDFLAGS-unload4mod2.so): Likewise.
12710 (LDFLAGS-tst-initorder): Likewise.
12711 (LDFLAGS-tst-initordera2.so): Likewise.
12712 (LDFLAGS-tst-initordera3.so): Likewise.
12713 (LDFLAGS-tst-initordera4.so): Likewise.
12714 (LDFLAGS-tst-initorderb2.so): Likewise.
12715 (LDFLAGS-noload): Likewise.
12716 (LDFLAGS-next): Likewise.
12717 (LDFLAGS-order2mod1.so): Likewise.
12718 (LDFLAGS-order2mod2.so): Likewise.
12719 (LDFLAGS-tst-initorder2): Likewise.
12720 (LDFLAGS-tst-initorder2a.so): Likewise.
12721 (LDFLAGS-tst-initorder2b.so): Likewise.
12722 (LDFLAGS-tst-initorder2c.so): Likewise.
12723 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12724
d77f993f
DM
127252012-05-02 David S. Miller <davem@davemloft.net>
12726
12727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12728
171a70b4
PP
127292012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12730
12731 [BZ #14055]
12732 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12733
0be196ad
AJ
127342012-05-02 Andreas Jaeger <aj@suse.de>
12735
12736 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12737 since we manipulate rounding mode.
12738 (CPPFLAGS-test-idouble.c): Likewise.
12739 (CPPFLAGS-test-ifloat.c): Likewise.
12740 (CFLAGS-test-ldouble.c): Likewise.
12741 (CFLAGS-test-double.c): Likewise.
12742 (CFLAGS-test-float.c): Likewise.
12743 (CFLAGS-test-misc.c): Likewise.
12744 (CFLAGS-test-test-fenv.c): Likewise.
12745
4f9d04aa
AZ
127462012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12747
2b942cb7
RM
12748 [BZ #2550]
12749 [BZ #2570]
12750 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12751 comparisons to determine direction to adjust input.
4f9d04aa 12752
82a79e7d
RM
127532012-05-01 Roland McGrath <roland@hack.frob.com>
12754
f5a01ca9
RM
12755 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12756 output to the target.
12757
90fe4186
RM
12758 * scripts/localplt.awk: New file.
12759 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12760 (check-localplt-CFLAGS): Variable removed.
12761 ($(all-built-dso:=.jmprel)): New static pattern rule.
12762 (generated): Add those targets.
12763 (localplt-built-dso): New variable.
12764 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12765
12766 * elf/check-localplt.c: File removed.
12767
82397ed6
RM
12768 * scripts/check-execstack.awk: New file.
12769 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12770 (check-execstack-CFLAGS): Variable removed.
12771 ($(objpfx)check-execstack.h): Target removed.
12772 ($(objpfx)execstack-default): New target.
12773 (generated): Add that instead of check-execstack.h.
12774 ($(all-built-dso:=.phdr)): New static pattern rule.
12775 (generated): Add those targets.
12776 * elf/check-execstack.c: File removed.
12777
82a79e7d
RM
12778 * scripts/check-textrel.awk: New file.
12779 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12780 (check-textrel-CFLAGS): Variable removed.
12781 (all-built-dso): Use := to define.o
12782 ($(all-built-dso:=.dyn)): New static pattern rule.
12783 (generated): Add those targets.
12784 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12785 * config.make.in (READELF): New substituted variable.
12786 * elf/check-textrel.c: File removed.
12787
62fde54f 127882012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 12789
615605c9
JM
12790 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12791 allow.
12792 * conform/data/ctype.h-data [C99-based standards] (isblank):
12793 Expect function.
12794 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12795 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12796 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12797 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12798 Specify type. Require positive value.
12799 (EILSEQ): Likewise.
12800 (ERANGE): Likewise.
12801 [ISO || POSIX] (EILSEQ): Do not expect.
12802 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12803 Specify type. Require positive value.
12804 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12805 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12806 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12807 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12808 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12809 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12810 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12811 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12812 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12813 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12814 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12815 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12816 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12817 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12818 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12819 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12820 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12821 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12822 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12823 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12824 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12825 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12826 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12827 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12828 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12829 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12830 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12831 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12832 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12833 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12834 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12835 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12836 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12837 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12838 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12839 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12840 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12841 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12842 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12843 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12844 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12845 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12846 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12847 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12848 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12849 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12850 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12851 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12852 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12853 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12854 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12855 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12856 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12857 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12858 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12859 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12860 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12861 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12862 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12863 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12864 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12865 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12866 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12867 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12868 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12869 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12870 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12871 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12872 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12873 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12874 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12875 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12876 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12877 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12878 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12879 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12880 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12881 Require >= 2.
12882 (FLT_ROUNDS): Expect as macro, not constant.
12883 (FLT_MANT_DIG): Use macro-int-constant.
12884 (DBL_MANT_DIG): Likewise.
12885 (LDBL_MANT_DIG): Likewise.
12886 (FLT_DIG): Likewise.
12887 (DBL_DIG): Likewise.
12888 (LDBL_DIG): Likewise.
12889 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12890 (DBL_MIN_EXP): Likewise.
12891 (LDBL_MIN_EXP): Likewise.
12892 (FLT_MAX_EXP): Use macro-int-constant.
12893 (DBL_MAX_EXP): Likewise.
12894 (LDBL_MAX_EXP): Likewise.
12895 (FLT_MAX_10_EXP): Likewise.
12896 (DBL_MAX_10_EXP): Likewise.
12897 (LDBL_MAX_10_EXP): Likewise.
12898 (FLT_MAX): Use macro-constant.
12899 (DBL_MAX): Likewise.
12900 (LDBL_MAX): Likewise.
12901 (FLT_EPSILON): Use macro-constant. Give upper bound.
12902 (DBL_EPSILON): Likewise.
12903 (LDBL_EPSILON): Likewise.
12904 (FLT_MIN): Likewise.
12905 (DBL_MIN): Likewise.
12906 (LDBL_MIN): Likewise.
12907 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12908 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12909 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12910 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12911 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12912 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12913 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12914 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12915 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12916 [ISO11] (FLT_TRUE_MIN): Likewise.
12917 [ISO11] (LDBL_TRUE_MIN): Likewise.
12918 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12919 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12920 (SCHAR_MIN): Use macro-int-constant. Specify type.
12921 (SCHAR_MAX): Likewise.
12922 (UCHAR_MAX): Likewise.
12923 (CHAR_MIN): Likewise.
12924 (CHAR_MAX): Likewise.
12925 (MB_LEN_MAX): Use macro-int-constant.
12926 (SHRT_MIN): Use macro-int-constant. Specify type.
12927 (SHRT_MAX): Likewise.
12928 (USHRT_MAX): Likewise.
12929 (INT_MAX): Likewise.
12930 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12931 bound negative.
12932 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12933 bound with "U".
12934 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12935 bound with "L".
12936 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12937 bound negative. Suffix upper bound with "L".
12938 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12939 bound with "UL".
12940 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12941 Specify type.
12942 [C99-based standards] (LLONG_MAX): Likewise.
12943 [C99-based standards] (ULLONG_MAX): Likewise.
12944 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12945 == 0.
12946 [ISO11] (max_align_t): Require type.
12947 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12948
c9140a62
JM
12949 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12950 from $CFLAGS, without defining away __attribute__ calls.
12951 (checknamespace): Use $CFLAGS_namespace.
12952
9af0bf29
JM
12953 * conform/conformtest.pl (@keywords): Only include C99 keywords
12954 for standards based on C99 or C11.
12955
343222a2
JM
12956 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12957 Disable tests.
12958 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12959 UNIX98]: Likewise.
12960
661f8cf0
JM
12961 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12962 usability of symbols in #if.
12963
ee74b9cb
JM
12964 * conform/conformtest.pl: If macro or constant types start
12965 "promoted:", expect the symbol to be of the following type
12966 promoted by the integer promotions.
62fde54f 12967
aafc49b3
JM
12968 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12969 in one place. Also handle "macro-constant".
12970
fefdf574
JM
12971 * conform/conformtest.pl: Only accept expected macro values with
12972 "==". Parse all "macro" lines in one place.
12973 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12974
f2d922fe
JM
12975 * conform/conformtest.pl: Handle braced types on "constant" lines
12976 instead of handling "typed-constant".
12977 * conform/data/signal.h-data: Use "constant" instead of
12978 "typed-constant".
12979
d22956c9
JM
12980 * conform/conformtest.pl: Handle "optional-" at start of lines in
12981 one place rather than duplicating several cases. Handle each
12982 format of "macro" line with initial "optional-".
12983
028e2e38
JM
12984 * conform/conformtest.pl: Only accept expected constant or
12985 optional-constant values with "==". Parse all "constant" lines in
12986 one place. Parse all "optional-constant" lines in one place.
12987 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12988 * conform/data/fmtmsg.h-data: Likewise.
12989 * conform/data/netinet/in.h-data: Likewise.
12990 * conform/data/tar.h-data: Likewise.
12991 * conform/data/limits.h-data: Use "==" form on "constant" and
12992 "optional-constant" lines.
12993
1b8f2850
JM
12994 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12995 Use -std=c99 for XOPEN2K.
12996 (@knownproblems): Remove.
12997 (newtoken): Don't check %isknown.
12998
a05a144b
JM
12999 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
13000 Do not expect macro.
13001 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
13002 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
13003 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
13004 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
13005 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
13006 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
13007 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
13008 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
13009 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
13010 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
13011 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
13012 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
13013 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
13014 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
13015 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
13016 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
13017 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
13018 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
13019 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
13020 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
13021 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
13022 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
13023 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
13024 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
13025 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
13026 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
13027 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
13028 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
13029 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
13030 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
13031 [XPG3] (acosh): Likewise.
13032 [XPG3] (asinh): Likewise.
13033 [XPG3] (atanh): Likewise.
13034 [XPG3] (cbrt): Likewise.
13035 [XPG3] (expm1): Likewise.
13036 [XPG3] (ilogb): Likewise.
13037 [XPG3] (log1p): Likewise.
13038 [XPG3] (logb): Likewise.
13039 [XPG3] (nextafter): Likewise.
13040 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13041 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13042 [XPG3] (remainder): Likewise.
13043 [XPG3] (rint): Likewise.
13044 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13045 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13046 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13047 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13048 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13049 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13050 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13051 [UNIX98 || XOPEN2K] (scalb): Expect.
13052 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13053 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13054 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13055 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13056 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13057 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13058 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13059 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13060 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13061 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13062 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13063 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13064 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13065 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13066 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13067 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13068 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13069 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13070 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13071 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13072 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13073 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13074 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13075 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13076 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13077 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13078 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13079 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13080 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13081 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13082 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13083 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13084 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13085 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13086 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13087 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13088 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13089 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13090 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13091 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13092 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13093 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13094 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13095 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13096 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13097 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13098 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13099 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13100 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13101 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13102 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13103 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13104 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13105 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13106 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13107 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13108 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13109 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13110 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13111 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13112 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13113 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13114 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13115 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13116 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13117 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13118 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13119 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13120 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13121 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13122 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13123 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13124 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13125 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13126 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13127 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13128 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13129 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13130 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13131 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13132 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13133 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13134 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13135 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13136 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13137 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13138 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13139 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13140 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13141 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13142 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13143 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13144 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13145 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13146 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13147 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13148 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13149 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13150 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13151 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13152 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13153 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13154 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13155 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13156 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13157 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13158 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13159 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13160 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13161 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13162 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13163 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13164 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13165 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13166 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13167 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13168 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13169 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13170 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13171 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13172 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13173 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13174 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13175 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13176 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13177 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13178 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13179 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13180 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13181 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13182 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13183 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13184 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13185 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13186 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13187 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13188 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13189
73c5ebe3
JM
13190 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13191 _XOPEN_SOURCE_EXTENDED for XPG4.
13192
39c33b6c
JM
13193 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13194
62fde54f
JM
13195 * Makeconfig (localtime): Remove variable.
13196 (inst_localtime-file): Likewise.
13197
0741d64c
AS
131982012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13199
13200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13201 Update.
13202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13203 Update.
13204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13205 Update.
13206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13207 Update.
13208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13209 Update.
13210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13211 Update.
13212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13213 Update.
13214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13215 Update.
13216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13217 Update.
13218
7cb029ee
JM
132192012-05-01 Joseph Myers <joseph@codesourcery.com>
13220
13221 [BZ #2550]
13222 [BZ #2570]
13223 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13224 comparisons to determine direction to adjust input.
13225 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13226 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13227 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13228 Likewise.
13229 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13230 Likewise.
13231 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13232 Likewise.
13233 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13234 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13235 Likewise.
13236 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13237 Likewise.
13238 * math/libm-test.inc (nexttoward_test): Add more tests.
13239
412bd966
AS
132402012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13241
13242 [BZ #14040]
13243 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13244 in version GLIBC_2.1, not GLIBC_2.0.
13245 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13246 Likewise.
13247
9568c0c2
JM
132482012-04-30 Joseph Myers <joseph@codesourcery.com>
13249
adfbc8ac
JM
13250 [BZ #13942]
13251 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13252 (1 - x) * (1 + x).
13253 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13254 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13255 * math/libm-test.inc (acos_test): Add more tests.
13256 (asin_test): Likewise.
13257 * sysdeps/i386/fpu/libm-test-ulps: Update.
13258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13259
5ba3cc69
JM
13260 [BZ #14034]
13261 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13262 of square root.
13263 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13264 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13265 * math/libm-test.inc (acos_test_tonearest): New function.
13266 (acos_test_towardzero): Likewise.
13267 (acos_test_downward): Likewise.
13268 (acos_test_upward): Likewise.
13269 (asin_test_tonearest): Likewise.
13270 (asin_test_towardzero): Likewise.
13271 (asin_test_downward): Likewise.
13272 (asin_test_upward): Likewise.
13273 (main): Call the new functions.
13274 * sysdeps/i386/fpu/libm-test-ulps: Update.
13275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13276
9568c0c2
JM
13277 [BZ #13884]
13278 [BZ #13924]
13279 * math/e_exp10.c: Include <float.h>.
13280 (__ieee754_exp10): Handle underflow here rather than multiplying
13281 large negative argument by M_LN10.
13282 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13283 of __ieee754_expf.
13284 * math/e_exp10l.c: Include <float.h>.
13285 (__ieee754_exp10l): Handle underflow here rather than multiplying
13286 large negative argument by M_LN10l.
13287 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13288 spurious overflow exception on underflow.
13289
5ac3ea17
MP
132902012-04-29 Marek Polacek <polacek@redhat.com>
13291
13292 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13293 (__fortify_function): New macro.
13294 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13295 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13296 __extern_always_inline.
13297 * libio/bits/stdio2.h: Likewise.
13298 * libio/bits/stdio.h: Likewise.
13299 * string/string.h: Likewise.
13300 * string/bits/string3.h: Likewise.
13301 * include/stdio.h: Likewise.
13302 * stdlib/bits/stdlib.h: Likewise.
13303 * stdlib/stdlib.h: Likewise.
13304 * rt/bits/mqueue2.h: Likewise.
13305 * rt/mqueue.h: Likewise.
13306 * posix/bits/unistd.h: Likewise.
13307 * posix/unistd.h: Likewise.
13308 * io/bits/poll2.h: Likewise.
13309 * io/bits/fcntl2.h: Likewise.
13310 * io/fcntl.h: Likewise.
13311 * io/sys/poll.h: Likewise.
13312 * misc/bits/syslog.h: Likewise.
13313 * misc/bits/syslog-ldbl.h: Likewise.
13314 * misc/sys/syslog.h: Likewise.
13315 * socket/bits/socket2.h: Likewise.
13316 * socket/sys/socket.h: Likewise.
13317 * debug/tst-chk1.c: Likewise.
13318 * wcsmbs/bits/wchar2.h: Likewise.
13319 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13320 * wcsmbs/wchar.h: Likewise.
13321
ecf0ebfb
AJ
133222012-04-29 Andreas Jaeger <aj@suse.de>
13323
13324 * Makerules (tests): Remove enable-check-abi protection.
13325 (check-abi-warn): Remove.
13326 (check-abi-%): Remove check-abi-warn usage.
13327
13328 * configure.in: Remove check-abi configure option.
13329 * configure: Regenerated.
13330 * config.make.in (enable-check-abi): Remove.
13331
6d5c57fa
AS
133322012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13333
24c5d07e 13334 [BZ #14033]
ded5180a
AS
13335 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13336 double functions to double *_finite functions.
13337
7e0d315d
AS
13338 [BZ #13941]
13339 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13340 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13341 LDBL_MIN_EXP.
13342 * stdio-common/Makefile (tests): Add tst-sprintf3.
13343 * stdio-common/tst-sprintf3.c: New file.
13344
6d5c57fa
AS
13345 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13346 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13347
0749ff8b
JM
133482012-04-28 Joseph Myers <joseph@codesourcery.com>
13349
13350 * conform/conformtest.pl: Remove duplicate typed-constant
13351 handling.
13352
8dbd5d7b
DM
133532012-04-28 David S. Miller <davem@davemloft.net>
13354
13355 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13356 (check-abi-%): Remove AWK script prerequisite and explicit
13357 abilist directory.
13358 (check-abi): Rewrite to just diff the symlist with the abilist.
13359 (config-tls, config-abi-config): Delete, no longer used.
13360 (update-abi-%): Remove AWK script and explicit abilist directory.
13361 (update-abi): Rewrite to simply compare and conditionally copy the
13362 symlist and the sysdep abilist file. Remove update-abi-config
13363 checks.
13364 * abilist/ld.abilist: Remove.
13365 * abilist/libBrokenLocale.abilist: Remove.
13366 * abilist/libanl.abilist: Remove.
13367 * abilist/libcrypt.abilist: Remove.
13368 * abilist/libdl.abilist: Remove.
13369 * abilist/librt.abilist: Remove.
13370 * abilist/libthread_db.abilist: Remove.
13371 * abilist/libutil.abilist: Remove.
13372 * scripts/extract-abilist.awk: Remove.
13373 * scripts/merge-abilist.awk: Remove.
13374 * sysdeps/generic/libcidn.abilist: New file.
13375 * sysdeps/generic/libnss_compat.abilist: New file.
13376 * sysdeps/generic/libnss_db.abilist: New file.
13377 * sysdeps/generic/libnss_dns.abilist: New file.
13378 * sysdeps/generic/libnss_files.abilist: New file.
13379 * sysdeps/generic/libnss_hesiod.abilist: New file.
13380 * sysdeps/generic/libnss_nis.abilist: New file.
13381 * sysdeps/generic/libnss_nisplus.abilist: New file.
13382 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13383 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13384 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13385 file.
13386 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13387 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13388 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13389 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13390 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13391 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13392 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13393 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13394 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13395 file.
13396 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13397 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13398 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13399 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13400 file.
13401 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13402 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13403 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13404 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13405 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13406 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13407 file.
13408 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13409 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13410 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13411 file.
13412 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13414 New file.
13415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13416 New file.
13417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13418 New file.
13419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13420 New file.
13421 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
13422 New file.
13423 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13424 New file.
13425 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
13426 New file.
13427 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13428 New file.
13429 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13430 New file.
13431 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13432 New file.
13433 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13434 New file.
13435 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13436 New file.
13437 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
13438 New file.
13439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
13440 file.
13441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13442 New file.
13443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13444 New file.
13445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
13446 file.
13447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13448 New file.
13449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13450 New file.
13451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13452 file.
13453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13454 New file.
13455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13456 New file.
13457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13458 New file.
13459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13460 New file.
13461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13462 New file.
13463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13464 New file.
13465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13467 file.
13468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13469 New file.
13470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13471 file.
13472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13473 file.
13474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13475 file.
13476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13477 file.
13478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13479 file.
13480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13481 New file.
13482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13483 file.
13484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13485 file.
13486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13487 New file.
13488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13489 file.
13490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13492 file.
13493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13494 New file.
13495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13496 file.
13497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13498 file.
13499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13500 file.
13501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13502 file.
13503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13504 file.
13505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13506 New file.
13507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13508 file.
13509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13510 file.
13511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13512 New file.
13513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13514 file.
13515 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13516 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13517 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13518 file.
13519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13520 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13521 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13522 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13523 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13524 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13525 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13526 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13527 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13528 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13531 file.
13532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13533 New file.
13534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13535 file.
13536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13537 file.
13538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13539 file.
13540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13541 file.
13542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13543 file.
13544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13545 New file.
13546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13547 New file.
13548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13549 file.
13550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13551 New file.
13552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13553 file.
13554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13556 file.
13557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13558 New file.
13559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13560 file.
13561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13562 file.
13563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13564 file.
13565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13566 file.
13567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13568 file.
13569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13570 New file.
13571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13572 New file.
13573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13574 file.
13575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13576 New file.
13577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13578 file.
13579
41d73a1b
JM
135802012-04-28 Joseph Myers <joseph@codesourcery.com>
13581
13582 * conform/conformtest.pl: Fix typo in handling typed-constant from
13583 allow-header.
13584
28aeeda4
JM
135852012-04-27 Joseph Myers <joseph@codesourcery.com>
13586
adae8f5e
JM
13587 * README: Cut down references to pre-2.6 Linux kernels and
13588 Linuxthreads. Update lists of configurations in libc and ports
13589 and sort alphabetically. Say "or newer" with Linux kernel version
13590 requirements.
13591
28aeeda4
JM
13592 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13593
a462cb63
RA
135942012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13595
13596 [BZ #887]
13597 * math/libm-test.inc (logb_test_downward): New test to expose
13598 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13599 rounding mode.
13600
6ad3493e
JM
136012012-04-27 Joseph Myers <joseph@codesourcery.com>
13602
13603 [BZ #14027]
13604 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13605 to be done.
13606 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13607 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13608
2ce4f015
JM
136092012-04-26 Joseph Myers <joseph@codesourcery.com>
13610
5aeb141a
JM
13611 * sysdeps/unix/i386/brk.S: Remove file.
13612 * sysdeps/unix/i386/dl-brk.S: Likewise.
13613 * sysdeps/unix/i386/pipe.S: Likewise.
13614 * sysdeps/unix/i386/sigreturn.S: Likewise.
13615 * sysdeps/unix/i386/syscall.S: Likewise.
13616 * sysdeps/unix/i386/vfork.S: Likewise.
13617 * sysdeps/unix/i386/wait.S: Likewise.
13618
7143acae
JM
13619 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13620 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13621
2ce4f015
JM
13622 * configure.in (arm*-none*): Do not allow without
13623 --enable-hacker-mode.
13624 (netbsd*): Remove case setting base_os.
13625 (386bsd*): Likewise.
13626 (freebsd*): Likewise.
13627 (bsdi*): Likewise.
13628 (osf*): Likewise.
13629 (sunos*): Likewise.
13630 (ultrix*): Likewise.
13631 (newsos*): Likewise.
13632 (dynix*): Likewise.
13633 (*bsd*): Likewise.
13634 (sysv*): Likewise.
13635 (isc*): Likewise.
13636 (esix*): Likewise.
13637 (sco*): Likewise.
13638 (minix*): Likewise.
13639 (irix4*): Likewise.
13640 (irix6*): Likewise.
13641 (solaris[2-9]*): Likewise.
13642 (none): Likewise.
13643 * configure: Regenerated.
13644
0ac229c8
AZ
136452012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13646
13647 [BZ #11521]
13648 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13649 overflow or cancellation in calculating denominator.
13650 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13651 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13652 down expression to avoid unexpected rounding in newer GCCs.
13653 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13654
33f244f4
DM
136552012-04-26 David S. Miller <davem@davemloft.net>
13656
13657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13658 long-double compat symbols.
13659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13672
cfa1f3e8
DM
136732012-04-25 David S. Miller <davem@davemloft.net>
13674
13675 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13676 HWCAP_* values only after the memory barriers have been defined.
13677 (atomic_full_barrier): Define.
13678 (atomic_read_barrier): Define.
13679 (atomic_write_barrier): Define.
13680
6e236b92
SP
136812012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13682
13683 * shlib-versions: Add libgcc_s version information.
13684 * sysdeps/generic/libgcc_s.h: Remove.
13685 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13686 libgcc_s.h.
13687 * sysdeps/gnu/unwind-resume.c: Likewise.
13688 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13689
aab39a09
DM
136902012-04-25 David S. Miller <davem@davemloft.net>
13691
13692 * sysdeps/unix/sparc/brk.S: Delete.
13693 * sysdeps/unix/sparc/dl-brk.S: Delete.
13694 * sysdeps/unix/sparc/pipe.S: Delete.
13695 * sysdeps/unix/sparc/sysdep.S: Delete.
13696 * sysdeps/unix/sparc/sysdep.h: Delete.
13697 * sysdeps/unix/sparc/vfork.S: Delete.
13698 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13699 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13700 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13701 ret_ERRVAL, r0, r1, MOVE): Define.
13702 (JUMPTARGET): Remove.
13703 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13704 sysdeps/unix/sparc/sysdep.h
13705 (ENTRY, END): Remove.
13706 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13707
a3cc4f48
JM
137082012-04-25 Joseph Myers <joseph@codesourcery.com>
13709
2ed8cda2
JM
13710 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13711 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13712 -DIS_IN_build.
13713
35d76d59
JM
13714 * timezone/README: Update upstream location and email address for
13715 tzcode and tzdata.
13716 * timezone/zdump.c: Update from tzcode 2012b.
13717 * timezone/zic.c: Likewise.
13718
a3cc4f48
JM
13719 * configure.in (libc_cv_as_needed): Remove test.
13720 * configure: Regenerated.
13721 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13722 conditional definition.
13723 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13724 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13725 * config.make.in (have-as-needed): Remove variable.
13726
ceab42c3
SP
137272012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13728 Paul Pluzhnikov <ppluzhnikov@google.com>
13729
13730 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13731 strings correctly.
13732
3ce2865f
CLT
137332012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13734
13735 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13736 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13737 * sysdeps/sh/strlen.S: Likewise.
13738
f37e0d68
JM
137392012-04-24 Joseph Myers <joseph@codesourcery.com>
13740
ae186e9a
JM
13741 * sysdeps/unix/fork.S: Remove file.
13742 * sysdeps/unix/i386/fork.S: Likewise.
13743 * sysdeps/unix/sparc/fork.S: Likewise.
13744
b96914af
JM
13745 * sysdeps/unix/system.c: Remove file.
13746 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13747
f37e0d68
JM
13748 * sysdeps/unix/getegid.S: Remove file.
13749 * sysdeps/unix/geteuid.S: Likewise.
13750
87ef29ca
RM
137512012-04-24 Roland McGrath <roland@hack.frob.com>
13752
83bcd236
RM
13753 * scripts/check-localplt.awk: New file.
13754 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13755 of diff.
13756 * scripts/data/localplt-generic.data: Add a comment.
13757
87ef29ca
RM
13758 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13759 NODE when __dir_mkfile failed.
13760 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13761 Reported by Ludovic Courtès <ludo@gnu.org>.
13762
e5a6e567
AJ
137632012-04-24 Andreas Jaeger <aj@suse.de>
13764
13765 * Makerules (common-clean): Also remove gen-as-const-headers
13766 files.
13767
c1820385
JM
137682012-04-24 Joseph Myers <joseph@codesourcery.com>
13769
13770 * Makerules (native-compile): Do not change working directory for
13771 build. Use $(OUTPUT_OPTION) in command.
13772 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13773
94e02fc4
AZ
137742012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13775
13776 [BZ #13886]
13777 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13778 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13779 * math/libm-test.inc (floor_test): Add more tests.
13780 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13781
3a533ca3
JM
137822012-04-24 Joseph Myers <joseph@codesourcery.com>
13783
940ab4b3
JM
13784 * sysdeps/unix/getdents.c: Remove file.
13785 * sysdeps/unix/sysv/getdents.c: Likewise.
13786 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13787
90e037bd
JM
13788 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13789 sysdeps/unix/mman/syscalls.list.
13790 (mmap): Likewise.
13791 (mprotect): Likewise.
13792 (msync): Likewise.
13793 (munmap): Likewise.
13794 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13795 * sysdeps/unix/mman/syscalls.list: Remove.
13796 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13797
3a533ca3
JM
13798 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13799 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13800 * configure: Regenerated.
13801 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13802 $(libgcc_s_suffix).
13803 * config.make.in (libgcc_s_suffix): Remove variable.
13804
1ad743de
JM
138052012-04-23 Joseph Myers <joseph@codesourcery.com>
13806
4ad451e2
JM
13807 * sysdeps/unix/sysv/gethostname.c: Move to ...
13808 * sysdeps/posix/gethostname.c: ... here.
13809
5e37ce39
JM
13810 * sysdeps/unix/execve.S: Remove file.
13811
1ad743de
JM
13812 * sysdeps/unix/_exit.S: Remove file.
13813
4e681b5b
AJ
138142012-04-23 Andreas Jaeger <aj@suse.de>
13815
13816 [BZ #13739]
13817 * manual/Makefile: Remove make dist support, there's no
13818 need for a stand-alone documentation tar ball.
13819 (TEXI2DVI): Define always, it's not in Makeconfig.
13820 (dist): Removed.
13821 (tar-it): Removed.
13822 (edition): Removed.
13823 (glibc-doc-$(edition).tar): Removed
13824 (%.Z): Removed.
13825 (%.gz): Removed.
13826 (%.uu): Removed.
13827 (ETAGS): Remove, it's in Makeconfig.
13828 (move-if-change): Remove, it's in Makeconfig.
13829
38686a03 138302012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
13831
13832 [BZ #13970]
13833 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13834 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13835 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13836 (strtod_l, strtof_l, strtold_l): Remove __wur.
13837 It is not necessarily an error to ignore strtol's return value.
13838 One can reliably look at the stored endptr to decide whether
13839 the number had valid syntax.
13840
7c0616fa
AJ
138412012-04-21 Andreas Jaeger <aj@suse.de>
13842
803cb6b7 13843 [BZ #13739]
7c0616fa
AJ
13844 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13845
b0fe253f
JM
138462012-04-21 Joseph Myers <joseph@codesourcery.com>
13847
13848 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13849 * sysdeps/unix/sysv/Versions: Remove file.
13850
8280f22d
MT
138512012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13852
13853 [BZ #13927]
13854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13855
75ce411f 138562012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
13857
13858 [BZ #7064]
13859 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13860 version from __vm86.
13861
097d59fa
JM
138622012-04-20 Joseph Myers <joseph@codesourcery.com>
13863
a90f3bcb
JM
13864 * sysdeps/unix/common/lxstat.c: Remove file.
13865 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13866
edc7ea78
JM
13867 * sysdeps/unix/sysv/Makefile: Remove file.
13868
cb78c221
JM
13869 * sysdeps/unix/sysv/direct.h: Remove file.
13870
efa6a45f
JM
13871 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13872 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13873 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13874 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13875 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13876 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13877 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13878
9c9f2d0c
JM
13879 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13880
4541c83b
JM
13881 * sysdeps/unix/xmknod.c: Remove file.
13882 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13883
f5d153a0
JM
13884 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13885
aa746595
JM
13886 * sysdeps/unix/sysv/i386/time.S: Remove file.
13887
cce5905e
JM
13888 * sysdeps/unix/fxstat.c: Remove file.
13889 * sysdeps/unix/xstat.c: Likewise.
13890 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13891
37fa3841
JM
13892 * sysdeps/unix/sysv/sigaction.c: Remove file.
13893
ff1962a3
JM
13894 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13895 (sysdep_headers): Remove variable.
13896 [termio.h not in sysdep_headers] (generated): Likewise.
13897 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13898 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13899 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13900 * sysdeps/unix/sysv/tcflow.c: Likewise.
13901 * sysdeps/unix/sysv/tcflush.c: Likewise.
13902 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13903 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13904 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13905 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13906 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13907
e7740d31
JM
13908 * sysdeps/unix/siglist.c: Remove file.
13909
ee06f18b
JM
13910 * sysdeps/unix/getppid.S: Remove file.
13911
097d59fa
JM
13912 * sysdeps/unix/mkdir.c: Remove file.
13913 * sysdeps/unix/rmdir.c: Likewise.
13914
ff3d51ec
AS
139152012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13916
13917 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13918 ERR_MAX value.
13919 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13920 errlist-compat value.
13921
50f81fd7
DM
139222012-04-18 David S. Miller <davem@davemloft.net>
13923
13924 * sysdeps/generic/memcopy.h (reg_char): Delete.
13925 * debug/strcat_chk.c: Use char, not reg_char.
13926 * debug/strcpy_chk.c: Likewise.
13927 * debug/strncat_chk.c: Likewise.
13928 * debug/strncpy_chk.c: Likewise.
13929 * string/memchr.c: Likewise.
13930 * string/memrchr.c: Likewise.
13931 * string/rawmemchr.c: Likewise.
13932 * string/strcat.c: Likewise.
13933 * string/strchr.c: Likewise.
13934 * string/strchrnul.c: Likewise.
13935 * string/strcmp.c: Likewise.
13936 * string/strcpy.c: Likewise.
13937 * string/strncat.c: Likewise.
13938 * string/strncmp.c: Likewise.
13939 * string/strncpy.c: Likewise.
13940
8ff41c46
WS
139412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13942
13943 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13944 __builtin_memcopy is called when src and dest ranges are known to not
13945 overlap.
13946
6b652f46
WS
139472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13948
13949 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13950 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13951 fwd_align_merge macro call.
13952 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13953 bwd_align_merge macro call.
13954 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13955
b282631e
WS
139562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13957
13958 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13959 bwd_align_merge macros.
13960 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13961 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13962 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13963
95aa737c
DM
139642012-04-18 David S. Miller <davem@davemloft.net>
13965
13966 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13967
7a99a614
AJ
139682012-04-18 Andreas Jaeger <aj@suse.de>
13969
13970 [BZ# 6794]
13971 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13972 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13973 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13974
13975 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13976 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13977 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13978
13979 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13980 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13981 Adjust for changed ldbl-128 files.
13982
13983 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13984 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13985 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13986
e5270c23
DM
139872012-04-17 David S. Miller <davem@davemloft.net>
13988
13989 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13990
fb5e92c9
AS
139912012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13992
13993 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13994 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13995 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13996 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13997 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13998 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13999
76da7265
AZ
140002012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14001
14002 [BZ #6794]
14003 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
14004 * math/libm-test.inc: Add ilogb errno and exception tests.
14005 * math/w_ilogb.c: New file: ilogb wrapper.
14006 * math/w_ilogbf.c: New file: ilogbf wrapper.
14007 * math/w_ilogbl.c: New file: ilogbl wrapper.
14008 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
14009 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
14010 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
14011 exception being thrown with 0.0 as argument.
14012 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
14013 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
14014 exception being thrown with 0.0 as argument.
14015 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
14016 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14017 exception being thrown with 0.0 as argument.
14018 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
14019 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
14020 exception being thrown with 0.0 as argument.
14021 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
14022 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 14023 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
14024 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
14025 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
14026 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
14027 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
14028 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
14029 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
14030
0396e69d
PB
140312012-04-17 Petr Baudis <pasky@ucw.cz>
14032
14033 * include/sys/uio.h: Change __vector to __iovec to avoid clash
14034 with altivec.
14035
750b5926
MP
140362012-04-16 Marek Polacek <polacek@redhat.com>
14037
14038 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14039
751728a1
MP
140402012-04-16 Marek Polacek <polacek@redhat.com>
14041
14042 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14043 operands of fdivp instruction.
14044
34a27407
L
140452012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14046
14047 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14048 * elf/tst-auditmod3b.c: Likewise.
14049 * elf/tst-auditmod4b.c: Likewise.
14050 * elf/tst-auditmod5b.c: Likewise.
14051 * elf/tst-auditmod6b.c: Likewise.
14052 * elf/tst-auditmod6c.c: Likewise.
14053 * elf/tst-auditmod7b.c: Likewise.
14054 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14055 * sysdeps/x86_64/preconfigure.in: Likewise.
14056 * sysdeps/x86_64/preconfigure: Regenerated.
14057
7e73e17d
L
140582012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14059
14060 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14061 __ILP32__.
14062
c7a6ab72
AB
140632012-04-13 Antoine Balestrat <merkil33@gmail.com>
14064
14065 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14066 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14067
a9e8e0e0
CL
140682012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14069
14070 [BZ #13973]
14071 * locale/iso-639.def: Fix gl language name. Spotted by
14072 Yaron Shahrabani.
14073
ec98af7d
RM
140742012-04-12 Roland McGrath <roland@hack.frob.com>
14075
14076 [BZ #2074]
14077 * libio/libio.h (__io_write_fn): Update comment.
14078
247c3ede
PB
140792012-04-12 Petr Baudis <pasky@ucw.cz>
14080
14081 [BZ #2074]
14082 * stdio.texi (Hook Functions): The user provided writer function
14083 is not allowed to return -1.
14084
55939d6d
DM
140852012-04-11 David S. Miller <davem@davemloft.net>
14086
14087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14088
90020f5a
MF
140892012-04-11 Mike Frysinger <vapier@gentoo.org>
14090
14091 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14092 Add a leading slash to rtkaio.
14093
288f9098
JM
140942012-04-11 Jim Meyering <meyering@redhat.com>
14095
90020f5a
MF
14096 [BZ #11959]
14097 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14098 It is not necessarily an error to ignore fwrite's return
14099 value. One can reliably use ferror to test for errors after
14100 the fact.
288f9098 14101
4be2b570
L
141022012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14103
14104 * bits/types.h (__snseconds_t): New type.
14105 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14106
14107 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14108 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14109 (__SNSECONDS_T_TYPE): Likewise.
14110 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14111 (__SNSECONDS_T_TYPE): Likewise.
14112 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14113 (__SNSECONDS_T_TYPE): Likewise.
14114
288f9098 141152012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
14116
14117 [BZ #2636]
14118 * manual/time.texi (Processor Time): Return type of times is
14119 elapsed real time since an arbitrary point in the past.
14120 (CPU Time): Move CLK_TCK from here...
14121 (Processor Time): ...to here. Correct description.
14122 * manual/conf.texi (Constants for Sysconf): Correct description of
14123 _SC_CLK_TCK.
14124
d7dd4413
DM
141252012-04-10 David S. Miller <davem@davemloft.net>
14126
14127 [BZ #13967]
14128 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14129 where the is a gap between DT_REL(A) and DT_JMPREL.
14130
b46068fc
L
141312012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14132
14133 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14134 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14135 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14136
73d65cc3
SP
141372012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14138
14139 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14140 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14141 (dl_main): Handle --inhibit-cache.
14142 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14143 _dl_inhibit_cache.
14144 * elf/dl-load.c (_dl_map_object): Use it.
14145 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14146
bcc8d661
JM
141472012-04-09 Joseph Myers <joseph@codesourcery.com>
14148
8f9a2fae
JM
14149 [BZ #13872]
14150 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14151 (__ieee754_powl): Saturate large exponents rather than testing for
14152 overflow of y*log2(x).
14153 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14154 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14155 exceptions.
14156
bcc8d661
JM
14157 [BZ #11521]
14158 * math/s_ctan.c: Include <float.h>.
14159 (__ctan): Avoid internal overflow or cancellation in calculating
14160 denominator.
14161 * math/s_ctanf.c: Likewise.
14162 * math/s_ctanl.c: Likewise.
14163 * math/s_ctanh.c: Likewise.
14164 * math/s_ctanhf.c: Likewise.
14165 * math/s_ctanhl.c: Likewise.
14166 * math/libm-test.inc (ctan_test): Add more tests.
14167 (ctanh_test): Likewise.
14168 * sysdeps/i386/fpu/libm-test-ulps: Update.
14169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14170
823fbbb4
AJ
141712012-04-09 Andreas Jaeger <aj@suse.de>
14172
03879793
AJ
14173 [BZ #6894]
14174 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14175 is an optional BSD extension.
14176
823fbbb4
AJ
14177 [BZ #10254]
14178 * manual/stdio.texi (Opening Streams): Document additional fopen
14179 parameters.
14180
8de131cb
RM
141812012-04-09 Roland McGrath <roland@hack.frob.com>
14182
14183 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14184 %eax without telling the compiler.
14185
c0ed9d7d
CD
141862012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14187
14188 [BZ # 13963]
14189 * manual/install.texi: Use sourceware.org.
14190
c483f6b4
JM
141912012-04-09 Joseph Myers <joseph@codesourcery.com>
14192
d7dd9453
JM
14193 [BZ #13873]
14194 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14195 (__ieee754_pow): Generate overflow and underflow using huge*huge
14196 and tiny*tiny rather than just returning constant infinity or zero
14197 for large exponents.
14198 * math/libm-test.inc (pow_test): Require overflow exceptions for
14199 applicable cases of large exponents.
14200
c483f6b4
JM
14201 [BZ #706]
14202 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14203 (__ieee754_pow): Use iterative multiplication algorithm only for
14204 integer exponents with absolute value below 1024. Check for odd
14205 integer exponents when using algorithm for real exponents.
14206 * math/libm-test.inc (pow_test): Add more tests.
14207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14208
d2de7579
JM
142092012-04-08 Joseph Myers <joseph@codesourcery.com>
14210
14211 [BZ #13705]
14212 * math/libm-test.inc (exp_test): Do not allow overflow exception
14213 on underflow test.
14214
f77f1232
AJ
142152012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14216
14217 [BZ #13705]
14218 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14219 instead of __kernel_standard_f.
14220
3884932b
MF
142212012-04-08 Mike Frysinger <vapier@gentoo.org>
14222
14223 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14224 * sysdeps/x86_64/memset_chk.S: Likewise.
14225
54472e9c
AJ
142262012-04-08 Andreas Jaeger <aj@suse.de>
14227
6ab0fbfc
AJ
14228 [BZ #10153]
14229 * manual/startup.texi (Environment Access): Describe return value
14230 for putenv and setenv.
14231
61efba8c
AJ
14232 [BZ #6895]
14233 * manual/filesys.texi (Directory Entries): Add description for
14234 DT_LNK.
14235
95c3f29a
AJ
14236 [BZ #6890]
14237 * manual/filesys.texi (Directory Entries): Clarify that it's file
14238 system not operating system in the description of DT_UNKNOWN.
14239
54472e9c
AJ
14240 [BZ #6578]
14241 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14242
624254b1
SC
142432012-04-08 Stephen Compall <s11@member.fsf.org>
14244
14245 [BZ #6649]
14246 * manual/llio.texi (Opening and Closing Files): Add cross
14247 reference to explain mode argument.
14248
1e4920e0
MF
142492012-04-07 Mike Frysinger <vapier@gentoo.org>
14250
14251 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14252 * sysdeps/x86_64/memset_chk.S: Likewise.
14253
5ed848f3
DM
142542012-04-07 David S. Miller <davem@davemloft.net>
14255
14256 * elf/elf.h (R_SPARC_WDISP10): Define.
14257 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14258 R_SPARC_SIZE32.
14259 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14260 R_SPARC_SIZE64 and R_SPARC_H34.
14261
96154cd8
CD
142622012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14263
14264 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14265 conditions and remove no longer applicable assertion.
14266
9904dc47
L
142672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14268
14269 * bits/byteswap.h: Include <features.h>.
14270 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14271 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14272
f8887d0a
L
142732012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14274
14275 * bits/byteswap.h (__bswap_16): Removed.
14276 Include <bits/byteswap-16.h> to get __bswap_16.
14277 * sysdeps/i386/bits/byteswap.h: Likewise.
14278 * sysdeps/s390/bits/byteswap.h: Likewise.
14279 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14280 * bits/byteswap-16.h: New file.
14281 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14282 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14283 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14284 * string/Makefile (headers): Add bits/byteswap-16.h.
14285
62470f60
PP
142862012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14287
14288 [BZ #13895]
14289 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14290 extra indirection.
14291 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14292 * nss/tst-nss-static.c: New.
14293
4dad7bab
RM
142942012-04-06 Robert Millan <rmh@gnu.org>
14295
14296 [BZ #6486]
14297 * manual/llio.texi (File Position Primitive): lseek
14298 refers to WHENCE when it really means OFFSET.
14299
e9142a17
AJ
143002012-04-06 Andreas Jaeger <aj@suse.de>
14301
2c040eff
AJ
14302 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14303 strncmp declarations.
14304
e9142a17
AJ
14305 * abilist/libc.abilist: Add __poll and __ppoll.
14306
ff9f1c5f
DM
143072012-04-05 David S. Miller <davem@davemloft.net>
14308
dcd2ae90
DM
14309 * scripts/check-local-headers.sh: Accept a host triplet in the
14310 path matched by the exclude regexp.
14311
993eb054
DM
14312 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14313 definition.
14314 * sysdeps/powerpc/powerpc32/dl-machine.h
14315 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14316 * sysdeps/s390/s390-32/dl-machine.h
14317 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14318 * sysdeps/sparc/sparc32/dl-machine.h
14319 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14320 * sysdeps/sparc/sparc64/dl-machine.h
14321 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14322
ff9f1c5f
DM
14323 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14324 lazy binding.
48e2e132 14325 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
14326 undefined symbol errors.
14327
48e2e132 14328 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
14329 DT_NEEDED entries.
14330
e80d6f94
MM
143312012-04-05 Michael Matz <matz@suse.de>
14332
14333 [BZ #13592]
14334 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14335
349fa79f
AJ
143362012-04-05 Andreas Jaeger <aj@suse.de>
14337
14338 [BZ #13908]
14339 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14340 comment.
14341
f402708f
KK
143422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14343
14344 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14345 which ROUND is no valid rounding mode.
14346
2ecccfc9
KK
143472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14348
14349 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14350 read again.
14351 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14352
8a53f50f
KK
143532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14354
14355 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14356 an exception using FPU order intentionally.
14357
143582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14359
14360 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14361 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14362 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14363 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14364
d653abb7
SJ
143652012-04-05 Simon Josefsson <simon@josefsson.org>
14366
14367 [BZ #12340]
14368 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14369 EINVAL when BUFLEN is too smal.
14370
c3b1bf7d
TS
143712012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14372
14373 [BZ #13553]
14374 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14375 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14376
b1aa60f3
AJ
143772012-04-03 Andreas Jaeger <aj@suse.de>
14378
c3b1bf7d 14379 [BZ #13938]
67f60a26
AJ
14380 * manual/setjmp.texi (System V contexts): Fix sentence.
14381
b1aa60f3
AJ
14382 [BZ #13926]
14383 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14384 New macro for this case.
14385 [!__GNUC__] (__bswap_64): New inline function for this case.
14386 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14387 * bits/byteswap.h: Likewise.
14388 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14389 ull, guard with __GLIBC_HAVE_LONG_LONG.
14390
14391 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14392 __GLIBC_HAVE_LONG_LONG.
14393
14394 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14395 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14396
39c59c35
TMQMF
143972012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14398
14399 [BZ #13691]
14400 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14401 inptr and inend, rather than using last_ch.
14402
135ffda8
DM
144032012-04-02 David S. Miller <davem@davemloft.net>
14404
14405 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14406 * stdio-common/printf-parse.h (read_int): Change return type to
14407 'int', return -1 on INT_MAX overflow.
14408 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14409 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
14410 overflows INT_MAX. Check for overflow of in-format-string precision
14411 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
14412 SIZE_MAX not INT_MAX for integer overflow test.
14413 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14414 skip the construct in the format string but do not record anything.
14415 * stdio-common/bug22.c: Adjust to test both width/prevision
14416 INT_MAX overflow as well as total length INT_MAX overflow. Check
14417 explicitly for proper errno values.
14418
228c019e
TS
144192012-04-02 Thomas Schwinge <thomas@codesourcery.com>
14420
302cadd3
TS
14421 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
14422 CHAR_MAX.
14423 * string/test-strcmp.c [! WIDE]: Likewise.
14424 * time/tst-mktime2.c: Likewise for INT_MAX.
14425 * string/test-string.h: #include <sys/param.h> for MIN.
14426
228c019e
TS
14427 * csu/init-first.c (__libc_init_first): Call __ctype_init.
14428 * sysdeps/i386/init-first.c (init): Likewise.
14429 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14430 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14431 * sysdeps/sh/init-first.c (init): Likewise.
14432
cfa633f5
UD
144332012-04-01 Ulrich Drepper <drepper@gmail.com>
14434
14435 * po/ru.po: Update from translation team.
d1635ef8 14436 * po/vi.po: Likewise.
cfa633f5 14437
6cd0a5ea
SP
144382012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14439
14440 * resolv/nss_dns/dns-host.c: Merge copyright years.
14441
4b43400f
LD
144422012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14443
14444 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14445 Optimize memcpy with prefetch if
14446 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14447 src, dst pointers have unequal 16 byte alignments.
14448
48c41d04
SP
144492012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14450
14451 [BZ #13928]
14452 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14453 from a CNAME entry and return the minimum ttl for the query.
14454 (gaih_getanswer_slice): Likewise.
14455
b8dc394d
JL
144562012-03-30 Jeff Law <law@redhat.com>
14457
14458 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14459 due to long keys.
14460 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14461 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14462
2f5a5ed0
JL
14463 * resolv/nss_dns/dns-host.c: Update copyright year.
14464
1d39e359
UD
144652012-03-30 Ulrich Drepper <drepper@gmail.com>
14466
c030f70c 14467 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 14468 requests to save a system call. Fix check that all bytes are sent.
c030f70c 14469
1d39e359
UD
14470 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14471 comments for sendmmsg.
14472
144732012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
14474
14475 [BZ #13691]
14476 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14477 with only 1 character between 0x0041 and 0x01b0.
14478 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14479 * wcsmbs/tst-mbsnrtowcs.c: New file.
14480
20fde227
DM
144812012-03-29 David S. Miller <davem@davemloft.net>
14482
14483 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14484 small copies by hand.
14485
984a4237
JL
144862012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14487
14488 [BZ #13761]
14489 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14490 _nss_compat_initgroups_dyn): Fall back to malloc/free
14491 for large group memberships.
14492
18c9d62b
DM
144932012-03-28 David S. Miller <davem@davemloft.net>
14494
88d85d4f
DM
14495 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14496 that branches into memcpy.
14497 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14498 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14499 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14500 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14501 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14502 bits.
14503 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14504 implementation too.
14505 * sysdeps/sparc/mempcpy.S: New file.
14506
e5aa83e1
DM
14507 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14508 the IFUNC routine in the libc case.
14509 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14510
88570753
DM
14511 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14512 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14513 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14514 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14515 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14516 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14517 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14518 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14519
249d7567
DM
14520 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14521 loop to 256 bytes instead of 64 bytes and fix test signedness.
14522
18c9d62b
DM
14523 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14524 * sysdeps/sparc/sparc32/Makefile: rather than here...
14525 * sysdeps/sparc/sparc64/Makefile: and here.
14526
05f3d1f6
UD
145272012-03-28 Ulrich Drepper <drepper@gmail.com>
14528
14529 * malloc/mallocbug.c: Avoid warnings about unused variables.
14530
86ae07a8
JL
145312012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14532
14533 [BZ #13760]
14534 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14535 in the right place. Discard and retry query if response is
14536 larger than input buffer size.
14537
41bf21a1
JM
145382012-03-28 Joseph Myers <joseph@codesourcery.com>
14539
d6270972
JM
14540 [BZ #369]
14541 [BZ #2678]
14542 [BZ #3866]
14543 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14544 x for large integer exponent.
14545 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14546 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14547 sign of result as needed afterwards.
14548 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14549 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14550 result for underflowing pow the same as for overflow.
14551 (__kernel_standard_l): Handle powl overflow and underflow here
14552 rather than calling __kernel_standard.
14553 * math/libm-test.inc (pow_test): Add more tests.
14554
414fca03 14555 [BZ #3868]
41bf21a1
JM
14556 [BZ #13879]
14557 [BZ #13910]
14558 [BZ #13911]
14559 [BZ #13912]
14560 [BZ #13913]
14561 [BZ #13915]
14562 [BZ #13916]
14563 [BZ #13917]
14564 [BZ #13918]
14565 [BZ #13919]
14566 [BZ #13920]
14567 [BZ #13921]
14568 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14569 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14570 (__kernel_standard_l): New function.
14571 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14572 __kernel_standard.
14573 * math/w_acosl.c (__acosl): Likewise.
14574 * math/w_asinl.c (__asinl): Likewise.
14575 * math/w_atan2l.c (__atan2l): Likewise.
14576 * math/w_atanhl.c (__atanhl): Likewise.
14577 * math/w_coshl.c (__coshl): Likewise.
14578 * math/w_exp10l.c (__exp10l): Likewise.
14579 * math/w_exp2l.c (__exp2l): Likewise.
14580 * math/w_fmodl.c (__fmodl): Likewise.
14581 * math/w_hypotl.c (__hypotl): Likewise.
14582 * math/w_j0l.c (__j0l, __y0l): Likewise.
14583 * math/w_j1l.c (__j1l, __y1l): Likewise.
14584 * math/w_jnl.c (__jnl, __ynl): Likewise.
14585 * math/w_lgammal.c (__lgammal): Likewise.
14586 * math/w_log10l.c (__log10l): Likewise.
14587 * math/w_log2l.c (__log2l): Likewise.
14588 * math/w_logl.c (__logl): Likewise.
14589 * math/w_powl.c (__powl): Likewise.
14590 * math/w_remainderl.c (__remainderl): Likewise.
14591 * math/w_scalbl.c (sysv_scalbl): Likewise.
14592 * math/w_sinhl.c (__sinhl): Likewise.
14593 * math/w_sqrtl.c (__sqrtl): Likewise.
14594 * math/w_tgammal.c (__tgammal): Likewise.
14595 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14596 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14597 * math/libm-test.inc (acos_test): Add more tests.
14598 (acosh_test): Likewise.
14599 (asin_test): Likewise.
14600 (atanh_test): Likewise.
14601 (exp_test): Likewise.
14602 (exp10_test): Likewise.
14603 (exp2_test): Likewise.
14604 (expm1_test): Likewise.
14605 (lgamma_test): Likewise.
14606 (log_test): Likewise.
14607 (log10_test): Likewise.
14608 (log1p_test): Likewise.
14609 (log2_test): Likewise.
14610 (pow_test): Do not allow some spurious overflow exceptions.
14611 (sqrt_test): Add more tests.
14612 (tgamma_test): Likewise.
14613 (y0_test): Likewise.
14614 (y1_test): Likewise.
14615 (yn_test): Likewise.
14616
dd62fda6
AB
146172012-03-27 Anton Blanchard <anton@samba.org>
14618
14619 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14620 MAP_HUGETLB.
14621 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14622 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14623 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14624
1e3cdfda
AJ
146252012-03-27 David S. Miller <davem@davemloft.net>
14626
b855ab85
DM
14627 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14628
1e3cdfda
AJ
14629 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14630 have-as-vis3 check.
14631
146322012-03-27 Andreas Jaeger <aj@suse.de>
14633
14634 * sysdeps/x86_64/elf/configure.in: Moved to ...
14635 * sysdeps/x86_64/configure.in: ... here.
14636 * sysdeps/x86_64/elf/start.S: Moved to ...
14637 * sysdeps/x86_64/start.S: ... here.
14638 * sysdeps/x86_64/elf/configure: Delete.
14639
14640 * sysdeps/x86_64/configure.in: Merge contents from
14641 sysdeps/i386/configure.in (without i686 check).
14642
14643 * sysdeps/i386/elf/Versions: Merge into ...
14644 * sysdeps/i386/Versions: ... this.
14645 * sysdeps/i386/elf/Versions: Delete file.
14646 * sysdeps/i386/elf/start.S: Moved to ...
14647 * sysdeps/i386/start.S: ...here.
14648 * sysdeps/i386/elf/configure.in: Merge into...
14649 * sysdeps/i386/configure.in: ...here.
14650 * sysdeps/i386/elf/configure.in: Delete file.
14651 * sysdeps/i386/elf/configure: Delete file.
14652
14653 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14654 * debug/backtracesyms.c: ... here.
14655 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14656 * debug/backtracesymsfd.c: ... here.
14657 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14658 * sysdeps/generic/ifunc-sel.h: ... here.
14659
14660 * sysdeps/unix/i386/start.c: Delete file.
14661 * sysdeps/unix/sparc/start.c: Delete file.
14662 * sysdeps/unix/start.c: Delete file.
14663
14664 * sysdeps/sh/elf/configure.in: Moved to ...
14665 * sysdeps/sh/configure.in: ... here.
14666 * sysdeps/sh/elf/start.S: Moved to ...
14667 * sysdeps/sh/start.S: ... here.
14668 * sysdeps/sh/elf/configure: Delete file.
14669
14670 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14671 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14672 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14673 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14674 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14675 * sysdeps/powerpc/powerpc64/start.S: here.
14676 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14677 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14678 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14679 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14680 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14681
14682 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14683 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14684 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14685 * sysdeps/powerpc/powerpc32/start.S: ... here.
14686 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14687 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14688 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14689
14690 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14691 * sysdeps/powerpc/ifunc-sel.h: ... here.
14692 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14693 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14694
14695 * sysdeps/sparc/elf/configure.in: Moved to ...
14696 * sysdeps/sparc/configure.in: ... here.
14697 * sysdeps/sparc/elf/configure: Delete file.
14698 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14699 * sysdeps/sparc/sparc32/start.S: ... here.
14700 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14701 * sysdeps/sparc/sparc64/start.S: ... here.
14702 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14703 * sysdeps/sparc/sparc32/Makefile: ... this.
14704 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14705 * sysdeps/sparc/sparc64/Makefile: ... this.
14706
14707 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14708 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14709 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14710 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14711 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14712 * sysdeps/s390/s390-32/setjmp.S: ... here.
14713 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14714 * sysdeps/s390/s390-32/configure.in: ... here.
14715 * sysdeps/s390/s390-32/elf/configure: Delete file.
14716 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14717 * sysdeps/s390/s390-32/start.S: ... here.
14718
14719 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14720 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14721 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14722 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14723 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14724 * sysdeps/s390/s390-64/setjmp.S: ... here.
14725 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14726 * sysdeps/s390/s390-64/configure.in: ... here
14727 * sysdeps/s390/s390-64/elf/configure: Delete file.
14728 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14729 * sysdeps/s390/s390-64/start.S: ... here.
14730 * sysdeps/s390/s390-64/elf/configure: Delete.
14731
14732 * configure.in: Remove support for elf directories in sysdeps.
14733
14734 * configure: Regenerated.
14735 * sysdeps/i386/configure: Regenerated.
14736 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14737 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14738 * sysdeps/s390/s390-32/configure: Regenerated.
14739 * sysdeps/s390/s390-64/configure: Regenerated.
14740 * sysdeps/sh/configure: Regenerated.
14741 * sysdeps/sparc/configure: Regenerated.
14742 * sysdeps/x86_64/configure: Regenerated.
14743
a3f61311
AS
147442012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14745
c876e002
AS
14746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14747
a3f61311
AS
14748 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14749 denormal result into account.
14750
ac4c54f0
RM
147512012-03-25 Roland McGrath <roland@hack.frob.com>
14752
14753 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14754 Reported by Allan McRae <allan@archlinux.org>.
14755
6a9b9c02
JL
147562012-03-23 Jeff Law <law@redhat.com>
14757
14758 * nss/getnssent.c (__nss_getent): Fix typo.
14759
4c42a0c1
DM
147602012-03-23 David S. Miller <davem@davemloft.net>
14761
14762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14763
1532c7ac
L
147642012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14765
14766 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14767 to pad to uint64_t for each field.
14768 (dl_tls_index): Replace unsigned long with uint64_t.
14769
3ff42526
PP
147702012-03-23 Daniel Jacobowitz <dmj@google.com>
14771 Paul Pluzhnikov <ppluzhnikov@google.com>
14772
14773 [BZ #6528]
14774 * grp/Makefile (otherlibs): Don't set it.
14775 * inet/Makefile (otherlibs): Likewise.
14776 * login/Makefile (otherlibs): Likewise.
14777 * nscd/Makefile (otherlibs): Likewise.
14778 * posix/Makefile (otherlibs): Likewise.
14779 * pwd/Makefile (otherlibs): Likewise.
14780 * rt/Makefile (otherlibs): Likewise.
14781 * sunrpc/Makefile (otherlibs): Likewise.
14782 * nss/Makefile (otherlibs): Likewise.
14783 Add libnss_files to routines and static-only-routines.
14784 ($(objpfx)getent): Remove rule.
14785 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14786 static-only-routines.
14787
7c69cd14
JM
147882012-03-22 Joseph Myers <joseph@codesourcery.com>
14789
14790 [BZ #13892]
14791 * math/s_cexp.c: Include <float.h>.
14792 (__cexp): Handle exp result overflowing not necessarily
14793 overflowing both real and imaginary parts of result.
14794 * math/s_cexpf.c: Likewise.
14795 * math/s_cexpl.c: Likewise.
14796 * math/libm-test.inc (cexp_test): Add more tests.
14797 * sysdeps/i386/fpu/libm-test-ulps: Update.
14798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14799
81b035fe
L
148002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14801
14802 * include/link.h (ELFW): New macro.
14803 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14804 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14805
1da7940c
L
148062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14807
14808 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14809 with uint64_t.
14810
b749dbb9
L
148112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14812
14813 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14814 declaration.
14815 (struct La_x32_retval): Likewise.
14816
2ff87f3f
L
148172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14818
14819 * sysdeps/x86_64/preconfigure.in: New file.
14820 * sysdeps/x86_64/preconfigure: New generated file.
14821
c0df8e69
JM
148222012-03-22 Joseph Myers <joseph@codesourcery.com>
14823
48e44791
JM
14824 [BZ #13824]
14825 * math/e_exp2l.c: Include <float.h>.
14826 (__ieee754_exp2l): Handle overflow and underflow cases
14827 separately. Only pass fractional part of argument to
14828 __ieee754_expl.
14829 * math/libm-test.inc (exp2_test): Add more tests.
14830
c0df8e69
JM
14831 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14832 negating x to take absolute value.
14833 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14834 Likewise.
14835 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14836 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14837 Likewise.
14838 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14839 computing low part if x was negated.
14840 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14841
c8e43ba7
L
148422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14843
14844 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14845 la_x32_gnu_pltexit.
14846 (pltexit): Cast int_retval to ptrdiff_t.
14847 * elf/tst-auditmod3b.c: Likewise.
14848 * elf/tst-auditmod4b.c: Likewise.
14849 * elf/tst-auditmod5b.c: Likewise.
14850 * elf/tst-auditmod6b.c: Likewise.
14851 * elf/tst-auditmod6c.c: Likewise.
14852 * elf/tst-auditmod7b.c: Likewise.
14853
14854 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14855 and x32_gnu_pltexit.
14856
14857 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14858 __ELF_NATIVE_CLASS.
14859 (La_x32_regs): New macro.
14860 (La_x32_retval): Likewise.
14861 (la_x32_gnu_pltenter): New function prototype.
14862 (la_x32_gnu_pltexit): Likewise.
14863
7998fa78
AS
148642012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14865
dcb33988
AS
14866 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14867 exponent.
14868
233fc563
AS
14869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14870
7998fa78
AS
14871 * configure.in (libc_cv_cc_nofma): Check for option to disable
14872 generation of FMA instructions.
14873 * configure: Regenerate.
14874 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14875 * sysdeps/ieee754/dbl-64/Makefile: New file.
14876 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14877 Remove brandred-fma4.
14878 (CFLAGS-brandred-fma4.c): Remove.
14879 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14880 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14881 define.
14882 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14883 define.
14884
8e95c99a
L
148852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14886
14887 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14888 LLONG_MAX != LONG_MAX.
14889 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14890 (_fitoa_word): Likewise.
14891 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14892 LLONG_MAX != LONG_MAX.
14893 * stdio-common/_itowa.h: Include <_itoa.h>.
14894 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14895 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14896 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14897 only if not defined.
14898 (_ITOA_WORD_TYPE): Likewise.
14899 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14900 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14901
6f4db457
DM
149022012-03-21 David S. Miller <davem@davemloft.net>
14903
14904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14905
7785fe5a
L
149062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14907
14908 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14909 of x86_64 when setting libc_cv_slibdir, libdir and
14910 libc_cv_localedir.
14911 * sysdeps/unix/sysv/linux/configure: Regenerated.
14912
4535cd55
JM
149132012-03-21 Joseph Myers <joseph@codesourcery.com>
14914
14915 * manual/lang.texi (Old Varargs): Remove section.
14916 (How Variadic): Update menu.
14917 (va_start): Do not mention varargs.h.
14918
17228132
TS
149192012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14920 Joseph Myers <joseph@codesourcery.com>
14921
14922 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14923 link test.
14924 * configure: Regenerated.
14925
8149f976
TS
149262012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14927
05f3d1f6
UD
14928 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14929 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14930 conformtest.pl
8149f976 14931
1a4ac776
JM
149322012-03-21 Joseph Myers <joseph@codesourcery.com>
14933
be22ce65
JM
14934 * NOTES: Remove.
14935 * Makefile (files-for-dist): Remove NOTES.
14936 (NOTES): Remove rule.
14937 * README: Don't refer to NOTES.
14938 * manual/creature.texi: Don't include macros.texi.
14939 * manual/intro.texi (creature.texi): Remove comment referring to
14940 NOTES.
14941
40b601fb
JM
14942 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14943 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14944 * configure: Regenerated.
14945 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14946 LIBC_TRY_CC_OPTION.
14947 (libc_cv_as_i686): Likewise.
14948 (libc_cv_cc_avx): Likewise.
14949 (libc_cv_cc_sse2avx): Likewise.
14950 (libc_cv_cc_fma4): Likewise.
14951 (libc_cv_cc_novzeroupper): Likewise.
14952 * sysdeps/i386/configure: Regenerated.
14953
1a4ac776
JM
14954 [BZ #13883]
14955 * sysdeps/i386/fpu/s_cexp.S: Remove.
14956 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14957 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14958 * math/libm-test.inc (cexp_test): Add more tests.
14959 * sysdeps/i386/fpu/libm-test-ulps: Update.
14960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14961
a458e7fe
AM
149622012-03-21 Allan McRae <allan@archlinux.org>
14963
14964 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14965
0cb7efc5
JM
149662012-03-21 Joseph Myers <joseph@codesourcery.com>
14967
14968 [BZ #13871]
14969 * math/w_exp2.c: Do not include <float.h>.
14970 (o_threshold, u_threshold): Remove.
14971 (__exp2): Calculate result before checking finiteness and calling
14972 __kernel_standard.
14973 * math/w_exp2f.c: Likewise.
14974 * math/w_exp2l.c: Likewise.
14975 * math/libm-test.inc (exp2_test): Require overflow exception for
14976 1e6 input.
2460d3aa
JM
14977
14978 [BZ #3866]
14979 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14980 range of signed 64-bit integers before using fistpll. Remove
14981 checks for whether integers fit in mantissa bits.
14982 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14983 the range of signed 32-bit integers before using fistpl. Remove
14984 checks for whether integers fit in mantissa bits.
14985 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14986 (__ieee754_powl): Test for y outside the range of signed 64-bit
14987 integers before using fistpll. Reduce 64-bit values to 63-bit
14988 ones as needed.
14989 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14990 divide-by-zero is raised for zero to large negative powers.
14991 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14992 (__ieee754_powl): Test for y outside the range of signed 64-bit
14993 integers before using fistpll. Reduce 64-bit values to 63-bit
14994 ones as needed.
14995 * math/libm-test.inc (pow_test): Add more tests.
14996
eb96ffb0
L
149972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14998
14999 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
15000 <stdio-common/_itoa.h>.
15001 * debug/segfault.c: Likewise.
15002 * elf/dl-cache.c: Likewise.
15003 * elf/dl-minimal.c: Likewise.
15004 * elf/dl-misc.c: Likewise.
15005 * elf/dl-sysdep.c: Likewise.
15006 * elf/dl-version.c: Likewise.
15007 * elf/rtld.c: Likewise.
15008 * hurd/hurdsock.c: Likewise.
15009 * hurd/lookup-retry.c: Likewise.
15010 * malloc/malloc.c: Likewise.
15011 * malloc/mtrace.c: Likewise.
15012 * nscd/nscd_getgr_r.c: Likewise.
15013 * nscd/nscd_getpw_r.c: Likewise.
15014 * nscd/nscd_getserv_r.c: Likewise.
15015 * posix/getopt_init.c: Likewise.
15016 * posix/wordexp.c: Likewise.
15017 * stdio-common/_itoa.c: Likewise.
15018 * stdio-common/printf_fphex.c: Likewise.
15019 * stdio-common/vfprintf.c: Likewise.
15020 * string/_strerror.c: Likewise.
15021 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
15022 * sysdeps/i386/i686/hp-timing.h: Likewise.
15023 * sysdeps/mach/_strerror.c: Likewise.
15024 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
15025 * sysdeps/mach/hurd/sethostid.c: Likewise.
15026 * sysdeps/mach/hurd/xmknodat.c: Likewise.
15027 * sysdeps/mach/xpg-strerror.c: Likewise.
15028 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15029 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15030 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
15031 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
15032 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15033 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
15034 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15035 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15036 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15037 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15038 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15039 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15040 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15041 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15042 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15043 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15044 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15045 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15046 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15047 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15048 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15049
15050 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15051
15052 * stdio-common/_itoa.h: Moved to ...
15053 * sysdeps/generic/_itoa.h: Here.
15054
15055 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15056
15057 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15058 instead of "_itoa.h" and "_itowa.h".
15059 * stdio-common/vfprintf.: Likewise.
15060
d1af992d
L
150612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15062
15063 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15064 <bits/wordsize.h>.
15065 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15066 (__signbit): Likwise.
15067 (llrintf): Likwise.
15068 (llrint): Likwise.
15069
114883e0
L
150702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15071
15072 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15073 __WORDSIZE != 64.
15074
c135cc1b
JM
150752012-03-20 Joseph Myers <joseph@codesourcery.com>
15076
15077 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15078 OVERFLOW_EXCEPTION_OK.
15079 * math/libm-test.inc ("Philosophy"): Update comment about
15080 exception testing.
15081 (OVERFLOW_EXCEPTION): Define.
15082 (OVERFLOW_EXCEPTION_OK): Likewise.
15083 (INVALID_EXCEPTION_OK): Renumber.
15084 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15085 (IGNORE_ZERO_INF_SIGN): Likewise.
15086 (test_exceptions): Handle FE_OVERFLOW.
15087 (exp10_test): Expect overflow exceptions.
15088 (exp2_test): Likewise.
15089 (expm1_test): Likewise.
15090 (nextafter_test): Likewise.
15091 (pow_test): Likewise.
15092 (scalbn_test): Likewise.
15093 (scalbln_test): Likewise.
15094
95443d88
L
150952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15096
15097 * sysdeps/x86_64/bits/atomic.h
15098 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15099 64bit integer.
15100 (atomic_exchange_acq): Likewise.
15101 (__arch_exchange_and_add_body): Likewise.
15102 (__arch_add_body): Likewise.
15103 (atomic_add_negative): Likewise.
15104 (atomic_add_zero): Likewise.
15105
490df6c4
L
151062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15107
c2722551 15108 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
15109 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15110
5e52b189
L
151112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15112
15113 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15114 Check __x86_64__ instead of __WORDSIZE.
15115
a9879d4c
L
151162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15117
15118 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15119
5df98260
DM
151202012-03-19 David S. Miller <davem@davemloft.net>
15121
e1497744
DM
15122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15123
5df98260
DM
15124 * sysdeps/sparc/fpu/fenv_private.h: New file.
15125 * sysdeps/sparc/fpu/math_private.h: Use it.
15126 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15127 Remove.
15128 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15129 (libc_feholdexcept_setroundl): Remove.
15130 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15131 Remove.
15132 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15133 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15134
b4c35121
L
151352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15136
15137 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15138 int64_t instead of long int.
15139 (INSERT_WORDS64): Likwise.
15140
56965fd7
L
151412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15142
15143 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15144 _Unwind_GetCFA return to _Unwind_Ptr first.
15145
83d1aec8
JM
151462012-03-19 Joseph Myers <joseph@codesourcery.com>
15147
1897ad44
JM
15148 [BZ #13629]
15149 * math/s_clog.c: Include <float.h>.
15150 (__clog): Scale large or subnormal inputs.
15151 * math/s_clogf.c: Likewise.
15152 * math/s_clogl.c: Likewise.
15153 * math/s_clog10.c: Include <float.h>.
15154 (M_LOG10_2): Define.
15155 (__clog10): Scale large or subnormal inputs.
15156 * math/s_clog10f.c: Likewise.
15157 * math/s_clog10l.c: Likewise.
15158 * math/libm-test.inc (clog_test): Add more tests.
15159 (clog10_test): Likewise.
15160 * sysdeps/i386/fpu/libm-test-ulps: Update.
15161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15162
7726d6a9
JM
15163 [BZ #11451]
15164 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15165 x and y.
15166 * math/libm-test.inc (atan2_test): Add another test.
15167
83d1aec8
JM
15168 * Makerules (common-objdir-compile): Remove.
15169 * sysdeps/unix/Makefile (config-generated): Do not add
15170 $(unix-generated) to variable.
15171 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15172 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15173 Remove rule.
15174 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15175 Likewise.
15176 [generic bits/local_lim.h] (before-compile): Do not append to
15177 variable.
15178 [generic bits/local_lim.h] (common-generated): Likewise.
15179 [generic sys/param.h] (before-compile): Do not append to variable.
15180 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15181 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15182 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15183 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15184 include.
15185 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15186 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15187 [generic sys/param.h] ($(addprefix
15188 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15189 [generic sys/param.h] (common-generated): Do not append to
15190 variable.
15191 [generic sys/param.h] (sysdep_headers): Likewise.
15192 [generic bits/errno.h] (before-compile): Do not append to
15193 variable.
15194 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15195 rule.
15196 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15197 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15198 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15199 [generic bits/errno.h] (common-generated): Do not append to
15200 variable.
15201 [generic bits/ioctls.h] (before-compile): Do not append to
15202 variable.
15203 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15204 rule.
15205 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15206 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15207 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15208 rule.
15209 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15210 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15211 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15212 [generic bits/ioctls.h] (common-generated): Do not append to
15213 variable.
15214 [generic sys/syscall.h] (syscall.h): Remove variable.
15215 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15216 rule.
15217 [generic sys/syscall.h] (before-compile): Do not append to
15218 variable.
15219 [generic sys/syscall.h] (common-generated): Likewise.
15220 * sysdeps/unix/errnos-tmpl.c: Remove file.
15221 * sysdeps/unix/errnos.awk: Likewise.
15222 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15223 * sysdeps/unix/ioctls.awk: Likewise.
15224 * sysdeps/unix/mk-local_lim.c: Likewise.
15225 * sysdeps/unix/snarf-ioctls: Likewise.
15226
4851a949
RH
152272012-03-19 Richard Henderson <rth@twiddle.net>
15228
bd37f2ee
RH
15229 * sysdeps/i386/fpu/fenv_private.h: New file.
15230 * sysdeps/i386/fpu/math_private.h: Use it.
15231 (math_opt_barrier, math_force_eval): Remove.
15232 (libc_feholdexcept_setround_53bit): Remove.
15233 (libc_feupdateenv_53bit): Remove.
15234 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15235 (math_opt_barrier, math_force_eval): Remove.
15236 (libc_feholdexcept): Remove.
15237 (libc_feholdexcept_setround): Remove.
15238 (libc_fetestexcept, libc_fesetenv): Remove.
15239 (libc_feupdateenv_test): Remove.
15240 (libc_feupdateenv, libc_feholdsetround): Remove.
15241 (libc_feresetround): Remove.
15242
d0adc922
RH
15243 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15244 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15245
0fe0f1f8
RH
15246 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15247 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15248 (libc_feupdateenv_testl): New.
15249 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15250 (libc_feupdateenv_testf): New.
15251 (libc_feupdateenv): Use libc_feupdateenv_test.
15252 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15253 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15254
eb92c487
RH
15255 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15256 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15257 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15258 (libc_feresetround_noex): New.
15259 (libc_feresetround_noexf): New.
15260 (libc_feresetround_noexl): New.
15261 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15262 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15263 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15264 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15265 SET_RESTORE_ROUND.
15266 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15267 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15268 (__cos): Likewise.
15269 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15270 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15271 SET_RESTORE_ROUND_NOEX.
15272 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15273 SET_RESTORE_ROUND_NOEXF.
15274 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15275 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15276 (libc_feholdsetroundf): New.
15277 (libc_feresetround, libc_feresetroundf): New.
15278
7d2e8012
RH
15279 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15280 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15281 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15282
b4dabbb4
RH
15283 * sysdeps/generic/math_private.h: Include <fenv.h>.
15284 (default_libc_feholdexcept): New.
15285 (default_libc_feholdexcept_setround): New.
15286 (default_libc_fesetenv, default_libc_feupdateenv): New.
15287 (libc_feholdexcept): Only define if undefined.
15288 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15289 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15290 (libc_feholdexcept_setroundl): Likewise.
15291 (libc_feholdexcept_setround_53bit): Likewise.
15292 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15293 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15294 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15295 (libc_feupdateenv_53bit): Likewise.
15296 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15297 (libc_feholdexcept): Convert from macro to inline function.
15298 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15299 (libc_fesetenv, libc_feupdateenv): Likewise.
15300
4851a949
RH
15301 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15302 not previously defined.
15303 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15304 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15305 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15306 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15307 * sysdeps/ieee754/flt-32/math_private.h: New file.
15308 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15309 math_private.h below SET_FLOAT_WORD.
15310 (__isnan, __isinf_ns, __finite): Remove.
15311 (__isnanf, __isinf_nsf, __finitef): Remove.
15312
e79d442e
AS
153132012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15314
15315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15316
90b80344
DM
153172012-03-17 David S. Miller <davem@davemloft.net>
15318
15319 [BZ #6471]
15320 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15321 for 2.16.
15322
edc21804
DM
153232012-03-16 David S. Miller <davem@davemloft.net>
15324
77e927af
DM
15325 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15326 warnings.
15327
374976dd
DM
15328 [BZ #6471]
15329 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15330 properly.
15331 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15332 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15333 sysdep_routines when subdir is sysvipc.
15334 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15335 __getshmlba helper.
15336
edc21804
DM
15337 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15338
473c3ef3
L
153392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15340
15341 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15342 [__LP64__].
15343
eb0f39b6
L
153442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15345
15346 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15347 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15348 (__lround): Renamed to ...
15349 (__llround): This. Replace long int with long long int.
15350 Define lround functions as aliases of llround functions.
15351 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15352
6b6cd74b
L
153532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15354
15355 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15356 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15357 adresses to uintptr_t. Replace "long int" and "unsigned long
15358 int" with "greg_t" on va_arg.
15359
f1a77b01
L
153602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15361
15362 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15363 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15364
15365 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15366 Move e_machine check before EI_CLASS check. Handle x32
15367 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15368 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15369 SKIP_EM_IA_64 and include
15370 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15371
15372 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15373 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15374 (add_system_dir): New macro.
15375
15376 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15377 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15378
11b90b9f
JM
153792012-03-16 Joseph Myers <joseph@codesourcery.com>
15380
c36e1d23
JM
15381 [BZ #2551]
15382 [BZ #2552]
15383 [BZ #2553]
15384 [BZ #2554]
15385 [BZ #2562]
15386 [BZ #2563]
15387 [BZ #2565]
15388 [BZ #2566]
15389 [BZ #2576]
15390 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15391 (y0): Likewise.
15392 * math/w_j0f.c (j0f): Likewise.
15393 (y0f): Likewise.
15394 * math/w_j0l.c (__j0l): Likewise.
15395 (__y0l): Likewise.
15396 * math/w_j1.c (j1): Likewise.
15397 (y1): Likewise.
15398 * math/w_j1f.c (j1f): Likewise.
15399 (y1f): Likewise.
15400 * math/w_j1l.c (__j1l): Likewise.
15401 (__y1l): Likewise.
15402 * math/w_jn.c (jn): Likewise.
15403 (yn): Likewise.
15404 * math/w_jnf.c (jnf): Likewise.
15405 (ynf): Likewise.
15406 * math/w_jnl.c (__jnl): Likewise.
15407 (__ynl): Likewise.
15408 * math/libm-test.inc (j0_test): Add more tests.
15409 (j1_test): Likewise.
15410 (jn_test): Likewise. Add trailing semicolon to existing test.
15411 (y0_test): Likewise.
15412 (y1_test): Likewise.
15413 * sysdeps/i386/fpu/libm-test-ulps: Update.
15414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15415
11b90b9f
JM
15416 [BZ #13851]
15417 [BZ #13854]
15418 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15419 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15420 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15421 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
15422 (__tanl): Set errno for infinite argument.
15423 * sysdeps/i386/fpu/mptan.c: Remove.
15424 * sysdeps/i386/fpu/s_tan.S: Likewise.
15425 * sysdeps/i386/fpu/s_tanl.S: Likewise.
15426 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
15427 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15428 * math/libm-test.inc (tan_test): Add more tests and enable more
15429 tests for double and long double.
15430 * sysdeps/i386/fpu/libm-test-ulps: Update.
15431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15432
6a1bd2a1
JK
154332012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15434
15435 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15436 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15437
10a803e0
RM
154382012-03-16 Roland McGrath <roland@hack.frob.com>
15439
15440 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
15441 * configure.in: Use it for both main tree and add-ons.
15442 * configure: Regenerated.
15443
f196c7f7
L
154442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15445
15446 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
15447
8848d99d
JM
154482012-03-16 Joseph Myers <joseph@codesourcery.com>
15449
96cbe7f4
JM
15450 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15451 in comment.
15452
8848d99d
JM
15453 [BZ #13851]
15454 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15455 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15456 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15457 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15458 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15459 infinite argument.
15460 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15461 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15462 != 0 for prec == 2.
15463 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15464 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15465 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15466 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15467 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15468 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15469 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15470 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15471 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15472 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15473 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15474 * math/libm-test.inc (cos_test): Add more tests and enable more
15475 tests for long double.
15476 (sin_test): Likewise.
15477 (sincos_test): Likewise.
15478 * sysdeps/i386/fpu/libm-test-ulps: Update.
15479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15480
dd7f4703
DM
154812012-03-16 David S. Miller <davem@davemloft.net>
15482
15483 * sysdeps/sparc/fpu/math_private.h: New file.
15484
006f1daa
DM
154852012-03-15 David S. Miller <davem@davemloft.net>
15486
c0c83bc8
DM
15487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15488 file.
e6a62e18 15489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
15490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15491 file.
e6a62e18
DM
15492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15497 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15498 sysdep routines.
15499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15500
88cb87d9
DM
15501 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15502 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15503
006f1daa 15504 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
15505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15506 sparc-ifunc.h
006f1daa 15507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
15508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15509 Likewise.
15510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15511 Likewise.
006f1daa
DM
15512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
15515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15516 Likewise.
006f1daa
DM
15517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
15521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15522 Likewise.
15523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15524 Likewise.
006f1daa
DM
15525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15529 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15531 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15532 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15543 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15544 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15545 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15546 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15547 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15548 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15549
11e0098e
AS
155502012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15551
15552 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15553 scaling.
15554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15555
e85b09d0
AJ
155562012-03-15 Andreas Jaeger <aj@suse.de>
15557
15558 [BZ #13852]
15559 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15560 ieee754/flt-32 implementation for sin, cos and sincos.
15561 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15562 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15563 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15564 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15565 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15566 ieee754/flt-32 implementation for tan.
15567
15568 * math/libm-test.inc (cos_test): Enable some large input tests for
15569 float as well
15570 (sin_test): Likewise.
15571 (sincos_test): Likewise.
15572 (tan_test): Add tests for large input.
15573
15574 * sysdeps/i386/fpu/libm-test-ulps: Update.
15575
81c64153
AJ
155762012-03-15 Andreas Jaeger <aj@suse.de>
15577
15578 [BZ #13658]
15579 * math/libm-test.inc (cos_test): Add more test cases.
15580 (sin_test): Likewise.
15581 (sincos_test): Likewise.
15582
7bbfa5c6
AJ
155832012-03-15 Andreas Jaeger <aj@suse.de>
15584
15585 [BZ #13837]
15586 * math/libm-test.inc (cos_test): Add a test case for large input
15587 value.
15588 (sin_test): Likewise.
15589 (sincos_test): Likewise.
15590
155912012-03-15 Andreas Jaeger <aj@suse.de>,
15592 Joseph Myers <joseph@codesourcery.com>
15593
15594 [BZ #13658]
0671f479 15595 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
15596 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15597 * sysdeps/i386/fpu/branred.c: Likewise.
15598 * sysdeps/i386/fpu/dosincos.c: Likewise.
15599 * sysdeps/i386/fpu/mpa.c: Likewise.
15600 * sysdeps/i386/fpu/s_cos.S: Likewise.
15601 * sysdeps/i386/fpu/s_sin.S: Likewise.
15602 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15603 * sysdeps/i386/fpu/sincos32.c: Likewise.
15604
15605 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15606 Define.
15607 (libc_feupdateenv_53bit): Define.
15608 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15609 Define.
15610 (libc_feupdateenv_53bit): Define.
15611
15612 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15613 53 bit (without extend i386 double precision).
15614
15615 * math/libm-test.inc (sincos_test): Add tests for large input.
15616 (sin): Likewise.
15617 (cos): Likewise.
15618
15619 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15620
9cad04ea
AS
156212012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15622
15623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15624
f7062b9a
DM
156252012-03-15 David S. Miller <davem@davemloft.net>
15626
15627 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15628 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15629 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15630 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
15642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15643 file.
f7062b9a 15644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
15645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15646 file.
f7062b9a 15647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
15648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15649 file.
f7062b9a 15650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
15651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15652 file.
f7062b9a
DM
15653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15654 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15655 fmin/fmax sysdep routines.
15656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15657
7bd951ff
DM
156582012-03-14 David S. Miller <davem@davemloft.net>
15659
559398ab
DM
15660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15664 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15665 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15666 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15667 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15668 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15671 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15680 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15681 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15682 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15683 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15684 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15685 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15686 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15687 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15688 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15689 routines.
15690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15691 file.
559398ab 15692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
15693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15694 file.
559398ab 15695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
15696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15697 file.
559398ab 15698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
15699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15700 file.
559398ab 15701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
15702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15703 file.
559398ab 15704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
15705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15706 file.
15707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15708 file.
15709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15710 file.
15711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15712 file.
15713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15714 New file.
15715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15716 file.
15717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15718 file.
559398ab 15719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
15720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15721 file.
559398ab 15722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15724 file.
559398ab 15725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
15726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15727 file.
559398ab 15728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
15729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15730 VIS3 routines.
559398ab
DM
15731
15732 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15733 New file.
15734
5a1c1e32
DM
15735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15736
eae47a36
DM
15737 * sysdeps/sparc/configure.in: New file.
15738 * sysdeps/sparc/configure: Generate.
15739 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15740 * configure: Regenerate.
15741 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15742 * config.make.in (have-as-vis3): New.
15743 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15744 available use -Av9d instead of -Av9a.
15745 * sysdeps/sparc/sparc64/Makefile: Likewise.
15746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
15747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15748 New file.
15749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15750 file.
15751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15752 New file.
15753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15754 file.
eae47a36
DM
15755 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15756 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15757 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15758 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15759 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15760
c0c83bc8
DM
15761 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15762 fzeros/fnegs to load 0x80000000 into a float register instead of
15763 using the stack.
7bd951ff
DM
15764 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15765
bd951ccb
JM
157662012-03-14 Joseph Myers <joseph@codesourcery.com>
15767
15768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15769 bits/syscall.h.
15770 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15771 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15772 ($(inst_includedir)/bits/syscall.h): Remove rule.
15773 ($(objpfx)bits/syscall.d): Include instead of
15774 $(objpfx)syscall-list.d.
15775 (generated): Change syscall-list.h and syscall-list.d to
15776 bits/syscall.h and bits/syscall.d.
15777
bb4e6db2
RM
157782012-03-14 Roland McGrath <roland@hack.frob.com>
15779
15780 [BZ #13846]
15781 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15782
aa4a2ae1
JM
157832012-03-14 Joseph Myers <joseph@codesourcery.com>
15784
e456826d
JM
15785 [BZ #13841]
15786 * math/s_csqrt.c: Include <float.h>.
15787 (__csqrt): Scale large or subnormal inputs.
15788 * math/s_csqrtf.c: Likewise.
15789 * math/s_csqrtl.c: Likewise.
15790 * math/libm-test.inc (csqrt_test): Add more tests.
15791 * sysdeps/i386/fpu/libm-test-ulps: Update.
15792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15793
aa4a2ae1
JM
15794 [BZ #13840]
15795 * math/libm-test.inc (hypot_test): Add more tests.
15796
7c10fd35
DM
157972012-03-13 David S. Miller <davem@davemloft.net>
15798
15799 [BZ #13840]
15800 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15801 double-precision for the calculation instead of scaling.
15802
f453b98b
JM
158032012-03-13 Joseph Myers <joseph@codesourcery.com>
15804
15805 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15806 manipulate bits before adding and subtracting TWO52[sx].
15807 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15808 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15809 Likewise.
15810 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15811
09a3453f
DM
158122012-03-13 David S. Miller <davem@davemloft.net>
15813
8e59da90
DM
15814 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15815 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15816 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15817 rtld-global-offsets.h
15818 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15819
2a8ab7f2
DM
15820 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15821 large parameters.
15822
10f62770
DM
15823 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15824
5f0bdb18
DM
15825 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15826 'err' in the ifdef scope in which it is actually used.
15827
09a3453f
DM
15828 * nss/nss_db/db-init.c: Include string.h
15829
b4b2eb5e
DM
158302012-03-12 David S. Miller <davem@davemloft.net>
15831
98bb2f1c
DM
15832 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15833 masking out of the most significant byte of random value used.
15834 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15835 Fix coding style in previous change.
15836
b4b2eb5e
DM
15837 * sysdeps/unix/sysv/linux/kernel-features.h
15838 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15839 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15840 expression.
15841 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15842 later.
15843
6e226b09
DM
158442012-03-11 David S. Miller <davem@davemloft.net>
15845
a1bcbd40
DM
15846 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15847 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15848 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15849 for 'resultvar' otherwise things get truncated on 64-bit.
15850
cb9d6174
DM
15851 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15852 Fix masking out of the most significant byte of random value used.
15853
6e226b09
DM
15854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15855
058c132d
AS
158562012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15857
15858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15859
2d2cd515
DM
158602012-03-09 David S. Miller <davem@davemloft.net>
15861
15862 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15863 variables with appropriate CPP guards.
15864 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15865 frame pointer, not the stack pointer. Correct layout comments. Fix test
15866 on resulting framesize and the management of the outregs buffer for pltexit.
15867 Preserve floating point return values across _dl_call_pltexit call.
15868 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15869 framesize and the management of the outregs buffer for pltexit.
15870 Preserve floating point return values across _dl_call_pltexit
15871 call.
15872 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15873 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15874 (print_exit): Fix format string for return register value.
15875
9a07f9d0
JM
158762012-03-10 Joseph Myers <joseph@codesourcery.com>
15877
15878 * sunrpc/Makefile (others): Add rpcgen.
15879 ($(objpfx)rpcgen): Remove special build rule and dependency on
15880 libc.
15881 * sunrpc/rpcgen.c: New file.
15882
547b5e30
PE
158832012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15884
c524201a
PE
15885 [BZ #13673]
15886 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15887 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15888 * sysdeps/i386/crti.S: Likewise.
15889 * sysdeps/i386/crtn.S: Likewise.
15890 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15891 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15892 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15893 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15894 * sysdeps/sh/crti.S: Likewise.
15895 * sysdeps/sh/crtn.S: Likewise.
15896 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15897
7b6235f2
PE
15898 [BZ #13673]
15899 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15900 with URL.
15901 * locale/programs/locfile-kw.gperf: Likewise.
15902 * locale/programs/charmap-kw.h: Regenerated.
15903 * locale/programs/locfile-kw.h: Likewise.
15904
547b5e30
PE
15905 [BZ #13673]
15906 * intl/plural.y: Replace FSF snail mail address with URL.
15907 * intl/plural.c: Regenerated.
15908
5f0a5dae
RH
159092012-03-09 Richard Henderson <rth@twiddle.net>
15910
15911 * include/math_private.h: Remove file.
15912 * math/math_private.h: Move file ...
15913 * sysdeps/generic/math_private.h: ... here.
15914
b8c03620
RH
15915 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15916 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15917 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15918
4e234f5d 15919 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
15920 and <math_private.h>.
15921 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15922 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15923 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15924 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15925 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15926 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15927 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15928 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15929 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15930 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15932 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15933 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15934 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15935 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15936 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15937 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15938 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15939 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15940 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15942 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15943 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15944 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15945 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15946 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15947 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15948 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15949 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15950 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15951 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15952 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15953 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15954 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15955 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15956 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15957 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15958 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15959 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15960 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15961 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15962 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15963 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15964 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15965 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15966 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15967 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15968 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15969 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15970 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15971 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15972 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15973 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15974 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15975 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15976 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15977 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15978 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15979 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15980 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15981 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15982 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15983 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15984 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15985 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15986 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15987 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15988 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15989 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15990 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15991 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15992 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15993 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15994 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15995 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15996 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15997 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15998 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15999 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
16000 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
16001 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16002 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
16003 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16004 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
16005 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16006 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16007 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
16008 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
16009 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16010 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16011 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16012 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16013 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16014 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16015 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16016 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16017 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16018 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16019 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16020 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16021 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16022 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16023 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16024 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16025 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16026 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16027 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16028 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16029 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16030 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16031 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16032 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16033 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16034 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16035 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16036 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16037 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16038 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16039 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16040 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16041 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16042 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16043 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16044 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16045 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16046 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16047 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16048 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16049 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16050 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16051 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16052 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16053 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16054 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16055 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16056 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16057 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16058 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16059 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16060 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16061 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16062 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16063 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16064 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16065 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16066 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16067 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16068 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16069 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16070 * sysdeps/ieee754/k_standard.c: Likewise.
16071 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16072 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16073 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16074 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16075 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16076 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16077 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16078 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16079 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16080 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16081 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16082 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16083 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16084 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16085 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16086 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16087 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16088 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16089 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16090 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16091 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16092 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16093 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16094 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16095 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16096 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16097 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16098 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16099 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16100 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16101 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16102 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16103 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16104 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16105 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16106 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16107 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16108 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16109 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16110 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16111 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16112 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16113 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16114 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16115 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16116 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16117 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16118 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16119 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16120 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16121 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16122 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16123 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16124 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16125 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16126 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16127 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16128 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16129 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16130 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16131 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16132 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16133 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16134 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16135 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16136 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16137 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16138 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16139 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16140 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16141 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16142 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16143 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16144 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16145 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16146 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16147 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16148 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16149 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16150 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16151 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16152 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16153 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16154 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16155 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16156 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16157 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16158 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16159 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16160 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16161 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16162 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16163 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16164 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16165 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16166 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16167 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16168 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16169 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16170 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16171 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16172 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16173 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16174 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16175 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16176 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16177 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16178 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16179 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16180 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16181 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16182 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16183 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16184 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16185 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16186 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16187 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16188 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16189 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16190 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16191 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16192 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16193 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16194 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16195 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16196 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16197 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16198 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16199 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16200 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16201 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16202 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16203 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16204 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16205 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16206 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16207 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16208 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16209 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16210 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16211 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16212 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16213 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16214 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16215 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16216 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16217 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16218 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16219 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16220 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16221 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16222 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16223 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16224 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16225 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16226 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16227 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16228 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16229 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16230 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16231 * sysdeps/ieee754/s_lib_version.c: Likewise.
16232 * sysdeps/ieee754/s_matherr.c: Likewise.
16233 * sysdeps/ieee754/s_signgam.c: Likewise.
16234 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16235 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16236 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16237 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16238 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16239 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16240 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16241 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16242 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16243 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16244 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16245 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16246 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16247 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16248 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16249 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16250 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16251 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16252 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16253 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16254 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 16255
1991fa03
JM
162562012-03-09 Joseph Myers <joseph@codesourcery.com>
16257
16258 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16259 * sunrpc/rpc_main.c: Likewise.
16260 * sunrpc/rpc_svcout.c: Likewise.
16261
60d6f5a6
DM
162622012-03-09 David S. Miller <davem@davemloft.net>
16263
16264 * include/math_private.h: New file.
16265
4962050e
JM
162662012-03-09 Joseph Myers <joseph@codesourcery.com>
16267
02a6f887
JM
16268 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16269 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16270 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16271 from <bits/socket_type.h>.
16272 (enum __socket_type): Don't define here.
16273 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16274 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16275 bits/socket_type.h.
16276
c6e013c1
JM
16277 [BZ #13566]
16278 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16279 checking __USE_GNU.
16280
4962050e
JM
16281 * Makerules ($(inst_includedir)/%.h): New rule.
16282 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16283 (install-others): Remove variable setting.
16284 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16285
38842f45
RH
162862012-03-08 Richard Henderson <rth@twiddle.net>
16287
67bb6da6
RH
16288 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16289 from macro to inline function; merge with the
16290 !__LIBC_INTERNAL_MATH_INLINES version.
16291 (__ieee754_sqrtf): Likewise.
16292
15194b4b
RH
16293 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16294 to inline function.
16295 (__rintf, __floor, __floorf): Likewise.
16296
64e21ede
RH
16297 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16298 macro to inline function.
16299 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16300
38842f45
RH
16301 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16302 not <math/math_private.h>.
16303
c64bf5fe
DM
163042012-03-08 David S. Miller <davem@davemloft.net>
16305
16306 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16307 copyright year.
16308 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16309
82d86f28
TS
163102012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16311
16312 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16313 normalization.
16314 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16315 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16316
aea5d727
UD
163172012-03-08 Ulrich Drepper <drepper@gmail.com>
16318
16319 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16320 be defined individually, they must be defined as a block. Define
16321 S for printing a string instead of hidint the different by using a
16322 macro for adding the 'l'.
16323 * stdio-common/tst-fphex-wide.c: Adjust.
16324
70bca0a3
MP
163252012-03-07 Marek Polacek <polacek@redhat.com>
16326
16327 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16328
65b81130
MP
163292012-03-08 Marek Polacek <polacek@redhat.com>
16330
16331 [BZ #13806]
16332 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16333 * stdio-common/tst-fphex.c: Define a few macros to make the
16334 test reusable. Use them.
16335 * stdio-common/tst-fphex-wide.c: New file.
16336
07037eeb
JM
163372012-03-08 Joseph Myers <joseph@codesourcery.com>
16338
a7a93d50
JM
16339 [BZ #6911]
16340 * manual/macros.texi (gnusystems): New macro.
16341 (nongnusystems): Likewise.
16342 (gnulinuxhurdsystems): Likewise.
16343 (gnuhurdsystems): Likewise..
16344 (gnulinuxsystems): Likewise.
16345 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16346 variants of the GNU system, not "GNU system".
16347 * manual/conf.texi: Likewise.
16348 * manual/errno.texi: Likewise. Update example of errno macro
16349 expansion.
16350 * manual/filesys.texi: Likewise.
16351 (getumask): Document as specific to GNU/Hurd.
16352 * manual/install.texi: Likewise. Reword some references to
16353 GNU/Linux.
16354 * manual/intro.texi: Likewise.
16355 * manual/io.texi: Likewise.
16356 (File Name Portability): Detail which constraints are inapplicable
16357 to all GNU systems and which are only inapplicable to GNU/Hurd.
16358 * manual/job.texi: Likewise.
16359 * manual/llio.texi: Likewise.
16360 (O_NOCTTY): Document as present on GNU/Linux.
16361 * manual/maint.texi: Likewise.
16362 * manual/memory.texi: Likewise.
16363 * manual/pattern.texi: Likewise.
16364 * manual/pipe.texi: Likewise.
16365 * manual/process.texi: Likewise.
16366 * manual/resource.texi: Likewise.
16367 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16368 child on GNU/Hurd.
16369 * manual/setjmp.texi: Likewise.
16370 * manual/signal.texi: Likewise.
16371 * manual/startup.texi: Likewise.
16372 * manual/stdio.texi: Likewise.
16373 * manual/terminal.texi: Likewise.
16374 (ONLCR): Document as POSIX.
16375 (OXTABS): Document availability on GNU/Linux as XTABS.
16376 (ONOEOT): Document availability separately from other bits.
16377 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16378 * manual/time.texi: Likewise.
16379 * manual/users.texi: Likewise.
16380 * INSTALL: Regenerated.
16381 * sysdeps/gnu/errlist.c: Regenerated.
16382
07037eeb
JM
16383 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16384 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16385 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16386 puts.
16387 * configure: Regenerated.
16388
d1d3431a
JM
163892012-03-07 Joseph Myers <joseph@codesourcery.com>
16390
af6a1e37
JM
16391 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16392 default includes instead of AC_HEADER_CHECK.
16393 * sysdeps/i386/configure: Regenerated.
16394
d1d3431a
JM
16395 [BZ #10716]
16396 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16397 * math/s_cacoshf.c (__cacoshf): Likewise.
16398 * math/s_cacoshl.c (__cacoshl): Likewise.
16399 * math/s_casinh.c (__casinh): Set signs of result from argument.
16400 * math/s_casinhf.c (__casinhf): Likewise.
16401 * math/s_casinhl.c (__casinhl): Likewise.
16402 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16403 (casinh_test): Add more tests.
16404 * sysdeps/i386/fpu/libm-test-ulps: Update.
16405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16406
482ff4da
UD
164072012-03-07 Ulrich Drepper <drepper@gmail.com>
16408
872fda05
UD
16409 * po/zh_TW.po: Update from translation team.
16410
a4300c7a
UD
16411 * login/Makefile (distribute): Remove variable.
16412 * catgets/Makefile: Likewise.
16413 * mach/Makefile: Likewise.
16414 * malloc/Makefile: Likewise.
16415 * misc/Makefile: Likewise.
16416 * iconv/Makefile: Likewise.
16417 * nscd/Makefile: Likewise.
16418 * hurd/Makefile: Likewise.
16419 * manual/Makefile: Likewise.
16420 * locale/Makefile: Likewise.
16421 * intl/Makefile: Likewise.
16422 * conform/Makefile: Likewise.
16423 * nss/Makefile: Likewise.
16424 * time/Makefile: Likewise.
16425 * soft-fp/Makefile: Likewise.
16426 * dirent/Makefile: Likewise.
16427 * gmon/Makefile: Likewise.
16428 * po/Makefile: Likewise.
16429 * rt/Makefile: Likewise.
16430 * socket/Makefile: Likewise.
16431 * math/Makefile: Likewise.
16432 * signal/Makefile: Likewise.
16433 * debug/Makefile: Likewise.
16434 * elf/Makefile: Likewise.
16435 * timezone/Makefile: Likewise.
16436 * stdlib/Makefile: Likewise.
16437 * iconvdata/Makefile: Likewise.
16438 * sunrpc/Makefile: Likewise.
16439 * io/Makefile: Likewise.
16440 * argp/Makefile: Likewise.
16441 * inet/Makefile: Likewise.
16442 * hesiod/Makefile: Likewise.
16443 * grp/Makefile: Likewise.
16444 * csu/Makefile: Likewise.
16445 * wctype/Makefile: Likewise.
16446 * crypt/Makefile: Likewise.
16447 * libio/Makefile: Likewise.
16448 * string/Makefile: Likewise.
16449 * nis/Makefile: Likewise.
16450 * resolv/Makefile: Likewise.
16451 * stdio-common/Makefile: Likewise.
16452 * wcsmbs/Makefile: Likewise.
16453 * dlfcn/Makefile: Likewise.
16454 * posix/Makefile: Likewise.
16455
3b7c4e74 16456 [BZ #6959]
482ff4da
UD
16457 * timezone/Makefile: Don't install timezone files, just the programs
16458 and scripts.
16459
f72ed77d
UD
164602012-03-06 Ulrich Drepper <drepper@gmail.com>
16461
a000466f
UD
16462 * nss/databases.def: Add missing gshadow entry.
16463
f72ed77d
UD
16464 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16465
a53b7a4e
MP
164662012-03-06 Marek Polacek <polacek@redhat.com>
16467
16468 [BZ #13726]
16469 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16470 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16471 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16472 * stdio-common/tst-long-dbl-fphex.c: New file.
16473
e9258400
DM
164742012-03-06 David S. Miller <davem@davemloft.net>
16475
16476 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16477 (set_obp_int): New function.
16478 (get_obp_int): New function.
16479 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
16480 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16481 Avoid unused variable warnings on 'val' and use builtin_expect.
16482 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16483 __builtin_expect.
e9258400
DM
16484 (INLINE_CLONE_SYSCALL): Likewise.
16485
3bd2c723
DM
164862012-03-05 David S. Miller <davem@davemloft.net>
16487
16488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16489
bbb78d03
AS
164902012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16491
884c5db4
AS
16492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16493
bbb78d03
AS
16494 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16495 only for |x| >= 40.
16496 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16497
1c9f702a 164982012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
16499
16500 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16501 Replace gettimeofday with __vdso_gettimeofday.
16502
7be16f82
RM
16503 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16504 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16505 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
16506
16507 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16508 time with __vdso_time.
16509
ed58a00f
JM
165102012-03-05 Joseph Myers <joseph@codesourcery.com>
16511
16512 * manual/lang.texi (size_t): Note types to which size_t may be
16513 equivalent with the GNU C Library, but do not describe when
16514 differences between them are significant.
16515
30ee4ced
AJ
165162012-03-05 Andreas Jaeger <aj@suse.de>
16517
16518 * sysdeps/i386/fpu/libm-test-ulps: Update.
16519
b7cd39e8
JM
165202012-03-05 Joseph Myers <joseph@codesourcery.com>
16521
16522 [BZ #3976]
16523 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16524 (__ieee754_pow): Save and restore rounding mode and use
16525 round-to-nearest for main computations.
16526 * math/libm-test.inc (pow_test_tonearest): New function.
16527 (pow_test_towardzero): Likewise.
16528 (pow_test_downward): Likewise.
16529 (pow_test_upward): Likewise.
16530 (main): Call the new functions.
16531 * sysdeps/i386/fpu/libm-test-ulps: Update.
16532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
16533
16534 [BZ #3976]
16535 * math/libm-test.inc (cosh_test_tonearest): New function.
16536 (cosh_test_towardzero): Likewise.
16537 (cosh_test_downward): Likewise.
16538 (cosh_test_upward): Likewise.
16539 (sinh_test_tonearest): Likewise.
16540 (sinh_test_towardzero): Likewise.
16541 (sinh_test_downward): Likewise.
16542 (sinh_test_upward): Likewise.
16543 (main): Call the new functions.
16544 * sysdeps/i386/fpu/libm-test-ulps: Update.
16545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16546
6c6a98c9
TV
165472012-03-05 Tom de Vries <tom@codesourcery.com>
16548
16549 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16550 default stack guard is set in last bytes.
16551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16552
21bb2d2e 165532012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 16554
21bb2d2e 16555 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 16556
21bb2d2e
AJ
16557 [BZ #13656]
16558 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16559 possibly allocate from heap instead of stack.
16560 * stdio-common/bug-vfprintf-nargs.c: New file.
16561 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 16562
c6922934
AS
165632012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16564
16565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16566
bc957d53
MP
165672012-03-03 Marek Polacek <polacek@redhat.com>
16568
16569 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16570 * math/math_private.h: Likewise.
16571 * stdlib/tst-strtod.c: Likewise.
16572 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16573 * sysdeps/x86_64/bits/atomic.h: Likewise.
16574
6358490d
DM
165752012-03-02 David S. Miller <davem@davemloft.net>
16576
16577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16581 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16582 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16583 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16584 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16585
01ae168d
RM
165862012-03-02 Roland McGrath <roland@hack.frob.com>
16587
d9a17c07
RM
16588 [BZ #13792]
16589 * manual/examples/README: New file, says the example source files
16590 can be used under GPL>=2.
16591 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16592 line containing just "*/".
16593 * manual/examples/add.c: Add copyright header (GPL>=2).
16594 * manual/examples/argp-ex1.c: Likewise.
16595 * manual/examples/argp-ex2.c: Likewise.
16596 * manual/examples/argp-ex3.c: Likewise.
16597 * manual/examples/argp-ex4.c: Likewise.
16598 * manual/examples/atexit.c: Likewise.
16599 * manual/examples/db.c: Likewise.
16600 * manual/examples/dir.c: Likewise.
16601 * manual/examples/dir2.c: Likewise.
16602 * manual/examples/execinfo.c: Likewise.
16603 * manual/examples/filecli.c: Likewise.
16604 * manual/examples/filesrv.c: Likewise.
16605 * manual/examples/fmtmsgexpl.c: Likewise.
16606 * manual/examples/genpass.c: Likewise.
16607 * manual/examples/inetcli.c: Likewise.
16608 * manual/examples/inetsrv.c: Likewise.
16609 * manual/examples/isockad.c: Likewise.
16610 * manual/examples/longopt.c: Likewise.
16611 * manual/examples/memopen.c: Likewise.
16612 * manual/examples/memstrm.c: Likewise.
16613 * manual/examples/mkfsock.c: Likewise.
16614 * manual/examples/mkisock.c: Likewise.
16615 * manual/examples/mygetpass.c: Likewise.
16616 * manual/examples/pipe.c: Likewise.
16617 * manual/examples/popen.c: Likewise.
16618 * manual/examples/rprintf.c: Likewise.
16619 * manual/examples/search.c: Likewise.
16620 * manual/examples/select.c: Likewise.
16621 * manual/examples/setjmp.c: Likewise.
16622 * manual/examples/sigh1.c: Likewise.
16623 * manual/examples/sigusr.c: Likewise.
16624 * manual/examples/stpcpy.c: Likewise.
16625 * manual/examples/strdupa.c: Likewise.
16626 * manual/examples/strftim.c: Likewise.
16627 * manual/examples/strncat.c: Likewise.
16628 * manual/examples/subopt.c: Likewise.
16629 * manual/examples/swapcontext.c: Likewise.
16630 * manual/examples/termios.c: Likewise.
16631 * manual/examples/testopt.c: Likewise.
16632 * manual/examples/testpass.c: Likewise.
16633 * manual/examples/timeval_subtract.c: Likewise.
16634
01ae168d
RM
16635 [BZ #13792]
16636 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16637 function to ...
16638 * manual/timeval_subtract.c.texi: ... here, new file.
16639
49efa33d
DM
166402012-03-02 David S. Miller <davem@davemloft.net>
16641
16642 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16643
28afd92d
JM
166442012-03-02 Joseph Myers <joseph@codesourcery.com>
16645
804360ed
JM
16646 [BZ #3976]
16647 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16648 (__sin): Save and restore rounding mode and use round-to-nearest
16649 for all computations.
16650 (__cos): Save and restore rounding mode and use round-to-nearest
16651 for all computations.
16652 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16653 <fenv.h>.
16654 (tan): Save and restore rounding mode and use round-to-nearest for
16655 all computations.
16656 * math/libm-test.inc (cos_test_tonearest): New function.
16657 (cos_test_towardzero): Likewise.
16658 (cos_test_downward): Likewise.
16659 (cos_test_upward): Likewise.
16660 (sin_test_tonearest): Likewise.
16661 (sin_test_towardzero): Likewise.
16662 (sin_test_downward): Likewise.
16663 (sin_test_upward): Likewise.
16664 (tan_test_tonearest): Likewise.
16665 (tan_test_towardzero): Likewise.
16666 (tan_test_downward): Likewise.
16667 (tan_test_upward): Likewise.
16668 (main): Call the new functions.
16669 * sysdeps/i386/fpu/libm-test-ulps: Update.
16670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16671
a6d06d7b
JM
16672 [BZ #10135]
16673 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16674 small n, then large n, before computing and testing k+n.
16675 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16676 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16677 Likewise.
16678 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16679 Likewise.
16680 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16681 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16682 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16683 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16684 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16685 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16686 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16687 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16688 * math/libm-test.inc (scalbn_test): Add more tests.
16689 (scalbln_test): Likewise.
16690
07e12bb3
JM
16691 * manual/filesys.texi (mode_t): Describe constraints on size and
16692 signedness, not exact equivalence to a particular type.
16693 (ino_t): Likewise.
16694 (ino64_t): Likewise.
16695 (dev_t): Likewise.
16696 (nlink_t): Likewise.
16697 (blkcnt_t): Likewise.
16698 (blkcnt64_t): Likewise.
16699 * manual/llio.texi (off_t): Likewise.
16700
28afd92d
JM
16701 [BZ #3976]
16702 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16703 (__ieee754_exp): Save and restore rounding mode and use
16704 round-to-nearest for all computations.
16705 * math/libm-test.inc (exp_test_tonearest): New function.
16706 (exp_test_towardzero): Likewise.
16707 (exp_test_downward): Likewise.
16708 (exp_test_upward): Likewise.
16709 (main): Call the new functions.
16710 * sysdeps/i386/fpu/libm-test-ulps: Update.
16711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16712
b1eeb65d
CD
167132012-03-01 Chris Demetriou <cgd@google.com>
16714
16715 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16716 have predictable order.
16717
53362a4b
DM
167182012-03-01 David S. Miller <davem@davemloft.net>
16719
3c969083
DM
16720 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16721
759707de
DM
16722 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16723 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16724 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16725 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16726
dfdb8ff2
DM
16727 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16728 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16729 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16731 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16732 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16733 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16734 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16735 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16736
ead89f96
DM
16737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16738
7f66bd07
DM
16739 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16740 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16741 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16742
53362a4b
DM
16743 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16744 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16745 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16746 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16747 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16748 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16749 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16750 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16751 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16752 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16753 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16754 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16755 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16756 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16757 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16758 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16759 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16760 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16761 * sysdeps/sparc/elf/configure: Regenerated.
16762
7b1902cb
JM
167632012-03-01 Joseph Myers <joseph@codesourcery.com>
16764
bec039bc
JM
16765 * configure.in (AS, LD): Require binutils 2.20 or later.
16766 * configure: Regenerated.
16767 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16768 as required minimum version.
16769 * INSTALL: Regenerated.
16770
7b1902cb
JM
16771 [BZ #2541]
16772 [BZ #4108]
16773 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16774 before squaring exponent.
16775 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16776 bottom long double and 27 bits of top long double before squaring
16777 exponent.
16778 * math/libm-test.inc (erfc_test): Add more tests.
16779 * sysdeps/i386/fpu/libm-test-ulps: Update.
16780 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16782
f775c276
KT
167832012-03-01 Kai Tietz <ktietz@redhat.com>
16784
16785 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16786 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16787 containing bit-fields.
16788 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16789 * soft-fp/single.h (_FP_UNION_S): Likewise.
16790 * soft-fp/double.h (_FP_UNION_D): Likewise.
16791
5b8a4d4a
JM
167922012-02-29 Joseph Myers <joseph@codesourcery.com>
16793
0bab47b6
JM
16794 [BZ #13786]
16795 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16796 not include ../strcmp.S.
16797 [USE_AS_STRNCASECMP_L]: Likewise.
16798 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16799 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16800 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16801 (__strncasecmp_l_ia32): Define as alias to
16802 __strncasecmp_l_nonascii.
16803
0fcad3e2
JM
16804 [BZ #5794]
16805 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16806 * sysdeps/i386/fpu/libm-test-ulps: Update.
16807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16808
5b8a4d4a
JM
16809 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16811
8fdceb2e
JL
168122012-02-29 Jeff Law <law@redhat.com>
16813
16814 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16815 out of bounds read.
16816
1f393a11
MP
168172012-02-29 Marek Polacek <polacek@redhat.com>
16818
16819 [BZ #13706]
16820 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16821 * elf/Makefile: Add rules to run tst-unused-dep.out.
16822
8847f037
DM
168232012-02-28 David S. Miller <davem@davemloft.net>
16824
16825 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16826 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16827 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16828 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16829 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16830 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16831
169d7f11
JM
168322012-02-29 Joseph Myers <joseph@codesourcery.com>
16833
16834 * math/libm-test.inc (llround_test): Move one test from
16835 lround_test. Use TEST_f_L in moved test.
16836 (lround_test): Move misplaced test to llround_test. Add testcase
16837 from bug 2561.
16838
39adf059
UD
168392012-02-28 Ulrich Drepper <drepper@gmail.com>
16840
16841 * sysdeps/x86_64/fpu/e_expf.S: New file.
16842 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16843
71b5d1c5
SB
168442012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16845
16846 [BZ #13637]
16847 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16848 of remain_len that may cause incomplete multi-byte character and
16849 false match.
16850 * posix/bug-regex33.c: New file.
16851 * posix/Makefile (tests): Add bug-regex33.
16852
1f77f049
JM
168532012-02-28 Joseph Myers <joseph@codesourcery.com>
16854
16855 * manual/macros.texi: New file.
16856 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16857 * manual/libc.texinfo: Include macros.texi.
16858 * manual/creatute.texi: Likewise.
16859 * manual/install.texi: Likewise.
16860 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16861 @glibcadj{} in references to the GNU C Library.
16862 * manual/charset.texi: Likewise.
16863 * manual/conf.texi: Likewise.
16864 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16865 when not using those macros.
16866 * manual/creature.texi: Likewise.
16867 * manual/crypt.texi: Likewise.
16868 * manual/errno.texi: Likewise.
16869 * manual/filesys.texi: Likewise.
16870 * manual/header.texi: Likewise.
16871 * manual/install.texi: Likewise.
16872 * manual/intro.texi: Likewise.
16873 * manual/io.texi: Likewise.
16874 * manual/job.texi: Likewise.
16875 * manual/lang.texi: Likewise.
16876 * manual/libc.texiinfo: Likewise.
16877 * manual/llio.texi: Likewise.
16878 * manual/locale.texi: Likewise.
16879 * manual/maint.texi: Likewise.
16880 * manual/math.texi: Likewise.
16881 * manual/memory.texi: Likewise.
16882 * manual/message.texi: Likewise.
16883 * manual/nss.texi: Likewise.
16884 * manual/pattern.texi: Likewise.
16885 * manual/process.texi: Likewise.
16886 * manual/resource.texi: Likewise.
16887 * manual/search.texi: Likewise.
16888 * manual/setjmp.texi: Likewise.
16889 * manual/signal.texi: Likewise.
16890 * manual/socket.texi: Likewise.
16891 * manual/startup.texi: Likewise.
16892 * manual/stdio.texi: Likewise.
16893 * manual/string.texi: Likewise.
16894 * manual/sysinfo.texi: Likewise.
16895 * manual/syslog.texi: Likewise.
16896 * manual/terminal.texi: Likewise.
16897 * manual/time.texi: Likewise.
16898 * manual/users.texi: Likewise.
16899 * INSTALL: Regenerated.
16900 * NOTES: Regenerated.
d40c5d54 16901 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 16902
450bf206
AS
169032012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16904
16905 * include/dirent.h: Include <dirstream.h> before
16906 <dirent/dirent.h>.
16907
741a235b
DM
169082012-02-28 David S. Miller <davem@davemloft.net>
16909
16910 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16911 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16912 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16913 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16914
d6b5aa58
DM
169152012-02-27 David S. Miller <davem@davemloft.net>
16916
1aff59a3
DM
16917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16919 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16920 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16921
d6b5aa58
DM
16922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16923 frame pointer instead of stack pointer relative arg slot.
16924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16925 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16926 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16927
433f48bf
CD
169282012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16929
16930 [BZ #3992]
16931 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16932
d674b76d
DM
169332012-02-27 David S. Miller <davem@davemloft.net>
16934
16935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16939 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16940 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16941 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16942 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16943
0e7727f7
JM
169442012-02-27 Joseph Myers <joseph@codesourcery.com>
16945
16946 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16947 later. Allow versions 5-9.
43be4ca2 16948 * configure: Regenerated.
0e7727f7
JM
16949 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16950 required minimum version and 4.6 as recommended version. Do not
16951 mention bugs in GCC 2.7 and 2.8.
43be4ca2 16952 * INSTALL: Regenerated.
0e7727f7 16953
a78bc654
DM
169542012-02-27 David S. Miller <davem@davemloft.net>
16955
428d5830
DM
16956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16960 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16961 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16962 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16963 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16964
a78bc654
DM
16965 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16966 manipulate bits before adding and subtracting TWO112[sx].
16967 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16968
4579f81c
RM
169692012-02-27 Roland McGrath <roland@hack.frob.com>
16970
36c8acb4
RM
16971 [BZ #13775]
16972 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16973 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16974 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16975 being in POSIX, because they are in 1003.1-2008.
16976
84ad622b
RM
16977 * rt/tst-aio.c: Include <fcntl.h>.
16978 * rt/tst-aio7.c: Likewise.
16979 * rt/tst-aio64.c: Likewise.
16980
4579f81c
RM
16981 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16982
abd923db
JM
169832012-02-27 Joseph Myers <joseph@codesourcery.com>
16984
16985 * manual/install.texi (--with-headers): Describe headers as
16986 interface headers, not private headers.
16987 (Specific advice for GNU/Linux systems): Describe use of headers
16988 from "make headers_install", not private headers from older
16989 kernels.
43be4ca2 16990 * INSTALL: Regenerated.
abd923db
JM
16991 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16992 Change to 2.6.19.
16993 * sysdeps/unix/sysv/linux/configure: Regenerated.
16994
6664049b
JM
16995 * manual/llio.texi (fclean): Remove documentation.
16996
bb8b6697
JM
16997 * manual/Makefile (libc-texi-generated): New variable. Include
16998 version.texi.
16999 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
17000 $(libc-texi-generated), not duplicated list of files.
17001 (version.texi, stamp-version): New rules.
17002 (realclean): Remove $(libc-texi-generated), not individual files
17003 from that list. Do not remove dir-add.texinfo.
17004 * manual/libc.texinfo: Comment out uses of edition numbers and
17005 references to printed manual. Remove last-updated dates.
17006 (EDITION): Comment out.
17007 (ISBN): Likewise.
17008 (VERSION, UPDATED): Remove.
17009 (version.texi): Include.
17010
12e5c3b9
AS
170112012-02-27 Andreas Schwab <schwab@linux-m68k.org>
17012
17013 * sysdeps/posix/spawni.c: Include <signal.h>.
17014 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
17015 * sysdeps/pthread/aio_fsync.c: Likewise.
17016
4efeffc1 170172012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 17018
ba63ba08
UD
17019 * conform/Makefile (tests): Run only when not cross-compiling and
17020 when fast-check is not defined.
17021
d94a4670
UD
17022 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
17023 * conform/data/limits.h-data: Fixes for POSIX2008.
17024 * conform/run-conformtest.sh: Run all tests.
17025 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
17026 headers.
17027 * include/bits/dlfcn.h: Likewise.
17028 * include/langinfo.h: Likewise.
17029 * include/monetary.h: Likewise.
17030 * include/sys/poll.h: Likewise.
17031
17032 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
17033 for __USE_GNU.
17034 * posix/spawn.h: Define __need_sigset_t.
17035 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17036 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17037 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17038 to get sigevent_t only.
17039 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17040 only for __USE_GNU.
17041 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17042 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17043 process_vm_writev only for __USE_GNU.
17044 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
17045
17046 * conform/Makefile: For now ignore errors from run-conformtest.
17047 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17048 POSIX to avoid namespace pollution. Don't prepend headers.
17049 * conform/data/aio.h-data: Fixes for POSIX testing.
17050 * conform/data/fcntl.h-data: Likewise.
17051 * conform/data/glob.h-data: Likewise.
17052 * conform/data/grp.h-data: Likewise.
17053 * conform/data/pthread.h-data: Likewise.
17054 * conform/data/pwd.h-data: Likewise.
17055 * conform/data/signal.h-data: Likewise.
17056 * conform/data/spawn.h-data: Likewise.
17057 * conform/data/stdio.h-data: Likewise.
17058 * conform/data/stdlib.h-data: Likewise.
17059 * conform/data/stropts.h-data: Likewise.
17060 * conform/data/sys/mman.h-data: Likewise.
17061 * conform/data/sys/stat.h-data: Likewise.
17062 * conform/data/sys/types.h-data: Likewise.
17063 * conform/data/sys/wait.h-data: Likewise.
17064 * conform/data/time.h-data: Likewise.
17065 * conform/data/unistd.h-data: Likewise.
17066 * conform/data/utime.h-data: Likewise.
17067
17068 * io/sys/stat.h: fchmod was always in POSIX.
17069 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17070 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17071 * rt/aio.h: Define __need_timespec before including <time.h>.
17072 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17073 struct. Add forward declaration of pthread_attr_t and use it in
17074 sigevent.
17075 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17076 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17077 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17078 always remove CLK_TCK definition.
17079
c20105c3
AS
170802012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17081
17082 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17083
7a270350
UD
170842012-02-25 Ulrich Drepper <drepper@gmail.com>
17085
31341567
UD
17086 * conform/run-conformtest.sh: New file.
17087 * conform/Makefile: Run run-conformtest for tests.
17088 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17089 support.
17090
17091 * conform/data/uchar.h-data: New file.
17092 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17093 * conform/data/arpa/inet.h-data: Likewise.
17094 * conform/data/assert.h-data: Likewise.
17095 * conform/data/complex.h-data: Likewise.
17096 * conform/data/cpio.h-data: Likewise.
17097 * conform/data/ctype.h-data: Likewise.
17098 * conform/data/dirent.h-data: Likewise.
17099 * conform/data/dlfcn.h-data: Likewise.
17100 * conform/data/errno.h-data: Likewise.
17101 * conform/data/fcntl.h-data: Likewise.
17102 * conform/data/float.h-data: Likewise.
17103 * conform/data/fmtmsg.h-data: Likewise.
17104 * conform/data/fnmatch.h-data: Likewise.
17105 * conform/data/ftw.h-data: Likewise.
17106 * conform/data/glob.h-data: Likewise.
17107 * conform/data/grp.h-data: Likewise.
17108 * conform/data/iconv.h-data: Likewise.
17109 * conform/data/inttypes.h-data: Likewise.
17110 * conform/data/langinfo.h-data: Likewise.
17111 * conform/data/libgen.h-data: Likewise.
17112 * conform/data/limits.h-data: Likewise.
17113 * conform/data/locale.h-data: Likewise.
17114 * conform/data/math.h-data: Likewise.
17115 * conform/data/monetary.h-data: Likewise.
17116 * conform/data/mqueue.h-data: Likewise.
17117 * conform/data/ndbm.h-data: Likewise.
17118 * conform/data/net/if.h-data: Likewise.
17119 * conform/data/netdb.h-data: Likewise.
17120 * conform/data/netinet/in.h-data: Likewise.
17121 * conform/data/nl_types.h-data: Likewise.
17122 * conform/data/poll.h-data: Likewise.
17123 * conform/data/pthread.h-data: Likewise.
17124 * conform/data/pwd.h-data: Likewise.
17125 * conform/data/regex.h-data: Likewise.
17126 * conform/data/sched.h-data: Likewise.
17127 * conform/data/search.h-data: Likewise.
17128 * conform/data/semaphore.h-data: Likewise.
17129 * conform/data/setjmp.h-data: Likewise.
17130 * conform/data/signal.h-data: Likewise.
17131 * conform/data/spawn.h-data: Likewise.
17132 * conform/data/stdarg.h-data: Likewise.
17133 * conform/data/stdio.h-data: Likewise.
17134 * conform/data/stdlib.h-data: Likewise.
17135 * conform/data/string.h-data: Likewise.
17136 * conform/data/strings.h-data: Likewise.
17137 * conform/data/stropts.h-data: Likewise.
17138 * conform/data/sys/ipc.h-data: Likewise.
17139 * conform/data/sys/mman.h-data: Likewise.
17140 * conform/data/sys/msg.h-data: Likewise.
17141 * conform/data/sys/resource.h-data: Likewise.
17142 * conform/data/sys/select.h-data: Likewise.
17143 * conform/data/sys/sem.h-data: Likewise.
17144 * conform/data/sys/shm.h-data: Likewise.
17145 * conform/data/sys/socket.h-data: Likewise.
17146 * conform/data/sys/stat.h-data: Likewise.
17147 * conform/data/sys/statvfs.h-data: Likewise.
17148 * conform/data/sys/time.h-data: Likewise.
17149 * conform/data/sys/timeb.h-data: Likewise.
17150 * conform/data/sys/times.h-data: Likewise.
17151 * conform/data/sys/types.h-data: Likewise.
17152 * conform/data/sys/uio.h-data: Likewise.
17153 * conform/data/sys/un.h-data: Likewise.
17154 * conform/data/sys/utsname.h-data: Likewise.
17155 * conform/data/sys/wait.h-data: Likewise.
17156 * conform/data/syslog.h-data: Likewise.
17157 * conform/data/tar.h-data: Likewise.
17158 * conform/data/termios.h-data: Likewise.
17159 * conform/data/utime.h-data: Likewise.
17160 * conform/data/utmpx.h-data: Likewise.
17161 * conform/data/varargs.h-data: Likewise.
17162 * conform/data/wchar.h-data: Likewise.
17163 * conform/data/wctype.h-data: Likewise.
17164 * conform/data/wordexp.h-data: Likewise.
17165
17166 * include/stropts.h: New file.
17167 * include/uchar.h: New file.
17168 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17169 * include/assert.h: Likewise.
17170 * include/ctype.h: Likewise.
17171 * include/dirent.h: Likewise.
17172 * include/dlfcn.h: Likewise.
17173 * include/fcntl.h: Likewise.
17174 * include/fnmatch.h: Likewise.
17175 * include/glob.h: Likewise.
17176 * include/grp.h: Likewise.
17177 * include/libio.h: Likewise.
17178 * include/locale.h: Likewise.
17179 * include/math.h: Likewise.
17180 * include/net/if.h: Likewise.
17181 * include/netdb.h: Likewise.
17182 * include/netinet/in.h: Likewise.
17183 * include/pthread.h: Likewise.
17184 * include/pwd.h: Likewise.
17185 * include/regex.h: Likewise.
17186 * include/sched.h: Likewise.
17187 * include/search.h: Likewise.
17188 * include/setjmp.h: Likewise.
17189 * include/signal.h: Likewise.
17190 * include/stdio.h: Likewise.
17191 * include/stdlib.h: Likewise.
17192 * include/string.h: Likewise.
17193 * include/sys/cdefs.h: Likewise.
17194 * include/sys/mman.h: Likewise.
17195 * include/sys/msg.h: Likewise.
17196 * include/sys/resource.h: Likewise.
17197 * include/sys/select.h: Likewise.
17198 * include/sys/socket.h: Likewise.
17199 * include/sys/stat.h: Likewise.
17200 * include/sys/statvfs.h: Likewise.
17201 * include/sys/time.h: Likewise.
17202 * include/sys/times.h: Likewise.
17203 * include/sys/uio.h: Likewise.
17204 * include/sys/utsname.h: Likewise.
17205 * include/sys/wait.h: Likewise.
17206 * include/termios.h: Likewise.
17207 * include/time.h: Likewise.
17208 * include/ulimit.h: Likewise.
17209 * include/unistd.h: Likewise.
17210 * include/utime.h: Likewise.
17211 * include/wchar.h: Likewise.
17212 * include/wctype.h: Likewise.
17213 * include/wordexp.h: Likewise.
17214
17215 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17216
7a270350
UD
17217 * time/time.h: TIME_UTC must be a macro.
17218 Make timespec_get available for ISO C11 only as well.
17219
7724defc
UD
172202012-02-24 Ulrich Drepper <drepper@gmail.com>
17221
17222 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17223 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17224
6b1d1d46
JM
172252012-02-24 Joseph Myers <joseph@codesourcery.com>
17226
17227 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 17228
0f8bbd69
JM
172292012-02-24 Joseph Myers <joseph@codesourcery.com>
17230
17231 * manual/texinfo.tex: Update to version 2012-01-19.16.
17232
66ab80bc
JM
172332012-02-24 Joseph Myers <joseph@codesourcery.com>
17234
17235 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17236
74981cc5
RM
172372012-02-24 Roland McGrath <roland@hack.frob.com>
17238
ee968201
RM
17239 [BZ #13738]
17240 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17241 * manual/fdl-1.3.texi: New file.
17242 * manual/fdl-1.1.texi: File removed.
17243
74981cc5
RM
17244 [BZ #13738]
17245 * manual/libc.texinfo (FDL_VERSION): New @set.
17246 Use it for mention of FDL in cover text.
17247 (Documentation License): Use it in @include file name.
17248
7bb764bc
JM
172492012-02-22 Joseph Myers <joseph@codesourcery.com>
17250 Roland McGrath <roland@hack.frob.com>
17251
17252 [BZ #5461]
17253 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17254 not LONG_LONG_MAX and LONG_LONG_MIN.
17255 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17256 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17257 name.
17258 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17259
6cbeae47
JM
172602012-02-22 Joseph Myers <joseph@codesourcery.com>
17261
17262 [BZ #2547]
17263 [BZ #11365]
17264 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17265 manipulate bits before adding and subtracting TWO23[sx].
17266 * math/libm-test.inc (nearbyint_test): Add more tests.
17267
fe45ce09
JM
172682012-02-22 Joseph Myers <joseph@codesourcery.com>
17269
17270 [BZ #2548]
17271 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17272 bits before adding and subtracting TWO23[sx].
17273 * math/libm-test.inc (rint_test): Add more tests.
17274 (rint_test_tonearest): Likewise.
17275 (rint_test_towardzero): Likewise.
17276 (rint_test_downward): Likewise.
17277 (rint_test_upward: Likewise.
17278
ff3b3d82
JM
172792012-02-22 Joseph Myers <joseph@codesourcery.com>
17280
17281 [BZ #10110]
17282 * include/stdc-predef.h: New file. Extracted from features.h.
17283 * include/features.h: Include stdc-predef.h.
17284 * Makefile (headers): Add stdc-predef.h.
17285 * CONFORMANCE (Compiler limitations): Update.
17286
ef0aab35
JM
172872012-02-22 Joseph Myers <joseph@codesourcery.com>
17288
17289 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17290
58639409
DM
172912012-02-21 David S. Miller <davem@davemloft.net>
17292
17293 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17294 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17295
c0e70b25
DM
172962012-02-20 David S. Miller <davem@davemloft.net>
17297
17298 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17299 using a normal save/restore sequence, rather than allocating a
17300 dummy stack frame just to store a frame pointer and restore.
17301 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17302
fb06851d
JM
173032012-02-21 Joseph Myers <joseph@codesourcery.com>
17304
17305 * manual/install.texi: Fix stray word in line-wrapped comment.
17306
7a8b71c3
DM
173072012-02-20 David S. Miller <davem@davemloft.net>
17308
d510c123
DM
17309 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17310 both binutils and gcc support GOTDATA.
17311
0722d7c2
DM
17312 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17313 "rd %pc" in the PIC register setup sequences.
17314
3d2b3019
DM
17315 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17316 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17317 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17318 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17319 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17320 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17321 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17322 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17323 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17324 (SYSCALL_ERROR_HANDLER): Likewise.
17325 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17326 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17327 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17328 (SYSCALL_ERROR_HANDLER): Likewise.
17329
c80098a9
DM
17330 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17331 (HAVE_GCC_GOTDATA): New.
17332 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17333 relocation support in both binutils and gcc.
17334 * sysdeps/sparc/elf/configure: Regenerate.
17335
3a2545a0
DM
17336 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17337 * sysdeps/sparc/sparc32/elf/configure: Delete.
17338 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17339 * sysdeps/sparc/sparc64/elf/configure: Delete.
17340 * sysdeps/sparc/elf/configure.in: New file.
17341 * sysdeps/sparc/elf/configure: Generate.
17342
7a8b71c3
DM
17343 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17344 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17345 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17346 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17347 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17348
f1e86fca
JM
173492012-02-21 Joseph Myers <joseph@codesourcery.com>
17350
17351 * manual/install.texi: Do not mention specific glibc version
17352 numbers.
17353 * manual/libc.texinfo (VERSION, UPDATED): Update.
17354 (@copying): Use @copyright{} and range of years.
17355
0e7dfaef
JM
173562012-02-21 Joseph Myers <joseph@codesourcery.com>
17357
17358 [BZ #13695]
17359 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17360 [crti.S not in sysdirs] (generated): Do not append.
17361 [crti.S not in sysdirs] (omit-deps): Likewise.
17362 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17363 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17364 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17365 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17366 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17367 Likewise.
17368 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17369 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17370 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17371 * csu/defs.awk: Remove file.
17372 * sysdeps/generic/initfini.c: Likewise.
17373 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17374 variable.
17375 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17376 Likewise.
17377
599af3ca
JM
173782012-02-20 Joseph Myers <joseph@codesourcery.com>
17379
17380 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17381 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17382 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17383 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17384 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17385 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17386 <bits/epoll.h>.
17387 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17388 (__EPOLL_PACKED): Define to empty if not defined by
17389 <bits/epoll.h>.
17390 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17391 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17392 bits/epoll.h.
17393
0e499750
JM
173942012-02-20 Joseph Myers <joseph@codesourcery.com>
17395
17396 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17397 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17398 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17399 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17400 <bits/timerfd.h>.
17401 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17403 bits/timerfd.h.
17404
5ad91f6e
JM
174052012-02-20 Joseph Myers <joseph@codesourcery.com>
17406
17407 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17408 in C locale.
17409 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17410 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17411 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17413
06b99b02
AJ
174142012-02-20 Aurelien Jarno <aurelien@aurel32.net>
17415
17416 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17417 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17418
7638c0fd
AS
174192012-02-19 Andreas Schwab <schwab@linux-m68k.org>
17420
17421 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
17422 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
17423 defined.
17424 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
17425 Likewise.
17426 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17427 entry for 2.16.
17428
92221550
AJ
174292012-02-19 Aurelien Jarno <aurelien@aurel32.net>
17430
17431 * math/w_acos.c: Use non-signaling floating-point comparisons.
17432 * math/w_acosf.c: Likewise.
17433 * math/w_acosh.c: Likewise.
17434 * math/w_acoshf.c: Likewise.
17435 * math/w_acoshl.c: Likewise.
17436 * math/w_acosl.c: Likewise.
17437 * math/w_asin.c: Likewise.
17438 * math/w_asinf.c: Likewise.
17439 * math/w_asinl.c: Likewise.
17440 * math/w_atanh.c: Likewise.
17441 * math/w_atanhf.c: Likewise.
17442 * math/w_atanhl.c: Likewise.
17443 * math/w_exp2.c: Likewise.
17444 * math/w_exp2f.c: Likewise.
17445 * math/w_exp2l.c: Likewise.
17446 * math/w_j0.c: Likewise.
17447 * math/w_j0f.c: Likewise.
17448 * math/w_j0l.c: Likewise.
17449 * math/w_j1.c: Likewise.
17450 * math/w_j1f.c: Likewise.
17451 * math/w_j1l.c: Likewise.
17452 * math/w_jn.c: Likewise.
17453 * math/w_jnf.c: Likewise.
17454 * math/w_log.c: Likewise.
17455 * math/w_log10.c: Likewise.
17456 * math/w_log10f.c: Likewise.
17457 * math/w_log10l.c: Likewise.
17458 * math/w_log2.c: Likewise.
17459 * math/w_log2f.c: Likewise.
17460 * math/w_log2l.c: Likewise.
17461 * math/w_logf.c: Likewise.
17462 * math/w_logl.c: Likewise.
17463 * math/w_sqrt.c: Likewise.
17464 * math/w_sqrtf.c: Likewise.
17465 * math/w_sqrtl.c: Likewise.
17466 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17467 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17468 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17469 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17470 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17471
ebaf36eb
JM
174722012-02-19 Joseph Myers <joseph@codesourcery.com>
17473
17474 [BZ #9739]
17475 * manual/string.texi (strnlen): Use correct parameter name in
17476 equivalent expression.
17477
71c254a6
JM
174782012-02-19 Joseph Myers <joseph@codesourcery.com>
17479
17480 [BZ #11174]
17481 * manual/users.texi (seteuid): Consistently use neweuid for
17482 argument name.
17483
16d2c631
JM
174842012-02-19 Joseph Myers <joseph@codesourcery.com>
17485
17486 [BZ #13704]
17487 * manual/nss.texi (Services in the NSS configuration): Correct
17488 list of services in example configuration file.
17489
cd837b09
NB
174902012-02-19 Nick Bowler <nbowler@draconx.ca>
17491
17492 [BZ #11322]
17493 * manual/arith.texi: Remove statements about negative zero
17494 behaving identically to zero.
17495
02c4bbad
JM
174962012-02-18 Joseph Myers <joseph@codesourcery.com>
17497
17498 [BZ #5993]
17499 * manual/install.texi: Do not document upgrading from libc5.
17500
366842e7
JM
175012012-02-18 Joseph Myers <joseph@codesourcery.com>
17502
17503 [BZ #4596]
17504 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17505
dd54084d
DM
175062012-02-18 David S. Miller <davem@davemloft.net>
17507
17508 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17509 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17510 %o7 across the call.
17511 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17512 instead.
17513 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17514 SETUP_PIC_REG_LEAF.
17515 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17516 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17517 * sysdeps/sparc/crtn.S: Likewise.
17518
2bcc53a3
UD
175192012-02-17 Ulrich Drepper <drepper@gmail.com>
17520
17521 * aout/Makefile: Remove.
17522
09c093b5
RK
175232012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17524
17525 [BZ #13058]
17526 * manual/examples/argp-ex1.c (main): Format definition in GNU
17527 style.
17528 * manual/examples/argp-ex2.c (main): Likewise.
17529 * manual/examples/argp-ex3.c (main): Likewise.
17530 * manual/examples/argp-ex4.c (main): Likewise.
17531 * manual/examples/longopt.c (main): Use new-style prototype
17532 definition.
17533 * manual/examples/strncat.c (main): Specify return type and use
17534 (void) for arguments.
17535 * manual/examples/subopt.c (main): Use char **argv argument.
17536
2ee633a2
JM
175372012-02-17 Joseph Myers <joseph@codesourcery.com>
17538
17539 [BZ #5077]
17540 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17541 rounding modes.
17542
0520adde
FB
175432012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17544
17545 [BZ #6907]
17546 * manual/string.texi (strchr): Change when strchrnul is
17547 recommended.
17548
3f4081cd
DGM
175492012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17550
17551 [BZ #174]
17552 * manual/locale.texi (setlocale): Document LOCPATH.
17553
d1b10e78
JM
175542012-02-17 Joseph Myers <joseph@codesourcery.com>
17555
17556 [BZ #10210]
17557 * manual/process.texi (execle): Move @dots{} before last argument.
17558
79c6869c
PB
175592012-02-17 Paul Bolle <pebolle@tiscali.nl>
17560
17561 [BZ #12047]
17562 * manual/charset.texi (Generic Charset Conversion): Fix typo
17563 (LC_TYPE -> LC_CTYPE).
17564
cc6e48bc
NB
175652012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17566
17567 [BZ #5805]
17568 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17569 (scalbnf): Likewise.
17570 (scalbnl): Likewise.
17571 (scalbln): Likewise.
17572 (scalblnf): Likewise.
17573 (scalblnl): Likewise.
17574 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17575 (vwarnx): Likewise.
17576 (verr): Likewise.
17577 (verrx): Likewise.
17578 * manual/filesys.texi (telldir): Use braces around return type.
17579 * manual/llio.texi (mmap): Add space after comma.
17580 (mmap64): Likewise.
17581 * manual/math.texi (jn): Use @var{} on parameter names.
17582 (jnf): Likewise.
17583 (jnl): Likewise.
17584 (yn): Likewise.
17585 (ynf): Likewise.
17586 (ynl): Likewise.
17587 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17588 line.
17589 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17590 "...".
17591 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17592 (sched_get_priority_max): Likewise.
17593 * manual/signal.texi (sigvec): Add space after comma.
17594 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17595 names.
17596 (if_indextoname): Likewise.
17597 (if_freenameindex): Likewise.
17598 (sendto): Use ',' instead of '.' in prototype.
17599 * manual/startup.texi (syscall): Use @dots{} instead of literal
17600 "...".
17601 * manual/stdio.texi (__fpending): Separate initial words of
17602 paragraph from @deftypefun line.
17603 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17604 "...".
17605 (vsyslog): Use @var{} on parameter names.
17606 * manual/terminal.texi (stty): Use @var{} on parameter names.
17607 * manual/users.texi (getutmp): Use @var{} on parameter names.
17608 (getutmpx): Likewise.
17609
5b23062f
JM
176102012-02-17 Joseph Myers <joseph@codesourcery.com>
17611
17612 [BZ #6884]
17613 * manual/stdio.texi (fopen): Fix typos in description of
17614 ",ccs=STRING".
17615
8dee4833
AJ
176162012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17617
17618 [BZ #4026]
17619 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17620 get clock_id definition.
17621
9078ce93
TS
176222012-02-17 Thomas Schwinge <thomas@schwinge.name>
17623
17624 [BZ #4822]
17625 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17626 (madvise): Cast every argument to void on its own.
17627
3835c55f
JM
176282012-02-17 Joseph Myers <joseph@codesourcery.com>
17629
17630 [BZ #9902]
17631 * manual/startup.texi (Exit Status): Fix typo.
17632
35c47e37
JM
176332012-02-17 Joseph Myers <joseph@codesourcery.com>
17634
17635 [BZ #10140]
17636 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17637 * manual/examples/argp-ex2.c: Likewise.
17638 * manual/examples/argp-ex3.c: Likewise.
17639
e3b69ca7
RH
176402012-02-16 Richard Henderson <rth@redhat.com>
17641
17642 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17643 * sysdeps/s390/s390-32/initfini.c: Remove.
17644 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17645 * sysdeps/s390/s390-64/initfini.c: Remove.
17646
df83af67
KK
176472012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17648
17649 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17650 compiler output for sysdeps/generic/initfini.c.
17651 * sysdeps/sh/elf/initfini.c: Remove file.
17652
f63f3380
DM
176532012-02-16 David S. Miller <davem@davemloft.net>
17654
fb59b3a4
DM
17655 [BZ #11494]
17656 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17657
f63f3380
DM
17658 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17659 * sysdeps/sparc/crti.S: New file.
17660 * sysdeps/sparc/crtn.S: New file.
17661 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17662 * sysdeps/sparc/sparc64/Makefile: Likewise.
17663
df6a4a4a
MF
176642012-02-15 Mike Frysinger <vapier@gentoo.org>
17665
6dd8f3dc 17666 [BZ #3335]
df6a4a4a
MF
17667 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17668
1cac7236
RM
176692012-02-15 Roland McGrath <roland@hack.frob.com>
17670
d2c736f8
RM
17671 [BZ #4822]
17672 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17673
1cac7236
RM
17674 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17675 (write, read, close): Likewise.
17676 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17677
8e475601
JM
176782012-02-15 Joseph Myers <joseph@codesourcery.com>
17679
17680 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17681 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17682 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17683 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17684 <bits/signalfd.h>.
17685 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17687 bits/signalfd.h.
17688
ed656b40
MP
176892012-02-14 Marek Polacek <polacek@redhat.com>
17690
17691 * sysdeps/x86_64/crti.S: New file.
17692 * sysdeps/x86_64/crtn.S: New file.
17693 * sysdeps/x86_64/elf/initfini.c: Remove file.
17694
2a979d3a
JM
176952012-02-13 Joseph Myers <joseph@codesourcery.com>
17696
17697 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17698 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17699 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17700 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17701 <bits/inotify.h>.
17702 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17704 bits/inotify.h.
17705
2a418ac3
JM
177062012-02-13 Joseph Myers <joseph@codesourcery.com>
17707
17708 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17709 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17710 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17711 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17712 <bits/eventfd.h>.
17713 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17715 bits/eventfd.h.
17716
fb779be7
TS
177172012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17718
e19e83c5
RM
17719 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17720 __feraiseexcept instead of feraiseexcept.
7c35ffed 17721
fb779be7
TS
17722 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17723 nanosleep invocations.
17724 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17725 strings, and add error checking for a nanosleep invocations.
17726
59ba27a6
PE
177272012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17728
17729 Replace FSF snail mail address with URLs, as per GNU coding standards.
17730 Most of the snail mail addresses were wrong anyway, and omitting
17731 them makes the source code easier to maintain. Almost all of the
17732 changes are to license notices and to locale LC_IDENTIFICATION
17733 addresses, except for this one:
17734 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17735 not its snail mail address.
17736
57b957eb
RH
177372012-02-09 Richard Henderson <rth@twiddle.net>
17738
af850b1c
RH
17739 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17740 of kernel-features.h.
17741
57b957eb
RH
17742 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17743
6b73181a
MP
177442012-02-08 Marek Polacek <polacek@redhat.com>
17745
17746 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17747 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17748 * sysdeps/gnu/_G_config.h: Likewise.
17749 * sysdeps/generic/_G_config.h: Likewise.
17750
26ecc33a
AS
177512012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17752
6c6dbc63
AS
17753 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17754 tests.
17755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17756
e216c012
AS
17757 * sysdeps/powerpc/powerpc32/crti.S: New file.
17758 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17759 * sysdeps/powerpc/powerpc64/crti.S: New file.
17760 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17761
26ecc33a
AS
17762 * Makeconfig (have-initfini): Don't set.
17763 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17764 * configure.in (nopic_initfini): Don't substitute.
17765 * config.h.in (HAVE_INITFINI): Don't #undef.
17766 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17767 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17768
3add8e13
JM
177692012-02-08 Joseph Myers <joseph@codesourcery.com>
17770
17771 Support crti.S and crtn.S provided directly by architectures.
17772 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17773 [crti.S in sysdirs] (omit-deps): Likewise.
17774 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17775 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17776 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17777 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17778 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17779 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17780 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17781 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17782 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17783 compiler output for sysdeps/generic/initfini.c.
17784 * sysdeps/i386/elf/Makefile: Remove file.
17785 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17786
a22f12b4
MP
177872012-02-07 Marek Polacek <polacek@redhat.com>
17788
17789 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17790 * sysdeps/gnu/_G_config.h: Likewise.
17791 * sysdeps/mach/hurd/_G_config.h: Likewise.
17792
148cf100
MP
177932012-02-07 Marek Polacek <polacek@redhat.com>
17794
17795 * math/Makefile (tests): Add tst-CMPLX2.
17796 * math/tst-CMPLX2.c: New file.
17797
cfdc0dd7
AS
177982012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17799
84ba42c4
AS
17800 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17801
cfdc0dd7
AS
17802 * math/libm-test.inc (jn_test): Add missing L suffix.
17803
622c86f4
MP
178042012-02-06 Marek Polacek <polacek@redhat.com>
17805
17806 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17807 * sysdeps/i386/fpu/e_powf.S: Likewise.
17808 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17809 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17810 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17811 * sysdeps/i386/fpu/e_pow.S: Likewise.
17812 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17813 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17814 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17815 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17816 * sysdeps/i386/fpu/e_log2.S: Likewise.
17817 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17818 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17819 * sysdeps/i386/fpu/e_powl.S: Likewise.
17820 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17821 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17822 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17823 * sysdeps/i386/fpu/e_logl.S: Likewise.
17824 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17825 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17826 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17827 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17828 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17829 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17830 * sysdeps/i386/fpu/e_log.S: Likewise.
17831 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17832 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17833 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17834 * sysdeps/i386/fpu/e_logf.S: Likewise.
17835 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17836 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17837 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17838 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17839 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17840 * sysdeps/i386/fpu/e_log10.S: Likewise.
17841 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17842 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17843 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17844 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17845 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17846 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17847 * sysdeps/i386/asm-syntax.h: Likewise.
17848 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17849 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17850 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17851 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17852 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17853 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17854 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17855 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17856 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17857 * sysdeps/powerpc/sysdep.h: Likewise.
17858 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17859 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17860
d4a54ac6
JM
178612012-02-06 Joseph Myers <joseph@codesourcery.com>
17862
17863 [BZ #411]
17864 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17865
314054ea
JM
178662012-02-06 Joseph Myers <joseph@codesourcery.com>
17867
17868 * sysdeps/i386/sysdep.h: Include <features.h>.
17869 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17870 version.
17871
d8e0ca50
JM
178722012-02-05 Joseph Myers <joseph@codesourcery.com>
17873
17874 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17875 Define.
17876 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17877 LOAD_PIC_REG_STR.
17878
b1da7dd9
JM
178792012-02-03 Joseph Myers <joseph@codesourcery.com>
17880
17881 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17882 (SETUP_PIC_REG): Use GET_PC_THUNK.
17883 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17884 macro.
17885
9a1d9254
JM
178862012-02-03 Joseph Myers <joseph@codesourcery.com>
17887
17888 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17889 for non-PIC compilation.
17890 (SETUP_PIC_REG): Add .p2align directive.
17891 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17892 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17893 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17894 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17895 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17896 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17897 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17898 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17899 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17900 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17901 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17902 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17903 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17904 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17905 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17906 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17907 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17908 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17909 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17910 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17911 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17912 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17913 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17914 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17915 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17916 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17917 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17918 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17919 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17920 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17921 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17922 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17923 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17924 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17925 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17926 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17927 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17928 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17929 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17930 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17931 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17932
65dc3b75
JM
179332012-02-03 Joseph Myers <joseph@codesourcery.com>
17934
17935 * math/tst-CMPLX.c: Include <stdio.h>.
17936
d55bf177
JM
179372012-01-31 Joseph Myers <joseph@codesourcery.com>
17938
17939 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17940 float.
17941 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17942 * sysdeps/sparc/bits/mathdef.h: Likewise.
17943
69db4f8f
MP
179442012-01-31 Marek Polacek <polacek@redhat.com>
17945
17946 * libio/libio.h: Don't define _PARAMS.
17947 * locale/programs/config.h: Don't define PARAMS.
17948 * stdlib/strtol_l.c: Likewise.
17949 (__strtol_l): Remove PARAMS from the prototype.
17950
41b81892
UD
179512012-01-31 Ulrich Drepper <drepper@gmail.com>
17952
3b49edc0
UD
17953 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17954 names. Just use the correct names. Remove unnecessary wrapper
17955 functions.
17956 * malloc/arena.c: Likewise.
17957 * malloc/hooks.c: Likewise.
17958
41b81892
UD
17959 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17960 ARENA_TEST says not to. Simplify test for creation of a new arena.
17961 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17962
27a25b6e
UD
179632012-01-30 Ulrich Drepper <drepper@gmail.com>
17964
17965 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17966 into tail calls.
17967 (update_get_addr): New function.
17968 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17969 GET_ADDR_MODULE parameter.
17970
c8a89e7d
JM
179712012-01-30 Joseph Myers <joseph@codesourcery.com>
17972
17973 * crypt/cert.c: Remove __STDC__ conditionals.
17974 * crypt/crypt-entry.c: Likewise.
17975 * crypt/crypt_util.c: Likewise.
17976 * libio/filedoalloc.c: Likewise.
17977 * libio/fileops.c: Likewise.
17978 * libio/genops.c: Likewise.
17979 * libio/iofclose.c: Likewise.
17980 * libio/iofdopen.c: Likewise.
17981 * libio/iofopen.c: Likewise.
17982 * libio/iofopen64.c: Likewise.
17983 * libio/iogetdelim.c: Likewise.
17984 * libio/iopopen.c: Likewise.
17985 * libio/obprintf.c: Likewise.
17986 * libio/oldfileops.c: Likewise.
17987 * libio/oldiofclose.c: Likewise.
17988 * libio/oldiofdopen.c: Likewise.
17989 * libio/oldiofopen.c: Likewise.
17990 * libio/oldiopopen.c: Likewise.
17991 * libio/wfiledoalloc.c: Likewise.
17992 * libio/wgenops.c: Likewise.
17993 * locale/programs/xmalloc.c: Likewise.
17994 * misc/syslog.c: Likewise.
17995 * stdio-common/xbug.c: Likewise.
17996 * string/memchr.c: Likewise.
17997 * string/memcmp.c: Likewise.
17998 * string/memrchr.c: Likewise.
17999 * string/rawmemchr.c: Likewise.
18000 * sysdeps/posix/getcwd.c: Likewise.
18001 * time/strftime_l.c: Likewise.
18002
3b100462
JM
180032012-01-30 Joseph Myers <joseph@codesourcery.com>
18004
18005 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
18006 * config.make.in (config-cflags-sse2avx): Define.
18007 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
18008 Fix typo.
18009
607998af
CM
180102012-01-29 Chris Metcalf <cmetcalf@tilera.com>
18011
18012 * scripts/config.guess: Update from upstream config git repository.
18013 * scripts/config.sub: Likewise.
18014
3601428f
CM
180152012-01-28 Chris Metcalf <cmetcalf@tilera.com>
18016
3ac8b282
CM
18017 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
18018 (EM_NUM): Update.
18019 (R_TILEPRO_*, R_TILEGX_*): New macros.
18020
e034841e
CM
18021 * scripts/firstversions.awk: Fix bug in version range handling.
18022
540d7568
CM
18023 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
18024
3601428f
CM
18025 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
18026
463de862
CM
18027 * include/sys/epoll.h: New file.
18028 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
18029 libc_hidden_def.
18030
73139a76
UD
180312012-01-28 Ulrich Drepper <drepper@gmail.com>
18032
96bc5b45
UD
18033 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
18034 Avoid unnecessary __WORDSIZE == 64 test.
18035 (fmaxf): Use VEX format if possible.
18036 (fmax): Likewise.
18037 (fminf): Likewise.
18038 (fmin): Likewise.
18039
56f6f6a2
UD
18040 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18041 * math/math_private.h: Remove libc_fegetround* and
18042 libc_fesetround*.
18043 * sysdeps/i386/configure.in: Check for -msse2avx.
18044 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18045 also if SSE2AVX is defined.
18046 Remove libc_fegetround* and libc_fesetround*.
18047 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18048 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18049 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18050 of HAS_YMM_USABLE.
18051 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18052 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18053 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18054 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18055 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18056
73139a76
UD
18057 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18058
d73f93a4
AZ
180592012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18060
18061 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18062 size is not set.
18063 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18064
6ee65ed6
UD
180652012-01-27 Ulrich Drepper <drepper@gmail.com>
18066
18067 [BZ #13618]
18068 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18069 relocation.
18070 * Makeconfig (libm): Define.
18071 * elf/Makefile: Add rules to build and run tst-relsort1.
18072 * elf/tst-relsort1.c: New file.
18073 * elf/tst-relsort1mod1.c: New file.
18074 * elf/tst-relsort1mod2.c: New file.
18075
8db21882
JM
180762012-01-27 Joseph Myers <joseph@codesourcery.com>
18077
18078 * math/s_ldexp.c: Remove __STDC__ conditionals.
18079 * math/s_ldexpf.c: Likewise.
18080 * math/s_ldexpl.c: Likewise.
18081 * math/s_nextafter.c: Likewise.
18082 * math/s_nexttowardf.c: Likewise.
18083 * math/s_significand.c: Likewise.
18084 * math/s_significandf.c: Likewise.
18085 * math/s_significandl.c: Likewise.
18086 * math/w_jnl.c: Likewise.
18087 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18088 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18089 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18090 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18091 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18092 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18093 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18094 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18096 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18097 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18098 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18099 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18100 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18101 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18102 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18103 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18104 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18105 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18106 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18107 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18108 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18109 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18110 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18111 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18112 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18113 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18114 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18115 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18116 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18117 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18118 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18119 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18120 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18121 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18122 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18123 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18124 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18125 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18126 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18127 * sysdeps/ieee754/k_standard.c: Likewise.
18128 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18129 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18130 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18131 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18132 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18133 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18134 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18135 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18136 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18156 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18157 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18158 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18159 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18160 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18161 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18162 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18163 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18164 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18166 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18186 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18189 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18190 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18192 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18193 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18194 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18195 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18198 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18199 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18202 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18203 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18205 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18206 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18207 * sysdeps/ieee754/s_matherr.c: Likewise.
18208 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18209 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18210 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18211 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18212
965a54a4
JM
182132012-01-26 Joseph Myers <joseph@codesourcery.com>
18214
18215 * crypt/md5.h: Remove __STDC__ conditionals.
18216 * libio/libioP.h: Likewise.
18217 * locale/programs/config.h: Likewise.
18218 * sysdeps/generic/sysdep.h: Likewise.
18219 * sysdeps/i386/asm-syntax.h: Likewise.
18220 * sysdeps/s390/asm-syntax.h: Likewise.
18221 * sysdeps/unix/sysdep.h: Likewise.
18222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18224
7071ad79
JM
182252012-01-26 Joseph Myers <joseph@codesourcery.com>
18226
18227 * libio/libio.h: Remove __STDC__ conditionals.
18228 * malloc/obstack.h: Likewise.
18229 * math/complex.h: Likewise.
18230 * math/math.h: Likewise.
18231 * sysdeps/generic/_G_config.h: Likewise.
18232 * sysdeps/gnu/_G_config.h: Likewise.
18233 * sysdeps/mach/hurd/_G_config.h: Likewise.
18234 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18235 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18236 * sysdeps/sparc/bits/mathdef.h: Likewise.
18237
afc5ed09
UD
182382012-01-26 Ulrich Drepper <drepper@gmail.com>
18239
18240 [BZ #13583]
18241 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 18242 Clean up HAS_* macros.
afc5ed09 18243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
18244 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18245 possible.
18246 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18247 HAS_AVX.
18248 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18249 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18250 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18251 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18252 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 18253
bdb6de1d
JM
182542012-01-25 Joseph Myers <joseph@codesourcery.com>
18255
18256 * elf/tst-unique3.cc (gets): Remove declaration.
18257 * elf/tst-unique3lib.cc (gets): Likewise.
18258 * elf/tst-unique3lib2.cc (gets): Likewise.
18259 * elf/tst-unique4.cc (gets): Likewise.
18260
b15549e6
UD
182612012-01-24 Ulrich Drepper <drepper@gmail.com>
18262
18263 * include/stdio.h: Add C++ protection. Add gets declarations and
18264 definitions.
18265 * debug/tst-chk1.c: Don't declare gets here.
18266 * stdio-common/tst-gets.c: Likewise.
18267
a037381f
JM
182682012-01-24 Joseph Myers <joseph@codesourcery.com>
18269
18270 * posix/glob: Remove directory.
18271
f1d4aa75
JM
182722012-01-24 Joseph Myers <joseph@codesourcery.com>
18273
18274 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18275
81c0c964
PT
182762012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18277
18278 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18279 of the non-standard EPFNOSUPPORT.
18280
0ea698ae
ST
182812011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18282
18283 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18284 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18285 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18286
d220b117
UD
182872012-01-21 Ulrich Drepper <drepper@gmail.com>
18288
18289 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18290
3e1aa84e
UD
182912012-01-20 Ulrich Drepper <drepper@gmail.com>
18292
18293 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18294 transient errors.
18295 * nscd/grpcache.c (cache_addgr): Likewise.
18296 * nscd/hstcache.c (cache_addhst): Likewise.
18297 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18298 * nscd/pwdcache.c (cache_addpw): Likewise.
18299 * nscd/servicescache.c (cache_addserv): Likewise.
18300
400aa020
UD
183012012-01-16 Ulrich Drepper <drepper@gmail.com>
18302
d77e7869
UD
18303 * malloc/malloc.c: Various cleanups.
18304 * malloc/hooks.c: Likewise.
18305
400aa020
UD
18306 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18307 * stdlib/bug-fmtmsg1.c: New file.
18308
18309 * stdlib/fmtmsg.c (init): Add missing unlock.
18310 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18311
e0a309cf
MP
183122012-01-12 Marek Polacek <polacek@redhat.com>
18313
18314 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18315 and _GNU_SOURCE.
18316
929d11c7
WS
183172012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18318
18319 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18320 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18321 macro to ensure uniqueness of label name.
18322 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18323 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18324
41d0e869
UD
183252012-01-11 Ulrich Drepper <drepper@gmail.com>
18326
0cc5ed3b
UD
18327 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18328
41d0e869
UD
18329 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18330 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18331 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18332 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18333
a47a831a
UD
183342012-01-10 Ulrich Drepper <drepper@gmail.com>
18335
daa891c0
UD
18336 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18337
18338 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18339 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18340 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18341
e58ef0f2
UD
18342 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18343
a47a831a 18344 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
18345 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18346 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 18347 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
18348
18349 * math/bits/math-finite.h: Add ldexp support.
18350
a0bfc9c7
MP
183512012-01-10 Marek Polacek <polacek@redhat.com>
18352
18353 * locale/programs/localedef.h (show_archive_content): Add noreturn
18354 attribute.
18355
d6e97a1d
UD
183562012-01-09 Ulrich Drepper <drepper@gmail.com>
18357
18358 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18359
d5835c26
UD
183602012-01-08 Ulrich Drepper <drepper@gmail.com>
18361
e5f484c6
UD
18362 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18363
d5835c26
UD
18364 * io/Makefile (headers): Add bits/poll2.h.
18365
d1f741e9
WS
183662011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18367
18368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18369 typo #include statement.
18370
ec09c1c4
UD
183712012-01-08 Ulrich Drepper <drepper@gmail.com>
18372
18373 * include/sys/cdefs.h: Define __attribute_alloc_size.
18374 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18375 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18376 * elf/pldd.c: Likewise.
18377 * iconv/iconv_charmap.c: Likewise.
18378 * iconv/iconvconfig.c: Likewise.
18379 * iconv/strtab.c: Likewise.
18380 * locale/programs/locale.c: Likewise.
18381 * locale/programs/localedef.h: Likewise.
18382 * locale/programs/simple-hash.c: Likewise.
18383 * nscd/nscd.h: Likewise.
18384 * nss/makedb.c: Likewise.
18385 * sysdeps/generic/ldconfig.h: Likewise.
18386 * locale/programs/localedef.c: Remove xmalloc prototype.
18387 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18388
20b38e03
PP
183892012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18390
18391 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18392 appropriate.
18393
a0da5fe1
UD
183942012-01-08 Ulrich Drepper <drepper@gmail.com>
18395
1d5a644a 18396 * math/Makefile (tests): Add tst-CMPLX.
669704fd 18397 * math/tst-CMPLX.c: New file.
1d5a644a 18398
8784a6db
UD
18399 * math/complex.h (CMPLXL): Fix typo.
18400
d9a216c0
UD
18401 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18402 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18403 GLIBC_2.16.
18404 * debug/tst-chk1.c: Add poll and ppoll tests.
18405 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18406 * include/sys/poll.h: Add hidden proto for ppoll.
18407 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18408 * sysdeps/mach/hurd/ppoll.c: Likewise.
18409 * io/ppoll.c: Likewise.
18410 * debug/poll_chk.c: New file.
18411 * debug/ppoll_chk.c: New file.
18412 * include/bits/poll2.h: New file.
18413 * io/bits/poll2.h: New file.
18414
ac097f5c
UD
18415 [BZ #1350]
18416 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18417
2119dcfa
UD
18418 * configure.in: static is always set to yes. Remove.
18419 * config.make.in: Don't set build-static.
18420 * Makeconfig: Remove use of build-static.
18421 * dlfcn/Makefile: Likewise.
18422 * elf/Makefile: Likewise.
18423 * math/Makefile: Likewise.
18424 * misc/Makefile: Likewise.
18425 * nptl/Makefile: Likewise.
18426 * sysdeps/mach/hurd/Makefile: Likewise.
18427
121766a9
UD
18428 * configure.in: PWD_P is not used anymore.
18429 * config.make.in: Remove PWD_P entry.
18430
51a1d39c 18431 * configure.in: Remove last remnants of RANLIB.
8720d066 18432 No need to check for signed size_t anymore.
215f4bdc
UD
18433 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18434 and IA-64.
3857022a 18435 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
18436 * aclocal.m4: Likewise.
18437
d3ed7225
UD
18438 * wcsmbs/mbrtoc16.c: Implement using towc function.
18439 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
18440 * wcsmbs/wcsmbsload.c: Likewise.
18441 * iconv/gconv_simple.c: Likewise.
18442 * iconv/gconv_int.h: Likewise.
18443 * iconv/gconv_builtin.h: Likewise.
18444 * iconv/iconv_prog.c: Remove CHAR16 handling.
18445
18446 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
18447
18448 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18449
a0da5fe1
UD
18450 * configure.in: Remove --with-elf and --enable-bounded options.
18451 Dont set base_machine for ia64. More non-ELF conditions removed.
18452 Remove testing and setting of leading underscore information.
18453 * config.make.in (build-bounded): Set to no.
18454 * config.h.in: Remove NO_UNDERSCORES entry.
18455 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18456 them.
18457 * csu/start.c: Remove !NO_UNDERSCORE code.
18458 * locale/localeinfo.h: Likewise.
18459 * sysdeps/generic/machine-gmon.h: Likewise.
18460 * sysdeps/generic/sysdep.h: Likewise.
18461 * sysdeps/i386/sysdep.h: Likewise.
18462 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18463 * sysdeps/mach/sysdep.h: Likewise.
18464 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18465 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18466 * sysdeps/sh/sysdep.h: Likewise.
18467 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18468 * sysdeps/unix/i386/sysdep.S: Likewise.
18469 * sysdeps/unix/sparc/start.c: Likewise.
18470 * sysdeps/unix/sparc/sysdep.S: Likewise.
18471 * sysdeps/unix/sparc/sysdep.h: Likewise.
18472 * sysdeps/unix/start.c: Likewise.
18473 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18474 * sysdeps/x86_64/sysdep.h: Likewise.
18475
df78418a
UD
184762012-01-07 Ulrich Drepper <drepper@gmail.com>
18477
a784e502
UD
18478 [BZ #13553]
18479 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18480 for non-gcc.
18481 * argp/argp-fmtstream.h: Use const instead __const.
18482 * argp/argp.h: Likewise.
18483 * assert/assert.h: Likewise.
18484 * bits/fenv.h: Likewise.
18485 * bits/sched.h: Likewise.
18486 * bits/sigset.h: Likewise.
18487 * bits/sigthread.h: Likewise.
18488 * catgets/nl_types.h: Likewise.
18489 * conform/data/pthread.h-data: Likewise.
18490 * crypt/crypt-private.h: Likewise.
18491 * crypt/crypt.h: Likewise.
18492 * crypt/crypt_util.c: Likewise.
18493 * ctype/ctype.h: Likewise.
18494 * debug/execinfo.h: Likewise.
18495 * debug/mbsnrtowcs_chk.c: Likewise.
18496 * debug/mbsrtowcs_chk.c: Likewise.
18497 * debug/wcsnrtombs_chk.c: Likewise.
18498 * debug/wcsrtombs_chk.c: Likewise.
18499 * debug/wcstombs_chk.c: Likewise.
18500 * dirent/dirent.h: Likewise.
18501 * dlfcn/dlfcn.h: Likewise.
18502 * elf/neededtest4.c: Likewise.
18503 * grp/grp.h: Likewise.
18504 * gshadow/gshadow.h: Likewise.
18505 * iconv/gconv.h: Likewise.
18506 * iconv/gconv_int.h: Likewise.
18507 * iconv/gconv_simple.c: Likewise.
18508 * iconv/iconv.h: Likewise.
18509 * iconv/loop.c: Likewise.
18510 * iconv/skeleton.c: Likewise.
18511 * include/aio.h: Likewise.
18512 * include/aliases.h: Likewise.
18513 * include/argz.h: Likewise.
18514 * include/arpa/inet.h: Likewise.
18515 * include/assert.h: Likewise.
18516 * include/dirent.h: Likewise.
18517 * include/dlfcn.h: Likewise.
18518 * include/execinfo.h: Likewise.
18519 * include/fcntl.h: Likewise.
18520 * include/fenv.h: Likewise.
18521 * include/glob.h: Likewise.
18522 * include/grp.h: Likewise.
18523 * include/libintl.h: Likewise.
18524 * include/mntent.h: Likewise.
18525 * include/netdb.h: Likewise.
18526 * include/pwd.h: Likewise.
18527 * include/rpc/netdb.h: Likewise.
18528 * include/sched.h: Likewise.
18529 * include/search.h: Likewise.
18530 * include/shadow.h: Likewise.
18531 * include/signal.h: Likewise.
18532 * include/stdio.h: Likewise.
18533 * include/stdlib.h: Likewise.
18534 * include/string.h: Likewise.
18535 * include/sys/socket.h: Likewise.
18536 * include/sys/stat.h: Likewise.
18537 * include/sys/statfs.h: Likewise.
18538 * include/sys/statvfs.h: Likewise.
18539 * include/sys/syslog.h: Likewise.
18540 * include/sys/time.h: Likewise.
18541 * include/sys/uio.h: Likewise.
18542 * include/time.h: Likewise.
18543 * include/unistd.h: Likewise.
18544 * include/utmp.h: Likewise.
18545 * include/wchar.h: Likewise.
18546 * include/wctype.h: Likewise.
18547 * inet/aliases.h: Likewise.
18548 * inet/arpa/inet.h: Likewise.
18549 * inet/netinet/ether.h: Likewise.
18550 * inet/netinet/in.h: Likewise.
18551 * intl/libintl.h: Likewise.
18552 * io/bits/fcntl2.h: Likewise.
18553 * io/fcntl.h: Likewise.
18554 * io/ftw.h: Likewise.
18555 * io/sys/poll.h: Likewise.
18556 * io/sys/stat.h: Likewise.
18557 * io/sys/statfs.h: Likewise.
18558 * io/sys/statvfs.h: Likewise.
18559 * io/utime.h: Likewise.
18560 * libio/bits/stdio.h: Likewise.
18561 * libio/bits/stdio2.h: Likewise.
18562 * libio/libio.h: Likewise.
18563 * libio/libioP.h: Likewise.
18564 * libio/stdio.h: Likewise.
18565 * locale/lc-ctype.c: Likewise.
18566 * locale/locale.h: Likewise.
18567 * login/utmp.h: Likewise.
18568 * malloc/arena.c: Likewise.
18569 * malloc/malloc.c: Likewise.
18570 * malloc/malloc.h: Likewise.
18571 * malloc/mcheck.c: Likewise.
18572 * malloc/mtrace.c: Likewise.
18573 * math/bits/mathcalls.h: Likewise.
18574 * math/fenv.h: Likewise.
18575 * math/math_private.h: Likewise.
18576 * misc/bits/error.h: Likewise.
18577 * misc/bits/syslog.h: Likewise.
18578 * misc/err.h: Likewise.
18579 * misc/error.h: Likewise.
18580 * misc/fstab.h: Likewise.
18581 * misc/mntent.h: Likewise.
18582 * misc/regexp.h: Likewise.
18583 * misc/search.h: Likewise.
18584 * misc/sgtty.h: Likewise.
18585 * misc/sys/mman.h: Likewise.
18586 * misc/sys/syslog.h: Likewise.
18587 * misc/sys/uio.h: Likewise.
18588 * misc/sys/xattr.h: Likewise.
18589 * misc/ttyent.h: Likewise.
18590 * nis/rpcsvc/ypclnt.h: Likewise.
18591 * nss/nss.h: Likewise.
18592 * posix/bits/unistd.h: Likewise.
18593 * posix/fnmatch.h: Likewise.
18594 * posix/glob.h: Likewise.
18595 * posix/sched.h: Likewise.
18596 * posix/spawn.h: Likewise.
18597 * posix/sys/wait.h: Likewise.
18598 * posix/unistd.h: Likewise.
18599 * posix/wordexp.h: Likewise.
18600 * pwd/pwd.h: Likewise.
18601 * resolv/netdb.h: Likewise.
18602 * resource/sys/resource.h: Likewise.
18603 * rt/aio.h: Likewise.
18604 * rt/bits/mqueue2.h: Likewise.
18605 * rt/mqueue.h: Likewise.
18606 * shadow/shadow.h: Likewise.
18607 * signal/signal.h: Likewise.
18608 * socket/send.c: Likewise.
18609 * socket/sendto.c: Likewise.
18610 * socket/sys/socket.h: Likewise.
18611 * stdio-common/printf.h: Likewise.
18612 * stdlib/bits/stdlib.h: Likewise.
18613 * stdlib/fmtmsg.h: Likewise.
18614 * stdlib/monetary.h: Likewise.
18615 * stdlib/stdlib.h: Likewise.
18616 * stdlib/ucontext.h: Likewise.
18617 * streams/stropts.h: Likewise.
18618 * string/argz.h: Likewise.
18619 * string/bits/string2.h: Likewise.
18620 * string/string.h: Likewise.
18621 * string/strings.h: Likewise.
18622 * sunrpc/rpc/auth.h: Likewise.
18623 * sunrpc/rpc/auth_des.h: Likewise.
18624 * sunrpc/rpc/clnt.h: Likewise.
18625 * sunrpc/rpc/netdb.h: Likewise.
18626 * sunrpc/rpc/pmap_clnt.h: Likewise.
18627 * sunrpc/rpc/xdr.h: Likewise.
18628 * sysdeps/generic/inttypes.h: Likewise.
18629 * sysdeps/generic/net/if.h: Likewise.
18630 * sysdeps/generic/sys/swap.h: Likewise.
18631 * sysdeps/gnu/net/if.h: Likewise.
18632 * sysdeps/gnu/utmpx.h: Likewise.
18633 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18634 * sysdeps/i386/i486/bits/string.h: Likewise.
18635 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18636 * sysdeps/s390/bits/string.h: Likewise.
18637 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18638 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18639 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18640 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18641 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18642 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18643 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18644 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18645 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18646 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18647 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18648 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18649 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18650 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18651 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18652 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18653 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18654 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18655 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18656 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18657 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18658 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18659 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18660 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18661 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18662 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18663 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18664 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18665 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18666 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18667 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18668 * sysvipc/sys/ipc.h: Likewise.
18669 * sysvipc/sys/msg.h: Likewise.
18670 * sysvipc/sys/sem.h: Likewise.
18671 * sysvipc/sys/shm.h: Likewise.
18672 * termios/termios.h: Likewise.
18673 * time/sys/time.h: Likewise.
18674 * time/time.h: Likewise.
18675 * wcsmbs/bits/wchar2.h: Likewise.
18676 * wcsmbs/uchar.h: Likewise.
18677 * wcsmbs/wchar.h: Likewise.
18678 * wctype/wctype.h: Likewise.
18679
0269750c
UD
18680 [BZ #13551]
18681 * Makeconfig: Remove all but ELF support including AIX support.
18682 * Makerules: Likewise.
18683 * config.h.in: Likewise.
18684 * config.make.in: Likewise.
18685 * configure: Likewise.
18686 * configure.in: Likewise.
18687 * csu/Makefile: Likewise.
18688 * csu/version.c: Likewise.
18689 * debug/Makefile: Likewise.
18690 * dlfcn/Makefile: Likewise.
18691 * elf/Makefile: Likewise.
18692 * extra-lib.mk: Likewise.
18693 * iconv/Makefile: Likewise.
18694 * include/libc-symbols.h: Likewise.
18695 * include/shlib-compat.h: Likewise.
18696 * resolv/Makefile: Likewise.
18697 * resolv/res_libc.c: Likewise.
18698 * rt/Makefile: Likewise.
18699 * sysdeps/i386/asm-syntax.h: Likewise.
18700 * sysdeps/i386/sysdep.h: Likewise.
18701 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18702 * sysdeps/mach/sysdep.h: Likewise.
18703 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18704 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18705 * sysdeps/s390/asm-syntax.h: Likewise.
18706 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18707 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18708 * sysdeps/sh/sysdep.h: Likewise.
18709 * sysdeps/unix/sparc/sysdep.h: Likewise.
18710 * sysdeps/wordsize-32/divdi3.c: Likewise.
18711 * sysdeps/x86_64/sysdep.h: Likewise.
18712
00bbd29b
UD
18713 * argp/Versions: Remove _argp_unlock_xxx.
18714
18715 [BZ #13559]
18716 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18717 * abilist/libBrokenLocale.abilist: Likewise.
18718 * abilist/libanl.abilist: Likewise.
18719 * abilist/libc.abilist: Likewise.
18720 * abilist/libcrypt.abilist: Likewise.
18721 * abilist/libdl.abilist: Likewise.
18722 * abilist/libm.abilist: Likewise.
18723 * abilist/libnsl.abilist: Likewise.
18724 * abilist/libpthread.abilist: Likewise.
18725 * abilist/libresolv.abilist: Likewise.
18726 * abilist/librt.abilist: Likewise.
18727 * abilist/libthread_db.abilist: Likewise.
18728 * abilist/libutil.abilist: Likewise.
18729 * abilist/libnss_db.abilist: New file.
18730
18731 * scripts/abilist.awk: Add support for indirect functions.
18732
a2693a0e
UD
18733 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18734
3f05895f
UD
18735 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18736
ecb6fb48
UD
18737 * shlib-versions: Remove entries for ports architectures.
18738
664f8cb9
UD
18739 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18740 files in ports.
18741 * elf/stackguard-macros.h: Remove support for IA-64.
18742 * elf/tst-auditmod1.c: Likewise.
18743 * sysdeps/generic/ldsodefs.h: Likewise.
18744
7ae81d88
UD
18745 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18746 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18747 configure files.
18748
bdeba135
UD
18749 [BZ #13552]
18750 * configure.in: Remove --enable-omitfp support.
18751 * FAQ.in: Adjust.
18752 * config.make.in: Likewise.
18753 * Makeconfig: Likewise.
18754 * manual/install.texi: Likewise.
18755
d75a0a62
UD
18756 In case anyone cares, the IA-64 architecture could move to ports.
18757 * sysdeps/ia64/*: Removed.
18758 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 18759 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 18760
dcc9756b
UD
18761 [BZ #13555]
18762 * configure.in: Remove entries for unsupported architectures.
18763
d3761ebc 18764 [BZ #13533]
9954432e
UD
18765 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18766 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18767 routines.
18768 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18769 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18770 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18771 fall back to using wcrtomb.
18772 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18773 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18774 renaming.
18775 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18776 * wcsmbs/tst-c16c32-1.c: New file.
18777
18778 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18779 local variable.
18780
c3a87236
UD
18781 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18782
28926a1b
UD
18783 * elf/tst-unique3.cc: Add explicit declaration of gets.
18784 * elf/tst-unique3lib.cc: Likewise.
18785 * elf/tst-unique3lib2.cc: Likewise.
18786 * elf/tst-unique4.cc: Likewise.
18787
df78418a
UD
18788 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18789
8ecd6b2a
JM
187902012-01-06 Joseph Myers <joseph@codesourcery.com>
18791
18792 [BZ #13566]
18793 * assert/assert.h (static_assert): Don't define for C++.
18794 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18795 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18796
9f115170
UD
187972012-01-03 Ulrich Drepper <drepper@gmail.com>
18798
5e0d0300
UD
18799 * iconv/loop.c (single loop): Fix assertion in storing of
18800 remaining bytes.
18801
9f115170
UD
18802 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18803
81fb02b0
UD
188042012-01-01 Ulrich Drepper <drepper@gmail.com>
18805
18806 * posix/getconf.c: Update copyright year.
18807 * nss/getent.c: Likewise.
a316c1f6 18808 * nss/makedb.c: Likewise.
81fb02b0
UD
18809 * iconv/iconvconfig.c: Likewise.
18810 * iconv/iconv_prog.c: Likewise.
18811 * elf/ldconfig.c: Likewise.
a316c1f6
UD
18812 * elf/pldd.c: Likewise.
18813 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
18814 * catgets/gencat.c: Likewise.
18815 * csu/version.c: Likewise.
18816 * elf/ldd.bash.in: Likewise.
18817 * elf/sprof.c (print_version): Likewise.
18818 * locale/programs/locale.c: Likewise.
18819 * locale/programs/localedef.c: Likewise.
a316c1f6 18820 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
18821 * nscd/nscd.c (print_version): Likewise.
18822 * debug/xtrace.sh: Likewise.
18823 * malloc/memusage.sh: Likewise.
18824 * malloc/mtrace.pl: Likewise.
18825 * debug/catchsegv.sh: Likewise.
18826
2ba92745
JJ
188272011-12-30 Jakub Jelinek <jakub@redhat.com>
18828
18829 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18830 pure attribute.
18831
dadebdae
UD
188322011-12-24 Ulrich Drepper <drepper@gmail.com>
18833
d3761ebc 18834 [BZ #13533]
db6af3eb
UD
18835 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18836 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18837 transformations.
18838 * iconv/gconv_int.h: Likewise.
18839 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18840 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18841 from libc for GLIBC_2.16.
18842 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18843 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18844 * wcsmbs/uchar.h: Really define mbstate_t.
18845 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18846 * wcsmbs/c16rtomb.c: New file.
18847 * wcsmbs/mbrtoc16.c: New file.
18848 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18849 for C/POSIX locale.
18850 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18851 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18852
dadebdae
UD
18853 * wcsmbs/wchar.h: Add missing __restrict.
18854
67371b56
UD
188552011-12-23 Ulrich Drepper <drepper@gmail.com>
18856
74033a25
UD
18857 [BZ #13532]
18858 * time/Makefile (routines): Add timespec_get.
18859 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18860 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18861 timespec for ISO C11.
18862 * time/timespec_get.c: New file.
18863 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18864 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18865
380d7e87
UD
18866 [BZ #13531]
18867 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18868 * stdlib/stdlib.h: Declare aligned_alloc.
18869 * Versions.def: Add GLIBC_2.16 for libc.
18870 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18871
4e9e7a35
UD
18872 [BZ 13527]
18873 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18874 ISO C11.
18875
380d7e87 18876 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
18877 code.
18878
03a71829
UD
18879 [BZ #13528]
18880 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18881
839e283e
UD
18882 [BZ #13529]
18883 * assert/assert.h (static_assert): Define.
18884
ce5294e2 18885 * version.h: Update for 2.16 development version.
90fa7312 18886
8d44e150 18887 [BZ #13526]
d7809905
UD
18888 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18889 _ISOC11_SOURCE.
18890
c0da14cd
UD
18891 * version.h (RELEASE): Bump for 2.15 release.
18892 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18893
530a3249
MP
18894 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18895 Patch by Marek Polacek <mpolacek@redhat.com>.
18896
67371b56
UD
18897 * bits/byteswap.h: Protect long long constants with __extension__.
18898 * sysdeps/i386/bits/byteswap.h: Likewise.
18899 * sysdeps/ia64/bits/byteswap.h: Likewise.
18900 * sysdeps/s390/bits/byteswap.h: Likewise.
18901 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18902
15db4de1
LD
189032011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18904
18905 [BZ #13540]
bbe315ea
LD
18906 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18907 destination buffer.
15db4de1
LD
18908 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18909
2b2596b1
MP
189102011-12-23 Marek Polacek <polacek@redhat.com>
18911
18912 * elf/dl-addr.c (determine_info): Add inline keyword.
18913 * elf/tst-auditmod4b.c (check_avx): Likewise.
18914 * elf/tst-auditmod6b.c (check_avx): Likewise.
18915 * elf/tst-auditmod6c.c (check_avx): Likewise.
18916 * elf/tst-auditmod7b.c (check_avx): Likewise.
18917
70c6c246
UD
189182011-12-23 Ulrich Drepper <drepper@gmail.com>
18919
18920 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18921 !__SSE_MATH__.
18922
c044cf14
LD
189232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18924
15db4de1 18925 [BZ #13540]
c044cf14
LD
18926 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18927 processing for last bytes.
18928
6b13d9d9
BH
189292011-08-06 Bruno Haible <bruno@clisp.org>
18930
d455f537
BH
18931 [BZ #13061]
18932 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18933 U+0385, not to U+1FEE.
18934
6b13d9d9
BH
18935 [BZ #13062]
18936 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18937 entry for U+00A5 U+0301.
18938
db910efd
UD
189392011-12-22 Ulrich Drepper <drepper@gmail.com>
18940
27deeafc
UD
18941 [BZ #13166]
18942 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18943 buffer for the output is too small.
18944
aed9d171
UD
18945 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18946 optimization.
18947
db910efd
UD
18948 [BZ #13185]
18949 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18950 SSE flags if possible.
18951
2bd779ae
LD
189522011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18953
e7f9dac3 18954 [BZ #13540]
2bd779ae
LD
18955 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18956 processing for last bytes.
18957
154bfc16
JM
189582011-12-22 Joseph Myers <joseph@codesourcery.com>
18959
18960 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18961 (syscall-list-default-options, syscall-list-default-condition)
18962 (syscall-list-includes): Define.
18963 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18964 list of ABIs and options and #if conditions for each ABI. Do not
18965 handle common syscalls between ABIs specially.
18966 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18967 Remove.
18968 (syscall-list-variants, syscall-list-32bit-options)
18969 (syscall-list-32bit-condition, syscall-list-64bit-options)
18970 (syscall-list-64bit-condition): Define.
18971 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18972 (syscall-list-variants, syscall-list-32bit-options)
18973 (syscall-list-32bit-condition, syscall-list-64bit-options)
18974 (syscall-list-64bit-condition): Define.
18975 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18976 Remove.
18977 (syscall-list-variants, syscall-list-32bit-options)
18978 (syscall-list-32bit-condition, syscall-list-64bit-options)
18979 (syscall-list-64bit-condition): Define.
18980 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18981 Remove.
18982 (syscall-list-variants, syscall-list-32bit-options)
18983 (syscall-list-32bit-condition, syscall-list-64bit-options)
18984 (syscall-list-64bit-condition): Define.
18985
21eaf3a5
UD
189862011-12-22 Ulrich Drepper <drepper@gmail.com>
18987
16c6f992
UD
18988 * locale/iso-639.def: Add brx entry.
18989
41043168
UD
18990 [BZ #13328]
18991 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18992 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18993
21eaf3a5
UD
18994 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18995 __feraiseexcept_renamed.
18996
e3a851a2
UD
189972011-12-21 Ulrich Drepper <drepper@gmail.com>
18998
4920765e
UD
18999 [BZ #13538]
19000 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
19001 EPOLLET with unsigned values.
19002 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19003 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19004
e3a851a2
UD
19005 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
19006 to large cancellation.
19007 * math/s_cacoshf.c: Likewise.
19008 * math/s_cacoshl.c: Likewise.
19009
b27e24b8
RK
190102011-11-18 Richard B. Kreckel <kreckel@ginac.de>
19011
19012 [BZ #13305]
aebefeee 19013 [BZ #12786]
b27e24b8
RK
19014 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
19015 * math/s_cacoshf.c: Likewise.
19016 * math/s_cacoshl.c: Likewise.
19017
ee190f67
UD
190182011-12-21 Ulrich Drepper <drepper@gmail.com>
19019
19020 [BZ #13439]
19021 * iconv/gconv.h: Define __GCONV_SWAP.
19022 * iconvdata/unicode.c: The swap bit must be stored in __flags.
19023 * iconvdata/utf-16.c: Likewise.
19024 * iconvdata/utf-32.c: Likewise.
19025
707f25df
AS
190262011-12-21 Andreas Schwab <schwab@linux-m68k.org>
19027
19028 [BZ #13524]
19029 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
19030 numerator after shifting it by one limb.
19031
d2daaa1e
RÁE
190322011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
19033
19034 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19035 under [__USE_EXTERN_INLINES].
19036
a4647e72
UD
190372011-12-17 Ulrich Drepper <drepper@gmail.com>
19038
19039 [BZ #13446]
19040 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19041
f0b264f1
AZ
190422011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19043
19044 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19045 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19046 optimized code.
19047 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19048 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19049 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19050 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19051 for strncasecmp/strncasecmp_l compilation.
19052 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19053 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19054
8ef4f244
MP
190552011-12-08 Marek Polacek <mpolacek@redhat.com>
19056
19057 [BZ #13484]
19058 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19059 of __asm__.
19060
97ac2654
UD
190612011-12-17 Ulrich Drepper <drepper@gmail.com>
19062
19063 [BZ #13506]
19064 * time/tzfile.c (__tzfile_read): Check values from file header.
19065
91d2a845
WS
190662011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19067
19068 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19069 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19070 * powerpc/powerpc32/dl-start.S: Likewise.
19071 * powerpc/powerpc32/elf/start.S: Likewise.
19072 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19073 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19074 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19075 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19076 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19077 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19078 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19079 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19080 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19081 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19082 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19083 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19084 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19085 * powerpc/powerpc32/memset.S: Likewise.
19086 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19087 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19088 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19089 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19090 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19091 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19092 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19093 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19094 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19095 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19096 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19097 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19098 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19099
a1267ba1
AZ
191002011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19101
19102 * math/libm-test.inc: Added more nearbyint tests.
19103 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19104 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19105 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19106 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19107
ad8ac1bd
RL
191082011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19109
19110 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19111 FD_CLOEXEC.
19112
1d3e4b61
UD
191132011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19114
19115 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19116 Add wcscpy-ssse3 wcscpy-c.
19117 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19118 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19119 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19120 * sysdeps/x86_64/wcschr.S: New file.
19121 * sysdeps/x86_64/wcsrchr.S: New file.
19122 * string/test-strcmp.c: Remove checking of wcscmp function for
19123 wrong alignments.
19124 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19125 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19126 wcsrchr-sse2 wcsrchr-c.
19127 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19128 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19129 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19130 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19131 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19132 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19133 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19134 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19135 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19136 * wcsmbc/wcschr.c (WCSCHR): New macro.
19137
5b330a2d
UD
191382011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19139
19140 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19141 * wcsmbs/test-wcsrchr.c: New file.
19142 * string/test-strrchr.c: Add wcsrchr support.
19143 (WIDE): New macro.
19144 * wcsmbs/test-wcscpy.c: New file.
19145 * string/test-strcpy.c: Add wcscpy support.
19146 (WIDE): New macro.
26428b7c 19147
f039c043
UD
191482011-12-10 Ulrich Drepper <drepper@gmail.com>
19149
19150 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19151 the inner loop.
19152
850fb039
AS
191532011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19154
19155 [BZ #13472]
19156 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19157
4efbd5cb
UD
191582011-12-04 Ulrich Drepper <drepper@gmail.com>
19159
52ff5dd0 19160 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 19161 Minor optimizations.
52ff5dd0 19162
4efbd5cb
UD
19163 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19164 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19165 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19166
8a426e12
UD
191672011-12-03 Ulrich Drepper <drepper@gmail.com>
19168
aff2453d
UD
19169 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19170 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19171 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19172 for gcc to avoid warnings.
19173 * inet/Makefile (tests): Add tst-checks.
19174 * inet/tst-checks.c: New file.
19175
19176 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19177 warning.
19178
19179 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19180 __wmemcmp_sse2.
19181
19182 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19183 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19184
8a426e12
UD
19185 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19186
9bea3473
UD
191872011-12-02 Ulrich Drepper <drepper@gmail.com>
19188
3a965496
UD
19189 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19190 problem.
19191
9bea3473
UD
19192 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19193
f101631b
UD
191942011-11-29 Joseph Myers <joseph@codesourcery.com>
19195
19196 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19197 conditional on GCC version.
19198 (__arch_compare_and_exchange_val_8_acq)
19199 (__arch_compare_and_exchange_val_16_acq)
19200 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19201 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19202 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19203
a98275aa
UD
192042011-12-02 Joseph Myers <joseph@codesourcery.com>
19205
19206 * sysdeps/sh/backtrace.c: New file.
19207
d4cc29a2
AS
192082011-12-02 Andreas Schwab <schwab@redhat.com>
19209
19210 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19211 parenthesis.
19212
6257af2d
AS
192132011-12-01 Andreas Schwab <schwab@redhat.com>
19214
19215 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19216 falling back to utime.
19217
b5f44c1a
AS
192182011-11-30 Andreas Schwab <schwab@redhat.com>
19219
19220 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19221 expectations for float.
19222
f3a6cc0a
AS
192232011-11-29 Andreas Schwab <schwab@redhat.com>
19224
19225 * locale/weight.h (findidx): Add parameter len.
19226 * locale/weightwc.h (findidx): Likewise.
19227 * posix/fnmatch_loop.c (FCT): Adjust caller.
19228 * posix/regcomp.c (build_equiv_class): Likewise.
19229 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19230 * posix/regexec.c (check_node_accept_bytes): Likewise.
19231 * string/strcoll_l.c (STRCOLL): Likewise.
19232 * string/strxfrm_l.c (STRXFRM): Likewise.
19233
9d65ea3a
UD
192342011-11-17 Ulrich Drepper <drepper@gmail.com>
19235
19236 * Makefile.in: Remove CVSOPT handling.
19237 * configure.in: Remove use of AC_REVISION.
19238 * iconvdata/Makefile (distribute): No need to filter out CVS.
19239 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19240 handling.
19241
5583a086
AS
192422011-11-16 Andreas Schwab <schwab@redhat.com>
19243
19244 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19245 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19246 [USE_AS_STRNCASECMP_L]: Likewise.
19247 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19248 NO_TLS_DIRECT_SEG_REFS.
19249 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19250 Fix argument offsets for non-PIC.
19251 [USE_AS_STRNCASECMP_L]: Likewise.
19252 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19253 NO_TLS_DIRECT_SEG_REFS.
19254
d62a8200
UD
192552011-11-15 Ulrich Drepper <drepper@gmail.com>
19256
9d65ea3a 19257 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
19258 O_CLOEXEC.
19259 * locale/loadlocale.c (_nl_load_locale): Likewise.
19260
09f93bd3
AS
192612011-11-15 Andreas Schwab <schwab@redhat.com>
19262
446514f9
AS
19263 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19264 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19265 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19266 (SYSCALL_GETTIME): Set errno on error.
19267
09f93bd3
AS
19268 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19269 count references to noai6ai_cached.
19270
312be3f9
UD
192712011-11-15 Ulrich Drepper <drepper@gmail.com>
19272
19273 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19274
19275 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19276 FD_CLOEXEC for /proc/self/maps.
19277
19278 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19279 FD_CLOEXEC for /proc/meminfo.
19280
19281 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19282 gai.conf.
19283
19284 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19285 FD_CLOEXEC for given file.
19286
19287 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19288
19289 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19290 FD_CLOEXEC for /etc/hosts.
19291 (_gethtent): Likewise.
19292
19293 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19294
19295 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19296 cancellation and set FD_CLOEXEC for /etc/netgroup.
19297
19298 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19299 reading /etc/publickey.
19300
19301 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19302 allow cancellation when reading /etc/group.
19303
19304 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19305 cancellation.
19306 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19307
19308 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19309 when using data file.
19310
19311 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19312
19313 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19314 (write_nis_obj): Use "c" and "e" in fopen.
19315
19316 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19317
19318 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19319
19320 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19321
19322 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19323
19324 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19325 locale.alias.
19326
19327 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19328
19329 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19330
19331 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19332
19333 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19334 file parsing and set FD_CLOEXEC.
19335
82af0fa8
UD
193362011-11-14 Ulrich Drepper <drepper@gmail.com>
19337
19338 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19339
a5fb313c
AS
193402011-11-14 Andreas Schwab <schwab@redhat.com>
19341
19342 * malloc/arena.c (arena_get2): Don't call reused_arena when
19343 _int_new_arena failed.
19344
6abf3465
UD
193452011-11-14 Ulrich Drepper <drepper@gmail.com>
19346
19347 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19348 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19349 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19350 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19351 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19352 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19353 to compile strcasecmp and strncasecmp.
19354 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19355 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19356
19357 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19358
76e3966e
UD
193592011-11-13 Ulrich Drepper <drepper@gmail.com>
19360
19361 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19362 locale-defines.sym to gen-as-const-headers.
19363 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19364 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19365 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19366 to compile strcasecmp and strncasecmp.
19367 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19368 strcasecmp_l and strncasecmp_l.
19369 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19370 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19371 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19372 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19373 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19374 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19375 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19376 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19377 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19378 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19379 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19380
ab26144e
UD
193812011-11-12 Ulrich Drepper <drepper@gmail.com>
19382
7edb22ef
UD
19383 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19384 result of SYSDEP_GETTIME_CPU to retval.
19385 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19386 parameter list to macro. Remove trailing semicolon. Adjust users.
19387
9694fc44
UD
19388 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19389 variable.
19390
8ad89ef8
UD
19391 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19392 mantissa words.
19393 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19394
0c822ef9
UD
19395 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19396 from unused variable.
19397
874e0564
UD
19398 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19399 DWARF definitions.
19400 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19401 for assembling.
19402
3a2edc79
UD
19403 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19404 over namespaces.
19405
f3c2577f
UD
19406 * sunrpc/rpc_prot.c (rejected): Fix case value.
19407
294ce126
UD
19408 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19409 unsigned long long int to avoid warnings in shift.
19410
5e2b63c6
UD
19411 * posix/regex_internal.c (re_string_reconstruct): Actually use result
19412 of use of trans.
19413 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19414 variable tmp.
19415
e7f4b08e
UD
19416 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19417 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19418 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19419
ab26144e
UD
19420 * nis/nis_table.c (nis_list): Use variable of correct type for
19421 result of __follow_path call.
19422
8a6d5255
AZ
194232011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19424
19425 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
19426 of math functions ceil, trunc, floor, round, and sqrt, when
19427 avaliable on the platform.
19428 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19429 name clash.
19430 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19431 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19432 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19433
aaddc98c
MP
194342011-10-30 Marek Polacek <mpolacek@redhat.com>
19435
19436 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19437 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19438
95b7042b
RM
194392011-11-11 Roland McGrath <roland@hack.frob.com>
19440
19441 * include/unistd.h: Fix __readlink return type.
19442 Reported by Chris Metcalf <cmetcalf@tilera.com>.
19443
57769839
UD
194442011-11-11 Ulrich Drepper <drepper@gmail.com>
19445
19446 * stdlib/ucontext.h: Undo last change for makecontext.
19447
edc5984d
AS
194482011-11-11 Andreas Schwab <schwab@redhat.com>
19449
98591e58
AS
19450 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19451
edc5984d
AS
19452 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19453 * setjmp/setjmp.h: Mark functions as non-leaf.
19454 * setjmp/bits/setjmp2.h: Likewise.
19455 * stdlib/ucontext.h: Likewise.
19456
77cdc054
AS
194572011-11-10 Andreas Schwab <schwab@redhat.com>
19458
19459 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19460 (reused_arena): Don't check arena limit.
19461 (arena_get2): Atomically check arena limit.
19462
fe72eebd
UD
194632011-11-08 Ulrich Drepper <drepper@gmail.com>
19464
5f078c32
UD
19465 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19466 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19467
fe72eebd
UD
19468 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19469 instructions.
19470
ae1bc2fa
AS
194712011-11-07 Andreas Schwab <schwab@redhat.com>
19472
7583a88d
AS
19473 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19474 handler when locking.
19475
ae1bc2fa
AS
19476 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19477 Fix size of allocated buffer.
19478
10fb0bfa
AS
194792011-11-04 Andreas Schwab <schwab@redhat.com>
19480
998832a4
AS
19481 [BZ #10103]
19482 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19483 declarations for long double functions.
19484 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19485
10fb0bfa
AS
19486 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19487
3d7ba52b
AS
194882011-11-03 Andreas Schwab <schwab@redhat.com>
19489
a9ae54a1
AS
19490 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19491 installed.
19492
3d7ba52b
AS
19493 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19494 is disabled.
19495
bc8db248
ST
194962011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19497
19498 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19499
45b96dd6
AS
195002011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19501
647776f6
AS
19502 * include/alloca.h (stackinfo_alloca_round): Define.
19503 (extend_alloca): Use it.
19504 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19505 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19506 here.
19507
d91a8b93
AS
19508 * scripts/check-local-headers.sh: Ignore libaudit.h.
19509
45b96dd6
AS
19510 * nscd/Makefile (extra-objs): Make recursively expanded.
19511
432d41ce
UD
195122011-11-01 Ulrich Drepper <drepper@gmail.com>
19513
34372fc6
UD
19514 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19515 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19516
fadb59f8
UD
19517 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19518 * posix/tst-rfc3484-2.c: Likewise.
19519 * posix/tst-rfc3484-3.c: Likewise.
19520
78239589
UD
19521 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19522 process_vm_writev.
19523 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19524 process_vm_writev.
19525 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19526 process_vm_writev from libc using GLIBC_2.15 version.
19527
432d41ce
UD
19528 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19529
02f9c6cf
PP
195302011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19531
19532 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19533 stack usage.
19534
3a2c0242
UD
195352011-10-31 Ulrich Drepper <drepper@gmail.com>
19536
f4ec4833
UD
19537 [BZ #13367]
19538 * nss/getent.c (initgroups_keys): Show error message in case no group
19539 names are given.
19540
3a2c0242
UD
19541 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19542 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19543 __bump_nl_timestamp.
19544 * nscd/connections (nscd_init): When host database is served open
19545 netlink socket and request notification about configuration changes.
19546 (main_loop_poll): Track netlink file descriptor and bump timestamp
19547 in case data becomes available.
19548 (main_loop_epoll): Likewise.
19549 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19550 (database_pers_head): Add extra_data fileds.
19551 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19552 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19553 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19554 Adjust caller.
19555 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19556 in6ai data, call __free_in6ai.
19557 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19558 Add -DHAVE_NETLINK.
19559 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19560 interface information. Reuse previous data if netlink timestamp
19561 is not changed.
19562 (__bump_nl_timestamp): New function.
19563 (__free_in6ai): New function.
19564
636064eb
UD
195652011-10-30 Ulrich Drepper <drepper@gmail.com>
19566
19567 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19568 close_not_cancel_no_status here.
19569 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19570
9beb2334
UD
195712011-10-29 Ulrich Drepper <drepper@gmail.com>
19572
6ef76f3b
UD
19573 [BZ #13276]
19574 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19575 return value.
19576
0ffc4f3e 19577 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
19578 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19579 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19580
cb95113e
UD
195812011-07-03 Andreas Jaeger <aj@suse.de>
19582
19583 [BZ #10709]
19584 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19585 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19586 * math/libm-test.inc (sin_test): Add test case.
19587
a1b560ff
UD
195882011-10-29 Ulrich Drepper <drepper@gmail.com>
19589
c9aaface
UD
19590 [BZ #13337]
19591 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19592 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19593
d272e7f1
UD
19594 * elf/chroot_canon.c (chroot_canon): Cleanups.
19595
1bc33071
UD
19596 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19597
1760874d
TJ
19598 [BZ #13335]
19599 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19600 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19601
51d91b18
UD
19602 * string/test-strchr.c: Make usable for strchrnul testing.
19603 * string/test-strchrnul.c: New file.
19604 * string/Makefile (strop-tests): Add strchrnul.
19605
a1b560ff 19606 * po/it.po: Update from translation team.
b611fb81 19607 * po/es.po: Likewise.
a1b560ff 19608
a5b81e1f
UD
196092011-10-28 Ulrich Drepper <drepper@gmail.com>
19610
fd52bc6d
UD
19611 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19612 the three constants needed as parameters. Drop the others.
19613 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19614 __m128i_strloadu_tolower.
52e4b9eb
UD
19615 Create and initialize variable zero and use it in all the places
19616 where _mm_setzero_si128 was used.
fd52bc6d 19617
a5b81e1f
UD
19618 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19619 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19620 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19621 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19622 anymore.
19623 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19624 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19625 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19626 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19627 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19628 __mpranred, __mptan.
19629 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19630 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19631 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19632 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19633 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19634 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19635 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19636 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19637 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19638
b4343346
AS
196392011-10-28 Andreas Schwab <schwab@redhat.com>
19640
0c92d8a8
AS
19641 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19642 redefine if SHARED.
19643 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19644
b4343346
AS
19645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19646 wide char related routines to wcsmbs subdir.
19647
3871f58f
AS
196482011-10-27 Andreas Schwab <schwab@redhat.com>
19649
19650 [BZ #13344]
19651 * misc/sys/cdefs.h (__THROWNL): Define.
19652 * posix/unistd.h: Use __THREADNL instead of __THREAD
19653 for memory synchronization functions.
19654
94d44d9f
RM
196552011-10-26 Roland McGrath <roland@hack.frob.com>
19656
21b64b15 19657 [BZ #13349]
94d44d9f
RM
19658 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19659 doesn't exist.
19660 * manual/stdio.texi (Obstack Streams): Node removed.
19661
f6ce9294
AS
196622011-10-26 Andreas Schwab <schwab@redhat.com>
19663
80479147
AS
19664 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19665 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19666 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19667
f6ce9294
AS
19668 * math/math_private.h (math_force_eval): Allow non-addressable
19669 arguments.
19670 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19671
618280a1
UD
196722011-10-25 Ulrich Drepper <drepper@gmail.com>
19673
e0016b11
UD
19674 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19675 file is not needed.
19676
19677 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19678 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19679 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19680 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19681 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19682 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19683 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19684 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19685 Add AVX variants.
19686 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19687 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19688 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19689 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19690 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19691 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19692 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19693 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19694 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19695 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19696 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19697 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19698 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19699 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19700 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19701 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19702 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19703 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19704 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19705
19706 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19707 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19708
618280a1
UD
19709 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19710 place. Use VEX encoding when compiling for AVX.
19711
37822576
AS
197122011-10-25 Andreas Schwab <schwab@redhat.com>
19713
1f1e1947
AS
19714 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19715 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19716
37822576
AS
19717 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19718
31ea014d
UD
197192011-10-25 Ulrich Drepper <drepper@gmail.com>
19720
d7826aa1 19721 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 19722 useless if() expression.
d7826aa1
UD
19723 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19724 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19725 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19726 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19727 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19728 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19729 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19730 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19731 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19732 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19733 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19734 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19735 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19736 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19737 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19738 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19739 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19740 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19741 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19742
31ea014d
UD
19743 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19744
16437fec
AS
197452011-10-25 Andreas Schwab <schwab@redhat.com>
19746
19747 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19748 condition.
19749 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19750
31d3cc00
UD
197512011-10-25 Ulrich Drepper <drepper@gmail.com>
19752
19753 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19754 .text section. Avoid duplicate constants.
19755 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19756 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19757 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19758 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19759 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19760 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19761 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19762 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19763 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19764 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19765 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19766 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19767 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19768 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19769 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19770 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19771 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19772 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19773 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19774 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19775 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19776 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19777 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19778 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19779 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19780 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19781 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19782 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19783 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19784 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19785 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19786 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19787 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19788 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19789 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19790 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19791 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19792 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19793 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19794 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19795 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19796 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19797 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19798 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19799 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19800
58985aa9
UD
198012011-10-24 Ulrich Drepper <drepper@gmail.com>
19802
202c9deb
UD
19803 * sysdeps/x86_64/dla.h: Move to ...
19804 * sysdeps/x86_64/fpu/dla.h: ...here.
19805 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19806 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 19807
af968f62
UD
19808 * config.make.in: Add have-mfma4 entry.
19809 * configure.in: Substitute libc_cv_cc_fma4.
19810 * math/Makefile (dbl-only-routines): Add sincostab.
19811 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19812 Use __sincostab not sincos.
19813 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19814 name is a macro.
19815 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19816 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19817 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19818 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19819 using __copysign.
19820 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19821 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19822 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19823 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19824 and __inv.
19825 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19826 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19827 __copysign.
19828 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19829 define aliases when function name is a macro.
19830 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19831 sysdeps/ieee754/dbl-64/sincos.tbl.
19832 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19833 fma4-enabled routines.
19834 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19835 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19836 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19837 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19838 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19839 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19840 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19841 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19842 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19843 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19844 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19845 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19846 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19847 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19848 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19849 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19850 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19851 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19852 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19853 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19854 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19855 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19856 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19857 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19858 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19859 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19860 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19861 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19862 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19863 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19864
58985aa9
UD
19865 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19866 rename.
19867 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19868 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19869 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19870 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19872 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19873 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19874 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19875
a201fbcf
AS
198762011-10-24 Andreas Schwab <schwab@redhat.com>
19877
19878 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19879
fc2ee42a
LD
198802011-10-23 Ulrich Drepper <drepper@gmail.com>
19881
bb3129bd
UD
19882 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19883
0275fff8
UD
19884 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19885 prediction.
19886 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19887
2fa2ae85
UD
19888 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19889 Remove unused variable magic_bits.
19890 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19891
fc2ee42a
LD
19892 * string/strnlen.c: Define and use STRNLEN macro.
19893 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19894 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19895 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19896 * wcsmbs/wcslen.c: Define and use WCSLEN.
19897 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19898 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19899 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19900 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19901 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19902 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19903 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19904
ce7dd29f
LD
199052011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19906
19907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19908 strnlen-sse2-no-bsf.
19909 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19910 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19911 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19912 Add strnlen support.
19913 (USE_AS_STRNLEN): New macro.
19914 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19915 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19916 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19917 * sysdeps/x86_64/wcslen.S: New file.
19918
979c70a3
MZ
199192011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19920
19921 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19922 XMM-moves are used for copying on small sizes.
19923
2d09f82f
LD
199242011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19925
19926 * wcsmbs/Makefile (strop-tests): Add wcschr.
19927 * wcsmbs/test-wcschr.c: New file.
19928 * string/test-strchr.c: Update.
19929 Add wcschr support.
19930 (WIDE): New macro.
19931
619fccca
LD
199322011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19933
2d09f82f 19934 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
19935 * wcsmbs/test-wcslen.c: New file.
19936 * string/test-strlen.c: Update.
19937 Add wcslen support.
19938 (WIDE): New macro.
19939
09f699ea
UD
199402011-10-23 Ulrich Drepper <drepper@gmail.com>
19941
19942 * po/it.po: Update from translation team.
19943
95584d3b
LD
199442011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19945
19946 * sysdeps/x86_64/wcscmp.S: Update.
19947 Fix wrong comparison semantics.
19948 wcscmp shall use signed comparison not unsigned.
19949 Don't use substraction to avoid overflow bug.
19950 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19951 * wcsmbc/wcscmp.c: Likewise.
19952 * string/test-strcmp.c: Likewise.
19953 Add new tests to check cases with negative values.
19954
c8b3296b
UD
199552011-10-23 Ulrich Drepper <drepper@gmail.com>
19956
19957 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19958 * sysdeps/x86_64/dla.h: ...here. New file.
19959 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19960 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19961 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19962 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19963 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19964 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19965 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19966 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19967 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19968
246ad57a
AS
199692011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19970
19971 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19972 __ynl_finite aliases.
19973
a1a87169
UD
199742011-10-22 Ulrich Drepper <drepper@gmail.com>
19975
0d355eb7
UD
19976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19977
a1a87169
UD
19978 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19979 define DLA_FMA.
19980 [DLA_FMA] (EMULV): Use DLA_FMA.
19981 [DLA_FMA] (MUL12): Use EMULV.
19982 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19983 that are not needed.
19984 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19985 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19987 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19989 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19990 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19991
ee2aafe0
AS
199922011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19993
19994 * math/s_nan.c: Undef __nan.
19995 * math/s_nanf.c: Undef __nanf.
19996 * math/s_nanl.c: Undef __nanl.
19997 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19998 "math_private.h".
19999
bc62c2fb
UD
200002011-10-22 Ulrich Drepper <drepper@gmail.com>
20001
77425c63
UD
20002 * math/s_catan.c: Add branch predictions.
20003 * math/s_catanf.c: Likewise.
20004 * math/s_catanh.c: Likewise.
20005 * math/s_catanhf.c: Likewise.
20006 * math/s_catanhl.c: Likewise.
20007 * math/s_catanl.c: Likewise.
20008 * math/s_cexp.c: Likewise.
20009 * math/s_cexpf.c: Likewise.
20010 * math/s_cexpl.c: Likewise.
20011 * math/s_clog.c: Likewise.
20012 * math/s_clog10.c: Likewise.
20013 * math/s_clog10f.c: Likewise.
20014 * math/s_clog10l.c: Likewise.
20015 * math/s_clogf.c: Likewise.
20016 * math/s_clogl.c: Likewise.
20017 * math/s_csqrt.c: Likewise.
20018 * math/s_csqrtf.c: Likewise.
20019 * math/s_csqrtl.c: Likewise.
20020 * math/s_ctanf.c: Likewise.
20021 * math/s_ctanh.c: Likewise.
20022 * math/s_ctanhf.c: Likewise.
20023 * math/s_ctanhl.c: Likewise.
20024 * math/s_ctanl.c: Likewise.
20025
bc62c2fb
UD
20026 * math/math_private.h: Define __nan, __nanf, __nanl.
20027 * math/s_cacosh.c: Include <math_private.h>.
20028 * math/s_cacoshl.c: Likewise.
20029 * math/s_casinh.c: Likewise.
20030 * math/s_casinhf.c: Likewise.
20031 * math/s_casinhl.c: Likewise.
20032 * math/s_ccos.c: Rely entire on ccosh.
20033 * math/s_ccosf.c: Rely entire on ccoshf.
20034 * math/s_ccosl.c: Rely entirely on ccoshl.
20035 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20036 Remove tests for FE_INVALID.
20037 * math/s_ccoshf.c: Likewise.
20038 * math/s_ccoshl.c: Likewise.
20039 * math/s_csin.c: Likewise.
20040 * math/s_csinf.c: Likewise.
20041 * math/s_csinh.c Likewise.
20042 * math/s_csinhf.c: Likewise.
20043 * math/s_csinhl.c: Likewise.
20044 * math/s_csinl.c: Likewise.
20045 * math/s_ctan.c: Likewise.
20046 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20047 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20048 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20049
8ec250a4
UD
200502011-10-21 Ulrich Drepper <drepper@gmail.com>
20051
c196fed8
UD
20052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20053 compilation problems.
20054
8ec250a4
UD
20055 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20056 __builtin_expect.
20057
8d4f46c6
UD
200582011-10-20 Ulrich Drepper <drepper@gmail.com>
20059
ed72b654
UD
20060 * sysdeps/i386/configure.in: Test for -mfma4 option.
20061 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20062 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20063 COMMON_CPUID_INDEX_80000001.
20064 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20065 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20066 use it if FMA3 is not supported.
20067 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20068
8d4f46c6
UD
20069 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20070 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20071
d45c60c2
AS
200722011-10-20 Andreas Schwab <schwab@redhat.com>
20073
20074 [BZ #12892]
20075 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20076 it would create a cycle with a link time dependency.
20077
d9a4d2ab
UD
200782011-10-19 Ulrich Drepper <drepper@gmail.com>
20079
855d1560
UD
20080 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20081 instruction.
20082 * string/Makefile (strop-tests): Add rawmemchr.
20083 * string/test-rawmemchr.c: New file.
20084
d9a4d2ab
UD
20085 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20086 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20087 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20088 when compiling str{,n}casecmp and when AVX is available. Hook up
20089 new optimized code in initializers.
20090
8f3b1ffe
AS
200912011-10-19 Andreas Schwab <schwab@redhat.com>
20092
20093 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20094 __feraiseexcept instead of feraiseexcept.
20095
d38f1dba
UD
200962011-10-18 Ulrich Drepper <drepper@gmail.com>
20097
d9a8d0ab
UD
20098 * math/math_private.h: Define defaults for libc_fetestexcept and
20099 libc_feupdateenv.
20100 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20101 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20102 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20103 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20104 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20105 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20106 libc_fetestexcept and libc_feupdateenv.
20107
4855e3dd
UD
20108 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20109 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20110 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20111 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20112 libc_feholdexcept_setround.
20113
581d30e3
UD
20114 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20115 Add s_nearbyint-c and s_nearbyintf-c.
20116 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20117 nearbyintf inlines.
20118 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20119 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20120 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20121 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20122
d38f1dba
UD
20123 * math/math_private.h: Define defaults for libc_fegetround,
20124 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20125 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20126 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20127 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20128 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20129 standard functions.
20130 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20131 Remove comments and hacks for old compiler versions.
20132 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20133 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20134 libc_feholdexceptl.
20135
caa6c9d8
AS
201362011-10-18 Andreas Schwab <schwab@redhat.com>
20137
20138 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
20139 (__feraiseexcept_renamed): Add __NTH.
20140 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
20141 namespace violations.
20142
97c066e6
UD
201432011-10-17 Ulrich Drepper <drepper@gmail.com>
20144
99ce7b04
UD
20145 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20146
1004d182
UD
20147 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20148
228a984d
UD
20149 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20150 recently added interfaces.
20151 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20152
c8553a6a
UD
20153 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20154 about macro parameter expansion.
20155
ed22dcf6
UD
20156 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20157 __NO_MATH_INLINES is defined. Cleanups.
20158
20159 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20160 and __floorf is target has SSE4.1.
20161 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20162 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20163 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20164 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20165
b171c137
UD
20166 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20167 name.
20168 (floorf): Likewise.
20169
97c066e6
UD
20170 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20171
629f62ef
AS
201722011-10-17 Andreas Schwab <schwab@redhat.com>
20173
49a43d80
AS
20174 * misc/sys/cdefs.h: Fix last change.
20175
629f62ef
AS
20176 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20177 database lookup.
20178
e453f6cd
UD
201792011-10-16 Ulrich Drepper <drepper@gmail.com>
20180
aa78043a
UD
20181 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20182
ad0f5cad
UD
20183 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20184 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20185 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20186 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20187 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20188 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20189 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20190 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20191 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20192 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20193 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20194 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20195 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20196 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20197 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20198 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20199 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20200 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20201 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20202 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20203 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20204 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20205
20206 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20207 ceil, ceilf, floor, floorf.
20208
20209 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20210 Perform IRELATIVE relocations last.
20211
e453f6cd
UD
20212 * elf/do-rel.h: Add another parameter nrelative, replacing the
20213 local variable with the same name. Change name of the function
20214 to end in Rel or Rela (uppercase).
20215 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20216 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20217 elf_dynamic_do_##reloc function.
20218
fd5bdc09
UD
202192011-10-15 Ulrich Drepper <drepper@gmail.com>
20220
79b195b5
UD
20221 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20222 is sufficient, at least on modern CPUs.
20223
d4a28569
UD
20224 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20225
b61099b5
UD
20226 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20227 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20228
bcf01e6d
UD
20229 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20230 __expl_finite.
20231 * math/bits/math-finite.h: Add entries for exp.
20232 * math/e_expl.c: Add __*_finite alias.
20233 * sysdeps/i386/fpu/e_exp.S: Likewise.
20234 * sysdeps/i386/fpu/e_expf.S: Likewise.
20235 * sysdeps/i386/fpu/e_expl.c: Likewise.
20236 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20237 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20238 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20239 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20240 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20241 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20242 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20243
ba1a0d59
UD
20244 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20245 is sufficient, at least on modern CPUs.
20246
fd5bdc09
UD
20247 * ctype/ctype-info.c (__ctype_init): Define.
20248 * include/ctype.h (__ctype_init): Declare.
20249 (__ctype_b_loc): The variable is always initialized.
20250 (__ctype_toupper_loc): Likewise.
20251 (__ctype_tolower_loc): Likewise.
20252 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20253 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20254
7872cfb0
AS
202552011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20256
b468825a
AS
20257 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20258
7872cfb0
AS
20259 * configure.in: Also look in $cxxmachine/include for C++ system
20260 headers.
20261
be13f7bf
LD
202622011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20263
20264 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20265 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20266 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20267 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20268 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20269 (USE_AS_WMEMCMP): New macro.
20270 Fixing indents.
20271 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20272 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20273 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20274 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20275 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20276 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20277 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20278 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20279 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20280 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20281 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20282 (USE_AS_WMEMCMP): New macro.
20283 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20284 * sysdeps/string/test-memcmp.c: Update.
20285 Fix simple_wmemcmp.
20286 Add new tests.
20287 * wcsmbs/wmemcmp.c: Update.
20288 (WMEMCMP): New macro.
20289 Fix overflow bug.
20290
556a2007
AJ
202912011-10-12 Andreas Jaeger <aj@suse.de>
20292
20293 [BZ #13268]
20294 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20295
538faaa7
UD
202962011-10-15 Ulrich Drepper <drepper@gmail.com>
20297
ab6737ff
UD
20298 * libio/iofwide.c (do_length): Avoid warning.
20299
538faaa7
UD
20300 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20301
396a21b1
UD
203022011-10-14 Ulrich Drepper <drepper@gmail.com>
20303
cdf2901f
UD
20304 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20305
38ad40ce
UD
20306 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20307 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20308 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20309 * sysdeps/i386/i686/fpu/e_log.S: New file.
20310 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20311 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20312
396a21b1
UD
20313 * ctype/ctype.h: Add support for inlined isXXX functions when
20314 compiling C++ code.
20315
6b1f68c9
AS
203162011-10-14 Andreas Schwab <schwab@redhat.com>
20317
349290c0
AS
20318 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20319
6b1f68c9
AS
20320 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20321
f2282d42
RM
203222011-10-13 Roland McGrath <roland@hack.frob.com>
20323
20324 [BZ #13291]
20325 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20326
5298ffa8
AS
203272011-10-13 Andreas Schwab <schwab@redhat.com>
20328
714fad23
AS
20329 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20330 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20331 feraiseexcept.
20332
81dcc7fb
AS
20333 * sysdeps/x86_64/memrchr.S: Check for zero size.
20334
5298ffa8
AS
20335 * string/stratcliff.c: Add memrchr tests.
20336
951fbcec
LD
203372011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20338
20339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20340 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20341 rawmemchr-sse2 rawmemchr-sse2-bsf.
20342 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20343 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20344 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20345 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20346 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20347 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20348 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20349 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20350 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20351 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20352 * string/memrchr.c (MEMRCHR): New macro.
20353
0ac5ae23
UD
203542011-10-12 Ulrich Drepper <drepper@gmail.com>
20355
20356 Add integration with gcc's -ffinite-math-only and optimize wrapper
20357 functions in libm.
20358 * Versions.def: Define GLIBC_2.15 version for libm.
20359 * math/Makefile (headers): Add bits/math-finite.h.
20360 * math/bits/math-finite.h: New file.
20361 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20362 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20363 * math/e_acoshl.c: Add __*_finite alias.
20364 * math/e_acosl.c: Likewise.
20365 * math/e_asinl.c: Likewise.
20366 * math/e_atan2l.c: Likewise.
20367 * math/e_atanhl.c: Likewise.
20368 * math/e_coshl.c: Likewise.
20369 * math/e_exp10.c: Likewise.
20370 * math/e_exp10f.c: Likewise.
20371 * math/e_exp10l.c: Likewise.
20372 * math/e_exp2l.c: Likewise.
20373 * math/e_fmodl.c: Likewise.
20374 * math/e_gammal_r.c: Likewise.
20375 * math/e_hypotl.c: Likewise.
20376 * math/e_j0l.c: Likewise.
20377 * math/e_j1l.c: Likewise.
20378 * math/e_jnl.c: Likewise.
20379 * math/e_lgammal_r.c: Likewise.
20380 * math/e_log10l.c: Likewise.
20381 * math/e_log2l.c: Likewise.
20382 * math/e_logl.c: Likewise.
20383 * math/e_powl.c: Likewise.
20384 * math/e_sinhl.c: Likewise.
20385 * math/e_sqrtl.c: Likewise.
20386 * math/e_scalb.c: Completely rewritten and optimized.
20387 * math/e_scalbf.c: Likewise.
20388 * math/e_scalbl.c: Likewise.
20389 * math/w_acos.c: Likewise.
20390 * math/w_acosf.c: Likewise.
20391 * math/w_acosl.c: Likewise.
20392 * math/w_acosh.c: Likewise.
20393 * math/w_acoshf.c: Likewise.
20394 * math/w_acoshl.c: Likewise.
20395 * math/w_asin.c: Likewise.
20396 * math/w_asinf.c: Likewise.
20397 * math/w_asinl.c: Likewise.
20398 * math/w_atan2.c: Likewise.
20399 * math/w_atan2f.c: Likewise.
20400 * math/w_atan2l.c: Likewise.
20401 * math/w_atanh.c: Likewise.
20402 * math/w_atanhf.c: Likewise.
20403 * math/w_atanhl.c: Likewise.
20404 * math/w_exp10.c: Likewise.
20405 * math/w_exp10f.c: Likewise.
20406 * math/w_exp10l.c: Likewise.
20407 * math/w_fmod.c: Likewise.
20408 * math/w_fmodf.c: Likewise.
20409 * math/w_fmodl.c: Likewise.
20410 * math/w_j0.c: Likewise.
20411 * math/w_j0f.c: Likewise.
20412 * math/w_j0l.c: Likewise.
20413 * math/w_j1.c: Likewise.
20414 * math/w_j1f.c: Likewise.
20415 * math/w_j1l.c: Likewise.
20416 * math/w_jn.c: Likewise.
20417 * math/w_jnf.c: Likewise.
20418 * math/w_log.c: Likewise.
20419 * math/w_logf.c: Likewise.
20420 * math/w_logl.c: Likewise.
20421 * math/w_log10.c: Likewise.
20422 * math/w_log10f.c: Likewise.
20423 * math/w_log10l.c: Likewise.
20424 * math/w_log2.c: Likewise.
20425 * math/w_log2f.c: Likewise.
20426 * math/w_log2l.c: Likewise.
20427 * math/w_pow.c: Likewise.
20428 * math/w_powf.c: Likewise.
20429 * math/w_powl.c: Likewise.
20430 * math/w_remainder.c: Likewise.
20431 * math/w_remainderf.c: Likewise.
20432 * math/w_remainderl.c: Likewise.
20433 * math/w_scalb.c: Likewise.
20434 * math/w_scalbf.c: Likewise.
20435 * math/w_scalbl.c: Likewise.
20436 * math/w_sqrt.c: Likewise.
20437 * math/w_sqrtf.c: Likewise.
20438 * math/w_sqrtl.c: Likewise.
20439 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
20440 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
20441 used.
20442 * math/math_private.h: Declare __kernel_standard_f.
20443 * math/w_cosh.c: Remove cruft and optimize a bit.
20444 * math/w_coshf.c: Likewise.
20445 * math/w_coshl.c: Likewise.
20446 * math/w_exp2.c: Likewise.
20447 * math/w_exp2f.c: Likewise.
20448 * math/w_exp2l.c: Likewise.
20449 * math/w_hypot.c: Likewise.
20450 * math/w_hypotf.c: Likewise.
20451 * math/w_hypotl.c: Likewise.
20452 * math/w_lgamma.c: Likewise.
20453 * math/w_lgamma_r.c: Likewise.
20454 * math/w_lgammaf.c: Likewise.
20455 * math/w_lgammaf_r.c: Likewise.
20456 * math/w_lgammal.c: Likewise.
20457 * math/w_lgammal_r.c: Likewise.
20458 * math/w_sinh.c: Likewise.
20459 * math/w_sinhf.c: Likewise.
20460 * math/w_sinhl.c: Likewise.
20461 * math/w_tgamma.c: Likewise.
20462 * math/w_tgammaf.c: Likewise.
20463 * math/w_tgammal.c: Likewise.
20464 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20465 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20466 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20467 Minor optimizations. Pretty printing. Remove cruft.
20468 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20469 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20470 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20471 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20472 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20473 * sysdeps/i386/fpu/e_asin.S: Likewise.
20474 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20475 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20476 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20477 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20478 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20479 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20480 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20481 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20482 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20483 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20484 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20485 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20486 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20487 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20488 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20489 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20490 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20491 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20492 * sysdeps/i386/fpu/e_log.S: Likewise.
20493 * sysdeps/i386/fpu/e_log10.S: Likewise.
20494 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20495 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20496 * sysdeps/i386/fpu/e_log2.S: Likewise.
20497 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20498 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20499 * sysdeps/i386/fpu/e_logf.S: Likewise.
20500 * sysdeps/i386/fpu/e_logl.S: Likewise.
20501 * sysdeps/i386/fpu/e_pow.S: Likewise.
20502 * sysdeps/i386/fpu/e_powf.S: Likewise.
20503 * sysdeps/i386/fpu/e_powl.S: Likewise.
20504 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20505 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20506 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20507 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20508 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20509 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20510 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20511 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20512 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20513 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20514 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20516 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20517 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20518 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20519 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20520 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20521 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20522 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20523 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20524 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20525 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20526 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20527 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20528 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20529 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20530 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20531 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20533 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20534 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20535 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20536 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20537 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20538 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20539 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20540 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20541 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20542 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20543 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20544 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20545 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20546 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20547 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20548 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20549 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20550 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20551 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20552 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20553 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20554 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20555 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20556 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20557 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20558 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20559 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20560 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20561 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20562 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20563 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20564 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20565 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20566 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20567 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20568 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20569 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20570 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20571 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20572 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20573 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20574 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20575 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20576 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20577 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20578 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20579 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20580 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20581 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20582 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20583 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20584 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20585 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20586 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20587 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20588 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20589 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20590 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20591 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20592 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20593 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20594 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20595 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20596 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20597 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20598 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20599 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20600 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20601 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20602 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20603 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20604 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20605 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20606 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20607 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20608 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20609 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20610 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20611 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20612 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20613 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20614 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20615 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20616 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20617 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20618 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20619 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20620 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20621 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20622 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20623 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20624 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20625 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20626 (__isnanf): Likewise.
20627 (__isinf_ns): Likewise.
20628 (__isinf_nsf): Likewise.
20629 (__finite): Likewise.
20630 (__finitef): Likewise.
20631 (__ieee754_sqrt): Define as macro.
20632 (__ieee754_sqrtf): Define as macro.
20633 (__ieee754_sqrtl): Define as macro.
20634 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20635 inlined copy.
20636 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20637 __FINITE_MATH_ONLY__ consistent.
20638 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20639
12cc2fcd
AS
206402011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20641
a843a204
AS
20642 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20643 of rawmemchr.
20644
12cc2fcd
AS
20645 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20646
c853acd5
UD
206472011-10-09 Ulrich Drepper <drepper@gmail.com>
20648
20649 * po/ja.po: Update from translation team.
20650
c658d255
RM
206512011-10-08 Roland McGrath <roland@hack.frob.com>
20652
110946e4
RM
20653 * locale/programs/locarchive.c (prepare_address_space): New function.
20654 (create_archive, enlarge_archive, open_archive): Use it.
20655
50604220
RM
20656 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20657 inside [SHARED], where it is used.
20658
c658d255
RM
20659 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20660
20661 * nss/getent.c (netgroup_keys): Remove unused variable.
20662 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20663
6a621eb7
UD
206642011-10-08 Ulrich Drepper <drepper@gmail.com>
20665
7edb55ce
UD
20666 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20667 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20668 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20669 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20670 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20671 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20672 * math/Makefile (libm-calls): Add s_isinf_ns.
20673 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20674 * math/multc3.c: Likewise.
20675 * math/s_casin.c: Likewise.
20676 * math/s_casinf.c: Likewise.
20677 * math/s_casinl.c: Likewise.
20678 * math/s_ccos.c: Likewise.
20679 * math/s_ccosf.c: Likewise.
20680 * math/s_ccosl.c: Likewise.
20681 * math/s_ctan.c: Likewise.
20682 * math/s_ctanf.c: Likewise.
20683 * math/s_ctanh.c: Likewise.
20684 * math/s_ctanhf.c: Likewise.
20685 * math/s_ctanhl.c: Likewise.
20686 * math/s_ctanl.c: Likewise.
20687 * math/w_fmod.c: Likewise.
20688 * math/w_fmodf.c: Likewise.
20689 * math/w_fmodl.c: Likewise.
20690 * math/w_remainder.c: Likewise.
20691 * math/w_remainderf.c: Likewise.
20692 * math/w_remainderl.c: Likewise.
20693 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20694 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20695 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20697 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20698 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20699 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20700 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20701
187da0ae
UD
20702 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20703 of the number.
20704 * stdio-common/printf_fphex.c: Likewise.
20705 * stdio-common/printf_size.c: Likewise.
20706
9277c064
UD
20707 * math/e_exp10.c: Include math_private.h using <...> not "...".
20708 * math/e_exp10f.c: Likewise.
20709 * math/e_exp10l.c: Likewise.
20710 * math/e_exp2l.c: Likewise.
20711 * math/e_j0l.c: Likewise.
20712 * math/e_j1l.c: Likewise.
20713 * math/e_jnl.c: Likewise.
20714 * math/e_lgammal_r.c: Likewise.
20715 * math/e_rem_pio2l.c: Likewise.
20716 * math/e_scalb.c: Likewise.
20717 * math/e_scalbf.c: Likewise.
20718 * math/e_scalbl.c: Likewise.
20719 * math/k_cosl.c: Likewise.
20720 * math/k_sinl.c: Likewise.
20721 * math/k_tanl.c: Likewise.
20722 * math/s_cacoshf.c: Likewise.
20723 * math/s_catan.c: Likewise.
20724 * math/s_catanf.c: Likewise.
20725 * math/s_catanh.c: Likewise.
20726 * math/s_catanhf.c: Likewise.
20727 * math/s_catanhl.c: Likewise.
20728 * math/s_catanl.c: Likewise.
20729 * math/s_ccosh.c: Likewise.
20730 * math/s_ccoshf.c: Likewise.
20731 * math/s_ccoshl.c: Likewise.
20732 * math/s_cexp.c: Likewise.
20733 * math/s_cexpf.c: Likewise.
20734 * math/s_cexpl.c: Likewise.
20735 * math/s_clog.c: Likewise.
20736 * math/s_clog10.c: Likewise.
20737 * math/s_clog10f.c: Likewise.
20738 * math/s_clog10l.c: Likewise.
20739 * math/s_clogf.c: Likewise.
20740 * math/s_clogl.c: Likewise.
20741 * math/s_csin.c: Likewise.
20742 * math/s_csinf.c: Likewise.
20743 * math/s_csinh.c: Likewise.
20744 * math/s_csinhf.c: Likewise.
20745 * math/s_csinhl.c: Likewise.
20746 * math/s_csinl.c: Likewise.
20747 * math/s_csqrt.c: Likewise.
20748 * math/s_csqrtf.c: Likewise.
20749 * math/s_csqrtl.c: Likewise.
20750 * math/s_ctan.c: Likewise.
20751 * math/s_ctanf.c: Likewise.
20752 * math/s_ctanh.c: Likewise.
20753 * math/s_ctanhf.c: Likewise.
20754 * math/s_ctanhl.c: Likewise.
20755 * math/s_ctanl.c: Likewise.
20756 * math/s_ldexp.c: Likewise.
20757 * math/s_ldexpf.c: Likewise.
20758 * math/s_ldexpl.c: Likewise.
20759 * math/s_significand.c: Likewise.
20760 * math/s_significandf.c: Likewise.
20761 * math/s_significandl.c: Likewise.
20762 * math/w_acos.c: Likewise.
20763 * math/w_acosf.c: Likewise.
20764 * math/w_acosh.c: Likewise.
20765 * math/w_acoshf.c: Likewise.
20766 * math/w_acoshl.c: Likewise.
20767 * math/w_acosl.c: Likewise.
20768 * math/w_asin.c: Likewise.
20769 * math/w_asinf.c: Likewise.
20770 * math/w_asinl.c: Likewise.
20771 * math/w_atan2.c: Likewise.
20772 * math/w_atan2f.c: Likewise.
20773 * math/w_atan2l.c: Likewise.
20774 * math/w_atanh.c: Likewise.
20775 * math/w_atanhf.c: Likewise.
20776 * math/w_atanhl.c: Likewise.
20777 * math/w_cosh.c: Likewise.
20778 * math/w_coshf.c: Likewise.
20779 * math/w_coshl.c: Likewise.
20780 * math/w_dremf.c: Likewise.
20781 * math/w_exp10.c: Likewise.
20782 * math/w_exp10f.c: Likewise.
20783 * math/w_exp10l.c: Likewise.
20784 * math/w_exp2.c: Likewise.
20785 * math/w_exp2f.c: Likewise.
20786 * math/w_fmod.c: Likewise.
20787 * math/w_fmodf.c: Likewise.
20788 * math/w_fmodl.c: Likewise.
20789 * math/w_hypot.c: Likewise.
20790 * math/w_hypotf.c: Likewise.
20791 * math/w_hypotl.c: Likewise.
20792 * math/w_j0.c: Likewise.
20793 * math/w_j0f.c: Likewise.
20794 * math/w_j0l.c: Likewise.
20795 * math/w_j1.c: Likewise.
20796 * math/w_j1f.c: Likewise.
20797 * math/w_j1l.c: Likewise.
20798 * math/w_jn.c: Likewise.
20799 * math/w_jnf.c: Likewise.
20800 * math/w_jnl.c: Likewise.
20801 * math/w_lgamma.c: Likewise.
20802 * math/w_lgamma_r.c: Likewise.
20803 * math/w_lgammaf.c: Likewise.
20804 * math/w_lgammaf_r.c: Likewise.
20805 * math/w_lgammal.c: Likewise.
20806 * math/w_lgammal_r.c: Likewise.
20807 * math/w_log.c: Likewise.
20808 * math/w_log10.c: Likewise.
20809 * math/w_log10f.c: Likewise.
20810 * math/w_log10l.c: Likewise.
20811 * math/w_log2.c: Likewise.
20812 * math/w_log2f.c: Likewise.
20813 * math/w_log2l.c: Likewise.
20814 * math/w_logf.c: Likewise.
20815 * math/w_logl.c: Likewise.
20816 * math/w_pow.c: Likewise.
20817 * math/w_powf.c: Likewise.
20818 * math/w_powl.c: Likewise.
20819 * math/w_remainder.c: Likewise.
20820 * math/w_remainderf.c: Likewise.
20821 * math/w_remainderl.c: Likewise.
20822 * math/w_scalb.c: Likewise.
20823 * math/w_scalbf.c: Likewise.
20824 * math/w_scalbl.c: Likewise.
20825 * math/w_sinh.c: Likewise.
20826 * math/w_sinhf.c: Likewise.
20827 * math/w_sinhl.c: Likewise.
20828 * math/w_sqrt.c: Likewise.
20829 * math/w_sqrtf.c: Likewise.
20830 * math/w_sqrtl.c: Likewise.
20831 * math/w_tgamma.c: Likewise.
20832 * math/w_tgammaf.c: Likewise.
20833 * math/w_tgammal.c: Likewise.
20834
6a621eb7
UD
20835 * po/ja.po: Update from translation team.
20836
bf582445
AJ
208372011-09-29 Andreas Jaeger <aj@suse.de>
20838
f9efbf3a
AJ
20839 [BZ #13179]
20840 * sunrpc/netname.c (netname2host): Fix logic.
20841
bf582445
AJ
20842 [BZ #6779]
20843 [BZ #6783]
20844 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20845 correctly.
20846 * math/w_remainder.c (__remainder): Likewise.
20847 * math/w_remainderf.c (__remainderf): Likewise.
20848 * math/libm-test.inc (remainder_test): Add test cases.
20849
48693bea
AK
208502011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20851
20852 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20853 sdiv_qrnnd.
20854
42622229
LD
208552011-10-07 Ulrich Drepper <drepper@gmail.com>
20856
20857 * string/test-memcmp.c: Avoid unncessary #defines.
20858 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20859
093ecf92
LD
208602011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20861
20862 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20863 Use new sse2 version for core i3 - i7 as it's faster
20864 than sse42 version.
20865 (bit_Prefer_PMINUB_for_stringop): New.
20866 * sysdeps/x86_64/rawmemchr.S: Update.
20867 Replace with faster SSE2 version.
20868 * sysdeps/x86_64/memrchr.S: New file.
20869 * sysdeps/x86_64/memchr.S: Update.
20870 Replace with faster SSE2 version.
20871
fde56e5c
MP
208722011-09-12 Marek Polacek <mpolacek@redhat.com>
20873
20874 * elf/dl-load.c (lose): Add cast to avoid warning.
20875
21fd49a9
UD
208762011-10-07 Ulrich Drepper <drepper@gmail.com>
20877
5a06e643
UD
20878 * po/ca.po: Update from translation team.
20879
684ae515
UD
20880 * inet/getnetgrent_r.c: Hook up nscd.
20881 * nscd/Makefile (routines): Add nscd_netgroup.
20882 (nscd-modules): Add netgroupcache.
20883 (CFLAGS-netgroupcache.c): Define.
20884 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20885 (cache_search): Add const to second parameter.
20886 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20887 INNETGR.
20888 (dbs): Add netgrdb entry.
20889 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20890 (verify_persistent_db): Handle netgrdb.
20891 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20892 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20893 GETFDNETGR.
20894 (netgroup_response_header): Define.
20895 (innetgroup_response_header): Define.
20896 (datahead): Add netgroup_response_header and innetgroup_response_header
20897 elements.
20898 * nscd/nscd.conf: Add entries for netgroup cache.
20899 * nscd/nscd.h (dbtype): Add netgrdb.
20900 (_PATH_NSCD_NETGROUP_DB): Define.
20901 (netgroup_iov_disabled): Declare.
20902 (xmalloc, xcalloc, xrealloc): Move declarations here.
20903 (cache_search): Adjust prototype.
20904 Add netgroup-related prototypes.
20905 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20906 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20907 (__nscd_innetgr): Declare.
20908 * nscd/selinux.c (perms): Use access_vector_t as element type and
20909 add netgroup-related initializers.
20910 * nscd/netgroupcache.c: New file.
20911 * nscd/nscd_netgroup.c: New file.
20912 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20913 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20914 For four parameters use innetgr.
20915 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20916 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20917 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20918 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20919
21fd49a9
UD
20920 * nscd/connections.c (register_traced_file): Don't register file
20921 for disabled databases.
20922
054c0457
UD
209232011-10-06 Ulrich Drepper <drepper@gmail.com>
20924
32b63198
UD
20925 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20926
054c0457
UD
20927 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20928 from tree and freeing node.
20929
64031225
JO
209302011-09-25 Jiri Olsa <jolsa@redhat.com>
20931
20932 * nss/nsswitch.c (__nss_database_lookup): Handle
20933 nss_parse_service_list out of memory case.
20934
0490345c
JO
209352011-09-15 Jiri Olsa <jolsa@redhat.com>
20936
20937 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20938 out of memory case.
20939
3a62d00d
AS
209402011-10-04 Andreas Schwab <schwab@redhat.com>
20941
20942 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20943 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20944 pass it down.
20945 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20946 elf_machine_rela, elf_machine_lazy_rel.
20947 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20948 (ELF_DYNAMIC_DO_REL): Likewise.
20949 (ELF_DYNAMIC_DO_RELA): Likewise.
20950 (ELF_DYNAMIC_RELOCATE): Likewise.
20951 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20952 to ELF_DYNAMIC_DO_REL.
20953 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20954 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20955 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20956 elf_machine_rela.
20957 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20958 skip_ifunc, don't call ifunc function if non-zero.
20959 (elf_machine_rela): Likewise.
20960 (elf_machine_lazy_rel): Likewise.
20961 (elf_machine_lazy_rela): Likewise.
20962 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20963 (elf_machine_lazy_rel): Likewise.
20964 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20965 Likewise.
20966 (elf_machine_lazy_rel): Likewise.
20967 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20968 Likewise.
20969 (elf_machine_lazy_rel): Likewise.
20970 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20971 (elf_machine_lazy_rel): Likewise.
20972 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20973 (elf_machine_lazy_rel): Likewise.
20974 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20975 (elf_machine_lazy_rel): Likewise.
20976 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20977 (elf_machine_lazy_rel): Likewise.
20978 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20979 (elf_machine_lazy_rel): Likewise.
20980 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20981 (elf_machine_lazy_rel): Likewise.
20982
68577918
UD
209832011-09-28 Ulrich Drepper <drepper@gmail.com>
20984
20985 * nss/nss_files/files-init.c (_nss_files_init): Use static
20986 initialization for all the *_traced_file variables.
20987
68822d74
AS
209882011-09-28 Andreas Schwab <schwab@redhat.com>
20989
20990 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20991
2056100b
RM
209922011-09-27 Roland McGrath <roland@hack.frob.com>
20993
20994 [BZ #13226]
20995 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20996
32c76b63
AS
209972011-09-27 Andreas Schwab <schwab@redhat.com>
20998
20999 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21000 Reread the line before reparsing it.
21001
bf972c9d
AS
210022011-09-26 Andreas Schwab <schwab@redhat.com>
21003
21004 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
21005
e057a1b5
JM
210062011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
21007 Maxim Kuvyrkov <maxim@codesourcery.com>
21008 Joseph Myers <joseph@codesourcery.com>
21009
21010 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
21011 if needed for __stack_chk_guard.
21012
bc7e1c36
RM
210132011-09-19 Roland McGrath <roland@hack.frob.com>
21014
ecb1482f
RM
21015 * sysdeps/posix/spawni.c (script_execute): Always define it.
21016 It will be optimized away if unused.
21017 (maybe_script_execute): New function.
21018 (__spawni): Call it.
21019
bc7e1c36
RM
21020 * Makerules: Don't include tls.make.
21021 (config-tls): Always set to thread.
21022 * tls.make.c: File removed.
21023
1c3b002b
MF
210242011-09-19 Mike Frysinger <vapier@gentoo.org>
21025
21026 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
21027 * config.make.in (CPPFLAGS-config): New substituted variable.
21028
2840865d
UD
210292011-09-15 Ulrich Drepper <drepper@gmail.com>
21030
88738eb6
UD
21031 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
21032
cbf645a6 21033 [BZ #13192]
2840865d
UD
21034 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21035 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21036
b402e91a
RM
210372011-09-15 Roland McGrath <roland@hack.frob.com>
21038
21039 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21040 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21041 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21042 (CALL_FAIL): Likewise.
21043 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21044 (CALL_FAIL): Macro removed.
21045 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21046
4c1a1f71
UD
210472011-09-15 Ulrich Drepper <drepper@gmail.com>
21048
21049 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21050 for __FINITE_MATH_ONLY__ == 1.
21051
edc121be
AS
210522011-09-15 Andreas Schwab <schwab@redhat.com>
21053
21054 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21055 __ieee754_sqrt instead of sqrt.
21056 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21057 __ieee754_sqrtf instead of sqrtf.
21058 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21059 __floorf instead of floorf.
21060 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21061 __floorf, __truncf instead of floorf, truncf.
21062
cd205654
UD
210632011-09-14 Ulrich Drepper <drepper@gmail.com>
21064
ee4d0315
UD
21065 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21066
cd205654
UD
21067 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21068 __extern_always_inline.
21069 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21070 32-bit.
21071
48b67d71
AS
210722011-09-14 Andreas Schwab <schwab@redhat.com>
21073
21074 * elf/rtld.c (dl_main): Also relocate in dependency order when
21075 doing symbol dependency testing.
21076
1ae12c75
AS
210772011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21078
21079 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21080 Always define `refsym'.
21081
995a80df
AS
210822011-09-13 Andreas Schwab <schwab@redhat.com>
21083
e529793b
AS
21084 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21085 (__FD_ELT): Renamed from __FDELT.
21086 * misc/bits/select2.h (__FD_ELT): Likewise.
21087 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21088 __FD_MASK instead of __FDELT, __FDMASK.
21089 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21090 Likewise.
21091 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21092 Likewise.
21093
52d4fef8
AS
21094 * elf/Makefile (gen-ldd): Fix pattern.
21095
995a80df
AS
21096 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21097 (init_tls): Likewise.
21098
8682f8b0
UD
210992011-09-12 Ulrich Drepper <drepper@gmail.com>
21100
21101 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21102
de82006d
AS
211032011-09-12 Andreas Schwab <schwab@redhat.com>
21104
a7c8e6a1
AS
21105 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21106 `struct cmsghdr *' instead of `void *'.
21107 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21108 Likewise.
21109
0f31fe77
AS
211102011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21111
21112 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21113 if non-absolute.
21114 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21115 ldd_rewrite_script.
0f31fe77 21116
32b4c839
UD
211172011-09-11 Ulrich Drepper <drepper@gmail.com>
21118
83cd1420
UD
21119 * configure.in: Remove --with-tls option.
21120 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21121 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21122 out in case it is missing.
21123 * sysdeps/ia64/elf/configure.in: Likewise.
21124 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21125 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21126 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21127 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21128 * sysdeps/sh/elf/configure.in: Likewise.
21129 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21130 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21131 * sysdeps/x86_64/elf/configure.in: Likewise.
21132 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21133 * sysdeps/mach/hurd/tls.h: Likewise.
21134
633f745d
UD
21135 [BZ #13067]
21136 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21137
f318beb8
UD
21138 [BZ #13090]
21139 * configure.in: Fix use of AC_INIT.
21140
32b4c839
UD
21141 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21142
3ce1f295
UD
211432011-09-10 Ulrich Drepper <drepper@gmail.com>
21144
bb016596
UD
21145 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21146 __set_errno.
8e58439c
UD
21147 * malloc/hooks.c: Likewise.
21148
aebae053 21149 [BZ #11929]
02d46fc4
UD
21150 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21151 variables statically.
21152 (narenas): Initialize.
21153 (list_lock): Initialize.
bb016596
UD
21154 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21155 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
21156 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21157 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21158 Add initializers to main_arena and mp_.
21159 (malloc_state): Remove pagesize member. Change all users to use
21160 GLRO(dl_pagesize).
21161
21162 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21163 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21164 is always initialized.
21165
22a89187
UD
21166 * malloc/malloc.c: Removed unused configurations and dead code.
21167 * malloc/arena.c: Likewise.
21168 * malloc/hooks.c: Likewise.
02d46fc4 21169 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 21170
d063d164
UD
21171 * include/tls.h: Removed. USE___THREAD must always be defined.
21172 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21173 * elf/dl-libc.c: Likewise.
21174 * elf/dl-tsd.c: Likewise.
21175 * include/errno.h: Likewise.
21176 * include/netdb.h: Likewise.
21177 * include/resolv.h: Likewise.
21178 * inet/herrno-loc.c: Likewise.
21179 * inet/herrno.c: Likewise.
21180 * malloc/arena.c: Likewise.
21181 * malloc/hooks.c: Likewise.
21182 * malloc/malloc.c: Likewise.
21183 * resolv/res-state.c: Likewise.
21184 * resolv/res_libc.c: Likewise.
21185 * sysdeps/i386/dl-machine.h: Likewise.
21186 * sysdeps/ia64/dl-machine.h: Likewise.
21187 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21188 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21189 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21190 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21191 * sysdeps/sh/dl-machine.h: Likewise.
21192 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21193 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21194 * sysdeps/unix/i386/sysdep.S: Likewise.
21195 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21196 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21197 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21198 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21199 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21200 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21201 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21202 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21203 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21204 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21205 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21206 * sysdeps/x86_64/dl-machine.h: Likewise.
21207 * tls.make.c: Likewise.
21208
3ce1f295
UD
21209 * configure.in: Remove --with-__thread option. Make tests for
21210 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21211 tls_model attribute fail if no support is available. Remove
21212 USE_IN_LIBIO.
21213 * Makeconfig: Adjust for dropped configure option. All features are
21214 now mandatory.
21215 * Makerules: Likewise.
21216 * Versions.def: Likewise.
21217 * argp/argp-fmtstream.c: Likewise.
21218 * argp/argp-fmtstream.h: Likewise.
21219 * argp/argp-help.c: Likewise.
21220 * assert/assert.c: Likewise.
21221 * config.h.in: Likewise.
21222 * config.make.in: Likewise.
21223 * configure: Likewise.
21224 * configure.in: Likewise.
21225 * csu/Versions: Likewise.
21226 * csu/init.c: Likewise.
21227 * elf/tst-audit2.c: Likewise.
21228 * elf/tst-tls10.c: Likewise.
21229 * elf/tst-tls10.h: Likewise.
21230 * elf/tst-tls11.c: Likewise.
21231 * elf/tst-tls12.c: Likewise.
21232 * elf/tst-tls14.c: Likewise.
21233 * elf/tst-tlsmod11.c: Likewise.
21234 * elf/tst-tlsmod12.c: Likewise.
21235 * elf/tst-tlsmod13.c: Likewise.
21236 * elf/tst-tlsmod13a.c: Likewise.
21237 * elf/tst-tlsmod14a.c: Likewise.
21238 * elf/tst-tlsmod15b.c: Likewise.
21239 * elf/tst-tlsmod16a.c: Likewise.
21240 * elf/tst-tlsmod16b.c: Likewise.
21241 * elf/tst-tlsmod7.c: Likewise.
21242 * elf/tst-tlsmod8.c: Likewise.
21243 * elf/tst-tlsmod9.c: Likewise.
21244 * gmon/gmon.c: Likewise.
21245 * grp/fgetgrent_r.c: Likewise.
21246 * grp/putgrent.c: Likewise.
21247 * hurd/fopenport.c: Likewise.
21248 * include/libc-symbols.h: Likewise.
21249 * include/tls.h: Likewise.
21250 * intl/gettextP.h: Likewise.
21251 * intl/loadinfo.h: Likewise.
21252 * locale/global-locale.c: Likewise.
21253 * locale/localeinfo.h: Likewise.
21254 * mach/devstream.c: Likewise.
21255 * malloc/arena.c: Likewise.
21256 * malloc/set-freeres.c: Likewise.
21257 * misc/err.c: Likewise.
21258 * misc/getttyent.c: Likewise.
21259 * misc/mntent_r.c: Likewise.
21260 * posix/getopt.c: Likewise.
21261 * posix/wordexp.c: Likewise.
21262 * pwd/fgetpwent_r.c: Likewise.
21263 * resolv/Versions: Likewise.
21264 * resolv/res_hconf.c: Likewise.
21265 * shadow/fgetspent_r.c: Likewise.
21266 * shadow/putspent.c: Likewise.
21267 * stdio-common/printf_fphex.c: Likewise.
21268 * stdio-common/tmpfile.c: Likewise.
21269 * stdlib/abort.c: Likewise.
21270 * stdlib/fmtmsg.c: Likewise.
21271 * sunrpc/auth_unix.c: Likewise.
21272 * sunrpc/clnt_perr.c: Likewise.
21273 * sunrpc/clnt_tcp.c: Likewise.
21274 * sunrpc/clnt_udp.c: Likewise.
21275 * sunrpc/clnt_unix.c: Likewise.
21276 * sunrpc/openchild.c: Likewise.
21277 * sunrpc/svc_simple.c: Likewise.
21278 * sunrpc/svc_tcp.c: Likewise.
21279 * sunrpc/svc_udp.c: Likewise.
21280 * sunrpc/svc_unix.c: Likewise.
21281 * sunrpc/xdr.c: Likewise.
21282 * sunrpc/xdr_array.c: Likewise.
21283 * sunrpc/xdr_rec.c: Likewise.
21284 * sunrpc/xdr_ref.c: Likewise.
21285 * sunrpc/xdr_stdio.c: Likewise.
21286
1248c1c4
PB
212872011-09-09 Ulrich Drepper <drepper@gmail.com>
21288
21289 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21290
212912011-07-03 Andreas Jaeger <aj@suse.de>
21292
21293 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21294 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21295 regenerate with gen-libm-tests.pl.
21296
212972010-05-12 Petr Baudis <pasky@suse.cz>
21298
21299 [BZ #11589]
21300 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21301 around j0() zero points by switching to j1().
21302 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21303 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21304 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21305 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21306
f22e1074
UD
213072011-09-09 Ulrich Drepper <drepper@gmail.com>
21308
f19009c1
UD
21309 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21310 instead of 0.
21311 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 21312 instead of 0.
f19009c1
UD
21313 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21314 Patch in part by Pavel Roskin <proski@gnu.org>.
21315
3f8cc204
UD
21316 [BZ #13138]
21317 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21318 realloc.
21319 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21320 Free memory block if necessary.
21321
f22e1074
UD
21322 [BZ #12847]
21323 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21324 be NULL. Don't lock in this case.
21325
0a2349f9
RM
213262011-09-09 Roland McGrath <roland@hack.frob.com>
21327
21328 * elf/elf.h (ELFOSABI_GNU): New macro.
21329 (ELFOSABI_LINUX): Define to that.
21330
f3cdd467
DZ
213312011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21332
21333 * string/strncat.c (strncat): Undef the symbol in case it has been
21334 defined in bits/string.h.
21335
74718d13
UD
213362011-09-09 Ulrich Drepper <drepper@gmail.com>
21337
633e9e0f
UD
21338 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21339
0a2349f9 21340 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
21341 link map.
21342
f9924780
AJ
213432011-08-17 Andreas Jaeger <aj@suse.de>
21344
21345 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21346
7f5517aa
PP
213472011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21348 Ian Lance Taylor <iant@google.com>
21349
21350 * math/libm-test.inc (lround_test): New testcase.
21351 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21352
762011fe
UD
213532011-09-08 Ulrich Drepper <drepper@gmail.com>
21354
92963737
UD
21355 * Makefile: Remove support for automatic cvs check-ins.
21356 * Makerules: Likewise.
21357 * config.make.in: Likewise.
21358 * configure.in: Likewise.
21359 * intl/Makefile: Likewise.
21360 * locale/Makefile: Likewise.
21361 * po/Makefile: Likewise.
21362 * posix/Makefile: Likewise.
21363 * sysdeps/gnu/Makefile: Likewise.
21364 * sysdeps/mach/hurd/Makefile: Likewise.
21365 * sysdeps/sparc/sparc32/Makefile: Likewise.
21366
b0727fd8
JS
21367 [BZ #13118]
21368 * posix/Makefile (bug-regex32-ENV): Define.
21369 Patch by John Stanley <jpsinthemix@verizon.net>.
21370
a0f33f99
UD
21371 * misc/Makefile (headers): Add bits/select2.h.
21372 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21373 * misc/bits/select2.h: New file.
21374 * include/bits/select2.h: New file.
21375 * debug/Makefile (routines): Add fdelt_chk.
21376 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21377 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21378 FD_ISSET.
21379 * debug/fdelt_chk.c: New file.
21380
762011fe
UD
21381 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21382 * wcsmbs/test-wmemcmp.c: Likewise.
21383 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 21384 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
21385
213862011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21387
21388 * string/Makefile (strop-tests): Add memcmp.
21389 * string/test-wmemcmp.c: New file.
21390 * string/test-memcmp.c: Add wmemcmp support.
21391
7f513ec8
RM
213922011-09-08 Roland McGrath <roland@hack.frob.com>
21393
0442afb4
RM
21394 [BZ #13153]
21395 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21396 2011-07-19 change.
21397
7f513ec8
RM
21398 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21399 garbage value in a __mach_port_mod_refs call in the cases of the
21400 task-self and thread-self ports.
21401
a12b2239
ST
214022011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21403
21404 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21405
610f9ab4
AS
214062011-09-08 Andreas Schwab <schwab@redhat.com>
21407
7f513ec8 21408 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 21409
48882a1a
LD
214102011-09-07 Ulrich Drepper <drepper@gmail.com>
21411
b49865be
UD
21412 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21413
fdc86bc9
UD
21414 * elf/dl-libc.c (dlerror_run): Pass back error code from
21415 dl_catch_error.
21416
c966526a
UD
21417 [BZ #13123]
21418 * elf/dl-load.c (lose): Free l_origin if it is valid.
21419
48882a1a
LD
21420 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21421 names.
21422 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21423 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21424 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21425 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21426 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21427 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21428
77a2a8b4
AZ
214292011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21430
21431 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21432 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21433 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21434 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21435 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21436 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21437 * sysdeps/powerpc/fpu/s_cosf.c: New file.
21438 * sysdeps/powerpc/fpu/s_sinf.c: New file.
21439 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
21440 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
21441
24f579d8
AM
214422011-08-15 Alan Modra <amodra@gmail.com>
21443
21444 [BZ #13092]
21445 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
21446 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
21447 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
21448 ppc_mcount to static-only-routines.
21449 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21450 __mcount_internal.
21451 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21452 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21453
3d4837df
UD
214542011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21455
21456 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21457 for finite and infinity parameters.
21458
22700377
WS
214592011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21460
21461 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21462 and add nop instructions for throughput optimization.
21463 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21464
5025581e
WS
214652011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21466
21467 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21468 aligned copy for power7 with vector-scalar instructions.
21469 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21470
08a300c9
L
214712011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21472
21473 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21474 AVX check.
21475
59178ef9
AS
214762011-09-07 Andreas Schwab <schwab@redhat.com>
21477
21478 [BZ #13144]
21479 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21480 last change.
21481
e38ba7ab
UD
214822011-09-07 Ulrich Drepper <drepper@gmail.com>
21483
21484 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21485 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21486 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21487 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21488 clock_gettime.
21489
d53a73ac
UD
214902011-09-06 Ulrich Drepper <drepper@gmail.com>
21491
fc8bffcc
UD
21492 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21493 Forgot to demangle the pointer.
21494
ceaa0c5d
UD
21495 * sysdeps/i386/sysdep.h: Define atom_text_section.
21496 * sysdeps/x86_64/sysdep.h: Likewise.
21497 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21498 section with atom_text_section.
21499 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21500 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21501 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21502 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21503 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21504
a77d3c17
UD
21505 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21506 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21507 already be defined. Change to take two parameters and don't assign
21508 result to variable. Adjust all users.
21509 Define INTERNAL_GETTIME if not already defined.
21510 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21511 call.
21512 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21513 HAVE_CLOCK_GETTIME_VSYSCALL.
21514 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21515
d53a73ac
UD
21516 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21517 gettimeofday vsyscall, just use time.
21518
a8f84144
AS
215192011-09-06 Andreas Schwab <schwab@redhat.com>
21520
21521 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21522 <errno.h>.
21523
ef606249
UD
215242011-09-06 Ulrich Drepper <drepper@gmail.com>
21525
21526 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21527 syscall on x86-64.
21528 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21529 syscall.
21530 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21531 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21532 syscall if possible.
21533
6585cb60
UD
215342011-09-05 Ulrich Drepper <drepper@gmail.com>
21535
21536 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21537 e_ident. Don't pass to find_mapsXX.
21538 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21539
a5f524e4
LD
215402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21541
21542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21543 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21544 * sysdeps/x86_64/multiarch/strchr.S: Update.
21545 Check bit_slow_BSF bit.
21546 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21547 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21548 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21549
554881ef
UD
215502011-09-05 Ulrich Drepper <drepper@gmail.com>
21551
d96de963
UD
21552 [BZ #13134]
21553 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21554 before glibc 2.15.
21555 (tryshell): Define.
21556 (__spawni): Change last parameter to be flag. Test
21557 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21558 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21559 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21560 * posix/spawni.c: Likewise.
21561 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21562 * posix/spawnp.c: Likewise. Change normal version to use
21563 SPAWN_XFLAGS_USE_PATH.
21564 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21565 SPAWN_XFLAGS_TRY_SHELL.
21566
d48e5868
UD
21567 [BZ #13150]
21568 * posix/glob.h: Remove gcc 1.x support.
21569
554881ef
UD
21570 [BZ #13068]
21571 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21572
693fb948
LD
215732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21574
21575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21576 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21577 strrchr-sse2-bsf
21578 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21579 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21580 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21581 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21582 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21583 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21584
1b48c537
UD
215852011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21586
49d42c37
UD
21587 * sysdeps/x86_64/wcscmp.S: New file.
21588
1b48c537
UD
21589 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21590 wcscmp-c wcscmp-sse2
21591 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21592 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21593 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21594 * wcsmbs/wcscmp.c: Allow renaming.
21595
15c95c5d
DM
215962011-09-05 David S. Miller <davem@davemloft.net>
21597
21598 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21599 stack slot, rather than the struct return pointer slot.
21600 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21601 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21603 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21604
2f0ad8f3
UD
216052011-09-05 Ulrich Drepper <drepper@gmail.com>
21606
d88ae418
UD
21607 * po/ja.po: Update from translation team.
21608
2f0ad8f3
UD
21609 [BZ #13144]
21610 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21611 kernel in 64-bit binaries.
21612
5f4318d1
DM
216132011-09-01 David S. Miller <davem@davemloft.net>
21614
21615 * elf/elf.h (HWCAP_SPARC_*): Move to..
21616 * sysdeps/sparc/sysdep.h: this new file and add new values.
21617 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21618 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21619 _DL_HWCAP_COUNT to 24.
21620 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21621 entries.
21622 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21623 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21624 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21625 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21626 instead of magic constants.
21627 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21628
3ba57516
DM
216292011-08-31 David S. Miller <davem@davemloft.net>
21630
21631 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21632 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21633 Reimplement to do errno handling inline.
21634 (SYSCALL_ERROR_HANDLER): New macro.
21635 (__SYSCALL_STRING): Do not do errno handling in asm.
21636 (__CLONE_SYSCALL_STRING): Delete.
21637 (__INTERNAL_SYSCALL_STRING): Delete.
21638 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21639 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21640 (PSEUDO): Reimplement to do errno handling inline.
21641 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21642 (SYSCALL_ERROR_HANDLER): New macro.
21643 (__SYSCALL_STRING): Do not do errno handling in asm.
21644 (__CLONE_SYSCALL_STRING): Delete.
21645 (__INTERNAL_SYSCALL_STRING): Delete.
21646 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21647 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21648 i386.
21649 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21650 (inline_syscall*): Add 'err' argument.
21651 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21652 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21653 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21654 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21655
21656 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21657 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21658
2bc17433
AS
216592011-08-30 Andreas Schwab <schwab@redhat.com>
21660
21661 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21662
fbeb5f4d
JO
216632011-08-29 Jiri Olsa <jolsa@redhat.com>
21664
21665 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21666 directive.
21667
ad69cc26
DM
216682011-08-24 David S. Miller <davem@davemloft.net>
21669
21670 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21671
39dd69df
AS
216722011-08-24 Andreas Schwab <schwab@redhat.com>
21673
21674 * elf/Makefile: Add rules to build and run unload8 test.
21675 * elf/unload8.c: New file.
21676 * elf/unload8mod1.c: New file.
21677 * elf/unload8mod1x.c: New file.
21678 * elf/unload8mod2.c: New file.
21679 * elf/unload8mod3.c: New file.
21680
21681 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21682 it wasn't used.
21683
2c0b250a
DM
216842011-08-23 David S. Miller <davem@davemloft.net>
21685
21686 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21687 subtract stack bias.
21688 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21689 %sp not %fp in calculations.
21690 (_JMPBUF_UNWINDS_ADJ): Likewise.
21691
22044b48
DM
21692 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21693 (aio_suspend): Call it to force an exception region around the
21694 AIO_MISC_WAIT() invocation.
21695
2cae4995
AS
216962011-08-23 Andreas Schwab <schwab@redhat.com>
21697
21698 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21699 backslash.
21700
873a772e
AJ
217012011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21702
21703 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21704 protection macro.
21705 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21706 and <dl-machine.h>.
21707 (Elf64_FuncDesc): Remove.
21708
25ad0df1
DM
217092011-08-22 David S. Miller <davem@davemloft.net>
21710
21711 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21712 sigaltstack check, add missing cfi directives.
21713 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21714 missing cfi directives, and sigaltstack handling.
21715
e888bcbe
AS
217162011-08-16 Andreas Schwab <schwab@redhat.com>
21717
21718 [BZ #11724]
21719 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21720 object is seen twice.
21721 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21722
21723 * elf/Makefile (distribute): Add tst-initorder2.c.
21724 (tests): Add tst-initorder2.
21725 (modules-names): Add tst-initorder2a tst-initorder2b
21726 tst-initorder2c tst-initorder2d. Add rules to build them.
21727 ($(objpfx)tst-initorder2.out): New rule.
21728 * elf/tst-initorder2.c: New file.
21729 * elf/tst-initorder2.exp: New file.
21730
87162f46
AS
217312011-08-22 Andreas Schwab <schwab@redhat.com>
21732
70538b7f
AS
21733 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21734
f55ffe58
AS
21735 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21736 dependencies back to end of function.
21737
87162f46
AS
21738 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21739 $(elfobjdir)/ld.so.
21740
91b392a4
UD
217412011-08-21 Ulrich Drepper <drepper@gmail.com>
21742
21743 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21744 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21745 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21746 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21747 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21748 of __vdso_gettimeofday.
21749 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21750 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21751 attribute_hidden.
21752 (_libc_vdso_platform_setup): Remove initialization of
21753 __vdso_gettimeofday and __vdso_time.
21754
5c43483f
UD
217552011-08-20 Ulrich Drepper <drepper@gmail.com>
21756
775a77e7
UD
21757 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21758 and fgetc_unlocked.
21759 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21760 getc_unlocked.
89f447ed 21761
49c74ba9
UD
21762 * elf/dl-open.c (add_to_global): Report additions to the global scope
21763 for LD_DEBUG=scopes.
21764 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 21765 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 21766
5c43483f
UD
21767 [BZ #13114]
21768 * stdio-common/Makefile (tests): Add bug24.
21769 * stdio-common/bug24.c: New file.
21770
a101b025
AJ
217712011-08-19 Andreas Jaeger <aj@suse.de>
21772
21773 [BZ #13114]
21774 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21775 non-existant file when using close-on-exec mode.
21776
c88f1766
UD
217772011-08-20 Ulrich Drepper <drepper@gmail.com>
21778
0276a718
UD
21779 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21780 the very first instruction.
21781
c88f1766
UD
21782 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21783 the CFI state in the end.
21784 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21785 inclusion of dl-trampoline.h.
21786 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21787
51ccffa0
AS
217882011-08-19 Andreas Schwab <schwab@redhat.com>
21789
94d7165f
AS
21790 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21791 expectations for long double.
21792
51ccffa0
AS
21793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21794 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21795
fd708658 217962011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
21797
21798 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21799 artificual limit depends upon the system page size.
21800
44f0a71e
UD
218012011-08-17 Ulrich Drepper <drepper@gmail.com>
21802
21803 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21804 * resolv/Makefile: Define CFLAGS-libresolv.
21805
8de79a24
AS
218062011-08-17 Andreas Schwab <schwab@redhat.com>
21807
21808 * nss/makedb.c (compute_tables): Make variables used in nested
21809 function static.
21810
27724598
UD
218112011-08-17 Ulrich Drepper <drepper@gmail.com>
21812
c5305d88
UD
21813 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21814 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21815 if buffer was too small.
21816
27724598
UD
21817 * elf/pldd.c (main): Attach to all threads in the process.
21818 Rewrite /proc handling to use *at functions.
21819
076fe015
UD
218202011-08-16 Ulrich Drepper <drepper@gmail.com>
21821
174baab3
UD
21822 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21823 specifies first scope to show.
21824 (dl_open_worker): Update callers. Move printing scope of new
21825 object to before the relocation.
44f0a71e 21826 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
21827 * sysdeps/generic/ldsodefs.h: Update declaration.
21828
076fe015
UD
21829 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21830 string for the scope number.
21831
a60df2c3
UD
218322011-08-14 Ulrich Drepper <drepper@gmail.com>
21833
21834 * nscd/servicescache.c (cache_addserv): Make sure written is always
21835 initialized.
21836
5e4287d1
RM
218372011-08-14 Roland McGrath <roland@hack.frob.com>
21838
85ae0589
RM
21839 * sysdeps/i386/i486/bits/atomic.h
21840 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21841 statement expression, so as to suppress "set but not used" warning.
21842 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21843
69f63097
RM
21844 * string/strncat.c (STRNCAT): Use prototype definition.
21845
675456ef
RM
21846 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21847 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21848 -Iprograms here.
21849 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21850 (localedef-modules): Add localedef.
21851 (locale-modules): Add locale.
21852
5e4287d1
RM
21853 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21854 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21855 to avoid a warning.
21856
9c96ff23
DM
218572011-08-14 David S. Miller <davem@davemloft.net>
21858
21859 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21860 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21861
f9ddf089
UD
218622011-08-13 Ulrich Drepper <drepper@gmail.com>
21863
44f0a71e 21864 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
21865 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21866 * elf/rtld.c (dl_main): Set l_name of vDSO.
21867 Call _dl_show_scope when DL_DEBUG_SCOPES.
21868 (process_dl_debug): Recognize scopes flag and also set it for all.
21869 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21870 Declare _dl_show_scope.
21871
1dc27704
UD
21872 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21873 (do_dlopen): Pass caller_dlopen to dl_open.
21874 (__libc_dlopen_mode): Initialize caller_dlopen.
21875
f9ddf089
UD
21876 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21877 of libc. Make tolower call locale-independent. Optimize a bit by
21878 using isdigit instead of isalnum.
21879 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21880
9ac533d3
UD
218812011-08-12 Ulrich Drepper <drepper@gmail.com>
21882
21883 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21884 was a dependency or dynamically loaded.
21885
89edf2e9
UD
218862011-08-11 Ulrich Drepper <drepper@gmail.com>
21887
8e999d29
UD
21888 * intl/l10nflist.c: Allow architecture-specific pop function.
21889 * sysdeps/x86_64/l10nflist.c: New file.
21890
89edf2e9
UD
21891 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21892 classification.
21893
14d96785
AS
218942011-08-10 Andreas Schwab <schwab@redhat.com>
21895
21896 * include/dirent.h: Add libc_hidden_proto for scandirat and
21897 scandirat64. Don't declare __scandirat64.
21898 * dirent/scandirat.c: Add libc_hidden_def.
21899 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21900 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21901
6761ac04
DM
219022011-08-10 David S. Miller <davem@davemloft.net>
21903
21904 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21905 enum.
21906 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21907 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21908 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21909
c55fbd1e
UD
219102011-08-09 Ulrich Drepper <drepper@gmail.com>
21911
21912 * Versions.def [libc]: Add GLIBC_2.15.
21913 * dirent/Makefile (routines): Add scandirat and scandirat64.
21914 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21915 GLIBC_2.15.
21916 * dirent/dirent.h: Declare scandirat and scandirat64.
21917 * dirent/scandirat.c: New file.
21918 * dirent/scandirat64.c: New file.
21919 * sysdeps/wordsize-64/scandirat.c: New file.
21920 * sysdeps/wordsize-64/scandirat64.c: New file.
21921 * dirent/opendir.c: Define opendirat.
21922 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21923 using scandirat.
21924 * dirent/scandir64.c: Adjust for scandir.c change.
21925 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21926 __scandirat64, and __scandir_cancel_handler.
21927 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21928 additional parameter and use openat instead of open (outside of ld.so).
21929 Add new __opendir as wrapper around __opendirat.
21930 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21931 here without requiring old scandirat implementation.
21932
879165f2
UD
219332011-08-08 Ulrich Drepper <drepper@gmail.com>
21934
21935 * dirent/scandir.c (cancel_handler): Renamed to
21936 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21937 defined. Adjust users.
21938 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21939 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21940
cb7e923b
UD
219412011-08-04 Ulrich Drepper <drepper@gmail.com>
21942
16292edd
UD
21943 * string/test-string.h (IMPL): Use __STRING to expand name and then
21944 stringify it.
21945
cb7e923b
UD
21946 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21947 of cleanups.
21948
cff82933
LD
219492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21950
21951 * string/Makefile: Update.
21952 (strop-tests): Append strncat.
21953 * string/test-wcscmp.c: New file.
21954 New comprehensive test for wcscmp.
21955 * string/test-strcmp.c: Update.
21956 (WIDE): New define.
21957
9be9bfcc
AS
219582011-07-22 Andreas Schwab <schwab@redhat.com>
21959
21960 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21961 line.
21962
2e96f1c7
AS
219632011-07-26 Andreas Schwab <schwab@redhat.com>
21964
21965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21966 encoding to ACE if AI_IDN.
21967
85188888
JJ
219682011-08-01 Jakub Jelinek <jakub@redhat.com>
21969
21970 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21971 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21972
5fa16e9b
LD
219732011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21974
21975 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21976 Fix overflow bug in strncat.
21977 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21978
21979 * string/test-strncat.c: Update.
21980 Add new tests for checking overflow bugs.
21981
219822011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21983
21984 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21985 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21986 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21987 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21988 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21989 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21990 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21991 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21992 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21993
21994 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21995 (USE_AS_STRCAT): Define.
21996 Add strcat and strncat support.
21997 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21998
8c1a459f
AS
219992011-07-25 Andreas Schwab <schwab@redhat.com>
22000
22001 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
22002 __n bigger than INT_MAX+1.
22003 (__strncmp_g): Likewise.
22004
bba33c28
UD
220052011-07-23 Ulrich Drepper <drepper@gmail.com>
22006
798be72d
UD
22007 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
22008 * libio/stido.h: Likewise.
22009
8accd4dc
UD
22010 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
22011 (AF_NFC): Define.
22012 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
22013 (AF_NFC): Define.
22014
cbff0d96
UD
22015 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
22016 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22017 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22018 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
22019 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22020
9191c04a
UD
22021 [BZ #13021]
22022 * scripts/test-installation.pl: Don't expect libnss_test1 to be
22023 installed.
22024
bba33c28
UD
22025 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
22026 typo.
22027 (_dl_x86_64_save_sse): Likewise.
22028
90f139dd
UD
220292011-07-22 Ulrich Drepper <drepper@gmail.com>
22030
1aae088a
UD
22031 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
22032 OSXSAVE.
22033 (_dl_x86_64_save_sse): Likewise.
22034
8e2045f5
UD
22035 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22036
90f139dd
UD
22037 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22038
1d002f25
AS
220392011-07-21 Andreas Schwab <schwab@redhat.com>
22040
22041 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22042 change.
22043 (_dl_x86_64_save_sse): Use correct AVX check.
22044
21137f89
UD
220452011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22046
22047 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22048 bug in strncpy/strncat.
22049 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22050
a65c0b7a
UD
220512011-07-21 Ulrich Drepper <drepper@gmail.com>
22052
22053 * string/tester.c (test_strcat): Add tests for different alignments
22054 of source and destination.
22055 (test_strncat): Likewise.
22056
6986b98a
UD
220572011-07-20 Ulrich Drepper <drepper@gmail.com>
22058
90bb2039
UD
22059 [BZ #12852]
22060 * posix/glob.c (glob): Check passed in values before using them in
22061 expressions to avoid some overflows.
22062 (glob_in_dir): Likewise.
22063
5644ef54
UD
22064 [BZ #13007]
22065 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22066 check for AVX enablement so that we don't crash with old kernels and
22067 new hardware.
22068 * elf/tst-audit4.c: Add same checks here.
22069 * elf/tst-audit6.c: Likewise.
22070
22071 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 22072
bfc9dc9b
AS
220732011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22074
22075 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22076
702e64bb
UD
220772011-07-20 Ulrich Drepper <drepper@gmail.com>
22078
22079 * po/cs.po: Update from translation team.
22080 * po/bg.po: Likewise.
22081
295e904f
MP
220822011-07-12 Marek Polacek <mpolacek@redhat.com>
22083
22084 * misc/sys/cdefs.h: Add support for const attribute.
22085 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22086 to gnu_dev_{major,minor,makedev} functions.
22087
3ff94596
MP
220882011-07-20 Marek Polacek <mpolacek@redhat.com>
22089
22090 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22091
28b59fca
AS
220922011-07-20 Andreas Schwab <schwab@redhat.com>
22093
22094 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22095 strlen results.
22096
19df733e
AK
220972011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22098
22099 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22100 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22101 register in order to avoid conflicts with the soft frame pointer
22102 being held in r11 when necessary.
22103 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22104 (INTERNAL_VSYSCALL_NCS): Likewise.
22105
c8835729
MP
221062011-07-14 Marek Polacek <mpolacek@redhat.com>
22107
22108 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22109 * elf/dl-fini.c (_dl_fini): Adjust caller.
22110 * elf/dl-close.c (_dl_close_worker): Likewise.
22111 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22112
b902330c
MP
221132011-07-15 Marek Polacek <mpolacek@redhat.com>
22114
8991e135
MP
22115 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22116 "aux_cache->nlibs < 0".
22117
b902330c
MP
22118 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22119 in the reload-count case.
22120
99710781
LD
221212011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22122
22123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22124 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22125 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22126 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22127 * sysdeps/x86_64/multiarch/strcat.S: New file.
22128 * sysdeps/x86_64/multiarch/strncat.S: New file.
22129 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22130 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22131 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22132 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22133 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22134 (USE_AS_STRCAT): Define.
22135 Add strcat and strncat support.
22136 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22137 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22138 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22139 * string/strncat.c: Update.
22140 (USE_AS_STRNCAT): Define.
22141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22142 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22143 and i7.
22144 * sysdeps/x86_64/multiarch/init-arch.h
22145 (bit_Prefer_PMINUB_for_stringop): New.
22146 (index_Prefer_PMINUB_for_stringop): Likewise.
22147 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22148 bit_Prefer_PMINUB_for_stringop.
22149
7dc6bd90
UD
221502011-07-19 Ulrich Drepper <drepper@gmail.com>
22151
22152 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22153 buffer64.
22154 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22155 of casting of buffer.
22156 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22157 buffer32 and buffer64.
22158 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22159 writes instead of casting of buffer.
22160 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22161 buffer32.
22162 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22163 casting of buffer.
22164
e0e72284
AS
221652011-07-19 Andreas Schwab <schwab@redhat.com>
22166
22167 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22168
feb1eb0b
UD
221692011-07-19 Ulrich Drepper <drepper@gmail.com>
22170
22171 * nscd/nscd.c (termination_handler): Don't do anything for a database
22172 if it has not yet been initialized.
22173
298711ff
UD
221742011-07-18 Ulrich Drepper <drepper@gmail.com>
22175
22176 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22177
221782011-07-15 Marek Polacek <mpolacek@redhat.com>
22179
22180 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22181
f9d68389
UD
221822011-07-18 Ulrich Drepper <drepper@gmail.com>
22183
22184 * po/nl.po: Update from translation team.
22185 * po/sv.po: Likewise.
22186
db290cf5
RM
221872011-07-16 Roland McGrath <roland@hack.frob.com>
22188
22189 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22190 now disallowed by GCC.
5c550700 22191
fd5e21c7
RM
22192 * configure.in (use-default-link): Default to yes if a test -shared
22193 link meets our qualifications.
22194 * configure: Regenerated.
22195
5c550700
RM
22196 * config.make.in (output-format): New variable.
22197 * configure.in: Check for ld --print-output-format support.
22198 * configure: Regenerated.
22199 * Makerules ($(common-objpfx)format.lds)
22200 [$(output-format) != unknown]: Just use $(output-format),
22201 instead of the linker-script munging.
22202
9fa2c032
RM
222032011-07-14 Roland McGrath <roland@hack.frob.com>
22204
a6928d51
RM
22205 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22206 of $(common-objpfx)shlib.lds.
22207 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22208
661607b3
RM
22209 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22210 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22211
9fa2c032
RM
22212 * configure.in (-z relro check): Adjust test code to add a large
22213 writable data section after it.
22214 * configure: Regenerated.
22215
defe9061
RM
222162011-07-11 Roland McGrath <roland@hack.frob.com>
22217
22218 * configure.in (-z relro check): Fix test code to make the variable
22219 truly const.
22220 * configure: Regenerated.
22221
319b9ad4
UD
222222011-07-11 Ulrich Drepper <drepper@gmail.com>
22223
22224 * nscd/nscd.h (struct traced_file): Define.
22225 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22226 elements. Add traced_files.
22227 (inotify_fd): Declare.
22228 (register_traced_file): Declare.
22229 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22230 (inotify_fd): Export.
22231 (resolv_conf_descr): Remove.
22232 (nscd_init): Move inotify descriptor creation to main.
22233 Don't register files for notification here.
22234 (register_traced_file): New function.
22235 (invalidate_cache): Don't use reset_res to determine whether to call
22236 res_init, go through the list of registered files.
22237 (main_loop_poll): The inotify descriptors are now stored in the
22238 structures for the traced files.
22239 (main_loop_epoll): Likewise
22240 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22241 to __nss_disable_nscd.
22242 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22243 for a database anymore. Check the records for all the registered
22244 files instead.
22245 * nss/Makefile (libnss_files-routines): Add files-init.
22246 (libnss_db-routines): Add db-init.
22247 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22248 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22249 * nss/nss_db/db-init.c: New file.
22250 * nss/nss_files/files-init.c: New file.
22251 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22252 __nss_lookup_function.
22253 (__nss_lookup_function): Call nss_load_library.
22254 (nss_load_all_libraries): New function.
22255 (__nss_disable_nscd): Take parameter with callback function for files
22256 to register. Set is_nscd. Load all the DSOs for the NSS modules
22257 used for the cached services.
22258 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22259 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22260 options for features to all the files in nscd.
22261
22262 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22263
23bee3e8
RM
222642011-07-10 Roland McGrath <roland@hack.frob.com>
22265
22266 * csu/elf-init.c (__libc_csu_init): Comment typo.
22267
46a5b7f0
UD
222682011-07-09 Ulrich Drepper <drepper@gmail.com>
22269
22270 * po/pl.po: Update from translation team.
22271 * po/ja.po: Likewise.
22272 * po/ru.po: Likewise.
22273 * po/ko.po: Likewise.
22274 * po/fr.po: Likewise.
22275
d30cf5bb
RM
222762011-07-09 Roland McGrath <roland@hack.frob.com>
22277
113ddea4
RM
22278 * configure.in (.ctors/.dtors header and trailer check):
22279 Use an empirical test on a built program.
22280 * configure: Regenerated.
22281
574920b4
RM
22282 * configure.in (-z relro check): Use an empirical test on a built DSO.
22283 Detect, but do not require, on ia64.
22284 * configure: Regenerated.
22285
d30cf5bb
RM
22286 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22287 Update tests that use readelf to use $READELF instead.
22288 * configure: Regenerated.
22289
8538fdb3
UD
222902011-07-08 Ulrich Drepper <drepper@gmail.com>
22291
22292 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22293 if the result is not used.
22294
04d08991
AJ
222952011-07-05 Andreas Jaeger <aj@suse.de>
22296
22297 [BZ#9696]
22298 * stdlib/tst-strtod.c: Add testcase.
22299
de283087
AD
223002011-07-07 Ulrich Drepper <drepper@gmail.com>
22301
4e5f31c8 22302 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 22303 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
22304 The latter has a higher limit. Take additional parameter to pass to
22305 the new function.
22306 (__pathconf): Pass file to __statfs_link_max.
22307 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22308 __statfs_link_max.
22309 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22310 __statfs_link_max.
22311
de283087
AD
22312 [BZ #12868]
22313 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22314 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22315 Handle Lustre.
22316 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22317 (__statfs_filesize_max): Likewise.
22318 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22319
c75fa153
AJ
223202011-07-05 Andreas Jaeger <aj@suse.de>
22321
22322 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22323
1a544854
UD
223242011-07-06 Marek Polacek <mpolacek@redhat.com>
22325
22326 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22327 `status' variable.
22328 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22329 Likewise.
22330
6f0eec67
UD
223312011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22332
22333 * Makefile (strop-tests): Add strncat.
22334 * string/test-strncat.c: New file.
22335
aae30307
UD
223362011-06-30 Marek Polacek <mpolacek@redhat.com>
22337
22338 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22339
c0cfb5eb
UD
223402011-06-21 Andreas Jaeger <aj@suse.de>
22341
22342 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22343 Copy rule from iconvdata/Makefile.
22344
01636b21
UD
223452011-07-06 Ulrich Drepper <drepper@gmail.com>
22346
22347 [BZ #12922]
22348 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22349 but no long options are defined, just return 'W'.
22350
9895c8bc
UD
223512011-06-22 Marek Polacek <mpolacek@redhat.com>
22352
22353 [BZ #9696]
22354 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22355
5d4cf042
UD
223562011-07-06 Ulrich Drepper <drepper@gmail.com>
22357
22358 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22359 netgroups to read.
960e5535 22360 (innetgr): Likewise.
5d4cf042 22361
751eb97e
RM
223622011-07-05 Roland McGrath <roland@hack.frob.com>
22363
22364 * config.make.in (install_root): Default to $(DESTDIR).
22365
f15f1e45
UD
223662011-07-05 Ulrich Drepper <drepper@gmail.com>
22367
22368 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22369
4e34ac6a
RM
223702011-07-02 Roland McGrath <roland@hack.frob.com>
22371
5e9b6af4
RM
22372 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22373
84f9ea0f
RM
22374 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22375 containing directory rather than embedding absolute directory names.
22376
ea5ee9f7
RM
22377 * scripts/check-local-headers.sh: Rewritten using awk.
22378 Match by word, not by line. Print error messages for matches.
22379 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22380
1b74661a
RM
22381 * Makerules [shlib-lds-flags empty]:
22382 ($(common-objpfx)libc_pic.opts): New target.
22383 ($(common-objpfx)libc_pic.os.clean): New target.
22384 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22385
22386 * config.make.in (OBJCOPY): New variable.
22387 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22388 * configure: Regenerated.
22389
f781ef40
RM
22390 * config.make.in (use-default-link): New variable.
22391 * configure.in (use_default_link): Grok --with-default-link to set it.
22392 * configure: Regenerated.
22393 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22394 (shlib-lds, shlib-lds-flags): Define to empty.
22395
2d4fa81e
RM
22396 * Makerules (shlib-lds): New variable.
22397 (shlib-lds-flags): New variable.
22398 (build-shlib, build-moduile, build-module-asneeded): Use it.
22399 ($(common-objpfx)libc.so): Use $(shlib-lds).
22400 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22401 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22402
31fffa6b
RM
22403 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22404 DT_FLAGS/DT_FLAGS_1 with zero flags.
22405
4e34ac6a
RM
22406 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22407 linker script munging.
22408
fcfc776b
UD
224092011-07-02 Ulrich Drepper <drepper@gmail.com>
22410
22411 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22412 as 128-bit value.
22413 * crypt/sha512.c (sha512_process_block): Perform total addition using
22414 128-bit if possible.
22415 (__sha512_finish_ctx): Likewise.
22416 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22417 as 64-bit value.
22418 * crypt/sha256.c (SWAP64): Define.
22419 (sha256_process_block): Perform total addition using 64-bit if
22420 possible.
22421 (__sha256_finish_ctx): Likewise.
22422
99231d9a
UD
224232011-07-01 Ulrich Drepper <drepper@gmail.com>
22424
22425 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
22426 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22427 * nscd/hstcache.c (cache_addhst): Likewise.
22428 * nscd/grpcache.c (cache_addgr): Likewise.
22429 * nscd/aicache.c (addhstaiX): Likewise
22430 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22431
445b4a53
TK
224322011-07-01 Thorsten Kukuk <kukuk@suse.de>
22433
22434 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22435 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22436 * nscd/hstcache.c (cache_addhst): Likewise.
22437 * nscd/grpcache.c (cache_addgr): Likewise.
22438 * nscd/aicache.c (addhstaiX): Likewise
22439
6d4d8e8e
AS
224402011-07-01 Andreas Schwab <schwab@redhat.com>
22441
22442 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
22443 domain only when needed.
22444
89f654c5
AS
224452011-06-30 Andreas Schwab <schwab@redhat.com>
22446
22447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
22448 is always restored.
22449
cf3b23ff
UD
224502011-06-29 Ulrich Drepper <drepper@gmail.com>
22451
22452 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22453 are re-adding the entry.
22454 * nscd/servicescache.c (cache_addserv): Likewise.
22455
751626f9
AJ
224562011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22457
22458 * sysdeps/generic/dl-irel.h: fix protection against multiple
22459 inclusions.
22460 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22461
9113ea1f
UD
224622011-06-28 Ulrich Drepper <drepper@gmail.com>
22463
5c0b8d90
UD
22464 [BZ #12935]
22465 * malloc/memusage.sh: Fix quoting in message.
22466 * debug/xtrace.sh: Likewise.
22467
9113ea1f
UD
22468 * configure.in: Remove support for --experimental-malloc option, make
22469 it the default.
22470 * config.make.in: Likewise.
22471 * malloc/Makefile: Likewise.
22472
a4172181
AS
224732011-06-27 Andreas Schwab <schwab@redhat.com>
22474
22475 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22476 two-byte characters.
22477
78a7eee7
RM
224782011-06-27 Roland McGrath <roland@hack.frob.com>
22479
62bede13
RM
22480 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22481 AC_CACHE_CHECK invocation.
22482 * configure: Regenerated.
22483
78a7eee7
RM
22484 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22485
5ce33a62
UD
224862011-06-27 Ulrich Drepper <drepper@gmail.com>
22487
034807a9
UD
22488 [BZ #12350]
22489 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22490 bit from old_res_options.
22491
4902da17
UD
22492 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22493
5ce33a62
UD
22494 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22495 value type for setfct.
22496
c2344f56
L
224972011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22498
22499 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22500 __gettimeofday instead of gettimeofday.
22501
68468076
UD
225022011-06-26 Ulrich Drepper <drepper@gmail.com>
22503
22504 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22505
acb0d739
L
225062011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22507
22508 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22509
22510 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22511 info.
22512
8912479f
L
225132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22514
22515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22516 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22517 strcpy-sse2-unaligned strncpy-sse2-unaligned
22518 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22519 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22520 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22521 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22522 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22523 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22524 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22525 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22526 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22527 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22528 (STRCPY): Support SSE2 and SSSE3 versions.
22529
d5495a11
UD
225302011-06-24 Ulrich Drepper <drepper@gmail.com>
22531
22532 [BZ #12874]
22533 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22534 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22535 kernels which artificially limit size of requests.
22536
0b1cbaae
L
225372011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22538
22539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22540 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22541 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22542 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22543 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22544 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22545 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22546 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22547 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22548 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22549 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22550 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22551 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22552 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22553 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22555 Enable unaligned load optimization for Intel Core i3, i5 and i7
22556 processors.
22557 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22558 Define.
22559 (index_Fast_Unaligned_Load): Define.
22560 (HAS_FAST_UNALIGNED_LOAD): Define.
22561
07f494a0
MP
225622011-06-23 Marek Polacek <mpolacek@redhat.com>
22563
22564 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22565
fa3fc0fe
UD
225662011-06-22 Ulrich Drepper <drepper@gmail.com>
22567
22568 [BZ #12907]
22569 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22570 until it is clear that the information is realy needed.
22571 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22572
e12df166
AS
225732011-06-22 Andreas Schwab <schwab@redhat.com>
22574
22575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22576
852eb34d
UD
225772011-06-22 Ulrich Drepper <drepper@gmail.com>
22578
84e2a551
UD
22579 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22580 /sys/devices/system/cpu/online if it is usable.
22581
852eb34d
UD
22582 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22583 reading the information from the /proc filesystem to once a second.
22584
6e502e19
UD
225852011-06-21 Andreas Jaeger <aj@suse.de>
22586
22587 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22588 NULL after inclusion of kernel headers.
22589
75d39ff2
UD
225902011-06-21 Ulrich Drepper <drepper@gmail.com>
22591
51f9aa6a
UD
22592 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22593 calls to internal_setent.
22594
c0244a9d
UD
22595 [BZ #12885]
22596 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22597 addresses using gethostbyname4_r ignore IPv4 addresses.
22598
c5e3c2ae
UD
22599 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22600 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22601
75d39ff2
UD
22602 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22603
42675c6f
DM
226042011-06-20 David S. Miller <davem@davemloft.net>
22605
22606 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22607 inclusions.
22608 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22609
22610 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22611 (elf_irel): Use it.
22612 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22613 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22614 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22615 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22616 * sysdeps/x86_64/dl-irel.h: Likewise.
22617
22618 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22619 * elf/dl-sym.c: Likewise.
22620
57912a71
UD
226212011-06-15 Ulrich Drepper <drepper@gmail.com>
22622
22623 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22624 need to dereference resplen2.
22625
ee22793d
AS
226262011-06-14 Andreas Schwab <schwab@redhat.com>
22627
22628 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22629
a9e836b0
UD
226302011-06-15 Ulrich Drepper <drepper@gmail.com>
22631
77fb9117
UD
22632 * Makeconfig: Define vardbdir and inst_vardbdir.
22633 * nss/Makefile: Add rules to install db-Makefile.
22634
40c1b22c
UD
22635 * nss/nss_db/db-XXX.c: Cleanup.
22636
9f2da732
UD
22637 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22638 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22639 GLIBC_PRIVATE.
22640 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22641 * nss/makedb.c: Implement -g option to specify that value strings
22642 are generated and should not be added to table iterated over for
22643 get*ent calls.
22644 * nss/nss_db/db-initgroups.c: New file.
22645
82e9a1f7
UD
22646 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22647 interface.
22648
c41af17e
UD
22649 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22650 (internal_getgrouplist): Adjust to name change.
22651 Update use_initgroups_entry if this is not the first call.
22652 * nss/databases.def: Add initgroups entry.
22653
a9e836b0
UD
22654 * nss/makedb.c (compute_tables): Check result of multiple hash table
22655 sizes to minimize maximum chain length.
22656
2666d441
UD
226572011-06-14 Ulrich Drepper <drepper@gmail.com>
22658
22659 * Versions.def: Add entry for libnss_db.
22660 * shlib-versions: Likewise.
22661 * nss/Makefile: Add rules to build libnss_db.
22662 * nss/Versions: Add libnss_db information. Organize libnss_files
22663 entries better.
22664 * nss/db-Makefile: Add gshadow support. Change rules for the new
22665 makedb progra. Some minor improvements to generate smaller files.
22666 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22667 here from...
22668 * nss/makedb.c: ...here.
22669 Improve database format to be smaller and require less memory at
22670 runtime.
22671 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22672 db anymore.
22673 * nss/nss_db/db-netgrp.c: Likewise.
22674 * nss/nss_db/db-open.c: Likewise.
22675 * nss/nss_files/flies-XXX.x: Adjust comments.
22676 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22677 * nss/nss_files/files-grp.c: Likewise.
22678 * nss/nss_files/files-hosts.c: Likewise.
22679 * nss/nss_files/files-network.c: Likewise.
22680 * nss/nss_files/files-proto.c: Likewise.
22681 * nss/nss_files/files-pwd.c: Likewise.
22682 * nss/nss_files/files-rpc.c: Likewise.
22683 * nss/nss_files/files-service.c: Likewise.
22684 * nss/nss_files/files-sgrp.c: Likewise.
22685 * nss/nss_files/files-spwd.c: Likewise.
22686 * nss/nss_db/db-alias.c: Removed.
22687 * nss/nss_db/dummy-db.h: Removed.
22688
9ee76b5a
UD
226892011-06-02 Ulrich Drepper <drepper@gmail.com>
22690
22691 * nss/makedb.c: Rewritten to not use database library.
22692 * nss/Makefile: Update to build new makedb program.
22693
c71ca1f8
AJ
226942011-06-14 Andreas Jaeger <aj@suse.de>
22695
22696 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22697 memset declaration.
22698
3154bfb8
UD
226992011-06-10 Andreas Schwab <schwab@redhat.com>
22700
22701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22702 tmpbuf.
22703
b350afab
RM
227042011-06-10 Roland McGrath <roland@hack.frob.com>
22705
decd4e50
RM
22706 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22707 * elf/Makefile ($(objpfx)ld.so): Likewise.
22708
5615eaf2
RM
22709 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22710 Don't list ld.so twice in dependencies.
22711
22712 * posix/bug-regex31.c: Include <stdlib.h>.
22713
22714 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22715
22716 * nis/nss_compat/compat-spwd.c
22717 (getspent_next_nss_netgr): Remove unused variable.
22718 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22719
22720 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22721 nonmembers" output to use the right array.
22722
22723 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22724
22725 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22726
22727 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22728 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22729 * catgets/gencat.c (read_input_file): Likewise.
22730 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22731
22732 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22733 variable definition inside #if's controlling its use.
22734
22735 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22736
22737 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22738
22739 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22740
22741 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22742 unreachable code.
22743
22744 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22745
b68e08db
RM
22746 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22747 * configure: Regenerated.
22748
b350afab
RM
22749 * Makerules: Revert last change.
22750 * elf/Makefile: Likewise.
22751
28368601
RM
227522011-06-09 Roland McGrath <roland@hack.frob.com>
22753
22754 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22755 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22756 (reloc-link): Likewise.
22757
11988f8f
UD
227582011-06-09 Ulrich Drepper <drepper@gmail.com>
22759
22760 * elf/Makefile: Add rules to build pldd.
22761 * elf/pldd.c: New file.
22762 * elf/pldd-xx.c: New file.
22763
e80fab37
UD
227642011-06-07 Ulrich Drepper <drepper@gmail.com>
22765
22766 * version.h: Update for 2.15 development version.
22767
9b849836
DM
227682011-06-07 David S. Miller <davem@davemloft.net>
22769
22770 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22771 ifuncs.
22772 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22773 elf_machine_lazy_rel): Likewise.
22774 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22775 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22776 elf_machine_lazy_rel): Likewise.
22777 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22778 dl_hwcap via passed in argument.
22779 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22780 Likewise.
22781
5a31b283
AK
227822011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22783
22784 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22785
069e52f8
RM
227862011-06-06 Roland McGrath <roland@hack.frob.com>
22787
22788 [BZ #12849]
22789 * manual/fdl-1.1.texi: New file, verbatim from:
22790 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22791 * manual/lgpl-2.1.texi: New file, verbatim from:
22792 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22793 * manual/Makefile (licenses): New variable, list those new file names.
22794 (texis): Use it.
22795 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22796
22797 * manual/fdl.texi: File removed.
22798 * manual/lesser.texi: File removed.
22799 * manual/libc.texinfo (Copying, Documentation License):
22800 Use new @include file names, put @appendix directive before @include.
22801
f16846a5
JJ
228022011-06-04 Jakub Jelinek <jakub@redhat.com>
22803
22804 [BZ #12841]
22805 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22806 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22807 (mq_open): Add __NTH.
22808
3d29045b
L
228092011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22810
22811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22812 Assume Intel Core i3/i5/i7 processor if AVX is available.
22813
8c297311
UD
228142011-05-31 Ulrich Drepper <drepper@gmail.com>
22815
22816 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22817 typo.
22818
c8fc0c91
UD
228192011-05-31 Andreas Schwab <schwab@redhat.com>
22820
22821 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22822 memory. Use alloca_account. Fix memory leak when retrying.
22823
5b27a807
UD
228242011-05-31 Ulrich Drepper <drepper@gmail.com>
22825
356f8bc6
UD
22826 * version.h (RELEASE): Bump for 2.14 release.
22827 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22828
5b27a807
UD
22829 * config.make.in (RANLIB): Remove entry.
22830
01f16ab0
UD
228312011-05-30 Ulrich Drepper <drepper@gmail.com>
22832
41fce8bd
UD
22833 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22834 (libc.pot): Work around missing support for .ksh extension in xgettext.
22835
4769ae77
UD
22836 [BZ #12684]
22837 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22838 if both request failed.
22839 (send_dg): In case of server errors clear resplen or *resplen2.
22840
6b1e7d19
UD
22841 [BZ #12454]
22842 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22843 when there are multiple maps.
22844 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22845 (_dl_fini): Remove test here.
22846
01f16ab0
UD
22847 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22848
b1ebd700
UD
228492011-05-29 Ulrich Drepper <drepper@gmail.com>
22850
7ae22829
UD
22851 [BZ #12350]
22852 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22853 bit from old_res_options.
22854 (gaih_inet): Likewise.
22855
553149f6 22856 [BZ #11099]
18a84741 22857 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
22858 as signed.
22859
652ffab1
UD
22860 * resolv/res_init.c (res_setoptions): Make the code more compact.
22861
16985fd0
UD
22862 [BZ #11558]
22863 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22864 set RES_USEVC.
22865
0464f746
UD
22866 [BZ #11634]
22867 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22868
7d17596c
UD
22869 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22870
cf6bbbd7
UD
22871 [BZ #11781]
22872 * malloc/malloc.h: Declare malloc hook variables as volatile.
22873
13f1ab36
UD
22874 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22875 in last patch.
22876
b1ebd700
UD
22877 [BZ #11799]
22878 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 22879 raise in the comment.
80e2212d
UD
22880 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22881 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22882 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 22883
ce67228d
UD
228842011-05-28 Ulrich Drepper <drepper@gmail.com>
22885
8887a920
UD
22886 [BZ #12811]
22887 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22888 grow the buffers more if it already has to be sufficient.
22889 (build_wcs_upper_buffer): Likewise.
22890 * posix/regexec.c (check_matching): Likewise.
22891 (clean_state_log_if_needed): Likewise.
22892 (extend_buffers): Don't enlarge buffers beyond size of the input
22893 buffer.
22894 Patches mostly by Emil Wojak <emil@wojak.eu>.
22895 * posix/bug-regex32.c: New file.
22896 * posix/Makefile (tests): Add bug-regex32.
22897
4f031072
UD
22898 * locale/findlocale.c (_nl_find_locale): Return right away if
22899 _nl_explode_name failed.
22900 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22901
d0478f0c
UD
22902 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22903
de81b246
UD
22904 * debug/xtrace.sh: Unify messages.
22905 * malloc/memusage.sh: Likewise.
22906
c738465a
UD
22907 [BZ #12813]
22908 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22909 time symbol from vDSO. Substitute with vsyscall if not available.
22910 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22911 __vdso_time.
22912
f1f929d7
UD
22913 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22914 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22915 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22916 Add sendmmsg and internal_sendmmsg.
22917 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22918 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22919 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22920
ce67228d
UD
22921 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22922 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22923 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22924
e57420c6
UD
229252011-05-27 Ulrich Drepper <drepper@gmail.com>
22926
a8509ca5
UD
22927 [BZ #12813]
22928 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22929 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22930 available.
22931 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22932 __vdso_getcpu.
22933
e57420c6
UD
22934 [BZ #12814]
22935 * iconvdata/Makefile (tests): Add bug-iconv9.
22936 * iconvdata/bug-iconv9.c: New file.
22937
4d07db15
AS
229382011-05-27 Andreas Schwab <schwab@redhat.com>
22939
22940 [BZ #12814]
22941 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22942
ea486f69
JJ
229432011-05-25 Jakub Jelinek <jakub@redhat.com>
22944
22945 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22946 (struct user_regs_struct): Change intcs field back to cs.
22947
6f038433
UD
229482011-05-25 Ulrich Drepper <drepper@gmail.com>
22949
22950 * po/ja.po: Update from translation team.
22951
67f86a25
UD
229522011-05-23 Ulrich Drepper <drepper@gmail.com>
22953
22954 [BZ #12795]
22955 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22956 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22957
def7fbd6
AS
229582011-05-20 Andreas Schwab <schwab@redhat.com>
22959
22960 * stdlib/longlong.h: Update from GCC.
22961
f50ef8f1
AS
229622011-05-23 Andreas Schwab <schwab@redhat.com>
22963
22964 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22965 parameter name.
22966 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22967 Add parameter name.
22968 (__sysconf): Pass it down.
22969
de7ce8f1
UD
229702011-05-22 Ulrich Drepper <drepper@gmail.com>
22971
f2962a71
UD
22972 [BZ #12671]
22973 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22974 some situations.
22975 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22976 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22977 add in in __libc_use_alloca calls. Adjust callers.
22978 (glob): Use malloc in some situations.
22979
de7ce8f1
UD
22980 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22981 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22982 pltexit.
22983
aec84f53
UD
229842011-05-21 Ulrich Drepper <drepper@gmail.com>
22985
05bb4a68
UD
22986 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22987 and CLOCK_BOOTTIME_ALARM.
22988
7ea72f99
UD
22989 [BZ #12782]
22990 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22991 is returned.
22992
7e4afad5
UD
22993 * string/_strerror.c (__strerror_r): Print negative errors as signed
22994 numbers.
22995
8e211fec
UD
22996 [BZ #12777]
22997 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22998 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22999 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
23000
f7d82dc9
UD
23001 * configure.in: Fix typo in redirection and correct removal of test
23002 files in two cases.
23003
cc9e536d
UD
23004 [BZ #12788]
23005 * locale/setlocale.c (new_composite_name): Fix test to check for
23006 identical name of all categories.
23007
aec84f53
UD
23008 [BZ #12792]
23009 * libio/filedoalloc.c (local_isatty): New function.
23010 (_IO_file_doallocate): Use local_isatty.
23011 * stdio-common/perror.c (perror): In case a new stream is used
23012 forward the stream error.
23013 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
23014 error flag.
23015
78e64fdc
RT
230162011-05-20 Ulrich Drepper <drepper@gmail.com>
23017
34a9094f
UD
23018 [BZ #11869]
23019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
23020 alloca.
23021 * include/alloca.h (extend_alloca_account): Define.
23022
78e64fdc
RT
23023 [BZ #11857]
23024 * posix/regex.h: Fix comments with documentation of user-accessible
23025 fields after compilation and describe correct free'ing of pattern
23026 after re_compile_pattern.
23027 Patch by Reuben Thomas <rrt@sc3d.org>.
23028
457bddfc
RA
230292011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
23030
23031 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
23032 and -mno-altivec to prevent the compiler from using Altivec and/or
23033 VSX instructions when the corresponding registers are not available.
23034
a4527b51
AS
230352011-05-19 Andreas Schwab <schwab@redhat.com>
23036
23037 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23038
ed690b2f
UD
230392011-05-19 Ulrich Drepper <drepper@gmail.com>
23040
23041 * libio/freopen.c (freopen): Use __dup2, not dup2.
23042 * libio/freopen64.c (freopen64): Likewise.
23043
8db73634
L
230442011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23045
23046 [BZ #12775]
23047 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23048 * math/Makefile (tests): Add test-powl.
23049 (CFLAGS-test-powl.c): Define.
23050 * math/test-powl.c: New file.
23051
0a197a9d
L
230522011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23053
23054 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23055
ee30c380
UD
230562011-05-17 Ulrich Drepper <drepper@gmail.com>
23057
23058 [BZ #11837]
23059 * iconvdata/gb18030.c: Update to GB18020-2005.
23060
6ce75379
UD
230612011-05-16 Ulrich Drepper <drepper@gmail.com>
23062
a4b89fd8
AR
23063 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23064 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23065 Patch by Aharon Robbins <arnold@skeeve.com>.
23066
ea389b12
UD
23067 [BZ #11892]
23068 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23069 on the stack.
23070
68a3f91f
UD
23071 [BZ #11895]
23072 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23073 through underflows.
23074
15cc7dd1
UD
23075 [BZ #12766]
23076 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23077 point to strings before performing equality test for error_one_per_line
23078 mode.
23079
f3799213
UD
23080 [BZ #11697]
23081 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23082
d79a9c94
UD
23083 [BZ #11820]
23084 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23085 (struct user_fpregs_struct): Avoid __uint*_t types.
23086
56e5eb46
UD
23087 [BZ #6420]
23088 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23089 symbol info. Use it instead of calling _dl_addr locally.
23090 (lock_and_info): New function.
23091 (tr_freehook): Call lock_and_info and pass symbol info as additional
23092 parameter to tr_where.
23093 (tr_mallochook): Likewise.
23094 (tr_reallochook): Likewise.
23095 (tr_memalignhook): Likewise.
23096
6ce75379
UD
23097 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23098 used and couldn't be at all thread-safe.
23099
f8a3b5bf
UD
231002011-05-15 Ulrich Drepper <drepper@gmail.com>
23101
94b7cc37
UD
23102 * libio/freopen.c (freopen): Don't close old file descriptor
23103 before the new one is opened. Instead dup the new file descriptor
23104 to the old one after the new stream is created.
23105 * libio/freopen64.c (freopen64): Likewise.
23106 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23107 * libio/fileops.c (_IO_new_file_close_it): Handle new
23108 _IO_FLAGS2_NOCLOSE flag.
23109 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23110 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23111 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23112 _IO_FLAGS2_NOCLOSE flag.
23113 * include/unistd.h: Add hidden_proto for dup3.
23114 Define __have_dup3.
23115 * io/dup3.c: Define hidden symbol.
23116 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23117
bd25564e
UD
23118 [BZ #7101]
23119 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23120 when an incomplete long option is used.
23121 * posix/tst-getopt_long1.c: New file.
23122 * posix/Makefile (tests): Add tst-getopt_long1.
23123
c84cfef4
UD
23124 [BZ #10138]
23125 * scripts/config.guess: Update from autoconf-2.68.
23126 * scripts/config.sub: Likewise.
23127
3b85df27
UD
23128 [BZ #10157]
23129 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23130 tests into ...
23131 (has_cpuclock): ...this. New function.
23132 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23133 macro here based on has_cpuclock code.
23134
15a856b1
UD
23135 [BZ #10149]
23136 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23137 First byte (not low byte) is now always NUL.
23138 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23139
05f399e6
UD
23140 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23141 Use non-cancelable interfaces.
23142
10a52685 23143 [BZ #9809]
94ecc67d
UD
23144 * locale/iso-639.def: Add entry for Sorani.
23145
f8a3b5bf
UD
23146 [BZ #11901]
23147 * include/stdlib.h: Move include protection to the right place.
23148 Define abort_msg_s. Declare __abort_msg with it.
23149 * stdlib/abort.c (__abort_msg): Adjust type.
23150 * assert/assert.c (__assert_fail_base): New function. Majority
23151 of code from __assert_fail. Allocate memory for __abort_msg with
23152 mmap.
23153 (__assert_fail): Now call __assert_fail_base.
23154 * assert/assert-perr.c: Remove bulk of implementation. Use
23155 __assert_fail_base.
23156 * include/assert.hL Declare __assert_fail_base.
23157 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23158 mmap.
23159 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23160
1af4e298
UD
231612011-05-14 Ulrich Drepper <drepper@gmail.com>
23162
f8a3b5bf 23163 [BZ #11952]
d26dfc60
MG
23164 [BZ #12453]
23165 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23166 until all modules are registered in the DTV.
23167 * elf/Makefile: Add rules to build and run tst-tls19.
23168 * elf/tst-tls19.c: New file.
23169 * elf/tst-tls19mod1.c: New file.
23170 * elf/tst-tls19mod2.c: New file.
23171 * elf/tst-tls19mod3.c: New file.
23172 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23173
2fc54d6f
UD
23174 [BZ #12083]
23175 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23176 correctly.
23177
98d76b46
UD
23178 [BZ #12601]
23179 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23180 two-byte sequence errors.
23181 * iconvdata/Makefile (tests): Add bug-iconv8.
23182 * iconvdata/bug-iconv8.c: New file.
23183
da3c19ef
UD
23184 [BZ #12626]
23185 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23186 buf2 definition.
23187
ca408c15
UD
23188 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23189
d6f67f7d
UD
23190 [BZ #12432]
23191 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23192 (dummy_getcfa): New function.
23193 (init): Get _Unwind_GetCFA address, use dummy if not found.
23194 (backtrace_helper): In recursion check, also check whether CFA changes.
23195 (__backtrace): Completely initialize arg.
23196
1af4e298 23197 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
23198 storing incomplete byte sequence in state object. Avoid testing for
23199 guaranteed too small input if we know there is enough data available.
1af4e298 23200
da62f81b
AS
232012011-05-11 Andreas Schwab <schwab@redhat.com>
23202
23203 * Makeconfig (+link-pie): Indent.
23204 * Rules (binaries-pie): Define if $(have-fpie) and
23205 $(build-shared).
23206 (binaries-shared): Also filter out $(binaries-pie).
23207 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23208 * nscd/Makefile (others-pie): Add nscd.
23209 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23210 ($(objpfx)nscd): Remove command override.
23211 * login/Makefile (others-pie): Add pt_chown.
23212 ($(objpfx)pt_chown): Remove command override.
23213 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23214 remove command overrides.
23215
fcabc0f8
UD
232162011-05-13 Ulrich Drepper <drepper@gmail.com>
23217
20030ae6
UD
23218 * libio/tst_putwc.c: Fix error messages.
23219
fcabc0f8
UD
23220 [BZ #12724]
23221 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23222 currently writing and seek to current position when not.
23223 * libio/Makefile (tests): Add bug-fclose1.
23224 * libio/bug-fclose1.c: New file.
23225
320a5dc0
PB
232262011-05-12 Ulrich Drepper <drepper@gmail.com>
23227
23228 [BZ #12511]
23229 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23230 don't set DF_1_NODELETE here.
23231 (do_lookup_x): When entering new entry test for copy relocation
23232 and if necessary set DF_1_NODELETE flag.
23233 * elf/tst-unique4.cc: New file.
23234 * elf/tst-unique4.h: New file.
23235 * elf/tst-unique4lib.cc: New file.
23236 * elf/Makefile: Add rules to build and run tst-unique4.
23237 Patch by Piotr Bury <pbury@goahead.com>.
23238
22836f52
UD
232392011-05-11 Ulrich Drepper <drepper@gmail.com>
23240
f574184a
UD
23241 [BZ #12052]
23242 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23243
e1fb097f
UD
23244 [BZ #12625]
23245 * misc/mntent_r.c (addmntent): Flush the stream after the output
23246
22836f52
UD
23247 [BZ #12393]
23248 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23249 (is_trusted_path_normalize): Skip initial colon. Append slash
23250 to empty buffer. Duplicate is_trusted_path code but allow
23251 constructed patch to be prefix.
23252 (is_dst): Allow $ORIGIN followed by /.
23253 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23254 Correct testing of result of is_trusted_path_normalize
23255 (decompose_rpath): Fix warning.
23256
7b3b0b2a
UD
232572011-05-10 Ulrich Drepper <drepper@gmail.com>
23258
23259 [BZ #11257]
23260 * grp/initgroups.c (internal_getgrouplist): When we found the service
23261 list through the initgroups entry in nsswitch.conf do not always
23262 continue on a successful lookup. Don't always use the
eac80ce2 23263 __nss_group_database value if it is set.
7b3b0b2a
UD
23264 * nss/nsswitch.conf (initgroups): Change action for successful db
23265 lookup to continue for compatibility.
23266
2a81eaa5
UD
232672011-05-09 Ulrich Drepper <drepper@gmail.com>
23268
be97a69e
UD
23269 [BZ #11532]
23270 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23271 and CP774 modules.
23272 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23273 and CP774 modules.
23274 * iconvdata/tst-tables.sh: Likewise.
23275 * iconvdata/cp770.c: New file.
23276 * iconvdata/cp771.c: New file.
23277 * iconvdata/cp772.c: New file.
23278 * iconvdata/cp773.c: New file.
23279 * iconvdata/cp774.c: New file.
23280 * iconvdata/testdata/CP770: New file.
23281 * iconvdata/testdata/CP770..UTF8: New file.
23282 * iconvdata/testdata/CP771: New file.
23283 * iconvdata/testdata/CP771..UTF8: New file.
23284 * iconvdata/testdata/CP772: New file.
23285 * iconvdata/testdata/CP772..UTF8: New file.
23286 * iconvdata/testdata/CP773: New file.
23287 * iconvdata/testdata/CP773..UTF8: New file.
23288 * iconvdata/testdata/CP774: New file.
23289 * iconvdata/testdata/CP774..UTF8: New file.
23290
23291 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23292 END CHARMAP line.
23293 * iconvdata/gen-8bit-gap.sh: Likewise.
23294 * iconvdata/gen-8bit.sh: Likewise.
23295
c1e9e399
UD
23296 * locale/iso-639.def: Add ary entry.
23297
24c55fb3 23298 [BZ #11258]
96b4b1b0
UD
23299 * locale/C-translit.h.in: Add U20A1 transliteration.
23300
bdc2f971
KB
23301 [BZ #12178]
23302 * locale/iso-639.def: Add wae entry.
23303 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23304
2952b117
UD
23305 [BZ #12545]
23306 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23307 for n.
23308
2a81eaa5
UD
23309 [BZ #12711]
23310 * locale/C-translit.h.in: Add entry for U20B9.
23311 Patch by pravin.d.s@gmail.com.
23312
28377d1b
UD
233132011-05-08 Ulrich Drepper <drepper@gmail.com>
23314
7fb90fb8
UD
23315 [BZ #12713]
23316 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23317 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
23318 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23319 in rtld. Use *stat64.
7fb90fb8 23320 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 23321 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 23322 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
23323 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23324 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23325 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23326 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23327 __fstatat64 macros.
7fb90fb8
UD
23328 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23329 * dirent/rewinddir.c: Add libc_hidden_def.
23330 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 23331 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 23332
28377d1b
UD
23333 * include/dirent.h (__alloc_dir): Add flags parameter.
23334 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23335 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23336 __alloc_dir.
23337 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23338 from fdopendir if O_CLOEXEC is already set.
23339
66bdbaa4
AM
233402011-03-15 Alan Modra <amodra@gmail.com>
23341
23342 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23343 l_tls_firstbyte_offset non-zero. Save padding offset in
23344 l_tls_firstbyte_offset for later use.
23345 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23346 freeing static tls block.
23347
95721191
JN
233482011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23349
23350 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23351 where #ifdef was intended. The intent is to prevent ARG_MAX from
23352 being defined by the kernel headers.
23353
f87dfb1f
UD
233542011-05-07 Ulrich Drepper <drepper@gmail.com>
23355
23356 [BZ #12734]
23357 * resolv/resolv.h: Define RES_NOTLDQUERY.
23358 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23359 no-tld-query and set RES_NOTLDQUERY.
23360 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23361 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23362 modern BIND to search name as TLD unless forbidden.
23363
47c3cd7a
UD
233642011-05-07 Petr Baudis <pasky@suse.cz>
23365 Ulrich Drepper <drepper@gmail.com>
23366
23367 [BZ #12393]
23368 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23369 (is_trusted_path): ...to here.
c1e9ea35 23370 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 23371 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 23372 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 23373
8a35c912
PP
233742011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23375
23376 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23377 __BEGIN/__END_DECLS.
23378
acd41f47
UD
233792011-05-06 Ulrich Drepper <drepper@gmail.com>
23380
23381 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23382 NSS_STATUS_NOTFOUND if no record was found.
23383
597df647
AS
233842011-05-05 Andreas Schwab <schwab@redhat.com>
23385
23386 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23387 (headers-not-in-tirpc): Remove rpc/netdb.h
23388 * resolv/netdb.h: Revert last change.
23389
b9af1301
PP
233902011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23391
23392 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23393 circular dependency between libgcc.a and libc.a.
23394
4e34d5f5
AS
233952011-05-05 Andreas Schwab <schwab@redhat.com>
23396
23397 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23398 * nis/Makefile: Don't install rpcsvc/*.
23399 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23400 instead of <rpc/types.h>.
23401 (MAXHOSTNAMELEN): Define.
23402
00ee369c
AS
234032011-05-03 Andreas Schwab <schwab@redhat.com>
23404
23405 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23406
0b592a30
MB
234072011-04-28 Maciej Babinski <mbabinski@google.com>
23408
23409 [BZ #12714]
23410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23411 gethostbyname4_r when IPv6 results are possible.
23412
6e04cbbe
UD
234132011-05-02 Ulrich Drepper <drepper@gmail.com>
23414
23415 [BZ #12723]
23416 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23417 _PC_PIPE_BUF handling.
23418
e4ecafe0
BH
234192011-04-30 Bruno Haible <bruno@clisp.org>
23420
23421 [BZ #12717]
23422 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
23423 * resolv/netdb.h (getnameinfo): Change type of flags parameter
23424 to 'int'.
23425 * inet/getnameinfo.c (getnameinfo): Likewise.
23426
125ee683
UD
234272011-04-29 Ulrich Drepper <drepper@gmail.com>
23428
23429 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23430 to groups setting in database lookup.
23431 * nss/nsswitch.conf: Add initgroups entry.
23432
b722481a
EB
234332011-04-22 Ulrich Drepper <drepper@gmail.com>
23434
23435 [BZ #12685]
23436 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23437 mode string.
23438 Patch by Eric Blake <eblake@redhat.com>.
23439
4df46dbd
L
234402011-04-20 H.J. Lu <hongjiu.lu@intel.com>
23441
23442 * sunrpc/Makefile (need-export-routines): Add svc_run.
23443 (routines): Remove svc_run.
23444 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
23445 * sunrpc/clnt_perr.c (clnt_perrno): Export.
23446 * sunrpc/svc_run.c (svc_run): Likewise.
23447 * sunrpc/svc_udp.c (svcudp_create): Likewise.
23448
e84142d2
UD
234492011-04-21 Ulrich Drepper <drepper@gmail.com>
23450
23451 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23452 problem in reallocation in last patch.
23453
877175d8
UD
234542011-04-20 Ulrich Drepper <drepper@gmail.com>
23455
23456 * sunrpc/Makefile: Move inclusion of Rules.
23457
ab8eed78
UD
234582011-04-19 Ulrich Drepper <drepper@gmail.com>
23459
23460 * nss/nss_files/files-initgroups.c: New file.
23461 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23462 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23463 _nss_files_initgroups_dyn.
23464
e3d8f584
RS
234652011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23466
23467 * elf/elf.h (R_ARM_IRELATIVE): Define.
23468
af190f45
UD
234692011-04-19 Ulrich Drepper <drepper@gmail.com>
23470
23471 * po/ru.po: Update from translation team.
23472
53cf59ef
UD
234732011-04-17 Ulrich Drepper <drepper@gmail.com>
23474
23475 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23476 dependencies.
23477
4c559bcd
MF
234782011-02-06 Mike Frysinger <vapier@gentoo.org>
23479
23480 [BZ #12653]
23481 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23482 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23483 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23484 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23485 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23486
4420675c
AS
234872011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23488
23489 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23490 differing bytes.
23491 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23492 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23493 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23494
75ea32ab
UD
234952011-04-17 Ulrich Drepper <drepper@gmail.com>
23496
23497 [BZ #12420]
23498 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23499 storing it.
23500 * stdlib/bug-getcontext.c: New file.
23501 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23502
27390476
AK
235032011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23504
23505 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23506 instructions into .machine "z9-109".
23507 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23508 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23509
10442705
AK
235102011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23511
23512 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23513 between environment variables and auxiliary vector.
23514
7b57bfe5
UD
235152011-04-16 Ulrich Drepper <drepper@gmail.com>
23516
23517 * Makefile: Add rules to build linkobj/libc.so.
23518 * include/libc-symbols.h: Define libc_hidden_nolink.
23519 * include/rpc/auth.h: Mark functions which are to be hidden.
23520 * include/rpc/auth_des.h: Likewise.
23521 * include/rpc/auth_unix.h: Likewise.
23522 * include/rpc/clnt.h: Likewise.
23523 * include/rpc/des_crypt.h: Likewise.
23524 * include/rpc/key_prot.h: Likewise.
23525 * include/rpc/pmap_clnt.h: Likewise.
23526 * include/rpc/pmap_prot.h: Likewise.
23527 * include/rpc/pmap_rmt.h: Likewise.
23528 * include/rpc/rpc_msg.h: Likewise.
23529 * include/rpc/svc.h: Likewise.
23530 * include/rpc/svc_auth.h: Likewise.
23531 * include/rpc/xdr.h: Likewise.
23532 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23533 * nss/Makefile: Likewise.
23534 * sunrpc/Makefile: Don't install headers. Build library with normal
23535 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23536 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23537 for the compat linking library. Remove use of INTDEF/INTUSE.
23538 * sunrpc/auth_none.c: Likewise.
23539 * sunrpc/auth_unix.c: Likewise.
23540 * sunrpc/authdes_prot.c: Likewise.
23541 * sunrpc/authuxprot.c: Likewise.
23542 * sunrpc/clnt_gen.c: Likewise.
23543 * sunrpc/clnt_perr.c: Likewise.
23544 * sunrpc/clnt_raw.c: Likewise.
23545 * sunrpc/clnt_simp.c: Likewise.
23546 * sunrpc/clnt_tcp.c: Likewise.
23547 * sunrpc/clnt_udp.c: Likewise.
23548 * sunrpc/clnt_unix.c: Likewise.
23549 * sunrpc/des_crypt.c: Likewise.
23550 * sunrpc/des_soft.c: Likewise.
23551 * sunrpc/get_myaddr.c: Likewise.
23552 * sunrpc/key_call.c: Likewise.
23553 * sunrpc/key_prot.c: Likewise.
23554 * sunrpc/netname.c: Likewise.
23555 * sunrpc/pm_getmaps.c: Likewise.
23556 * sunrpc/pm_getport.c: Likewise.
23557 * sunrpc/pmap_clnt.c: Likewise.
23558 * sunrpc/pmap_prot.c: Likewise.
23559 * sunrpc/pmap_prot2.c: Likewise.
23560 * sunrpc/pmap_rmt.c: Likewise.
23561 * sunrpc/publickey.c: Likewise.
23562 * sunrpc/rpc_cmsg.c: Likewise.
23563 * sunrpc/rpc_common.c: Likewise.
23564 * sunrpc/rpc_dtable.c: Likewise.
23565 * sunrpc/rpc_prot.c: Likewise.
23566 * sunrpc/rpc_thread.c: Likewise.
23567 * sunrpc/rtime.c: Likewise.
23568 * sunrpc/svc.c: Likewise.
23569 * sunrpc/svc_auth.c: Likewise.
23570 * sunrpc/svc_authux.c: Likewise.
23571 * sunrpc/svc_raw.c: Likewise.
23572 * sunrpc/svc_run.c: Likewise.
23573 * sunrpc/svc_simple.c: Likewise.
23574 * sunrpc/svc_tcp.c: Likewise.
23575 * sunrpc/svc_udp.c: Likewise.
23576 * sunrpc/svc_unix.c: Likewise.
23577 * sunrpc/svcauth_des.c: Likewise.
23578 * sunrpc/xcrypt.c: Likewise.
23579 * sunrpc/xdr.c: Likewise.
23580 * sunrpc/xdr_array.c: Likewise.
23581 * sunrpc/xdr_float.c: Likewise.
23582 * sunrpc/xdr_intXX_t.c: Likewise.
23583 * sunrpc/xdr_mem.c: Likewise.
23584 * sunrpc/xdr_rec.c: Likewise.
23585 * sunrpc/xdr_ref.c: Likewise.
23586 * sunrpc/xdr_sizeof.c: Likewise.
23587 * sunrpc/xdr_stdio.c: Likewise.
23588
e6c61494
UD
235892011-04-10 Ulrich Drepper <drepper@gmail.com>
23590
23591 [BZ #12650]
23592 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23593 * sysdeps/ia64/dl-tls.h: Likewise.
23594 * sysdeps/powerpc/dl-tls.h: Likewise.
23595 * sysdeps/s390/dl-tls.h: Likewise.
23596 * sysdeps/sh/dl-tls.h: Likewise.
23597 * sysdeps/sparc/dl-tls.h: Likewise.
23598 * sysdeps/x86_64/dl-tls.h: Likewise.
23599 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23600
34fe483e
AS
236012011-03-14 Andreas Schwab <schwab@redhat.com>
23602
23603 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23604 rpath element also skip the following colon.
23605 (expand_dynamic_string_token): Add is_path parameter and pass
23606 down to DL_DST_REQUIRED and _dl_dst_substitute.
23607 (decompose_rpath): Call expand_dynamic_string_token with
23608 non-zero is_path. Ignore empty rpaths.
23609 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23610 with zero is_path.
23611
f12a32e6
AS
236122011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23613
23614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23615 Make cancelable.
23616
38a7d692
UD
236172011-04-09 Ulrich Drepper <drepper@gmail.com>
23618
23619 [BZ #12655]
23620 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23621 Patch by Filipe David Manana <fdmanana@apache.org>.
23622
e451d22b
AS
236232011-04-07 Andreas Schwab <schwab@redhat.com>
23624
23625 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23626 Maintain aligned stack.
23627 (CHECK_RSP): Remove unused macro.
23628
dedc7c7b
UD
236292011-04-03 Ulrich Drepper <drepper@gmail.com>
23630
23631 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23632 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23633
94521213
UD
236342011-04-02 Ulrich Drepper <drepper@gmail.com>
23635
23636 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23637
8cb700c0 23638 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 23639
0354e355
L
236402011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23641
23642 [BZ #12518]
23643 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23644 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23645 * sysdeps/x86_64/memmove.c: New file.
23646 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23647 (memcpy): Renamed to ...
23648 (__new_memcpy): This.
23649 (memcpy): Provide GLIBC_2_14 memcpy.
23650 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23651 (memcpy): Provide GLIBC_2_2_5 memcpy.
23652
8593482f
UD
236532011-04-01 Ulrich Drepper <drepper@gmail.com>
23654
23655 [BZ #12631]
23656 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23657
81a5726b
AS
236582011-03-30 Andreas Schwab <schwab@redhat.com>
23659
23660 * misc/syncfs.c: New file.
23661 * misc/Makefile (routines): Add syncfs.
23662 * posix/unistd.h: Declare syncfs.
23663 * sysdeps/unix/syscalls.list: Add syncfs.
23664
00e5419f
AS
236652011-04-01 Andreas Schwab <schwab@redhat.com>
23666
23667 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23668 open_by_handle_at.
23669 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23670 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23671 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23672 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23673 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23674 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23675 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23676
748876bf
UD
236772011-04-01 Ulrich Drepper <drepper@gmail.com>
23678
658e451d
UD
23679 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23680 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23681 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23683 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23684 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23685 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23686
748876bf
UD
23687 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23688 sync_file_range.c with -fexceptions.
23689 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23690 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23691 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23692 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23693 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23694 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23695 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
23696 sync_file_range as cancellation point
23697 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23698 now a wrapper around __call_sync_file_range with cancellation handling.
23699 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23700 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23701 function name to __call_sync_file_range.
23702 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23703 Add call_sync_file_range.
748876bf 23704
6e63d5e1
AS
237052011-04-01 Andreas Schwab <schwab@redhat.com>
23706
23707 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 23708 bits/timex.h.
6e63d5e1 23709
46998f74
UD
237102011-04-01 Ulrich Drepper <drepper@gmail.com>
23711
4c1423ed
UD
23712 * iconv/iconv.h: Fix typo in comment.
23713 * io/fcntl.h: Likewise.
23714 * libio/stdio.h: Likewise.
23715 * posix/spawn.h: Likewise.
23716 * posix/unistd.h: Likewise.
23717 * stdlib/stdlib.h: Likewise.
23718 * time/time.h: Likewise.
23719 * wcsmbs/wchar.h: Likewise.
23720
158648c0
UD
23721 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23722 open_by_handle): Add.
23723 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23724 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23725 Augment a few comments.
23726 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23727 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23728 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23731 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23732 open_by_handle.
23733
46998f74
UD
23734 * io/fcntl.h (AT_EMPTY_PATH): Define.
23735
83fe108b
UD
237362011-03-30 Ulrich Drepper <drepper@gmail.com>
23737
23738 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23739 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23740 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23741 to...
23742 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
23743 * Versions.def: Add GLIBC_2.14.
23744 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23745 Export.
83fe108b 23746
bb242059
UD
237472011-03-22 Ulrich Drepper <drepper@gmail.com>
23748
23749 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23750 round counter.
23751 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23752
c97a1282
L
237532011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23754
23755 [BZ #12597]
23756 * string/test-strncmp.c (do_page_test): New function.
23757 (check2): Likewise.
23758 (test_main): Call check2.
23759 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23760
2a115601
UD
237612011-03-20 Ulrich Drepper <drepper@gmail.com>
23762
23763 [BZ #12587]
23764 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23765 Handle cache information in CPU leaf 4.
23766 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23767
8126d904
UD
237682011-03-18 Ulrich Drepper <drepper@gmail.com>
23769
042c49c6 23770 [BZ #12583]
8126d904
UD
23771 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23772 character representation.
23773 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23774
ccfe366e
RA
237752011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23776
23777 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23778 END(__isnan) to END(__isnanf) to match function entry point/label
23779 EALIGN(__isnanf,...).
23780
c6e13027
JJ
237812011-03-10 Jakub Jelinek <jakub@redhat.com>
23782
23783 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23784
33f85a3f
UD
237852011-03-10 Ulrich Drepper <drepper@gmail.com>
23786
028478fa
UD
23787 [BZ #12510]
23788 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23789 copy from the symbol referenced in the relocation to initialize the
23790 used variable.
23791 Patch by Piotr Bury <pbury@goahead.com>.
23792 * elf/Makefile: Add rules to build and tst-unique3.
23793 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23794 * elf/tst-unique3.cc: New file.
23795 * elf/tst-unique3.h: New file.
23796 * elf/tst-unique3lib.cc: New file.
23797 * elf/tst-unique3lib2.cc: New file.
23798
33f85a3f
UD
23799 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23800
03592fc7
MF
238012011-03-10 Mike Frysinger <vapier@gentoo.org>
23802
23803 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23804 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23805 to _start.
03592fc7 23806
6a5ee102
UD
238072011-03-06 Ulrich Drepper <drepper@gmail.com>
23808
23809 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23810 to-be-loaded object along a path to loader is ld.so.
23811
7e4ba49c
HJ
238122011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23813 Ulrich Drepper <drepper@gmail.com>
23814
23815 * sysdeps/x86_64/memset.S: After aligning destination, code
23816 branches to different locations depending on the value of
23817 misalignment, when multiarch is enabled. Fix this.
23818
238192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23820
23821 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23822 Set _x86_64_preferred_memory_instruction for AMD processsors.
23823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23824 Set bit_Prefer_SSE_for_memop for AMD processors.
23825
13a804de
UD
238262011-03-04 Ulrich Drepper <drepper@gmail.com>
23827
23828 * libio/fmemopen.c (fmemopen): Optimize a bit.
23829
9d25c392
AS
238302011-03-03 Andreas Schwab <schwab@redhat.com>
23831
23832 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23833
a5543c6a
RM
238342011-03-03 Roland McGrath <roland@redhat.com>
23835
23836 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23837
012d35f7
DM
238382011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23839
7e4ba49c 23840 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
23841 __bzero_ultra1 instead of __memset_ultra1.
23842
4bff6e01
AS
238432011-02-23 Andreas Schwab <schwab@redhat.com>
23844 Ulrich Drepper <drepper@gmail.com>
23845
23846 [BZ #12509]
23847 * include/link.h (struct link_map): Add l_orig_initfini.
23848 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23849 returning unsuccessfully.
23850 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23851 close of a file loaded at startup, restore the original l_initfini
23852 list.
23853 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23854 list, store the pointer.
23855 * elf/Makefile ($(objpfx)noload-mem): New rule.
23856 (noload-ENV): Define.
23857 (tests): Add $(objpfx)noload-mem.
23858 * elf/noload.c: Include <memcheck.h>.
23859 (main): Call mtrace. Close all opened handles.
23860
f2092faf
AS
238612011-02-17 Andreas Schwab <schwab@redhat.com>
23862
23863 [BZ #12454]
23864 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23865 dependencies are missing.
23866
6c8a2e88
ST
238672011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23868
f2092faf 23869 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
23870 Hurd needs munmap.
23871 * sysdeps/mach/hurd/ifreq.h: New file.
23872
84a42118
PB
238732011-01-27 Petr Baudis <pasky@suse.cz>
23874 Ulrich Drepper <drepper@gmail.com>
23875
071f805e 23876 [BZ 12445]#
84a42118
PB
23877 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23878 to extend_alloca().
23879 * stdio-common/bug23.c: New file.
23880 * stdio-common/Makefile (tests): Add bug23.
23881
e23fe25b
AS
238822010-09-28 Andreas Schwab <schwab@redhat.com>
23883 Ulrich Drepper <drepper@gmail.com>
23884
23885 [BZ #12489]
23886 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23887 before performing relro protection. At old place add assertion
23888 to make sure nothing changed.
23889
d3f02e10
NS
238902011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23891 Glauber de Oliveira Costa <glommer@gmail.com>
23892
23893 * elf/elf.h: Add new ARM TLS relocs.
23894
d55fd7a5
RA
238952011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23896
23897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23898 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23899 cast from r3.
23900 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23901 'tests' variable.
23902 * sysdeps/wordsize-64/tst-writev.c: New file.
23903
2206397e
RA
239042011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23905
23906 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23907 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23908 insns in _dl_start to prevent a TOC reference before relocs are
23909 resolved.
23910
e9433893
UD
239112011-02-15 Ulrich Drepper <drepper@gmail.com>
23912
23913 [BZ #12469]
23914 * Makeconfig: Remove RANLIB definition.
23915 * Makerules: Don't use RANLIB.
23916 * aclocal.m4: Remove ranlib test.
23917 * configure.in: No need to check for ranlib.
23918 * elf/rtld-Rules: Don't use RANLIB.
23919
f75286c6
ST
239202011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23921
8e31c82d
ST
23922 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23923 protection macro.
23924 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23925 inclusion protection macro.
23926
f75286c6
ST
23927 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23928 SIGRTMIN and SIGRTMAX and print information in that case only when
23929 SIGRTMIN is defined.
23930
c1d0e639
JJ
239312011-02-11 Jakub Jelinek <jakub@redhat.com>
23932
23933 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23934 arginfo fn returning -1.
23935
23936 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23937 and thousands string is zero terminated.
23938
edf9294e
AS
239392011-02-03 Andreas Schwab <schwab@redhat.com>
23940
23941 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23942 sysdeps/unix/sysv/linux/bits/socket.h.
23943
2b7e92df
ST
239442011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23945
edf9294e
AS
23946 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23947 (__CPU_COUNT): Remove old macros.
23948 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23949 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23950 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
23951 (__sched_cpualloc, __sched_cpufree): Add declarations.
23952
a4c7ea7b
UD
239532011-02-05 Ulrich Drepper <drepper@gmail.com>
23954
23955 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23956 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23957 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23958 (readdhstai): Return value of addhstaiX call.
23959 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23960 (addgrbyX): Return value returned by cache_addgr.
23961 (readdgrbyname): Return value returned by addgrbyX.
23962 (readdgrbygid): Likewise.
23963 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23964 (addpwbyX): Return value returned by cache_addpw.
23965 (readdpwbyname): Return value returned by addhstbyX.
23966 (readdpwbyuid): Likewise.
23967 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23968 (addservbyX): Return value returned by cache_addserv.
23969 (readdservbyname): Return value returned by addservbyX:
23970 (readdservbyport): Likewise.
23971 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23972 (addhstbyX): Return value returned by cache_addhst.
23973 (readdhstbyname): Return value returned by addhstbyX.
23974 (readdhstbyaddr): Likewise.
23975 (readdhstbynamev6): Likewise.
23976 (readdhstbyaddrv6): Likewise.
23977 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23978 (readdinitgroups): Return value returned by addinitgroupsX.
23979 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23980 (prune_cache): Keep track of timeout value of re-added entries.
23981 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23982 * nscd/nscd.h: Adjust prototypes of readd* functions.
23983
a0bf67cc
RM
239842011-02-04 Roland McGrath <roland@redhat.com>
23985
23986 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23987 (nis_stats): Likewise.
23988 * nis/nis_modify.c (nis_modify): Likewise.
23989 * nis/nis_remove.c (nis_remove): Likewise.
23990 * nis/nis_add.c (nis_add): Likewise.
23991
23992 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23993
23994 * posix/fnmatch_loop.c: Add some consts.
23995
23996 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23997
435b95eb
L
239982011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23999
24000 [BZ #12460]
24001 * config.make.in (config-cflags-novzeroupper): Define.
24002 * configure.in: Substitute libc_cv_cc_novzeroupper.
24003 * elf/Makefile (AVX-CFLAGS): Define.
24004 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
24005 (CFLAGS-tst-auditmod4a.c): Likewise.
24006 (CFLAGS-tst-auditmod4b.c): Likewise.
24007 (CFLAGS-tst-auditmod6b.c): Likewise.
24008 (CFLAGS-tst-auditmod6c.c): Likewise.
24009 (CFLAGS-tst-auditmod7b.c): Likewise.
24010 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
24011
8517b15e
UD
240122011-02-02 Ulrich Drepper <drepper@gmail.com>
24013
24014 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
24015 function to the callback.
24016 Patch partly by Jiri Olsa <jolsa@redhat.com>.
24017
10a656fe
AS
240182011-02-02 Andreas Schwab <schwab@redhat.com>
24019
24020 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
24021 of errno.
24022
968dad0a
UD
240232011-01-19 Ulrich Drepper <drepper@gmail.com>
24024
9f94d2ea 24025 [BZ #11724]
968dad0a
UD
24026 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
24027 of constructors.
24028 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
24029 of destructors.
24030 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
24031
24032 [BZ #11724]
24033 * elf/Makefile: Add rules to build and run new test.
24034 * elf/tst-initorder.c: New file.
24035 * elf/tst-initorder.exp: New file.
24036 * elf/tst-initordera1.c: New file.
24037 * elf/tst-initordera2.c: New file.
24038 * elf/tst-initordera3.c: New file.
24039 * elf/tst-initordera4.c: New file.
24040 * elf/tst-initorderb1.c: New file.
24041 * elf/tst-initorderb2.c: New file.
24042 * elf/tst-order-a1.c: New file.
24043 * elf/tst-order-a2.c: New file.
24044 * elf/tst-order-a3.c: New file.
24045 * elf/tst-order-a4.c: New file.
24046 * elf/tst-order-b1.c: New file.
24047 * elf/tst-order-b2.c: New file.
24048 * elf/tst-order-main.c: New file.
24049 New test case by George Gensure <werkt0@gmail.com>.
24050
86e92359
UD
240512010-10-01 Andreas Schwab <schwab@redhat.com>
24052
24053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24054 decoding ACE if AI_CANONIDN.
24055
5d5732b0
UD
240562011-01-18 Ulrich Drepper <drepper@gmail.com>
24057
24058 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24059
a77e8cbc
UD
240602011-01-17 Ulrich Drepper <drepper@gmail.com>
24061
6392473f
UD
24062 * version.h (RELEASE): Bump for 2.13 release.
24063 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24064
620a0529
UD
24065 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24066
18ba70a5
UD
24067 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24068 MADV_NOHUGEPAGE.
32465c3e
UD
24069 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24070 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24071 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24072 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24073 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24074 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24075
c0dafcf1
UD
24076 * posix/getconf.c: Update copyright year.
24077 * catgets/gencat.c: Likewise.
24078 * csu/version.c: Likewise.
24079 * debug/catchsegv.sh: Likewise.
24080 * debug/xtrace.sh: Likewise.
24081 * elf/ldconfig.c: Likewise.
24082 * elf/ldd.bash.in: Likewise.
24083 * elf/sprof.c (print_version): Likewise.
24084 * iconv/iconv_prog.c: Likewise.
24085 * iconv/iconvconfig.c: Likewise.
24086 * locale/programs/locale.c: Likewise.
24087 * locale/programs/localedef.c: Likewise.
24088 * malloc/memusage.sh: Likewise.
24089 * malloc/mtrace.pl: Likewise.
24090 * nscd/nscd.c (print_version): Likewise.
24091 * nss/getent.c: Likewise.
24092
a77e8cbc
UD
24093 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24094 PF_CAIF, and PF_ALG.
24095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24096
77e8bddf
AS
240972011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24098
1f20b93a
AS
24099 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24100 (modules-names): Use them.
24101 (ifunc-test-modules, ifunc-pie-tests): Define.
24102 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24103 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24104 (test-extras): Likewise.
24105 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24106 $(compile-command.c).
24107 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24108 (all-built-dso): Define.
24109 (check-textrel.out, check-execstack.out): Depend on it.
24110
77e8bddf
AS
24111 * configure.in: Don't override --enable-multi-arch.
24112
bc425b33
UD
241132011-01-15 Ulrich Drepper <drepper@gmail.com>
24114
24115 [BZ #6812]
24116 * nscd/hstcache.c (tryagain): Define.
24117 (cache_addhst): Return tryagain not notfound for temporary errors.
24118 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24119 failed.
24120
794c3ad3
UD
241212011-01-14 Ulrich Drepper <drepper@gmail.com>
24122
70181fdd
UD
24123 [BZ #10563]
24124 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24125 to make the syscall.
24126 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24127
794c3ad3
UD
24128 [BZ #12378]
24129 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24130 and fall back to matching as normal character if the string ends before
24131 the matching ']' is found. This is what POSIX requires.
24132 * posix/testfnm.c: Adjust test result.
24133 * posix/globtest.sh: Adjust test result. Add new test.
24134 * posix/tst-fnmatch.input: Likewise.
24135 * posix/tst-fnmatch2.c: Add new test.
24136
68dc9497
AS
241372010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24138
24139 * elf/Makefile (check-execstack): Revert last change. Depend on
24140 check-execstack.h.
24141 (check-execstack.h): New target.
24142 (generated): Add check-execstack.h.
24143 * elf/check-execstack.c: Include "check-execstack.h".
24144 (main): Revert last change.
24145 (handle_file): Return zero if GNU_STACK is absent and
24146 DEFAULT_STACK_PERMS doesn't include PF_X.
24147
451f001b
UD
241482011-01-13 Ulrich Drepper <drepper@gmail.com>
24149
cfa28e56
UD
24150 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24151 in child fails because the descriptor is already closed.
8cf8ce17
UD
24152 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24153 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24154 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 24155
1086d70d
UD
24156 [BZ #12397]
24157 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24158 syscall.
24159
451f001b
UD
24160 [BZ #10484]
24161 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24162 temporary buffer used to handle multi lookups locally.
a85b5cb4 24163 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 24164
08769175
UD
241652011-01-12 Ulrich Drepper <drepper@gmail.com>
24166
24167 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24168 loader is ld.so.
24169
5e49c52e
UD
241702011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24171
24172 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24173 alignment for SSE2.
24174
60522a5f
UD
241752011-01-12 Ulrich Drepper <drepper@gmail.com>
24176
24177 [BZ #12394]
24178 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24179 characters. When rounding increased number of integer digits recompute
24180 number of groups.
24181 * stdio-common/tst-grouping.c: New file.
24182 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24183
f257bbd7
UD
241842011-01-09 Ulrich Drepper <drepper@gmail.com>
24185
24186 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24187 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24188
24189 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24190 void.
24191 * bits/select.h: Likewise.
24192
fa9c15cb
UD
241932011-01-08 Ulrich Drepper <drepper@gmail.com>
24194
24195 * po/ja.po: Update from translation team.
24196
16c2895f
DM
241972011-01-04 David S. Miller <davem@sunset.davemloft.net>
24198
24199 [BZ #11155]
24200 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24201 implementation just like for lxstat, fxstatat, et al.
24202
2543fef2
JM
242032010-12-27 Jim Meyering <meyering@redhat.com>
24204
24205 [BZ #12348]
24206 * posix/regexec.c (build_trtable): Return failure indication upon
24207 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24208
98727dbe
UD
242092010-12-25 Ulrich Drepper <drepper@gmail.com>
24210
5bd6dc5c
UD
24211 [BZ #12201]
24212 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24213 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24214 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24215 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24216
97983464
UD
24217 [BZ #12207]
24218 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24219
98727dbe
UD
24220 [BZ #12204]
24221 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24222 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24223
4a531bb0
L
242242010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24225
24226 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24227 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24228 script has SORT_BY_INIT_PRIORITY.
24229 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24230 NO_CTORS_DTORS_SECTIONS is defined.
24231 * elf/soinit.c: Likewise.
24232 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24233 NO_CTORS_DTORS_SECTIONS is defined.
24234 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24235 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24236 * sysdeps/sh/init-first.c: Likewise.
24237 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24238
07eb4b71
UD
242392010-12-24 Ulrich Drepper <drepper@gmail.com>
24240
24241 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24242 always use the slow path.
24243
30950a5f
RA
242442010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24245
24246 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24247 similar rule which adds the sysdep directories to the header search in
24248 order to pick up the correct platform stackinfo.h.
24249 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24250 perform test if it is, otherwise return successfully without testing.
24251 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24252 DEFAULT_STACK_PERMS define in stackinfo.h.
24253 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24254 defined in stackinfo.h.
24255 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24256 DEFAULT_STACK_PERMS defined in stackinfo.h.
24257 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24258 * sysdeps/ia64/stackinfo.h: Likewise.
24259 * sysdeps/s390/stackinfo.h: Likewise.
24260 * sysdeps/sh/stackinfo.h: Likewise.
24261 * sysdeps/sparc/stackinfo.h: Likewise.
24262 * sysdeps/x86_64/stackinfo.h: Likewise.
24263 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24264 PF_X for powerpc64. Retain PF_X for powerpc32.
24265
db753e2c
UD
242662010-12-19 Ulrich Drepper <drepper@gmail.com>
24267
14b697f7
UD
24268 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24269 accurately.
db753e2c
UD
24270 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24271 GETDENTS_64BIT_ALIGNED.
24272
28300719
UD
242732010-12-14 Ulrich Drepper <dreper@gmail.com>
24274
14b697f7 24275 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 24276
4f197237
AS
242772010-12-10 Andreas Schwab <schwab@redhat.com>
24278
dbb0472f
AS
24279 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24280 _GNU_SOURCE.
24281
4f197237
AS
24282 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24283 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24284 Remove __restrict.
24285 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24286 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24287
fb88ac72
UD
242882010-12-09 Ulrich Drepper <drepper@gmail.com>
24289
24290 [BZ #11655]
24291 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24292 are initialized.
24293
42acbb92
JJ
242942010-12-09 Jakub Jelinek <jakub@redhat.com>
24295
24296 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24297
c038d98d
UD
242982010-12-03 Ulrich Drepper <drepper@gmail.com>
24299
24300 * po/it.po: Update from translation team.
24301
3a4a2499
L
243022010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24303
24304 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24305 unused codes.
24306
1e24cf6e
UD
243072010-11-30 Ulrich Drepper <drepper@gmail.com>
24308
24309 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24310
a7690819
AS
243112010-11-24 Andreas Schwab <schwab@redhat.com>
24312
24313 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24314 specially.
24315 (gaih_getanswer_slice): Likewise.
24316
3bf8d1b1
JJ
243172010-10-20 Jakub Jelinek <jakub@redhat.com>
24318
24319 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24320
6db52fbb
PB
243212010-05-31 Petr Baudis <pasky@suse.cz>
24322
24323 [BZ #11149]
24324 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24325 silently even in the chroot mode.
24326
eaca7569
UD
243272010-11-22 Ulrich Drepper <drepper@gmail.com>
24328
24329 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24330 last patch a bit. Pretty printing
24331
3056dcdb
UD
243322010-05-31 Petr Baudis <pasky@suse.cz>
24333
24334 [BZ #10085]
24335 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24336 initialization of skip_initgroups_dyn.
24337
cf7c9078
UD
243382010-11-19 Ulrich Drepper <drepper@gmail.com>
24339
24340 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24341 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24342
a1fb5e3e
UD
243432010-11-16 Ulrich Drepper <drepper@gmail.com>
24344
24345 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24346
3540d66b
AS
243472010-11-11 Andreas Schwab <schwab@redhat.com>
24348
24349 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24350 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24351 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24352 ($(objpfx)tst-fnmatch-mem): New rule.
24353 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24354 * posix/tst-fnmatch.c (main): Call mtrace.
24355
13b69574
L
243562010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24357
24358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24359 Support Intel processor model 6 and model 0x2c.
24360
da93d214
LM
243612010-11-10 Luis Machado <luisgpm@br.ibm.com>
24362
24363 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24364 signed comparison.
24365
8ca52c6e
L
243662010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24367
24368 [BZ #12205]
24369 * string/test-strncasecmp.c (check_result): New function.
24370 (do_one_test): Use it.
24371 (check1): New function.
24372 (test_main): Use it.
24373 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24374 Support strcasecmp and strncasecmp.
24375
69da074d
UD
243762010-11-08 Ulrich Drepper <drepper@gmail.com>
24377
24378 [BZ #12194]
24379 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24380 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24381
ff02d528
L
243822010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24383
24384 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24385 IFUNC support.
24386 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24387 memset-x86-64.
24388 * sysdeps/x86_64/multiarch/bzero.S: New file.
24389 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24390 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24391 * sysdeps/x86_64/multiarch/memset.S: New file.
24392 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24394 Set bit_Prefer_SSE_for_memop for Intel processors.
24395 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24396 Define.
24397 (index_Prefer_SSE_for_memop): Define.
24398 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24399
344d0b54
LM
244002010-11-04 Luis Machado <luisgpm@br.ibm.com>
24401
24402 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24403 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24404
c0dde15b
UD
244052010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24406
24407 [BZ #12191]
24408 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24409 (__x86_64_raw_data_cache_size_half): Likewise.
24410 (__x86_64_raw_shared_cache_size): Likewise.
24411 (__x86_64_raw_shared_cache_size_half): Likewise.
24412
24413 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24414 (__x86_64_raw_data_cache_size_half): Likewise.
24415 (__x86_64_raw_shared_cache_size): Likewise.
24416 (__x86_64_raw_shared_cache_size_half): Likewise.
24417 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24418 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24419 and __x86_64_raw_shared_cache_size_half. Round
24420 __x86_64_data_cache_size_half, __x86_64_data_cache_size
24421 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
24422 to multiple of 256 bytes.
24423
0e516e0e
MS
244242010-11-03 Ulrich Drepper <drepper@gmail.com>
24425
24426 [BZ #12167]
24427 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24428 of inacessible symlinks. Verify result of symlink before returning it.
24429 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24430 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24431
0e012e87
ER
244322010-10-28 Erich Ritz <erichritz@gmail.com>
24433
24434 * math/math.h (isinf): Fix typo in comment.
24435
de0ff7bc
UD
244362010-11-01 Ulrich Drepper <drepper@gmail.com>
24437
24438 * po/da.po: Update from translation team.
24439
fa41c84d
UD
244402010-10-26 Ulrich Drepper <drepper@gmail.com>
24441
24442 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
24443 is added to the list.
24444
f0967738
AK
244452010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24446 Ulrich Drepper <drepper@gmail.com>
24447
24448 * elf/dl-object.c (_dl_new_object): Don't append the new object to
24449 the global list here. Move code to...
24450 (_dl_add_to_namespace_list): ...here. New function.
24451 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24452 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24453 * elf/dl-load.c (lose): Don't remove the element from the list.
24454 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24455 (_dl_map_object): Likewise.
24456
244572010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
24458
24459 [BZ #12159]
24460 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24461 into all bytes of SSE register.
24462 Patch by Richard Li <richardpku@gmail.com>.
24463
f0967738 244642010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
24465
24466 [BZ #12140]
24467 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24468 perturbing.
24469
d0b9e94f
MB
244702010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24471
24472 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24473 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24474 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24475 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24477 submachine.
24478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24479
8e9f92e9
AS
244802010-10-22 Andreas Schwab <schwab@redhat.com>
24481
24482 * include/dlfcn.h (__RTLD_SECURE): Define.
24483 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24484 mode & __RTLD_SECURE instead.
24485 (open_path): Rename preloaded parameter to secure.
24486 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24487 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24488 * elf/dl-deps.c (openaux): Likewise.
24489 * elf/rtld.c (struct map_args): Remove is_preloaded.
24490 (map_doit): Don't use it.
24491 (dl_main): Likewise.
24492 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24493 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24494
bc96fbda
AS
244952010-09-09 Andreas Schwab <schwab@redhat.com>
24496
24497 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24498 (sysd-rules-targets): Remove duplicates.
24499 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24500 rtld-%.$o dependency.
24501
22cd1c9b
AS
245022010-10-18 Andreas Schwab <schwab@redhat.com>
24503
24504 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24505 _dl_map_object do it.
24506
18edac48
UD
245072010-10-19 Ulrich Drepper <drepper@gmail.com>
24508
24509 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24510 fast fma builtins, define the macros in the C99 standard.
24511 (FP_FAST_FMAF): Likewise.
24512 (FP_FAST_FMAL): Likewise.
24513 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24514
24515 * bits/mathdef.h: Update copyright year.
24516 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24517
d2050124
MM
245182010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24519
24520 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24521 builtins, define the macros in the C99 standard.
24522 (FP_FAST_FMAF): Likewise.
24523 (FP_FAST_FMAL): Likewise.
24524 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24525 multiply/add.
24526 (FP_FAST_FMAF): Likewise.
24527
475facd1
JJ
245282010-10-15 Jakub Jelinek <jakub@redhat.com>
24529
24530 [BZ #3268]
24531 * math/libm-test.inc (fma_test): Some new testcases.
24532 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24533 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24534 y and infinite z. Do multiplication by C already in long double.
24535 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24536 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24537 y and infinite z. Do bitwise or of inexact bit into u.d.
24538 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24539 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24540 * sysdeps/i386/fpu/s_fma.S: Removed.
24541 * sysdeps/i386/fpu/s_fmal.S: Removed.
24542
7c08a05c
JJ
245432010-10-16 Jakub Jelinek <jakub@redhat.com>
24544
24545 [BZ #3268]
24546 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24547 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24548 computation is not scheduled after fetestexcept. Fix value
24549 of minimum denormal long double.
24550
f3f7372d
JJ
245512010-10-14 Jakub Jelinek <jakub@redhat.com>
24552
24553 [BZ #3268]
24554 * math/libm-test.inc (fma_test): Add some more tests.
24555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24556 correctly.
24557
14d43591
AS
245582010-10-15 Andreas Schwab <schwab@redhat.com>
24559
24560 * scripts/data/localplt-s390-linux-gnu.data: New file.
24561 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24562
5e908464
JJ
245632010-10-13 Jakub Jelinek <jakub@redhat.com>
24564
24565 [BZ #3268]
24566 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24567 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24568 instead of dbl-64.
24569 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24570 inlines.
24571 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24573 if one of x and y is very large and the other is subnormal.
24574 * sysdeps/s390/fpu/s_fmaf.c: New file.
24575 * sysdeps/s390/fpu/s_fma.c: New file.
24576 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24577 * sysdeps/powerpc/fpu/s_fma.S: New file.
24578 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24579 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24580 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24581
245822010-10-12 Jakub Jelinek <jakub@redhat.com>
24583
24584 [BZ #3268]
24585 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24586 fma tests.
24587 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24588 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24589 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24590 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24591 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24592 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24593 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24594
b833d51f
UD
245952010-10-12 Ulrich Drepper <drepper@redhat.com>
24596
24597 [BZ #12078]
24598 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24599 * posix/bug-regex31.input: Add test case.
24600
1751705d
UD
246012010-10-11 Ulrich Drepper <drepper@gmail.com>
24602
e9b9cbf5
UD
24603 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24604 * posix/bug-regex31.input: New file.
24605
24606 [BZ #12078]
24607 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24608 (parse_sub_exp): Fix last change, use postorder.
24609
ef06edbe
UD
24610 * posix/bug-regex31.c: New file.
24611 * posix/Makefile: Add rules to build and run bug-regex31.
24612
a129c80d
UD
24613 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24614
24615 [BZ #12078]
24616 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24617
b76b818e
UD
24618 [BZ #12108]
24619 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24620 to have entries in sys_siglist.
24621
1751705d
UD
24622 [BZ #12093]
24623 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24624 be NULL.
24625
9ff8d36f
JJ
246262010-10-07 Jakub Jelinek <jakub@redhat.com>
24627
24628 [BZ #3268]
24629 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24630 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24631 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24632 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24633 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24634 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24635 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24636 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24637 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24638 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24639 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24640 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24641 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24642 * math/ftestexcept.c (fetestexcept): Likewise.
24643 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24644 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24645 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24646 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24647 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24648 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24649 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24650
af325969
UD
246512010-10-11 Ulrich Drepper <drepper@gmail.com>
24652
c579b202 24653 [BZ #12107]
af325969
UD
24654 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24655 newline.
24656
67a67b95
UD
246572010-10-06 Ulrich Drepper <drepper@gmail.com>
24658
24659 * string/bug-strstr1.c: New file.
24660 * string/Makefile: Add rules to build and run bug-strstr1.
24661
5fb308bc
EB
246622010-10-05 Eric Blake <eblake@redhat.com>
24663
24664 [BZ #12092]
24665 * string/str-two-way.h (two_way_long_needle): Always clear memory
24666 when skipping input due to the shift table.
24667
45db99c7
UD
246682010-10-03 Ulrich Drepper <drepper@gmail.com>
24669
3b111893
UD
24670 [BZ #12005]
24671 * malloc/mcheck.c: Handle large requests.
24672
45db99c7
UD
24673 [BZ #12077]
24674 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24675 for strncmp and strncasecmp.
24676 * string/stratcliff.c: Add tests for strcmp and strncmp.
24677 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24678
cf7a1eb8
NI
246792010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24680
24681 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24682 __set_fpscr.
24683
6484ba5e
AJ
246842010-09-30 Andreas Jaeger <aj@suse.de>
24685
24686 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24687 (CGROUP_SUPER_MAGIC): Define.
24688 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24689 Handle btrfs and cgroup file systems.
24690 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24691 Likewise.
24692
91c42559
LM
246932010-09-27 Luis Machado <luisgpm@br.ibm.com>
24694
24695 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24696 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24697
87a97932
AK
246982010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24699
24700 [BZ #12067]
24701 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24702 trying to locate the ELF header.
24703
c21cc9bc
AS
247042010-09-27 Andreas Schwab <schwab@redhat.com>
24705
24706 [BZ #11611]
24707 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24708 Mask out sign-bit copies when constructing f_fsid.
24709
315970f6
PB
247102010-09-24 Petr Baudis <pasky@suse.cz>
24711
24712 * debug/stack_chk_fail_local.c: Add missing licence exception.
24713 * debug/warning-nop.c: Likewise.
24714
1ac7a2c7
JM
247152010-09-15 Joseph Myers <joseph@codesourcery.com>
24716
24717 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24718 implementing getdents64 using getdents syscall, set d_type if
24719 __ASSUME_GETDENTS32_D_TYPE.
24720
56801c50
AS
247212010-09-16 Andreas Schwab <schwab@redhat.com>
24722
24723 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24724 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24725
dda51327
UD
247262010-09-21 Ulrich Drepper <drepper@redhat.com>
24727
24728 [BZ #12037]
24729 * posix/unistd.h: Undo change of feature selection for ftruncate from
24730 2010-01-11.
24731
8ffcee4a
UD
247322010-09-20 Ulrich Drepper <drepper@redhat.com>
24733
a545ecd9 24734 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
24735 detection.
24736
e24f0a8b
AS
247372010-09-20 Andreas Schwab <schwab@redhat.com>
24738
24739 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24740 fanotify_mark.
24741 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24742
7291c56f
AS
247432010-09-14 Andreas Schwab <schwab@redhat.com>
24744
24745 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24746 variables after CHECK_SP call.
24747 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24748
bc5fb037
AS
247492010-09-13 Andreas Schwab <schwab@redhat.com>
24750 Ulrich Drepper <drepper@redhat.com>
24751
24752 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24753 re-relocationg ld.so.
24754 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24755 _dl_init_paths call.
24756 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24757 here anymore.
24758
e66e7419
UD
247592010-09-14 Ulrich Drepper <drepper@redhat.com>
24760
24761 * resolv/res_init.c (__res_vinit): Count the default server we added.
24762
c044aa75
CLT
247632010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24764 Ulrich Drepper <drepper@redhat.com>
24765
24766 [BZ #11968]
24767 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24768 (____longjmp_chk): Use %ebx for saving value across system call.
24769 Add unwind info.
24770
32cf4069
AS
247712010-09-06 Andreas Schwab <schwab@redhat.com>
24772
24773 * manual/Makefile: Don't mix pattern rules with normal rules.
24774
817328ee
AS
247752010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24776
24777 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24778 operation.
24779 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24780 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24781 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24782 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24783 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24784 Likewise.
24785
29fddf61
UD
247862010-09-04 Ulrich Drepper <drepper@redhat.com>
24787
24788 [BZ #11979]
24789 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24790 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24791
0959ffc9
UD
247922010-09-02 Ulrich Drepper <drepper@redhat.com>
24793
24794 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24795 * sysdeps/x86_64/addmul_1.S: Likewise.
24796 * sysdeps/x86_64/lshift.S: Likewise.
24797 * sysdeps/x86_64/mul_1.S: Likewise.
24798 * sysdeps/x86_64/rshift.S: Likewise.
24799 * sysdeps/x86_64/sub_n.S: Likewise.
24800 * sysdeps/x86_64/submul_1.S: Likewise.
24801
ece29840
ST
248022010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24803
0959ffc9
UD
24804 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24805 Define __sched_param instead of SCHED_* and sched_param when
ece29840 24806 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 24807 * bits/sched.h [__need_schedparam]
ece29840 24808 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
24809 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24810 (__defined_schedparam): Define to 1.
ece29840
ST
24811 (__sched_param): New structure, identical to sched_param.
24812 (__need_schedparam): Undefine.
24813
e53a31fe
MF
248142010-08-31 Mike Frysinger <vapier@gentoo.org>
24815
fdc0c10d
MF
24816 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24817 (epoll_create1): Declare.
24818
e53a31fe
MF
24819 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24820
a726d796
AS
248212010-08-31 Andreas Schwab <schwab@redhat.com>
24822
24823 [BZ #7066]
24824 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24825 shifting retval into place.
24826
2f3e3dc7
UD
248272010-09-01 Ulrich Drepper <drepper@redhat.com>
24828
f2933da9
UD
24829 * nis/rpcsvc/nis.h: Update copyright notice.
24830 * nis/rpcsvc/nis.x: Likewise.
24831 * nis/rpcsvc/nis_callback.h: Likewise.
24832 * nis/rpcsvc/nis_callback.x: Likewise.
24833 * nis/rpcsvc/nis_object.x: Likewise.
24834 * nis/rpcsvc/nis_tags.h: Likewise.
24835 * nis/rpcsvc/yp.h: Likewise.
24836 * nis/rpcsvc/yp.x: Likewise.
24837 * nis/rpcsvc/ypupd.h: Likewise.
24838 * nis/yp_xdr.c: Likewise.
24839 * nis/ypupdate_xdr.c: Likewise.
24840
2f3e3dc7
UD
24841 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24842 mainly the body of pmap_getport. Add parameters to specify timeouts.
24843 (pmap_getport): Use __libc_rpc_getport.
24844 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24845 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24846 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24847
f3dcc2f9
AS
248482010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24849
24850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24851 fanotify_mark.
24852
6d34eb5b
RM
248532010-08-27 Roland McGrath <roland@redhat.com>
24854
24855 * sysdeps/i386/i686/multiarch/Makefile
24856 (CFLAGS-varshift.c): New variable.
24857
9ea3de11
UD
248582010-08-27 Ulrich Drepper <drepper@redhat.com>
24859
c96d23fc
UD
24860 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24861 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24862
9ea3de11
UD
24863 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24864
24865 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24866
623aac7f
L
248672010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24868
24869 * sysdeps/x86_64/strlen.S: Unroll the loop.
24870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24871 strlen-sse2 strlen-sse2-bsf.
24872 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24873 __strlen_no_bsf if bit_Slow_BSF is set.
24874 (__strlen_sse42): Removed.
24875 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24876 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24877
8b2b7715
RM
248782010-08-25 Roland McGrath <roland@redhat.com>
24879
24880 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24881 * sysdeps/x86_64/multiarch/varshift.c: New file.
24882 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24883 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24884 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24885 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24886
e73015f2
L
248872010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24888
24889 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24890 strlen-sse2 strlen-sse2-bsf.
24891 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24892 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24893 (__strlen_sse2): Removed.
24894 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24895 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24896 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24897 bit_Slow_BSF for Atom.
24898 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24899 (index_Slow_BSF): Define.
24900 (HAS_SLOW_BSF): Define.
24901
df24a73e
UD
249022010-08-25 Ulrich Drepper <drepper@redhat.com>
24903
24904 [BZ #10851]
24905 * resolv/res_init.c (__res_vinit): When no server address at all
24906 is given default to loopback.
24907
f2ac4868
RM
249082010-08-24 Roland McGrath <roland@redhat.com>
24909
09055553
RM
24910 * configure.in: Remove config-name.h generation.
24911 * configure: Regenerated.
24912 * config-name.in: File removed.
24913 * scripts/config-uname.sh: New file.
24914 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24915 ($(objdir)config-name.h): New target.
24916
f2ac4868
RM
24917 * sunrpc/rpc_parse.h: Avoid nested comment.
24918
73f27d5e
RH
249192010-08-24 Richard Henderson <rth@redhat.com>
24920 Ulrich Drepper <drepper@redhat.com>
24921 H.J. Lu <hongjiu.lu@intel.com>
24922
24923 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24924 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24925 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24926 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24927 _mm_alignr_epi8 with _mm_loadu_si128.
24928 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24929 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24930 (__m128i_shift_right): Removed.
24931 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24932 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24933 * sysdeps/x86_64/multiarch/varshift.h: New file.
24934 * sysdeps/x86_64/multiarch/varshift.S: New file.
24935
84b9230c
MF
249362010-08-21 Mike Frysinger <vapier@gentoo.org>
24937
24938 * configure.in: Move assembler checks to before sysdep dir checking.
24939
9bbd0ddc
PB
249402010-08-20 Petr Baudis <pasky@suse.cz>
24941
24942 * LICENSES: Sync the sunrpc license.
24943
9da4bb31
UD
249442010-08-19 Ulrich Drepper <drepper@redhat.com>
24945
a7ab6ec8
UD
24946 * sunrpc/auth_des.c: Update copyright notice once again.
24947 * sunrpc/auth_none.c: Likewise.
24948 * sunrpc/auth_unix.c: Likewise.
24949 * sunrpc/authdes_prot.c: Likewise.
24950 * sunrpc/authuxprot.c: Likewise.
24951 * sunrpc/bindrsvprt.c: Likewise.
24952 * sunrpc/clnt_gen.c: Likewise.
24953 * sunrpc/clnt_perr.c: Likewise.
24954 * sunrpc/clnt_raw.c: Likewise.
24955 * sunrpc/clnt_simp.c: Likewise.
24956 * sunrpc/clnt_tcp.c: Likewise.
24957 * sunrpc/clnt_udp.c: Likewise.
24958 * sunrpc/clnt_unix.c: Likewise.
24959 * sunrpc/des_crypt.c: Likewise.
24960 * sunrpc/des_soft.c: Likewise.
24961 * sunrpc/get_myaddr.c: Likewise.
24962 * sunrpc/getrpcport.c: Likewise.
24963 * sunrpc/key_call.c: Likewise.
24964 * sunrpc/key_prot.c: Likewise.
24965 * sunrpc/openchild.c: Likewise.
24966 * sunrpc/pm_getmaps.c: Likewise.
24967 * sunrpc/pm_getport.c: Likewise.
24968 * sunrpc/pmap_clnt.c: Likewise.
24969 * sunrpc/pmap_prot.c: Likewise.
24970 * sunrpc/pmap_prot2.c: Likewise.
24971 * sunrpc/pmap_rmt.c: Likewise.
24972 * sunrpc/rpc/auth.h: Likewise.
24973 * sunrpc/rpc/auth_unix.h: Likewise.
24974 * sunrpc/rpc/clnt.h: Likewise.
24975 * sunrpc/rpc/des_crypt.h: Likewise.
24976 * sunrpc/rpc/key_prot.h: Likewise.
24977 * sunrpc/rpc/netdb.h: Likewise.
24978 * sunrpc/rpc/pmap_clnt.h: Likewise.
24979 * sunrpc/rpc/pmap_prot.h: Likewise.
24980 * sunrpc/rpc/pmap_rmt.h: Likewise.
24981 * sunrpc/rpc/rpc.h: Likewise.
24982 * sunrpc/rpc/rpc_des.h: Likewise.
24983 * sunrpc/rpc/rpc_msg.h: Likewise.
24984 * sunrpc/rpc/svc.h: Likewise.
24985 * sunrpc/rpc/svc_auth.h: Likewise.
24986 * sunrpc/rpc/types.h: Likewise.
24987 * sunrpc/rpc/xdr.h: Likewise.
24988 * sunrpc/rpc_clntout.c: Likewise.
24989 * sunrpc/rpc_cmsg.c: Likewise.
24990 * sunrpc/rpc_common.c: Likewise.
24991 * sunrpc/rpc_cout.c: Likewise.
24992 * sunrpc/rpc_dtable.c: Likewise.
24993 * sunrpc/rpc_hout.c: Likewise.
24994 * sunrpc/rpc_main.c: Likewise.
24995 * sunrpc/rpc_parse.c: Likewise.
24996 * sunrpc/rpc_parse.h: Likewise.
24997 * sunrpc/rpc_prot.c: Likewise.
24998 * sunrpc/rpc_sample.c: Likewise.
24999 * sunrpc/rpc_scan.c: Likewise.
25000 * sunrpc/rpc_scan.h: Likewise.
25001 * sunrpc/rpc_svcout.c: Likewise.
25002 * sunrpc/rpc_tblout.c: Likewise.
25003 * sunrpc/rpc_util.c: Likewise.
25004 * sunrpc/rpc_util.h: Likewise.
25005 * sunrpc/rpcinfo.c: Likewise.
25006 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
25007 * sunrpc/rpcsvc/key_prot.x: Likewise.
25008 * sunrpc/rpcsvc/klm_prot.x: Likewise.
25009 * sunrpc/rpcsvc/mount.x: Likewise.
25010 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
25011 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
25012 * sunrpc/rpcsvc/rex.x: Likewise.
25013 * sunrpc/rpcsvc/rstat.x: Likewise.
25014 * sunrpc/rpcsvc/rusers.x: Likewise.
25015 * sunrpc/rpcsvc/sm_inter.x: Likewise.
25016 * sunrpc/rpcsvc/spray.x: Likewise.
25017 * sunrpc/rpcsvc/yppasswd.x: Likewise.
25018 * sunrpc/rtime.c: Likewise.
25019 * sunrpc/svc.c: Likewise.
25020 * sunrpc/svc_auth.c: Likewise.
25021 * sunrpc/svc_authux.c: Likewise.
25022 * sunrpc/svc_raw.c: Likewise.
25023 * sunrpc/svc_run.c: Likewise.
25024 * sunrpc/svc_simple.c: Likewise.
25025 * sunrpc/svc_tcp.c: Likewise.
25026 * sunrpc/svc_udp.c: Likewise.
25027 * sunrpc/svc_unix.c: Likewise.
25028 * sunrpc/svcauth_des.c: Likewise.
25029 * sunrpc/xcrypt.c: Likewise.
25030 * sunrpc/xdr.c: Likewise.
25031 * sunrpc/xdr_array.c: Likewise.
25032 * sunrpc/xdr_float.c: Likewise.
25033 * sunrpc/xdr_mem.c: Likewise.
25034 * sunrpc/xdr_rec.c: Likewise.
25035 * sunrpc/xdr_ref.c: Likewise.
25036 * sunrpc/xdr_sizeof.c: Likewise.
25037 * sunrpc/xdr_stdio.c: Likewise.
25038
9da4bb31
UD
25039 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25040 handling.
25041
bdaa77bc
AS
250422010-08-19 Andreas Schwab <schwab@redhat.com>
25043
25044 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25045
fe2f79db
LM
250462010-08-19 Luis Machado <luisgpm@br.ibm.com>
25047
25048 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25049 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25050 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25051 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25052 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25053 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25054 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25055 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25056 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25057 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25058 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25059 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25060 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25061 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25062
b9b42ee0
AB
250632010-07-26 Anton Blanchard <anton@samba.org>
25064
25065 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25066 * malloc/arena.c (heap_trim): Likewise.
25067
1c06ba31
UD
250682010-08-16 Ulrich Drepper <drepper@redhat.com>
25069
25070 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25071 here. Not...
25072 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25073 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25074
f8392f40
L
250752010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25076
25077 * sysdeps/i386/elf/Makefile: New file.
25078
3162f12e
AS
250792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25080
25081 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25082 from fanotify_init.
25083 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25084 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25085
28c90b2c
UD
250862010-08-15 Ulrich Drepper <drepper@redhat.com>
25087
25088 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25089 of strncasecmp_l.
1feccb6c 25090 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 25091
ca6bb004
UD
250922010-08-14 Ulrich Drepper <drepper@redhat.com>
25093
e9f82e0d
UD
25094 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25095 strncase_l-nonascii.
25096 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25097 Add strncase_l-ssse3.
25098 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25099 * sysdeps/x86_64/strcmp.S: Likewise.
25100 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25101 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25102 * sysdeps/x86_64/strncase.S: New file.
25103 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25104 * sysdeps/x86_64/strncase_l.S: New file.
25105 * string/Makefile (strop-tests): Add strncasecmp.
25106 * string/test-strncasecmp.c: New file.
25107
25108 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25109 warning.
25110
ca6bb004
UD
25111 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25112 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25113
052fa7b3
AS
251142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25115
25116 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25117
962dba78
UD
251182010-08-12 Ulrich Drepper <drepper@redhat.com>
25119
25120 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25121 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25122 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25123
bebff237
AM
251242010-05-01 Alan Modra <amodra@gmail.com>
25125
25126 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25127 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25128 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25129 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25130 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25131 tidying. Don't tail-call __sigjmp_save for static lib.
25132 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25133 save location.
25134 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25135 (CALL_MCOUNT): Add eh info, and nop after bl.
25136 (TAIL_CALL_SYSCALL_ERROR): New macro.
25137 (PSEUDO_RET): Use it.
25138 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25139 Correct save location of integer regs and cr.
25140 (_dl_profile_resolve): Correct cr save location. Delete nops
25141 after bl when SHARED. Reduce cfi size a little by better
25142 placement of cfi directives.
25143 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25144 make a stack frame. Instead use parm save area as a temp.
25145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25146 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25148 Don't make a stack frame for parent, use parm save area.
25149 Increase child stack frame to 112 bytes. Don't save unused reg,
25150 and adjust reg usage. Set up cfi on error recovery and
25151 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25153 (__makecontext): Add dummy nop after jump to exit.
25154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25155 Use correct parm save area and cr save, reduce stack frame.
25156 Correct cfi for possible PSEUDO_RET frame setup.
25157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25158 Branch to local label emitted by PSEUDO_RET rather than
25159 __syscall_error.
25160
02637374
AS
251612010-08-12 Andreas Schwab <schwab@redhat.com>
25162
25163 [BZ #11904]
25164 * locale/programs/locale.c (print_assignment): New function.
25165 (show_locale_vars): Use it.
25166
c3e2f19b
UD
251672010-08-11 Ulrich Drepper <drepper@redhat.com>
25168
3cdaa6ad
UD
25169 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25170 field.
25171 (struct statfs64): Likewise.
25172 (_STATFS_F_FLAGS): Define.
25173 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25174 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25175 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25176 (ST_VALID): Define locally.
25177 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25178 __statvfs_getflags, use the provided value.
25179 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25180 __ASSUME_STATFS_F_FLAGS.
25181
754f7da3
UD
25182 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25183
10b3bedc
UD
25184 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25185 Add sys/fanotify.h.
25186 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25187 fanotify_mask for GLIBC_2.13.
25188 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25189 fanotify_init and fanotify_mark.
25190 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25191 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25192
c08fb0d7
UD
25193 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25194 Add prlimit.
25195 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25196 prlimit64 for GLIBC_2.13.
25197 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25198 prlimit64.
25199 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25200 syscall.
25201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25202 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25203 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25204 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25205 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25206 add prlimit alias.
25207 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25208
15bac72b
UD
25209 [BZ #11903]
25210 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25211 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25212
c3e2f19b
UD
25213 * nss/Makefile: Add rules to build and run tst-nss-test1.
25214 * shlib-versions: Add entry for libnss_test1.
25215 * nss/nss_test1.c: New file.
25216 * nss/tst-nss-test1.c: New file.
25217
25218 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25219 (__nss_configure_lookup): Set appropriate entry in
25220 __nss_configure_lookup to true.
25221 * nss/nsswitch.h: Define enum with indeces of databases in
25222 databases and __nss_database_custom arrays. Declare
25223 __nss_database_custom.
25224 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25225 to avoid using nscd when custom rules are installed.
25226 * nss/getXXbyYY_r.c: Likewise.
25227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25228
25229 * nss/nss_files/files-parse.c: Whitespace fixes.
25230
f15ce4d8
UD
252312010-08-09 Ulrich Drepper <drepper@redhat.com>
25232
25233 [BZ #11883]
25234 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25235 * posix/fnmatch_loop.c: Likewise.
25236
d22e4cc9
AK
252372010-07-17 Andi Kleen <ak@linux.intel.com>
25238
25239 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25240 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25241 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25242 * Versions.def [GLIBC_2.13]: Add.
25243
805bc17d
UD
252442010-08-06 Ulrich Drepper <drepper@redhat.com>
25245
25246 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25247 Also fail if tpwd after pwuid call is NULL.
25248
5a42321d
ST
252492010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25250
25251 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25252 when converting to ms.
25253
fd3ebeda
ST
252542010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25255
25256 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25257 EOPNOTSUPP errors with ENOTTY.
25258 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25259 EOPNOTSUPP errors with ENOTTY.
25260
73507d3a
UD
252612010-07-31 Ulrich Drepper <drepper@redhat.com>
25262
25263 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25264 Add strcasecmp_l-ssse3.
25265 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25266 strcasecmp.
25267 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25268 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25269 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25270
fe36dd02
UD
252712010-07-30 Ulrich Drepper <drepper@redhat.com>
25272
66f6765a
UD
25273 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25274
42e08a54
UD
25275 * string/Makefile (strop-tests): Add strcasecmp.
25276 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25277 strcasecmp_l-nonascii.
25278 (gen-as-const-headers): Add locale-defines.sym.
25279 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25280 * sysdeps/x86_64/strcasecmp.S: New file.
25281 * sysdeps/x86_64/strcasecmp_l.S: New file.
25282 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25283 * sysdeps/x86_64/locale-defines.sym: New file.
25284 * string/test-strcasecmp.c: New file.
25285
fe36dd02
UD
25286 * string/test-strcasestr.c: Test both ends of the range of characters.
25287 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25288
48cbc0d6
RM
252892010-07-29 Roland McGrath <roland@redhat.com>
25290
76e6d6bc 25291 [BZ #11856]
48cbc0d6
RM
25292 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25293
880113d9
UD
252942010-07-27 Ulrich Drepper <drepper@redhat.com>
25295
25296 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25297 for ld.so.
25298
deb9cabb
AS
252992010-07-27 Andreas Schwab <schwab@redhat.com>
25300
25301 * manual/memory.texi (Malloc Tunable Parameters): Document
25302 M_PERTURB.
25303
1c7570ff
RM
253042010-07-26 Roland McGrath <roland@redhat.com>
25305
25306 [BZ #11840]
25307 * configure.in (-fgnu89-inline check): Set and substitute
25308 gnu89_inline, not libc_cv_gnu89_inline.
25309 * configure: Regenerated.
25310 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25311
24fb0f88
UD
253122010-07-26 Ulrich Drepper <drepper@redhat.com>
25313
25314 * string/test-strnlen.c: New file.
25315 * string/Makefile (strop-tests): Add strnlen.
25316 * string/tester.c (test_strnlen): Add a few more test cases.
25317 * string/tst-strlen.c: Better error reporting.
25318
25319 * sysdeps/x86_64/strnlen.S: New file.
25320
8e96b93a
UD
253212010-07-24 Ulrich Drepper <drepper@redhat.com>
25322
25323 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25324 lower-latency instructions.
25325
dbc676d4
UD
253262010-07-23 Ulrich Drepper <drepper@redhat.com>
25327
25328 * string/test-strcasestr.c: New file.
25329 * string/test-strstr.c: New file.
25330 * string/Makefile (strop-tests): Add strstr and strcasestr.
25331 * string/str-two-way.h: Don't undefine MAX.
25332 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25333
f6a31e0e
AS
253342010-07-21 Andreas Schwab <schwab@redhat.com>
25335
25336 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25337 strcasestr-nonascii.
25338 (CFLAGS-strcasestr-nonascii.c): Define.
25339 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25340 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25341 Remove unused attribute.
25342
5dbc3b6c
RM
253432010-07-20 Roland McGrath <roland@redhat.com>
25344
25345 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25346 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25347 ld.so.cache was broken. With it, there is no way to disable dsocaps
25348 like LD_HWCAP_MASK can disable hwcaps.
25349
23d101d8
EPM
253502010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25351
25352 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25353
cc9f2e47
UD
253542010-07-16 Ulrich Drepper <drepper@redhat.com>
25355
25356 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25357 call in strcasestr.
25358 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25359 __strcasestr_sse42_nonascii.
25360 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25361 strcasestr-nonascii.c.
25362 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25363
77c1b069
LM
253642010-06-15 Luis Machado <luisgpm@br.ibm.com>
25365
25366 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25367 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25368 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25369 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25370
440566c3
UD
253712010-07-09 Ulrich Drepper <drepper@redhat.com>
25372
25373 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25374 fcntl.
25375
5be9d05d
AS
253762010-07-06 Andreas Schwab <schwab@redhat.com>
25377
c30b7ee2 25378 [BZ #11577]
5be9d05d
AS
25379 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25380 dl_signal_cerror.
25381
8a492a67
UD
253822010-07-06 Ulrich Drepper <drepper@redhat.com>
25383
25384 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25385 _PC_PIPE_BUF using F_GETPIPE_SZ.
25386
713df3d5
RM
253872010-07-05 Roland McGrath <roland@redhat.com>
25388
25389 * manual/arith.texi (Rounding Functions): Fix rint description
25390 implicit in round description.
25391
702e8f14
UD
253922010-07-02 Ulrich Drepper <drepper@redhat.com>
25393
25394 * elf/Makefile: Fix linking for a few tests to make recent linker
25395 happy.
25396
52ed8be9
AS
253972010-06-30 Andreas Schwab <schwab@redhat.com>
25398
25399 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25400 $(common-objpfx)libc_nonshared.a.
25401
f47c9a11
LM
254022010-06-21 Luis Machado <luisgpm@br.ibm.com>
25403
25404 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25405 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25406 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25407 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25408 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25409 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25410 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25411 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
25422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
25426 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
25427 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25428 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25429 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25430 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25431 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25432 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25433 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25434 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25435 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25436 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25437 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
25438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
25439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
25440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
25441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
25442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
25443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
25444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
25445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
25446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
25447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
25448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
25449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
25450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25452
6fb8cbcb
L
254532010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25454
25455 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25456 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25457 * string/memmove.c (memmove): Renamed to ...
25458 (MEMMOVE): ...this. Default to memmove.
25459 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25460 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25461 (END_CHK): Define.
25462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25463 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25464 mempcpy-ssse3-back memmove-ssse3-back.
25465 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25466 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25467 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25468 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25469 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25470 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25471 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25472 * sysdeps/x86_64/multiarch/memmove.c: New file.
25473 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25474 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25475 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25476 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25477 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25478 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25479 Define.
25480 (index_Fast_Copy_Backward): Define.
25481 (HAS_ARCH_FEATURE): Define.
25482 (HAS_FAST_REP_STRING): Define.
25483 (HAS_FAST_COPY_BACKWARD): Define.
25484
4e733bac 254852010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
25486
25487 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25488 Restore proper fallback handling.
25489
63c4ed22
UD
254902010-06-19 Ulrich Drepper <drepper@redhat.com>
25491
ac2b484c
UD
25492 [BZ #11701]
25493 * posix/group_member.c (__group_member): Correct checking loop.
25494
63c4ed22
UD
25495 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25496 OOM in getpwuid_r correctly. Return error number when the caller
25497 should return, otherwise -1.
25498 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25499 call returning > 0 value.
25500 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25501
765ade4b
AS
255022010-06-07 Andreas Schwab <schwab@redhat.com>
25503
25504 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25505 libc_nonshared.a from targets in modules-names.
25506
80da2e09
KS
255072010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25508
25509 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25510 requires it.
25511
158db122
LM
255122010-06-10 Luis Machado <luisgpm@br.ibm.com>
25513
25514 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25515 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25516 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25517 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25518
caa78cf8
AS
255192010-06-02 Andreas Schwab <schwab@redhat.com>
25520
25521 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25522
b2ef2c01
UD
255232010-06-14 Ulrich Drepper <drepper@redhat.com>
25524
25525 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25526 and F_GETPIPE_SZ.
25527 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25528 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25529 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25530 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25531 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25532 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25533
fbd643b6
RM
255342010-06-14 Roland McGrath <roland@redhat.com>
25535
25536 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25537
f32f2869
JJ
255382010-06-07 Jakub Jelinek <jakub@redhat.com>
25539
25540 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25541 __REDIRECT followed by __THROW.
25542 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25543 * posix/getopt.h (getopt): Likewise.
25544
2a50c078
EPM
255452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25546
25547 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25548 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25549 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25550 in AT_FLAGS.
25551 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25552 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25553
eb5ad2eb
LM
255542010-05-28 Luis Machado <luisgpm@br.ibm.com>
25555
25556 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25557
3c88fe1e
L
255582010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25559
25560 [BZ #11640]
25561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25562 Properly check family and model.
25563
d2f73151
TY
255642010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25565
25566 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25567
ebd2e13d
LM
255682010-05-24 Luis Machado <luisgpm@br.ibm.com>
25569
25570 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25571
b32b8b45
UD
255722010-05-21 Ulrich Drepper <drepper@redhat.com>
25573
25574 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25575 symbol reference.
25576
9acbe24d
AS
255772010-05-19 Andreas Schwab <schwab@redhat.com>
25578
25579 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25580 symbol reference.
25581
f0ccf6ea
AS
255822010-05-21 Andreas Schwab <schwab@redhat.com>
25583
3d04ff3a
AS
25584 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25585 and internal_recvmmsg.
25586 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25587 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25588 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25589 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25590
f0ccf6ea
AS
25591 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25592 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25593 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25594
5b08ac57
AS
255952010-05-20 Andreas Schwab <schwab@redhat.com>
25596
25597 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25598
4828935d
LM
255992010-05-17 Luis Machado <luisgpm@br.ibm.com>
25600
25601 POWER7 optimizations.
25602 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25603 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25604
373d545e
UD
256052010-05-19 Ulrich Drepper <drepper@redhat.com>
25606
25607 * version.h: Update for 2.13 development version.
25608
21a2b1ae
AS
256092010-05-12 Andrew Stubbs <ams@codesourcery.com>
25610
25611 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25612 exceptions. Return 0.
25613
3f7dcb2b
RM
256142010-05-07 Roland McGrath <roland@redhat.com>
25615
25616 * elf/ldconfig.c (main): Add a const.
25617
5f24d53a 256182010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 25619
a160f8d8
UD
25620 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25621 (args_options): Add no-idn option.
25622 (ahosts_keys_int): Add idn_flags to ai_flags.
25623 (parse_option): Handle 'i' option to clear idn_flags.
25624
5f24d53a
UD
25625 * malloc/malloc.c (_int_free): Possible race in the most recently
25626 added check. Only act on the data if no current modification
25627 happened.
265bb1ce
UD
25628
25629See ChangeLog.17 for earlier changes.