]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
C++11 thread_local destructors support
[thirdparty/glibc.git] / ChangeLog
CommitLineData
be179c8a
SP
12013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2
ba384f6e
SP
3 * Versions.def: Add GLIBC_2.18.
4 * include/link.h (struct link_map): New member l_tls_dtor_count.
5 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6 (__call_tls_dtors): Likewise.
7 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8 __cxa_thread_atexit_impl.
9 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10 Likewise.
11 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12 Likewise.
13 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14 Likewise.
15 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16 Likewise.
17 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19 Likewise.
20 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21 Likewise.
22 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24 Likewise.
25 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26 (tests): Add test case tst-tls-atexit.
27 (modules-names): Add shared library for tst-tls-atexit.
28 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
29 (GLIBC_PRIVATE): Add __call_tls_dtors.
30 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31 for libstdc++.
32 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
33 * stdlib/tst-tls-atexit.c: New test case.
34 * stdlib/tst-tls-atexit-lib.c: New test case.
35
ffaa74cf
SP
36 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37 * nptl/sysdeps/pthread/tst-timer.c: Likewise.
38 * nptl/tst-barrier4.c: Likewise.
39 * nptl/tst-robust7.c: Likewise.
40
be179c8a
SP
41 * elf/Versions (ld): Add _dl_find_dso_for_object.
42 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
43 * elf/dl-open.c (_dl_find_dso_for_object): New function.
44 (dl_open_worker): Use _dl_find_dso_for_object.
45 * elf/dl-sym.c (do_sym): Likewise.
46 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
47
f78b5caa
AK
482013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49
50 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
51 Syntactic changes only.
52 (_dl_runtime_profile): Do a tail-call to the resolved function.
53
29691210
JM
542013-02-17 Joseph Myers <joseph@codesourcery.com>
55
56 [BZ #13550]
57 * sysdeps/x86_64/bp-asm.h: Remove file.
58 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
59 <bp-sym.h> and <bp-asm.h>.
60 (__clone): Do not use BP_SYM.
61 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
62 <bp-sym.h> and <bp-asm.h>.
63 * sysdeps/unix/x86_64/sysdep.S: Likewise.
64 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
65 "bp-asm.h".
66 (_setjmp): Do not use BP_SYM.
67 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
68 "bp-asm.h".
69 (setjmp): Do not use BP_SYM.
70 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
71 libc_hidden_def.
72 (mempcpy): Do not use BP_SYM in weak_alias.
73 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
74 "bp-asm.h".
75 (strchr): Do not use BP_SYM.
76 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
77 "bp-asm.h".
78 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
79 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
80 (_start): Do not use BP_SYM.
81 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
82 "bp-asm.h".
83 (strcat): Do not use BP_SYM.
84 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
85 "bp-asm.h".
86 (STRCMP): Do not use BP_SYM.
87 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
88 "bp-asm.h".
89 (STRCPY): Do not use BP_SYM.
90 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
91 "bp-asm.h".
92 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
93 "bp-asm.h".
94 (FUNCTION): Do not use BP_SYM.
95 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
96 weak_alias.
97 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
98
f238fd19
AJ
992013-02-17 Andreas Jaeger <aj@suse.de>
100
101 * time/Versions: Sort entries.
102 * string/Versions: Likewise.
103 * resolv/Versions: Likewise.
104 * posix/Versions: Likewise.
105 * iconv/Versions: Likewise.
106 * elf/Versions: Likewise.
107 * wcsmbs/Versions: Likewise.
108
bd07f23c 1092013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 110
22af19f9
SP
111 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
112 loop termination condition.
113
4709fe76
SP
114 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
115 variable to calculate EZ.
116 (__sqr): Likewise.
2d0e0f29
SP
117
118 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
119 the lower precision input.
120
daaa7713
JM
1212013-02-15 Joseph Myers <joseph@codesourcery.com>
122
123 [BZ #13550]
124 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
125 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
126 (run-via-rtld-prefix): Do not handle %-bp tests.
127 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
128 (all-object-suffixes): Remove .ob.
129 (bppfx): Remove variable.
130 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
131 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
132 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
133 [$(build-bounded) = yes] (libtype.ob): Likewise.
134 * Makerules (elide-routines.ob): Remove variable.
135 (do-tests-clean): Do not handle *-bp.out.
136 (common-mostlyclean): Do not handle *-bp and *-bp.out.
137 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
138 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
139 (tests): Do not include $(tests-bp.out).
140 (xtests): Do not include $(xtests-bp.out).
141 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
142 [$(build-bounded) = yes] ($(addprefix
143 $(objpfx),$(binaries-bounded))): Remove rule.
144 ($(objpfx)%-bp.out): Remove rule.
145 * config.make.in (build-bounded): Remove variable.
146 * crypt/Makefile [$(build-bounded) = yes]
147 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
148 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
149 append to variable.
150 [$(build-bounded) = yes] (install-lib): Likewise.
151 [$(build-bounded) = yes] (generated): Likewise.
152 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
153 Remove rule.
154 * intl/Makefile [$(build-bounded) = yes]
155 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
156 * math/Makefile [$(build-bounded) = yes]
157 ($(tests:%=$(objpfx)%-bp): Likewise.
158 * misc/Makefile [$(build-bounded) = yes]
159 ($(objpfx)tst-tsearch-bp): Likewise.
160 * nptl/Makeconfig (bounded-thread-library): Remove variable.
161 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
162 Remove dependency.
163 * string/Makefile (o-objects.ob): Remove variable.
164 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
165 (CFLAGS-.ob): Remove variable.
166 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
167 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
168 both definitions of variable.
169 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
170 (ASFLAGS-.ob): Remove variable.
171
e97ed6dd
JM
1722013-02-14 Joseph Myers <joseph@codesourcery.com>
173
2bdd4ca6
JM
174 [BZ #13550]
175 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
176 Remove __BOUNDED_POINTERS__ from condition.
177 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
178 * string/bits/string2.h [!__NO_STRING_INLINES &&
179 !__BOUNDED_POINTERS__]: Likewise.
180 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
181 Likewise.
182 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
183 Remove conditional code.
184 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
185 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
186 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
187 condition.
188
e97ed6dd
JM
189 [BZ #13550]
190 * csu/libc-start.c: Do not include <bp-sym.h>.
191 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
192 * elf/dl-open.c: Do not include <bp-sym.h>.
193 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
194 * math/fegetenv.c: Do not include <bp-sym.h>.
195 (fegetenv): Do not use BP_SYM in versioned symbols.
196 * nptl/sysdeps/pthread/bits/libc-lockP.h
197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
198 <bp-sym.h>.
199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
200 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
202 (__pthread_mutex_destroy): Likewise.
203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
204 (__pthread_mutex_lock): Likewise.
205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
206 (__pthread_mutex_trylock): Likewise.
207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
208 (__pthread_mutex_unlock): Likewise.
209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
210 (__pthread_mutexattr_init): Likewise.
211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
212 (__pthread_mutexattr_destroy): Likewise.
213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
214 (__pthread_mutexattr_settype): Likewise.
215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
216 (__pthread_rwlock_init): Likewise.
217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
218 (__pthread_rwlock_destroy): Likewise.
219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
220 (__pthread_rwlock_rdlock): Likewise.
221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
222 (__pthread_rwlock_tryrdlock): Likewise.
223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
224 (__pthread_rwlock_wrlock): Likewise.
225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
226 (__pthread_rwlock_trywrlock): Likewise.
227 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
228 (__pthread_rwlock_unlock): Likewise.
229 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
230 (__pthread_key_create): Likewise.
231 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
232 (__pthread_setspecific): Likewise.
233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
234 (__pthread_getspecific): Likewise.
235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
236 Likewise.
237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
238 (_pthread_cleanup_push_defer): Likewise.
239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
240 (_pthread_cleanup_pop_restore): Likewise.
241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
242 (pthread_setcancelstate): Likewise.
243 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
244 <bp-sym.h>.
245 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
246 (memchr): Do not use BP_SYM in weak_alias.
247 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
248 (fegetenv): Do not use BP_SYM in versioned symbols.
249 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
250 (fesetenv): Do not use BP_SYM in versioned symbols.
251 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
252 (feupdateenv): Do not use BP_SYM in versioned symbols.
253 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
254 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
255 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
256 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
257 (open64): Do not use BP_SYM in weak_alias.
258 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
259 (fegetenv): Do not use BP_SYM in versioned symbols.
260 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
261 (fesetenv): Do not use BP_SYM in versioned symbols.
262 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
263 (feupdateenv): Do not use BP_SYM in versioned symbols.
264 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
265 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
266 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
267 (feraiseexcept): Do not use BP_SYM in versioned symbols.
268 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
269 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
270 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
271 <bp-sym.h>.
272 (__libc_start_main): Do not use BP_SYM.
273
d6752ccd
SP
2742013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
275
cb57ce60
SP
276 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
277 redundant return line.
278 (norm): Likewise.
279 (denorm): Likewise.
280 (dbl_mp): Likewise.
281 (sub_magnitudes): Likewise.
282 (__add): Likewise.
283 (__sub): Likewise.
284 (__mul): Likewise.
285 (__inv): Likewise.
286 (__dvd): Likewise.
287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
288 (norm): Likewise.
289 (denorm): Likewise.
290 (dbl_mp): Likewise.
291 (sub_magnitudes): Likewise.
292 (__add): Likewise.
293 (__sub): Likewise.
294 (__mul): Likewise.
295 (__inv): Likewise.
296 (__dvd): Likewise.
297
f414520d
SP
298 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
299 instead of __mul.
300 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
301 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
302 (cc32): Likewise.
303
d6752ccd
SP
304 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
305 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
306 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
307 of __mul for squares.
308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
309 function
310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
311 Likewise.
312 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
313 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
314
70d9946a
JM
3152013-02-13 Joseph Myers <joseph@codesourcery.com>
316
317 [BZ #13550]
318 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
319 code.
320 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
321 prototype or function definition. Rename ubp_* variables and
322 parameters. Remove argv definitions conditional on
323 [__BOUNDED_POINTERS__].
324 * debug/backtrace.c (__backtrace): Do not use __unbounded.
325 * elf/dl-runtime.c (_dl_fixup): Likewise.
326 * include/set-hooks.h (RUN_HOOK): Likewise.
327 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
328 definition.
329 * string/strcpy.c (strcpy): Do not use __unbounded.
330 * sysdeps/generic/frame.h (struct layout): Likewise.
331 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
332 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
333 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
334 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
335 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
336 (__backtrace): Likewise.
337 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
338 use __ptrvalue.
339 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
340 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
341 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
342 Likewise.
343 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
344 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
345 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
346 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
347 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
348 Do not use __unbounded.
349 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
350 Rename __unboundedrlimits parameter to rlimits in prototype.
351 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
352 Do not use __unbounded.
353 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
354 not use __ptrvalue.
355 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
356 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
357 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
358 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
359 __ptrvalue or __unbounded.
360 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
361 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
362 use __unbounded.
363 (__new_msgctl): Do not use __ptrvalue.
364 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
365 __unbounded.
366 (__libc_msgrcv): Do not use __ptrvalue.
367 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
368 startup_info): Do not use __unbounded.
369 (__libc_start_main): Likewise. Rename ubp_* variables and
370 parameters. Remove argv definitions conditional on
371 [__BOUNDED_POINTERS__].
372 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
373 __ptrvalue.
374 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
375 use __unbounded.
376 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
377 or __ptrvalue.
378 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
379 use __unbounded.
380 (__new_shmctl): Do not use __ptrvalue.
381 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
382 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
383 Likewise.
384 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
385 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
386 (__libc_sigaction): Likewise.
387 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
388 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
389 Likewise.
390 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
391
cc7834d6
OB
3922013-02-13 Ondřej Bílka <neleai@seznam.cz>
393
ffb1ec7b 394 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
395
396 * string/mempcpy.c: Implement by calling memcpy.
397
bdf02814
SP
3982013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
399
c2af38aa
SP
400 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
401
4e92d59e
SP
402 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
403 evaluation.
404
909279a5
SP
405 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
406 values in the mantissa.
407
bdf02814
SP
408 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
409 minimize writes to Z.
410 (sub_magnitudes): Simplify code a bit.
411
cd525923
RM
4122013-02-12 Roland McGrath <roland@hack.frob.com>
413
414 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
415 from the message. The linker prefixes all warnings with that already.
416
7e2f0d2d
AS
4172013-02-12 Andreas Schwab <schwab@suse.de>
418
a445af0b
AS
419 [BZ #15078]
420 * posix/regexec.c (extend_buffers): Add parameter min_len.
421 (check_matching): Pass minimum needed length.
422 (clean_state_log_if_needed): Likewise.
423 (get_subexp): Likewise.
424 * posix/Makefile (tests): Add bug-regex34.
425 (bug-regex34-ENV): Define.
426 * posix/bug-regex34.c: New file.
427
7e2f0d2d
AS
428 [BZ #11561]
429 * posix/regcomp.c (parse_bracket_exp): When looking up collating
430 elements compare against the byte sequence of it, not its name.
431 * posix/Makefile (tests): Add bug-regex35.
432 (bug-regex35-ENV): Define.
433 * posix/bug-regex35.c: New file.
434
a175b684
TV
4352013-02-11 Tom de Vries <tom@codesourcery.com>
436
437 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
438 comment.
439 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
440 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
441 (CHECK_EOL): Add undef.
442
310998fe 4432013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
444
445 * bits/stdlib-bsearch.h: New file.
446 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 447 * stdlib/stdlib.h: Likewise.
41eda41d 448
8ded91fb
RM
4492013-02-11 Roland McGrath <roland@hack.frob.com>
450
451 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
452 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
453 declaration.
454 * manual/search.texi (Array Search Function): Add missing const in
455 lfind prototype.
456 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
457 declaration to use rlim_t.
458 (Basic Scheduling Functions): Remove erroneous const from
459 sched_getparam prototype. Remove erroneous * from
460 sched_get_priority_max and sched_get_priority_min prototypes.
461 (Resource Usage): Fix summary @comment on vtimes to refer to
462 sys/vtimes.h rather than vtimes.h.
463 Add missing *s in vtimes prototype.
464 (Limits on Resources): Fix ulimit prototype to return long int.
465 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
466 prototypes to use long int rather than double.
467 (BSD Random): Fix initstate and setstate to use char *, not void *.
468 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
469 prototype to make second argument 'struct aiocb64 *const[]'.
470 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
471 (Status of AIO Operations): Remove erroneous const in aio_return and
472 aio_return64 prototypes.
473 (Synchronizing I/O): Fix sync prototype to return void.
474 * manual/startup.texi (Suboptions): Remove an erroneous const in
475 getsubopt prototype.
476 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
477 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
478 use size_t rather than int.
479 (Scanning All Users): Likewise for getpwent_r.
480 (Setting Groups): Add missing const to setgroups prototype.
481 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
482 * manual/socket.texi (Host Names): Fix gethostbyaddr and
483 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
484 'const void *' rather than 'const char *'.
485 (Host Address Functions): Likewise for inet_ntop.
486 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
487 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
488 ssize_t for return value.
489 (Sending Data): Likewise for send, sendto, sendmsg.
490 (Socket Option Functions): Add a missing const in setsockopt prototype.
491 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
492 use wchar_t for the argument.
493 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
494 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
495 take no arguments.
496 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
497 double/float/long double for second argument.
498 Fix return types of significand, significandf, significandl.
499 * manual/filesys.texi (Setting Permissions): Use mode_t for second
500 argument in fchmod prototype.
501 (File Owner): Use uid_t and gid_t in fchown prototype.
502 (File Times): Add const to utimes, futimes, and lutimes prototypes.
503 (Making Special Files): Use mode_t and dev_t in mknod prototype.
504 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
505 use 'const struct dirent **' as argument types to CMP function pointer
506 argument.
507 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
508 (File Times): Fix summary magic @comment for struct utimbuf and utime
509 to refer to utime.h, not time.h.
510 * manual/string.texi (Argz Functions): Add missing const in
511 argz_extract and argz_next prototypes.
512 (Finding Tokens in a String): Likewise for basename.
513 (String/Array Comparison): Fix typo in wcscasecmp prototype.
514 (Copying and Concatenation): Fix typo in wmemmove prototype.
515 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
516 (Signal Stack): Remove erroneous const in sigstack prototype.
517 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
518 prototype.
519 (Simple Calendar Time): Likewise for stime.
520 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
521 prototype.
522 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
523 say sys/sysctl.h instead.
524 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
525 and vsyslog prototypes.
526
fe77fe6d
TV
5272013-02-11 Tom de Vries <tom@codesourcery.com>
528
529 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
530 Remove.
531
3a09b620
RM
5322013-02-11 Roland McGrath <roland@hack.frob.com>
533
534 * misc/sys/mman.h: Fix typo in mremap comment.
535
550a0b89
RM
5362013-02-08 Roland McGrath <roland@hack.frob.com>
537
538 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
539 the '\0' terminator.
540
a2da1673
JM
5412013-02-08 Joseph Myers <joseph@codesourcery.com>
542
543 [BZ #13550]
544 * debug/segfault.c: Don't include <bp-checks.h>.
545 * sysdeps/generic/bp-checks.h: Remove file.
546 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
547 (__GETDENTS): Don't use CHECK_N.
548 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
549 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
550 (__getgroups): Don't use CHECK_N.
551 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
552 (setgroups): Don't use CHECK_N.
553 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
554 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
555 (__libc_msgrcv): Don't use CHECK_N.
556 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
557 (__libc_msgsnd): Don't use CHECK_N.
558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
559 <bp-checks.h>.
560 (__libc_pread): Don't use CHECK_N.
561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
562 include <bp-checks.h>.
563 (__libc_pread64): Don't use CHECK_N.
564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
565 include <bp-checks.h>.
566 (__libc_pwrite): Don't use CHECK_N.
567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
568 include <bp-checks.h>.
569 (__libc_pwrite64): Don't use CHECK_N.
570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
571 <bp-checks.h>.
572 (__libc_pread): Don't use CHECK_N.
573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
574 include <bp-checks.h>.
575 (__libc_pread64): Don't use CHECK_N.
576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
577 include <bp-checks.h>.
578 (__libc_pwrite): Don't use CHECK_N.
579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
580 include <bp-checks.h>.
581 (__libc_pwrite64): Don't use CHECK_N.
582 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
583 (do_pread): Don't use CHECK_N.
584 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
585 (do_pread64): Don't use CHECK_N.
586 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
587 (do_pwrite): Don't use CHECK_N.
588 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
589 (do_pwrite64): Don't use CHECK_N.
590 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
591 (__libc_readv): Don't use CHECK_N.
592 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
593 (semop): Don't use CHECK_N.
594 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
595 <bp-checks.h>.
596 (semtimedop): Don't use CHECK_N.
597 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
598 (__libc_pread): Don't use CHECK_N.
599 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
600 <bp-checks.h>.
601 (__libc_pread64): Don't use CHECK_N.
602 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
603 <bp-checks.h>.
604 (__libc_pwrite): Don't use CHECK_N.
605 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
606 <bp-checks.h>.
607 (__libc_pwrite64): Don't use CHECK_N.
608 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
609 <bp-checks.h>.
610 (__libc_msgrcv): Don't use CHECK_N.
611 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
612 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
613 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
614 (__libc_writev): Don't use CHECK_N.
615
b84660a8
RM
6162013-02-08 Roland McGrath <roland@hack.frob.com>
617
7f3e75f8
RM
618 * string/strcpy.c: Removed unused variable.
619
b84660a8
RM
620 * Makeconfig (+sysdep-includes): Define with := rather than =.
621 Use an existing include/ subdir of each sysdeps dir before it.
622
471514d3
CD
6232013-02-08 Carlos O'Donell <carlos@redhat.com>
624
625 * nscd/connection.c (register_traced_file): Comment function.
626 [HAVE_INOTIFY] (union __inev): Define.
627 [HAVE_INOTIFY] (inotify_check_files): New function.
628 [HAVE_INOTIFY] (clear_db_cache): Likewise.
629 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
630 clear_db_cache.
631 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
632
b2d3c3be
CD
6332013-02-08 Carlos O'Donell <carlos@redhat.com>
634
635 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
636 loaded if not already and that a failure is permanent.
637
b39949d2
CD
6382013-02-08 Carlos O'Donell <carlos@redhat.com>
639
ddacd1db 640 [BZ #15006]
b39949d2
CD
641 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
642 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
643
b2c9eff4
JM
6442013-02-08 Joseph Myers <joseph@codesourcery.com>
645
f3aae3f3
JM
646 [BZ #13550]
647 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
648 (CHECK_1_NULL_OK): Likewise.
649 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
650 (__fxstat): Do not use CHECK_1.
651 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
652 <bp-checks.h>.
653 (___fxstat64): Do not use CHECK_1.
654 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
655 <bp-checks.h>.
656 (__fxstatat): Do not use CHECK_1.
657 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
658 <bp-checks.h>.
659 (__fxstatat64): Do not use CHECK_1.
660 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
661 <bp-checks.h>.
662 (__fxstat): Do not use CHECK_1.
663 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
664 <bp-checks.h>.
665 (__fxstatat): Do not use CHECK_1.
666 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
667 <bp-checks.h>.
668 (__getresgid): Do not use CHECK_1.
669 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
670 <bp-checks.h>.
671 (__getresuid): Do not use CHECK_1.
672 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
673 <bp-checks.h>.
674 (__lxstat): Do not use CHECK_1.
675 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
676 <bp-checks.h>.
677 (__old_msgctl): Do not use CHECK_1.
678 (__new_msgctl): Likewise.
679 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
680 <bp-checks.h>.
681 (__new_setrlimit): Do not use CHECK_1.
682 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
683 <bp-checks.h>.
684 (__old_shmctl): Do not use CHECK_1.
685 (__new_shmctl): Likewise.
686 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
687 <bp-checks.h>.
688 (__xstat): Do not use CHECK_1.
689 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
690 (__lxstat): Do not use CHECK_1.
691 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
692 <bp-checks.h>.
693 (___lxstat64): Do not use CHECK_1.
694 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
695 (__old_msgctl): Do not use CHECK_1.
696 (__new_msgctl): Likewise.
697 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
698 <bp-checks.h>.
699 (__gettimeofday): Do not use CHECK_1.
700 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
701 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
702 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
703 <bp-checks.h>.
704 (__gettimeofday): Do not use CHECK_1.
705 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
706 (__old_shmctl): Do not use CHECK_1_NULL_OK.
707 (__new_shmctl): Do not use CHECK_1.
708 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
709 <bp-checks.h>.
710 (do_sigtimedwait): Do not use CHECK_1.
711 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
712 <bp-checks.h>.
713 (do_sigwaitinfo): Do not use CHECK_1.
714 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
715 <bp-checks.h>.
716 (msgctl): Do not use CHECK_1.
717 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
718 <bp-checks.h>.
719 (shmctl): Do not use CHECK_1.
720 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
721 (ustat): Do not use CHECK_1.
722 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
723 <bp-checks.h>.
724 (__fxstat): Do not use CHECK_1.
725 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
726 <bp-checks.h>.
727 (__fxstatat): Do not use CHECK_1.
728 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
729 <bp-checks.h>.
730 (__lxstat): Do not use CHECK_1.
731 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
732 <bp-checks.h>.
733 (__xstat): Do not use CHECK_1.
734 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
735 (__xstat): Do not use CHECK_1.
736 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
737 (___xstat64): Do not use CHECK_1.
738
b2c9eff4
JM
739 [BZ #13550]
740 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
741 definitions.
742 (CHECK_BOUNDS_HIGH): Likewise.
743 * string/strcpy.c: Do not include <bp-checks.h>.
744 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
745
f1d70dad
RM
7462013-02-07 Roland McGrath <roland@hack.frob.com>
747
748 * nscd/nscd-client.h (__nscd_drop_map_ref):
749 Add __attribute__ ((unused)).
750 * nis/nss-nisplus.h (niserr2nss): Likewise.
751
752 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
753 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
754
755 * csu/libc-tls.c (init_static_tls, init_slotinfo):
756 Remove inline keyword.
757 * include/rounding-mode.h (round_away): Likewise.
758 * libio/wfileops.c (adjust_wide_data): Likewise.
759 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
760 (__m128i_strloadu_tolower): Likewise.
761 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
762 (__m128i_strloadu_tolower): Likewise.
763 * time/mktime.c (ydhms_diff): Likewise.
764 * locale/elem-hash.h (elem_hash): Likewise.
765 * locale/setlocale.c (setdata): Likewise.
766 * posix/regex_internal.h (re_string_char_size_at): Likewise.
767 (re_string_wchar_at): Likewise.
768 (bitset_not, bitset_merge, bitset_mask): Likewise.
769 [!(__GNUC__ > 3)] (inline): Remove macro.
770 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
771 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
772 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
773 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
774 * string/memcmp.c (memcmp_bytes): Likewise.
775 * locale/programs/locarchive.c (compute_hashval): Likewise.
776 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
777 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
778 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
779 * nss/getent.c (print_rpc, print_protocols): Likewise.
780 (print_passwd, print_group, print_aliases): Likewise.
781 * nis/nss-nisplus.h (niserr2nss): Likewise.
782 * nscd/connections.c (restart_p): Likewise.
783 Change return type to bool.
784
eab55bfb
RM
7852013-02-05 Roland McGrath <roland@hack.frob.com>
786
7bd642f5
RM
787 * Makeconfig (all-Depend-files): Add existing
788 $(sorted-subdirs:=/Depend) files.
789 (all-subdirs): Remove nss.
790 * sysdeps/unix/inet/Subdirs: Add it here instead.
791 * hesiod/Depend: New file.
792
573c29b2
RM
793 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
794 instead of calling alloca.
795
b2e25af0
RM
796 * io/lseek.c (__lseek): Rename to __libc_lseek.
797 Define __lseek as an alias.
798
eab55bfb
RM
799 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
800
9a0d1941
CD
8012013-02-04 Carlos O'Donell <carlos@redhat.com>
802
803 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
804 else clause and remove check for non-standard endianness.
805
b83bbec4
DM
8062013-02-04 David S. Miller <davem@davemloft.net>
807
808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
809
6277fdab
JM
8102013-02-04 Joseph Myers <joseph@codesourcery.com>
811
812 [BZ #13550]
813 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
814 (__ubp_memchr): Remove prototype.
815 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
816 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
817 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
818 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
819 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
820 Remove alias.
821 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
822 (__ubp_memchr): Likewise.
823 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
824 (__ubp_memchr): Likewise.
825 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
826 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
827 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
828 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
829 CHECK_STRING.
830 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
831 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
832 (__getcwd): Do not use CHECK_STRING.
833 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
834 <bp-checks.h>.
835 (__real_chown): Do not use CHECK_STRING.
836 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
837 <bp-checks.h>.
838 (fchownat): Do not use CHECK_STRING.
839 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
840 CHECK_STRING.
841 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
842 <bp-checks.h>.
843 (__lchown): Do not use CHECK_STRING.
844 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
845 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
846 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
847 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
849 include <bp-checks.h>.
850 (truncate64): Do not use CHECK_STRING.
851 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
852 <bp-checks.h>.
853 (__real_chown): Do not use CHECK_STRING.
854 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
855 <bp-checks.h>.
856 (__lchown): Do not use CHECK_STRING.
857 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
858 <bp-checks.h>.
859 (__chown): Do not use CHECK_STRING.
860 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
861 <bp-checks.h>.
862 (truncate64): Do not use CHECK_STRING.
863 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
864 Likewise.
865 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
866 (__xmknod): Do not use CHECK_STRING.
867 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
868 <bp-checks.h>.
869 (__xmknodat): Do not use CHECK_STRING.
870 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
871 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
872
903ae060
AS
8732013-02-04 Andreas Schwab <schwab@suse.de>
874
875 [BZ #14142]
876 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
877 * include/netdb.h: Likewise for h_errno.
878 * elf/tst-stackguard1.c: Include <tls.h>.
879
542f9466
JK
8802013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
881
882 * elf/link.h (struct link_map): Extend the l_addr comment.
883 * include/link.h (struct link_map): Likewise.
884
e782a927
JM
8852013-02-01 Joseph Myers <joseph@codesourcery.com>
886
887 [BZ #13550]
888 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
889 (BOUNDED_1): Remove macro.
890 * debug/backtrace.c: Don't include <bp-checks.h>.
891 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
892 (__backtrace): Likewise.
893 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
894 <bp-checks.h>.
895 (__backtrace): Don't use BOUNDED_1.
896 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
897 <bp-checks.h>.
898 (__backtrace): Don't use BOUNDED_1.
899 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
900 (__backtrace): Don't use BOUNDED_1.
901 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
902 (shmat): Don't use BOUNDED_N.
903
8cf28c5e
JM
9042013-01-31 Joseph Myers <joseph@codesourcery.com>
905
3a7ac8a0
JM
906 [BZ #13550]
907 * sysdeps/generic/bp-start.h: Remove file.
908 * csu/libc-start.c: Don't include <bp-start.h>.
909 (LIBC_START_MAIN): Set up __environ directly instead of using
910 INIT_ARGV_and_ENVIRON.
911 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
912 <bp-start.h>.
913
f3499f95
JM
914 [BZ #13550]
915 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
916 definitions.
917 (CHECK_FCNTL): Likewise.
918 (CHECK_N_PAGES): Likewise.
919
32a45bea
JM
920 [BZ #13550]
921 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
922 definitions.
923 (CHECK_SIGSET_NULL_OK): Likewise.
924 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
925 <bp-checks.h>.
926 (sigpending): Don't use CHECK_SIGSET.
927 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
928 <bp-checks.h>.
929 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
930 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
931 <bp-checks.h>.
932 (do_sigsuspend): Don't use CHECK_SIGSET.
933 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
934 use CHECK_SIGSET.
935 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
936 (do_sigwait): Don't use CHECK_SIGSET.
937 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
938 use CHECK_SIGSET.
939 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
940 include <bp-checks.h>.
941 (sigpending): Don't use CHECK_SIGSET.
942 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
943 include <bp-checks.h>.
944 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
945 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
946 <bp-checks.h>.
947 (sigpending): Don't use CHECK_SIGSET.
948 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
949 <bp-checks.h>.
950 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
951
2e8a5c8c
JM
952 [BZ #13550]
953 * sysdeps/generic/bp-semctl.h: Remove file.
954 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
955 <bp-checks.h> and <bp-semctl.h>.
956 (__old_semctl): Don't use CHECK_SEMCTL.
957 (__new_semctl): Likewise.
958 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
959 and <bp-semctl.h>.
960 (__old_semctl): Don't use CHECK_SEMCTL.
961 (__new_semctl): Likewise.
962 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
963 <bp-checks.h> and <bp-semctl.h>.
964 (__old_semctl): Don't use CHECK_SEMCTL.
965 (__new_semctl): Likewise.
966 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
967 <bp-checks.h> and <bp-semctl.h>.
968 (semctl): Don't use CHECK_SEMCTL.
969
c2d54929
JM
970 [BZ #13550]
971 * Makerules (elide-bp-thunks): Remove variable.
972 (elide-routines.oS): Don't use $(elide-bp-thunks).
973 (elide-routines.os): Likewise.
974 (elide-routines.o): Likewise.
975 (elide-routines.op): Likewise.
976 (elide-routines.og): Likewise.
977 (objects): Don't use $(bp-thunks).
978 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
979 include.
980 (common-generated): Do not add s-proto-bp.d.
981 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
982 (int): Likewise.
983 (typ): Likewise.
984 Do not generate makefile rules for bounded-pointer thunks.
985 * sysdeps/generic/bp-thunks.h: Remove file.
986 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
987 * sysdeps/unix/s-proto-bp.S: Likewise.
988
8cf28c5e
JM
989 [BZ #15062]
990 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
991 parts of result separately when argument is not close to line from
992 -i to i and one part of argument is small.
993 * math/k_casinhf.c (__kernel_casinhf): Likewise.
994 * math/k_casinhl.c (__kernel_casinhl): Likewise.
995 * math/libm-test.inc (cacos_test): Add more tests.
996 (casin_test): Likewise.
997 (casinh_test): Likewise.
998 * sysdeps/i386/fpu/libm-test-ulps: Update.
999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1000
c4e33b8d
DM
10012013-01-31 David S. Miller <davem@davemloft.net>
1002
1003 * po/de.po: Update from translation team.
1004
3b60b421
MK
10052013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1006
1007 * time/tzfile.c: Include stdint.h for SIZE_MAX.
1008
bb931195
TS
10092013-01-25 Thomas Schwinge <thomas@codesourcery.com>
1010
b5a5da23
TS
1011 * configure.in (_AC_PROG_CC_C89): New definition.
1012 * configure: Regenerate.
1013
bb931195
TS
1014 * configure.in (AC_PROG_CPP): New definition.
1015 * configure: Regenerate.
1016
8c53a12c
JM
10172013-01-23 Joseph Myers <joseph@codesourcery.com>
1018
1019 * debug/tst-backtrace.h: New file.
1020 * debug/tst-backtrace2.c: Include tst-backtrace.h.
1021 (ret): Remove variable.
1022 (x): Likewise.
1023 (FAIL): Remove macro.
1024 (NO_INLINE): Likewise.
1025 (fn1): Use match function instead of strstr.
1026 * debug/tst-backtrace3.c: Include tst-backtrace.h.
1027 (ret): Remove variable.
1028 (x): Likewise.
1029 (FAIL): Remove macro.
1030 (NO_INLINE): Likewise.
1031 (fn): Use match function instead of strstr.
1032 * debug/tst-backtrace4.c: Include tst-backtrace.h.
1033 (ret): Remove variable.
1034 (x): Likewise.
1035 (FAIL): Remove macro.
1036 (NO_INLINE): Likewise.
1037 (handle_signal): Use match function instead of strstr.
1038 * debug/tst-backtrace5.c: Include tst-backtrace.h.
1039 (ret): Remove variable.
1040 (x): Likewise.
1041 (FAIL): Remove macro.
1042 (NO_INLINE): Likewise.
1043 (handle_signal): Use match function instead of strstr.
1044
4858fa2a
RM
10452013-01-23 Roland McGrath <roland@hack.frob.com>
1046
1047 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
1048
bae8e7f5
DM
10492013-01-23 David S. Miller <davem@davemloft.net>
1050
1051 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
1052 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
1053 argument of CAS if possible.
1054 * sysdeps/sparc/sparc64/bits/atomic.h
1055 (__arch_compare_and_exchange_val_32_acq): Likewise.
1056 (__arch_compare_and_exchange_val_64_acq): Likewise.
1057
9cbbc4ae
PT
10582013-01-23 Pino Toscano <toscano.pino@tiscali.it>
1059
1060 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
1061 * sysdeps/posix/ulimit.c: ... this.
92a601b8 1062 Include <limits.h>.
67b3f58c 1063 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 1064
5655a0b5
AC
10652013-01-23 Adam Conrad <adconrad@0c3.net>
1066
1067 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
1068 (LDFLAGS-tst-array5): Likewise.
1069
052aff95
JM
10702013-01-23 Joseph Myers <joseph@codesourcery.com>
1071
1072 [BZ #15036]
1073 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
1074 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
1075 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
1076 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
1077
7c1e01aa
DM
10782013-01-21 David S. Miller <davem@davemloft.net>
1079
1080 * sysdeps/sparc/backtrace.c: New file.
1081 * sysdeps/sparc/sparc32/backtrace.h: New file.
1082 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
1083 * sysdeps/sparc/sparc64/backtrace.h: New file.
1084 * sysdeps/sparc/sparc64/backtrace.c: Delete.
1085 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
1086 -funwind-tables.
1087
ab087e0a
AS
10882013-01-21 Andreas Schwab <schwab@suse.de>
1089
1090 [BZ #15020]
1091 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
1092 closed its stdout.
1093
ed689c2f
AS
10942013-01-20 Andreas Schwab <schwab@linux-m68k.org>
1095
1096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
1097 "mpa2.h".
1098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1099
31d470ac
JM
11002013-01-18 Joseph Myers <joseph@codesourcery.com>
1101 Mark Mitchell <mark@codesourcery.com>
1102 Tom de Vries <tom@codesourcery.com>
1103 Paul Pluzhnikov <ppluzhnikov@google.com>
1104
1105 * debug/tst-backtrace2.c: New file.
1106 * debug/tst-backtrace3.c: Likewise.
1107 * debug/tst-backtrace4.c: Likewise.
1108 * debug/tst-backtrace5.c: Likewise.
1109 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
1110 (CFLAGS-tst-backtrace3.c): Likewise.
1111 (CFLAGS-tst-backtrace4.c): Likewise.
1112 (CFLAGS-tst-backtrace5.c): Likewise.
1113 (LDFLAGS-tst-backtrace2): Likewise.
1114 (LDFLAGS-tst-backtrace3): Likewise.
1115 (LDFLAGS-tst-backtrace4): Likewise.
1116 (LDFLAGS-tst-backtrace5): Likewise.
1117 (tests): Add new tests tst-backtrace2, tst-backtrace3,
1118 tst-backtrace4 and tst-backtrace5.
1119
90567f30 11202013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
1121 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1122
1123 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
1124 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
1125 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
1126 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
1127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1128 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
1129 "+r" and remove output regs list as redundant. Add explicit inline
1130 asm to specify register of return val to work around compiler codegen
1131 bug. Remove (int) cast on return value. Add return type parameter to
1132 use in macro so that this macro does not truncate return value for
1133 64-bit values.
1134 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
1135 pass to INTERNAL_VSYSCALL_NCS.
1136 (INLINE_VSYSCALL): Add 'long int' as return type to
1137 INTERNAL_VSYSCALL_NCS macro invocation.
1138 (INTERNAL_VSYSCALL): Add 'long int' as return type to
1139 INTERNAL_VSYSCALL_NCS macro invocation.
1140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1141
d3b9ea61
SP
11422013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1143
0b57daeb
SP
1144 [BZ #14496]
1145 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
1146 Fix application of SIMD FP exception mask.
1147
caa99d06
SP
1148 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
1149 mp_no from a power of two.
1150 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
1151 __mpexp_twomm1. Use __pow_mp.
1152
d3b9ea61
SP
1153 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
1154 multiplication.
1155
1dbaee3c
DM
11562013-01-17 David S. Miller <davem@davemloft.net>
1157
1158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1159
728d7b43
JM
11602013-01-17 Joseph Myers <joseph@codesourcery.com>
1161
1162 [BZ #15023]
1163 * include/complex.h: Condition contents on [!_COMPLEX_H].
1164 (__kernel_casinhf): New prototype.
1165 (__kernel_casinh): Likewise.
1166 (__kernel_casinhl): Likewise.
1167 * math/Makefile (libm_calls): Add k_casinh.
1168 * math/k_casinh.c: New file.
1169 * math/k_casinhf.c: Likewise.
1170 * math/k_casinhl.c: Likewise.
1171 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
1172 finite nonzero arguments.
1173 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
1174 finite nonzero arguments.
1175 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
1176 finite nonzero arguments.
1177 * math/s_casinh.c: Do not include <float.h>.
1178 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
1179 * math/s_casinhf.c: Do not include <float.h>.
1180 (__casinhf): Move code for finite nonzero arguments to
1181 k_casinhf.c.
1182 * math/s_casinhl.c: Do not include <float.h>.
1183 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
1184 redefine.
1185 (__casinhl): Move code for finite nonzero arguments to
1186 k_casinhl.c.
1187 * math/libm-test.inc (cacos_test): Add more tests.
1188 * sysdeps/i386/fpu/libm-test-ulps: Update.
1189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1190
2a26ef3a
PT
11912013-01-17 Pino Toscano <toscano.pino@tiscali.it>
1192
1193 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
1194 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
1195 [!HAVE_MREMAP]: Remove [defined linux] case.
1196 * malloc/arena.c: Do not include <malloc-sysdep.h>.
1197
a897655d
SP
11982013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1199
1200 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
1201
881ebe89 12022013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
1203
1204 * elf/elf.h (R_386_SIZE32): New relocation.
1205 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
1206 R_386_SIZE32.
1207 (elf_machine_rela): Likewise.
1208 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1209 R_X86_64_SIZE64 and R_X86_64_SIZE32.
1210
59981e9b
JM
12112013-01-17 Joseph Myers <joseph@codesourcery.com>
1212
1213 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
1214 (FP_FAST_FMA): Do not define.
1215 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
1216 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
1217 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
1218 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
1219 !_SOFT_FLOAT]: Likewise.
1220 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
1221 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
1222 value.
1223 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
1224 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
1225 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
1226 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
1227 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
1228 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
1229 file.
1230
cfa8054f
AS
12312013-01-16 Andreas Schwab <schwab@suse.de>
1232
1233 [BZ #14327]
1234 * include/stdlib.h (__mktemp): Add declaration.
1235 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
1236 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
1237
dd930cc5
SP
12382013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1239
881ebe89
SP
1240 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
1241 definitions.
1242 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1243 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
1244 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
1245 definitions here.
1246 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
1247 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
1248 definitions.
1249 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
1250 and ONE.
1251 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
1252 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
1253 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
1254 definitions.
1255 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
1256 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
1257 definitions.
1258 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 1259
dd930cc5
SP
1260 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
1261
c19a9f89
DM
12622013-01-15 David S. Miller <davem@davemloft.net>
1263
1aa61767
DM
1264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1265 trunc{,f} to libm-sysdep_routes.
1266 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
1268 file.
1269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
1270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
1271 file.
1272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
1273 file.
1274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
1275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
1276 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
1277 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
1278 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
1279 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
1280 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
1281 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
1282
c42d5e98
DM
1283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1284 nearbyint{,f} to libm-sysdep_routes.
1285 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
1287 New file.
1288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
1289 file.
1290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
1291 New file.
1292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
1293 file.
1294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
1295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
1296 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
1297 file.
1298 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
1299 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
1300 file.
1301 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
1302 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
1303 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
1304
c19a9f89
DM
1305 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1306 libc_feholdexcept and libc_fesetenv.
1307
357679d2
MF
13082013-01-15 Mike Frysinger <vapier@gentoo.org>
1309
1310 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
1311
65a82e3d
DM
13122013-01-14 David S. Miller <davem@davemloft.net>
1313
8b954ab9
DM
1314 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
1315 (SPARC_ASM_VIS2_IFUNC): Likewise.
1316 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
1317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
1318 use of 'siam' instruction.
1319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
1320 Likewise.
1321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
1322 Likewise.
1323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
1324 Likewise.
1325 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1326 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1327 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1328 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
1330 file.
1331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
1332 file.
1333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
1334 file.
1335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
1336 file.
1337 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
1338 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
1339 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
1340 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
1341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
1342 new VIS2 routines.
1343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1346 Likewise.
1347 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1348 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1349 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1350 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
1352 routines to libm-sysdep_routines.
1353 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1354
65a82e3d
DM
1355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
1356 fdim/fdimf to libm-sysdep_routines.
1357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
1358 file.
1359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
1360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
1361 file.
1362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
1363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
1364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
1365 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
1366 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
1367 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
1368 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
1369
e34ab705
SP
13702013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1371
2a91b573
SP
1372 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
1373 to optimize copies.
1374
1066a534
SP
1375 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
1376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1378
e34ab705
SP
1379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
1380 local variable MPTWO.
1381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1382 Likewise.
1383
aba5e596
MF
13842013-01-13 Mike Frysinger <vapier@gentoo.org>
1385
1386 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
1387 GLOB_NOESCAPE.
1388
e557e9e5
MF
13892013-01-13 Mike Frysinger <vapier@gentoo.org>
1390
1391 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
1392
0428cec9
MF
13932013-01-13 Mike Frysinger <vapier@gentoo.org>
1394
1395 * manual/pattern.texi (glob_t): Document gl_flags.
1396 (glob64_t): Likewise.
1397
8794a964
DM
13982013-01-11 David S. Miller <davem@davemloft.net>
1399
66438c3f
RM
1400 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
1401 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
1402 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
1403 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
1404 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
1405 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
1406 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
1407 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
1408 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
1409 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
1410 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
1411 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
1412 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
1413
4ae4244d
DM
1414 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1415 sparc V9 rather than using V8 code.
1416 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1417 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1418
8794a964
DM
1419 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1420 Move to...
1421 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
1422 Here.
1423
6270516e
RM
14242013-01-11 Roland McGrath <roland@hack.frob.com>
1425
1426 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
1427 not in the main loop.
1428 * configure: Regenerated.
1429
6a57d931
JM
14302013-01-11 Joseph Myers <joseph@codesourcery.com>
1431
1432 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
1433 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
1434 to just #else.
1435 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
1436 [!__GLIBC_HAVE_LONG_LONG] case.
1437 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
1438 condition to just #else.
1439 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
1440 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
1441 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
1442 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
1443 unconditional.
1444 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
1445 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1446 #elif condition to just #else.
1447 * sysdeps/unix/sysv/linux/sys/sysmacros.h
1448 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
1449 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
1450 #elif condition to just #else.
1451
0e8529e9
SE
14522013-01-11 Steve Ellcey <sellcey@mips.com>
1453
1454 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
1455 (EF_MIPS_ARCH_64): Fix value.
1456 (EF_MIPS_ARCH_32R2): New.
1457 (EF_MIPS_ARCH_64R2): New.
1458
740b3dbe
L
14592013-01-11 H.J. Lu <hongjiu.lu@intel.com>
1460
1461 * Makeconfig (+link-pie-before-libc): New.
1462 (+link-pie-after-libc): Likewise.
1463 (+link-pie-tests): Likewise.
1464 (+link-pie): Rewritten.
1465 (link-before-libc): Remove $(config-LDFLAGS).
1466 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
1467 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
1468 (config-LDFLAGS): Renamed to ...
1469 (rtld-LDFLAGS): This.
1470 (rtld-tests-LDFLAGS): New macro.
1471 (link-libc-rpath-link): Likewise.
1472 (link-libc-tests-rpath-link): Likewise.
1473 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
1474 (link-libc): Prepand $(link-libc-rpath-link).
1475 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
1476 (test-program-prefix): New macro.
1477 (test-via-rtld-prefix): Likewise.
1478 (test-program-cmd): Likewise.
1479 (host-test-program-cmd): Likewise.
1480 * Makefile ($(common-objpfx)testrun.sh): Replace
1481 $(run-program-prefix) with $(test-program-prefix).
1482 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
1483 $(rtld-LDFLAGS).
1484 ($(common-objpfx)shlib.lds): Likewise.
1485 (build-module-helper): Likewise.
1486 ($(common-objpfx)format.lds): Likewise.
1487 * Rules (binaries-pie-tests): New.
1488 (binaries-pie-notests): Likewise.
1489 (binaries-pie): Rewritten.
1490 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
1491 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
1492 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
1493 (make-test-out): Replace $(host-built-program-cmd) with
1494 $(host-test-program-cmd).
1495 * config.make.in (build-hardcoded-path-in-tests): New variable.
1496 * configure.in (--enable-hardcoded-path-in-tests): New configure
1497 option.
1498 (hardcoded_path_in_tests): New AC_SUBST.
1499 * configure: Regenerated.
1500 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
1501 $(built-program-cmd) with $(test-program-cmd).
1502 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
1503 (test_program_cmd): This.
1504 * elf/Makefile ($(objpfx)order.out): Run test with
1505 $(test-program-prefix).
1506 ($(objpfx)order2.out): Likewise.
1507 ($(objpfx)tst-initorder.out): Likewise.
1508 ($(objpfx)tst-initorder2.out): Likewise.
1509 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
1510 $(test-program-cmd).
1511 ($(objpfx)tst-array1-static.out): Likewise.
1512 ($(objpfx)tst-array2.out): Likewise.
1513 ($(objpfx)tst-array3.out): Likewise.
1514 ($(objpfx)tst-array4.out): Likewise.
1515 ($(objpfx)tst-array5.out): Likewise.
1516 ($(objpfx)tst-array5-static.out): Likewise.
1517 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
1518 $(test-program-cmd).
1519 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
1520 $(run-program-prefix) with $(test-program-prefix).
1521 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
1522 (test_program_prefix): This.
1523 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
1524 $(run-program-prefix) with $(test-program-prefix).
1525 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
1526 (test_program_prefix): This.
1527 * iconvdata/tst-tables.sh: Likewise.
1528 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
1529 $(run-program-prefix) with $(test-program-prefix).
1530 ($(objpfx)tst-translit.out): Likewise.
1531 ($(objpfx)tst-gettext2.out): Likewise.
1532 ($(objpfx)tst-gettext4.out): Likewise.
1533 ($(objpfx)tst-gettext6.out): Likewise.
1534 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
1535 (test_program_prefix): This.
1536 * intl/tst-gettext2.sh: Likewise.
1537 * intl/tst-gettext4.sh Likewise.
1538 * intl/tst-gettext6.sh: Likewise.
1539 * intl/tst-translit.sh: Likewise.
1540 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
1541 with $(test-program-cmd).
1542 * libio/Makefile ($(objpfx)test-freopen.out): Replace
1543 $(run-program-prefix) with $(test-program-prefix).
1544 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
1545 (test_program_prefix): This.
1546 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
1547 $(run-program-prefix) with $(test-program-prefix).
1548 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
1549 (test_program_prefix): This.
1550 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
1551 * posix/Makefile ($(objpfx)globtest.out): Replace
1552 $(run-via-rtld-prefix) and $(test-wrapper) with
1553 $(test-program-prefix) and $(test-via-rtld-prefix).
1554 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
1555 $(test-program-prefix).
1556 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
1557 $(host-test-program-cmd).
1558 (tst-spawn-ARGS): Likewise.
1559 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
1560 $(test-program-prefix).
1561 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
1562 (test_via_rtld_prefix): This.
1563 (test_wrapper): Renamed to ...
1564 (test_program_prefix): This.
1565 (run_program_prefix): Replaced by test_program_prefix.
1566 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
1567 (test_program_prefix): This.
1568 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
1569 with $(host-test-program-cmd).
1570 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
1571 $(run-program-prefix) with $(test-program-prefix).
1572 ($(objpfx)tst-printf.out): Likewise.
1573 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
1574 $(test-program-cmd).
1575 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
1576 (test_program_prefix): This.
1577 * stdio-common/tst-unbputc.sh: Likewise.
1578 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
1579 $(run-program-prefix) with $(test-program-prefix).
1580 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
1581 (test_program_prefix): This.
1582 * string/Makefile ($(objpfx)tst-svc.out): Replace
1583 $(built-program-cmd) with $(test-program-cmd).
1584
c6fe55cf
AJ
15852013-01-11 Andreas Jaeger <aj@suse.de>
1586
1587 [BZ #15003]
1588 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
1589 value. Sync with Linux 3.7.
1590
9e6919c8
DM
15912013-01-10 David S. Miller <davem@davemloft.net>
1592
1593 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
1594 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1595 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1596
1c9f1a02
RM
15972013-01-10 Roland McGrath <roland@hack.frob.com>
1598
1599 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
1600 never set.
1601 * configure: Regenerated.
1602
b9de2dde
DM
16032013-01-10 David S. Miller <davem@davemloft.net>
1604
1605 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
1606 sparc V9 rather than using V8 code.
1607 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
1608 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
1609
e7f68ef4
RM
16102013-01-10 Roland McGrath <roland@hack.frob.com>
1611
1612 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
1613 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
1614 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
1615 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
1616 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
1617 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
1618 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
1619 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
1620 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
1621 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
1622 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
1623 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
1624 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
1625 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
1626 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
1627 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
1628 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
1629 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
1630 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
1631 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
1632 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
1633 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
1634 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
1635 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
1636 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
1637 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
1638 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
1639
5a47cc9c
DM
16402013-01-10 David S. Miller <davem@davemloft.net>
1641
1642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1643
4cf8f209
L
16442013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1645
1646 * posix/Makefile (tests-static): New variable.
1647 (tests): Add $(tests-static).
1648 (tst-exec-static-ARGS): New variable.
1649 (tst-spawn-static-ARGS): Likewise.
1650 * posix/tst-exec-static.c: New file.
1651 * posix/tst-spawn-static.c: Likewise.
1652 * posix/tst-exec.c: Support run directly.
1653 * posix/tst-spawn.c: Likewise.
1654
fed0faa1
JM
16552013-01-10 Joseph Myers <joseph@codesourcery.com>
1656
828beb13
JM
1657 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
1658 long.
1659 * math/bits/mathcalls.h (llrint): Likewise.
1660 (llround): Likewise.
1661 * stdlib/stdlib.h (struct drand48_data): Likewise.
1662 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
1663 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
1664 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
1665 Likewise.
1666 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
1667 Likewise.
1668 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
1669 (elf_greg_t): Likewise.
1670 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
1671 (__jmp_buf): Likewise.
1672 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
1673 definitions.
1674 (llrint): Likewise, for all definitions.
1675 (llrintl): Likewise.
1676
fed0faa1
JM
1677 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
1678 Remove [__GNUC__] condition.
1679 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
1680 condition to just [__USE_ISOC99].
1681 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
1682
1a20cb20
L
16832013-01-10 H.J. Lu <hongjiu.lu@intel.com>
1684
1685 [BZ #14200]
1686 * sysdeps/unix/sysv/linux/x86/bits/environments.h
1687 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
1688 defined.
1689 (_POSIX_V6_ILP32_OFF32): Likewise.
1690 (_XBS5_ILP32_OFF32): Likewise.
1691 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
1692 (__ILP32_OFFBIG_LDFLAGS): Likewise.
1693
751b85f7
SP
16942013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1695
7490eb81
SP
1696 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
1697
751b85f7
SP
1698 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
1699 doubles __mpexp_twomm1. Adjust usage.
1700 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
1701 Remove.
1702
988197f0
AS
17032013-01-10 Andreas Schwab <schwab@suse.de>
1704
1705 [BZ #14964]
1706 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
1707 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
1708
e83d7298
DM
17092013-01-09 David S. Miller <davem@davemloft.net>
1710
034ed64b 1711 [BZ #15003]
e83d7298
DM
1712 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
1713 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
1714 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
1715 TCP_FASTOPEN): Define.
1716 (tcp_repair_opt): New structure.
1717 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
1718 enum values.
1719 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
1720 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
1721 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
1722 (tcp_cookie_transactions): New structure.
1723
d5e0b9bd
AB
17242013-01-09 Anton Blanchard <anton@samba.org>
1725
1726 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
1727 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
1728 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
1729 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1730
0c07e3ea
JM
17312013-01-09 Joseph Myers <joseph@codesourcery.com>
1732
1733 * include/features.h (__USE_ANSI): Remove.
1734
232f7002
RM
17352013-01-09 Roland McGrath <roland@hack.frob.com>
1736
ad98e30c
RM
1737 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
1738
232f7002
RM
1739 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
1740
950c99ca
SP
17412013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
1742
b5792741
SP
1743 * sysdeps/s390/fpu/libm-test-ulps: Update.
1744
47cf2278
SP
1745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1746
950c99ca
SP
1747 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
1748 (__acr): Likewise.
1749 (__cpy): Likewise.
1750 (norm): Likewise.
1751 (denorm): Likewise.
1752 (__mp_dbl): Likewise.
1753 (__dbl_mp): Likewise.
1754 (add_magnitudes): Likewise.
1755 (sub_magnitudes): Likewise.
1756 (__add): Likewise.
1757 (__sub): Likewise.
1758 (__mul): Likewise.
1759 (__inv): Likewise.
1760 (__dvd): Likewise.
1761 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
1762 (__acr): Likewise.
1763 (__cpy): Likewise.
1764 (norm): Likewise.
1765 (denorm): Likewise.
1766 (__mp_dbl): Likewise.
1767 (__dbl_mp): Likewise.
1768 (add_magnitudes): Likewise.
1769 (sub_magnitudes): Likewise.
1770 (__add): Likewise.
1771 (__sub): Likewise.
1772 (__mul): Likewise.
1773 (__inv): Likewise.
1774 (__dvd): Likewise.
1775 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
1776 (__acr): Likewise.
1777 (__cpy): Likewise.
1778 (norm): Likewise.
1779 (denorm): Likewise.
1780 (__mp_dbl): Likewise.
1781 (__dbl_mp): Likewise.
1782 (add_magnitudes): Likewise.
1783 (sub_magnitudes): Likewise.
1784 (__add): Likewise.
1785 (__sub): Likewise.
1786 (__mul): Likewise.
1787 (__inv): Likewise.
1788 (__dvd): Likewise.
1789
eede9df9
JM
17902013-01-08 Joseph Myers <joseph@codesourcery.com>
1791
1792 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
1793 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
1794 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
1795 2 && __USE_EXTERN_INLINES]: Likewise.
1796
c40ea3d9
AJ
17972013-01-08 Andreas Jaeger <aj@suse.de>
1798
1799 [BZ# 14985]
1800 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
1801 Remove.
1802 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1803 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
1804
2ccdea26
AB
18052013-01-07 Anton Blanchard <anton@samba.org>
1806
1807 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
1808 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1809 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
1810 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1811 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1812 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1813 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
1814 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1816 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1817 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1818 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1819 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1820 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1821 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1822 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1823 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1824 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1825 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1826 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1827 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1828 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
1829 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1830 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1831 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
1832 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1833 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1834 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1835 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
1836 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1837 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1839 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1840 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1841 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1842 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1843 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1844 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1845 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1846 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1847 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
1848 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1849 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1850
a9708fed
JM
18512013-01-07 Joseph Myers <joseph@codesourcery.com>
1852
375607b9
JM
1853 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
1854 (__MALLOC_PMT): Likewise.
1855 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
1856 [__GNUC__], only on [_LIBC].
1857 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1858 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
1859 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
1860 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
1861 forward declaration.
1862 (realloc_hook_ini): Likewise.
1863 (memalign_hook_ini): Likewise.
1864 (__libc_memalign): Do not use __MALLOC_PMT in variable
1865 declaration.
1866 (__libc_valloc): Likewise.
1867 (__libc_pvalloc): Likewise.
1868 (__libc_calloc): Likewise.
1869 (__posix_memalign): Likewise.
1870
a9708fed
JM
1871 [BZ #14996]
1872 * math/s_casinh.c: Include <float.h>.
1873 (__casinh): Do not do computation with squaring and square root
1874 for large arguments.
1875 * math/s_casinhf.c: Include <float.h>.
1876 (__casinhf): Do not do computation with squaring and square root
1877 for large arguments.
1878 * math/s_casinhl.c: Include <float.h>.
1879 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
1880 (__casinhl): Do not do computation with squaring and square root
1881 for large arguments.
1882 * math/libm-test.inc (casin_test): Add more tests.
1883 (casinh_test): Likewise.
1884 * sysdeps/i386/fpu/libm-test-ulps: Update.
1885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1886
afec409a
L
18872013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1888
1889 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1890 (__x86_64_raw_data_cache_size): Likewise.
1891 (__x86_64_data_cache_size_half): Likewise.
1892 (__x86_64_raw_data_cache_size_half): Likewise.
1893 (__x86_64_shared_cache_size): Likewise.
1894 (__x86_64_raw_shared_cache_size): Likewise.
1895 (__x86_64_shared_cache_size_half): Likewise.
1896 (__x86_64_raw_shared_cache_size_half): Likewise.
1897 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1898 to ...
1899 (__x86_data_cache_size): This.
1900 (__x86_64_raw_data_cache_size): Renamed to ...
1901 (__x86_raw_data_cache_size): This.
1902 (__x86_64_data_cache_size_half): Renamed to ...
1903 (__x86_data_cache_size_half): This.
1904 (__x86_64_raw_data_cache_size_half): Renamed to ...
1905 (__x86_raw_data_cache_size_half): This.
1906 (__x86_64_shared_cache_size): Renamed to ...
1907 (__x86_shared_cache_size): This.
1908 (__x86_64_raw_shared_cache_size): Renamed to ...
1909 (__x86_raw_shared_cache_size): This.
1910 (__x86_64_shared_cache_size_half): Renamed to ...
1911 (__x86_shared_cache_size_half): This.
1912 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1913 (__x86_raw_shared_cache_size_half): This.
1914 * sysdeps/x86_64/memcpy.S: Updated.
1915 * sysdeps/x86_64/memset.S: Likewise.
1916 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1917 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1918 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1919
0b3986d0
DM
19202013-01-04 David S. Miller <davem@davemloft.net>
1921
1922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1923
e47686e9
AS
19242013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1925
d643bac1
AS
1926 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1927 1 to avoid redefinition warning.
1928 (__USE_GNU): Don't define.
1929 (init_signaling_nan): Protoize.
1930
e47686e9
AS
1931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1932
b18decba
SP
19332013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1934
fffb407f
SP
1935 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1936 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1937 (__cpymn): Likewise.
1938 (norm): Remove commented code.
1939 (denorm): Likewise.
1940 (__mp_dbl): Likewise.
1941 (__inv): Likewise.
1942 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1943 (__cpymn): Likewise.
1944 (norm): Remove commented code.
1945 (denorm): Likewise.
1946 (__mp_dbl): Likewise.
1947 (__inv): Likewise.
1948
b18decba
SP
1949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1950 mp_no value for 1.0 and 2.0.
1951 (norm): Use RADIXI instead of radixi.d.
1952 (denorm): Likewise.
1953 (__mul): Use 0.0 instead of zero.d.
1954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1955 mp_no value for 1.0 and 2.0.
1956 (norm): Use RADIXI instead of radixi.d.
1957 (denorm): Likewise.
1958 (__mul): Use 0.0 instead of zero.d.
1959
cdc1c96f
JM
19602013-01-04 Joseph Myers <joseph@codesourcery.com>
1961
1962 [BZ #14994]
1963 * math/s_casinh.c (__casinh): Reduce finite argument to first
1964 quadrant then set signs of results at the end.
1965 * math/s_casinhf.c (__casinhf): Likewise.
1966 * math/s_casinhl.c (__casinhl): Likewise.
1967 * math/libm-test.inc (casin_test): Add more tests.
1968 (casinh_test): Likewise.
1969 * sysdeps/i386/fpu/libm-test-ulps: Update.
1970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1971
302913e1
SP
19722013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1973
6420d207
SP
1974 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1975
a9e48ab4
SP
1976 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1977
b7837264
SP
1978 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1979 declarations.
1980 (denorm): Likewise.
1981 (__mp_dbl): Likewise.
1982 (__inv): Likewise.
1983
f8af25d2
SP
1984 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1985 and adjust the header comment.
1986
302913e1
SP
1987 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1988 variable name from declaration.
1989
5d7dd1ca
L
19902013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1991
1992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1993 Initialize COMMON_CPUID_INDEX_7 element.
1994 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1995 (CPUID_RTM): Likewise.
1996 (HAS_RTM): Likewise.
1997 (COMMON_CPUID_INDEX_7): New enum.
1998
2f5f40f4
AS
19992013-01-03 Andreas Schwab <schwab@linux-m68k.org>
2000
2001 [BZ #14981]
2002 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
2003 size is zero, record memory as freed.
2004
4056f4a0
AJ
20052013-01-03 Andreas Jaeger <aj@suse.de>
2006
2007 * po/ia.po: Add new Interlingua translation.
2008
ab15736f 20092012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
2010
2011 * locale/programs/localedef.c: Fix description of '--posix' flag.
2012
568035b7
JM
20132013-01-02 Joseph Myers <joseph@codesourcery.com>
2014
e6898b8d
JM
2015 * NEWS: Update dates in second copyright notice.
2016 * README: Update copyright dates in example.
2017 * manual/libc.texinfo: Update copyright dates.
2018 * scripts/test-installation.pl: Update copyright date in --version
2019 output.
2020
0e2f9562
JM
2021 * hurd/ctty-input.c: Fix copyright notice formatting.
2022 * hurd/ctty-output.c: Likewise.
2023 * hurd/dtable.c: Likewise.
2024 * hurd/hurd-raise.c: Likewise.
2025 * hurd/hurdprio.c: Likewise.
2026 * hurd/msgportdemux.c: Likewise.
2027 * misc/sys/file.h: Likewise.
2028 * misc/sys/ioctl.h: Likewise.
2029 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2030 * sysdeps/mach/hurd/chdir.c: Likewise.
2031 * sysdeps/mach/hurd/fchdir.c: Likewise.
2032 * sysdeps/mach/hurd/rename.c: Likewise.
2033 * sysdeps/mach/hurd/rmdir.c: Likewise.
2034 * sysdeps/mach/hurd/seekdir.c: Likewise.
2035 * sysdeps/mach/hurd/setsid.c: Likewise.
2036 * sysdeps/posix/wait3.c: Likewise.
2037
568035b7
JM
2038 * All files with FSF copyright notices: Update copyright dates
2039 using scripts/update-copyrights.
2040 * intl/plural.c: Regenerated.
2041 * locale/programs/charmap-kw.h: Likewise.
2042 * locale/programs/locfile-kw.h: Likewise.
2043
da08f647
SP
20442013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2045
0f5477af
SP
2046 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
2047 four values.
2048
44e0d4c2
SP
2049 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
2050 calculation loop and add branch prediction.
2051
4d55b4e5
SP
2052 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
2053 check access beyond bounds of m1np.
2054
da08f647
SP
2055 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2056 MPTWO.
2057 (__inv): Remove local variable MPTWO to use the global
2058 constant.
2059 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
2060 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2061 variable MPTWO.
2062 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
2063 MP3HALFS static const.
2064
8e051029
DM
20652013-01-01 David S. Miller <davem@davemloft.net>
2066
2067 * po/ca.po: Update from translation team.
2068
f4cf5f2d
JM
20692013-01-01 Joseph Myers <joseph@codesourcery.com>
2070
2071 * scripts/update-copyrights: New file.
2072 * Makeconfig: Reformat copyright notice.
2073 * ctype/ctype.h: Likewise.
2074 * debug/swprintf_chk.c: Likewise.
2075 * elf/dl-cache.c: Likewise.
2076 * elf/dl-debug.c: Likewise.
2077 * elf/dl-object.c: Likewise.
2078 * grp/initgroups.c: Likewise.
2079 * hurd/Makefile: Likewise.
2080 * hurd/hurd/signal.h: Likewise.
2081 * hurd/hurdfault.c: Likewise.
2082 * hurd/hurdioctl.c: Likewise.
2083 * hurd/hurdlookup.c: Likewise.
2084 * hurd/intr-msg.c: Likewise.
2085 * iconv/gconv_open.c: Likewise.
2086 * libio/swprintf.c: Likewise.
2087 * locale/lc-ctype.c: Likewise.
2088 * locale/nl_langinfo.c: Likewise.
2089 * mach/Machrules: Likewise.
2090 * mach/Makefile: Likewise.
2091 * malloc/obstack.h: Likewise.
2092 * manual/Makefile: Likewise.
2093 * manual/tsort.awk: Likewise.
2094 * misc/bits/stab.def: Likewise.
2095 * nis/nis_print_group_entry.c: Likewise.
2096 * nis/nis_table.c: Likewise.
2097 * nis/nss_compat/compat-pwd.c: Likewise.
2098 * nis/nss_compat/compat-spwd.c: Likewise.
2099 * po/Makefile: Likewise.
2100 * posix/fnmatch.c: Likewise.
2101 * posix/regex.h: Likewise.
2102 * resolv/Makefile: Likewise.
2103 * resolv/nss_dns/dns-network.c: Likewise.
2104 * resolv/res_hconf.c: Likewise.
2105 * scripts/gen-sorted.awk: Likewise.
2106 * soft-fp/soft-fp.h: Likewise.
2107 * stdio-common/printf.h: Likewise.
2108 * stdlib/monetary.h: Likewise.
2109 * stdlib/random.c: Likewise.
2110 * stdlib/random_r.c: Likewise.
2111 * sysdeps/generic/Makefile: Likewise.
2112 * sysdeps/gnu/Makefile: Likewise.
2113 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2114 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2115 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2117 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2118 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2120 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2121 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2122 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2123 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2124 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2125 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2126 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2127 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
2128 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2129 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2130 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2131 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2132 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2133 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2134 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2135 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2136 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2137 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
2138 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2139 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2140 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
2141 * sysdeps/mach/hurd/errnos.awk: Likewise.
2142 * sysdeps/mach/hurd/fork.c: Likewise.
2143 * sysdeps/mach/hurd/getcwd.c: Likewise.
2144 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2145 * sysdeps/mach/hurd/mmap.c: Likewise.
2146 * sysdeps/mach/hurd/utimes.c: Likewise.
2147 * sysdeps/mach/hurd/xmknod.c: Likewise.
2148 * sysdeps/posix/profil.c: Likewise.
2149 * sysdeps/posix/readdir_r.c: Likewise.
2150 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2151 * sysdeps/powerpc/bits/setjmp.h: Likewise.
2152 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2153 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
2154 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2155 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2156 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2157 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2159 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2160 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2161 * sysdeps/pthread/lio_listio.c: Likewise.
2162 * sysdeps/sparc/dl-procinfo.h: Likewise.
2163 * sysdeps/unix/i386/sysdep.S: Likewise.
2164 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2165 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2166 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2167 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2169 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2170 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2171 * sysdeps/unix/sysv/linux/speed.c: Likewise.
2172 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2173 * sysdeps/wordsize-32/divdi3.c: Likewise.
2174 * time/sys/time.h: Likewise.
2175 * wcsmbs/Makefile: Likewise.
2176
0549fbba
DM
21772013-01-01 David S. Miller <davem@davemloft.net>
2178
a141f1a7
DM
2179 * po/fr.po: Update from translation team.
2180
0549fbba
DM
2181 * catgets/gencat.c: Update copyright year.
2182 * csu/version.c: Likewise.
2183 * debug/catchsegv.sh: Likewise.
2184 * debug/pcprofiledump.c: Likewise.
2185 * debug/xtrace.sh: Likewise.
2186 * elf/ldconfig.c: Likewise.
2187 * elf/ldd.bash.in: Likewise.
2188 * elf/pldd.c: Likewise.
2189 * elf/sotruss.ksh: Likewise.
2190 * elf/sprof.c: Likewise.
2191 * iconv/iconv_prog.c: Likewise.
2192 * iconv/iconvconfig.c: Likewise.
2193 * locale/programs/locale.c: Likewise.
2194 * locale/programs/localedef.c: Likewise.
2195 * login/programs/pt_chown.c: Likewise.
2196 * malloc/memusage.sh: Likewise.
2197 * malloc/memusagestat.c: Likewise.
2198 * malloc/mtrace.pl: Likewise.
2199 * nscd/nscd.c: Likewise.
2200 * nss/getent.c: Likewise.
2201 * nss/makedb.c: Likewise.
2202 * posix/getconf.c: Likewise.
2203
18ea052c
SP
22042012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2205
2206 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
2207 numbers.
2208
9c89fca6
MF
22092012-12-30 Mike Frysinger <vapier@gentoo.org>
2210
2211 * math/bits/mathcalls.h (modf): Use __nonnull.
2212
085ec079
SP
22132012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2214
2215 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
2216 (split): Use macro CN instead of the bare value.
2217 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
2218 could be used.
2219 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
2220 instead of the bare value.
2221 (power1): Likewise.
2222
6d9f97e1
SP
22232012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2224
d63f73be
SP
2225 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
2226 __ATAN_TWOM.
2227 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2228
6d9f97e1
SP
2229 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
2230 their values.
2231 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2232 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
2233 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
2234 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
2235
4c4febf5
AJ
22362012-12-28 Andreas Jaeger <aj@suse.de>
2237
af5843ef
AJ
2238 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
2239 values are from Linux 3.7.
2240
4c4febf5
AJ
2241 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
2242 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
2243
99136f82
SP
22442012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2245
2f216c3c 2246 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
2247 TRUE case.
2248
99136f82
SP
2249 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
2250 (norm): Likewise.
2251 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
2252 variables with preprocessor constants.
2253 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2254 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2255 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2256
7fffbdff
BH
22572012-12-27 Bruno Haible <bruno@clisp.org>
2258
2259 [BZ #14317]
2260 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
2261 only if needed.
2262
b76eb5f0
SP
22632012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2264
31a7fe5c
SP
2265 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
2266 and use variable directly.
2267 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
2268
b76eb5f0
SP
2269 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
2270 MPONE.
2271 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
2272 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
2273 variable MPONE.
2274 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
2275 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2276 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
2277 include directive. Remove local variable MPONE.
2278 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
2279 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
2280 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2281
2c8bfe7d
DM
22822012-12-25 David S. Miller <davem@davemloft.net>
2283
2284 * version.h (RELEASE): Set to "development".
2285 (VERSION): Set to "2.17.90".
2286 * NEWS: Add 2.18 section.
2287
147d03b0
DM
22882012-12-21 David S. Miller <davem@davemloft.net>
2289
2290 * po/hr.po: Update from translation team.
2291
a8ebb2b9
AK
22922012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2293
2294 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
2295
95b4f1b6
SE
22962012-12-19 Steve Ellcey <sellcey@mips.com>
2297
b2d94007 2298 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 2299
cedb2a90
MS
23002012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2301
2302 * manual/contrib.texi (Contributors): Spelling correction.
2303
bbf527d6
DM
23042012-12-15 David S. Miller <davem@davemloft.net>
2305
2306 * po/ru.po: Update from translation team.
2307
bc38c906
DM
23082012-12-13 David S. Miller <davem@davemloft.net>
2309
85429b1a
DM
2310 * NEWS: Mention IFUNC testsuite enhancements.
2311
d283e353
DM
2312 * po/pl.po: Update from translation team.
2313 * po/bg.po: Likewise.
2314
bc38c906
DM
2315 * manual/contrib.texi (Contributors): Update entries for Hongjiu
2316 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2317
a181b0d7
DM
23182012-12-11 David S. Miller <davem@davemloft.net>
2319
4641d57e
DM
2320 * po/sv.po: Update from translation team.
2321
f7bc6495
DM
2322 * po/vi.po: Update from translation team.
2323
6fc9048f
DM
2324 * po/cs.po: Update from translation team.
2325
a181b0d7
DM
2326 * po/de.po: Update from translation team.
2327 * po/eo.po: Likewise.
2328 * po/nl.po: Likewise.
2329
f70bfe80
SP
23302012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2331
3c8b4190
SP
2332 [BZ #14246]
2333 * manual/argp.texi (Argp Helper Functions): Move node to follow
2334 Argp Parsing State.
2335
f70bfe80
SP
2336 [BZ #14872]
2337 * manual/conf.texi (Limits on File System Capacity): Mention if
2338 terminating null is included in the max size.
2339
188f0adf
AJ
23402012-12-10 Andreas Jaeger <aj@suse.de>
2341
2342 * po/cs.po: Update from translation team.
2343
56e7d3ad
SP
23442012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2345
2346 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
2347 void pointer and cast to uintptr_t.
2348 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
2349 path.
2350 * sysdeps/s390/s390-64/memcpy.S: Likewise.
2351 * sysdeps/s390/s390-64/memset.S: Likewise.
2352
76f2d2ea 23532012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
2354
2355 [BZ #14833]
2356 * menual/message.texi (Message Translation): Fix typos.
2357 (Helper programs for gettext): Likewise.
2358
67cbf9a2
AS
23592012-12-07 Andreas Schwab <schwab@linux-m68k.org>
2360
2361 [BZ #14898]
2362 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
2363 Change to -1.
2364
682d0e9a
DM
23652012-12-07 David S. Miller <davem@davemloft.net>
2366
2367 * po/libc.pot: Update.
2368
573cd484
RH
23692012-12-07 Richard Henderson <rth@redhat.com>
2370
7e9da188 2371 [BZ #10114]
573cd484
RH
2372 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
2373 normal/normal case to before the switch.
2374 (_FP_DIV): Likewise.
2375
e933a943
MF
23762012-12-06 Carlos O'Donell <carlos@systemhalted.org>
2377 Mike Frysinger <vapier@gentoo.org>
2378
2379 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
2380 check for __NR_fadvise64_64.
2381
82123268
CM
23822012-12-06 Chris Metcalf <cmetcalf@tilera.com>
2383
2384 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
2385 0, not just to plain "0" as a statement.
2386 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
2387 with cw.
2388
d9814526
JM
23892012-12-06 Joseph Myers <joseph@codesourcery.com>
2390
2391 * NEWS: Use sourceware.org in Bugzilla URL.
2392
7728c574
SP
23932012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2394
f16946dd
SP
2395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2396 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2397
5704bbcb
SP
2398 * stdio-common/tst-put-error.c (do_test): Add newline to the
2399 padded test to ensure flush.
2400
17aa0516
JL
24012012-12-05 Jeff Law <law@redhat.com>
2402
2403 * sunrpc/etc.rpc (fedfs_admin): Add entry.
2404
363313b5
JM
24052012-12-05 Joseph Myers <joseph@codesourcery.com>
2406
effbd42a
JM
2407 * README: Don't refer to ports add-on as distributed separately.
2408 Mention AArch64 in list of systems supported in the ports add-on.
2409
87600365
JM
2410 * LICENSES: Add more non-FSF copyright and license notices.
2411
a0d7066a
JM
2412 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
2413 ((unused)).
2414
66ca5a5b
JM
2415 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
2416
363313b5
JM
2417 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
2418 10000 as width of padded output.
2419
b37984ad
JM
24202012-12-04 Joseph Myers <joseph@codesourcery.com>
2421
9003570a
JM
2422 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
2423
b37984ad
JM
2424 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
2425 variable LX with __attribute__ ((unused)).
2426 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2427 Likewise.
2428 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2429 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2430 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
2431 with __attribute__ ((unused)).
2432
c8df52ec
DM
24332012-12-04 David S. Miller <davem@abraco.davemloft.net>
2434
2435 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2436
b3b099af
JM
24372012-12-04 Joseph Myers <joseph@codesourcery.com>
2438
c33aa6e3
JM
2439 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
2440 (CFLAGS-nldbl-acos.c): New variable.
2441 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
2442 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
2443 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
2444 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
2445 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
2446 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
2447 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
2448 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
2449 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
2450 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
2451 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
2452 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
2453 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
2454 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
2455 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
2456 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
2457 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
2458 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
2459 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
2460 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
2461 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
2462 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
2463 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
2464 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
2465 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
2466 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
2467 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
2468 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
2469 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
2470 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
2471 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
2472 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
2473 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
2474 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
2475 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
2476 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
2477 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
2478 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
2479 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
2480 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
2481 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
2482 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
2483 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
2484 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
2485 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
2486 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
2487 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
2488 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
2489 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
2490 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
2491 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
2492 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
2493 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
2494 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
2495 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
2496 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
2497 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
2498 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
2499 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
2500 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
2501 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
2502 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
2503 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
2504 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
2505 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
2506 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
2507 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
2508 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
2509 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
2510 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
2511 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
2512 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
2513 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
2514 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
2515 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
2516 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
2517 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
2518 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
2519 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
2520 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
2521 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
2522 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
2523 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
2524 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
2525 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
2526 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
2527 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
2528 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
2529 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
2530 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
2531 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
2532 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
2533 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
2534 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
2535 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
2536 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
2537 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
2538
20f0018d
JM
2539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2540 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
2541
b3b099af
JM
2542 [BZ #14914]
2543 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
2544 whole low double instead of just low 47 bits when splitting values
2545 into two parts.
2546
029264d1
AM
25472012-12-03 Allan McRae <allan@archlinux.org>
2548
2549 * manual/stdio.texi (Predefined Printf Handlers): Remove
2550 @hsep and @vsep usage.
2551
c9d6789e
MF
25522012-12-03 Mike Frysinger <vapier@gentoo.org>
2553
2554 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
2555 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
2556
4b7634a5
JL
25572012-12-03 Jeff Law <law@redhat.com>
2558
2559 * time/sys/time.h (settimeofday): Do not mark TV argument
2560 as __nonnull.
2561
eb6cbd24
MF
25622012-12-01 Mike Frysinger <vapier@gentoo.org>
2563
2564 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
2565 when currently writing and seek to current position when not.
2566 * libio/Makefile (tests): Remove bug-fclose1.
2567 * libio/bug-fclose1.c: Delete.
2568
f638872a
JM
25692012-12-01 Joseph Myers <joseph@codesourcery.com>
2570
2571 * manual/arith.texi (feenableexcept): Fix typo.
2572 (fedisableexcept): Likewise.
2573
48085d14
RM
25742012-11-30 Roland McGrath <roland@hack.frob.com>
2575
2576 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
2577 second, differently-typed declaration, rather than a cast.
2578
1a538b9f
SP
25792012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2580
2581 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
2582 * include/rpc/svc.h: ... here.
2583
d07f2ff1 25842012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
2585
2586 [BZ #13013]
2587 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
2588 depending n and resplen2 to catch cases where answer
2589 equals answerp2.
2590
c93ec1f0
CD
25912012-11-29 Carlos O'Donell <carlos@systemhalted.org>
2592
2593 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
2594 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
2595
37db69de
MF
25962012-11-29 Mike Frysinger <vapier@gentoo.org>
2597
2598 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
2599
e10c4e4f
RM
26002012-11-29 Roland McGrath <roland@hack.frob.com>
2601
2602 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
2603
2af1b328
JL
26042012-11-28 Jeff Law <law@redhat.com>
2605
2606 [BZ #13761]
2607 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
2608 dataset_temporary. Track alloca usage into alloca_used.
2609 If dataset is large allocate and release it via malloc/free.
2610
111db5b1
FW
26112012-06-04 Florian Weimer <fweimer@redhat.com>
2612
f06cc227 2613 [BZ #14197]
111db5b1
FW
2614 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
2615
dd694abd
DM
26162012-11-28 David S. Miller <davem@davemloft.net>
2617
2618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2619
9984dd01
JM
26202012-11-28 Joseph Myers <joseph@codesourcery.com>
2621
2622 [BZ #14803]
2623 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
2624 of pi/2 rounded to nearest to 64 bits.
2625 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
2626 nearest to 64 bits.
2627 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
2628 bits.
2629
14bc93a9
JL
26302012-11-28 Jeff Law <law@redhat.com>
2631 Martin Osvald <mosvald@redhat.com>
2632
2633 [BZ #14889]
2634 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
2635 * sunrpc/svc.c: Include time.h.
2636 (__svc_accept_failed): New function.
2637 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
2638 any reason other than EINTR, call __svc_accept_failed.
2639 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
2640 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
2641
e3c6aa3a
AS
26422012-11-28 Andreas Schwab <schwab@suse.de>
2643
2644 * scripts/abilist.awk: Also handle indirect functions in .opd
2645 section.
2646
1bead169
JM
26472012-11-28 Joseph Myers <joseph@codesourcery.com>
2648
2649 [BZ #13881]
2650 * sysdeps/x86/fpu/powl_helper.c: New file.
2651 * sysdeps/x86/fpu/Makefile: Likewise.
2652 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
2653 (p3): New object.
2654 (__ieee754_powl): Use __powl_helper for finite arguments except
2655 integer exponents below 8.
2656 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
2657 (p3): New object.
2658 (__ieee754_powl): Use __powl_helper for finite arguments except
2659 integer exponents below 8.
2660 * math/libm-test.inc (pow_test): Add more tests and enable some
2661 previously disabled tests.
2662 * sysdeps/i386/fpu/libm-test-ulps: Update.
2663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2664
0817d63d
SP
26652012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2666 Carlos O'Donell <carlos_odonell@mentor.com>
2667
2668 * nss/makedb.c (is_prime): Assert that input is odd and greater
2669 than 4. Note that fact in a comment too.
2670 (next_prime): Add 4 to input.
2671
de2fd463
SP
26722012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2673
2674 [BZ #11741]
2675 * libio/Makefile (tests): Add test case tst-fwrite-error.
2676 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
2677 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2678 * libio/tst-fwrite-error.c: New test case.
2679
c515fb51
L
26802012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2681
2682 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
2683 before casting to void *.
2684 * include/libc-internal.h (__pointer_type): New macro.
2685 (__integer_if_pointer_type_sub): Likewise.
2686 (__integer_if_pointer_type): Likewise.
2687 (cast_to_integer): Likewise.
2688 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
2689 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
2690 before casting to atomic64_t.
2691 (atomic_exchange_acq): Likewise.
2692 (__arch_exchange_and_add_body): Likewise.
2693 (__arch_add_body): Likewise.
2694 (atomic_add_negative): Likewise.
2695 (atomic_add_zero): Likewise.
2696
4cf77aa9
JM
26972012-11-26 Joseph Myers <joseph@codesourcery.com>
2698
2699 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
2700 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
2701 (add_fdes): Likewise.
2702 (linear_search_fdes): Likewise.
2703 (binary_search_unencoded_fdes): Likewise.
2704
d260b3b4
AS
27052012-11-26 Andreas Schwab <schwab@linux-m68k.org>
2706
2707 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
2708
67060746
AC
27092012-11-24 Adam Conrad <adconrad@0c3.net>
2710
2711 * configure.in: Autodetect C++ header directories.
2712 * configure: Regenerated.
2713
800938a1
MF
27142012-11-23 Mike Frysinger <vapier@gentoo.org>
2715
2716 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
2717
4e6e34e6
AS
27182012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2719
2720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2721
7c7feb47
JM
27222012-11-22 Joseph Myers <joseph@codesourcery.com>
2723
7184dcdf
JM
2724 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
2725 LDBL_MANT_DIG == 106]: Disable some tests.
2726 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2727 Likewise.
2728 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
2729 Likewise.
2730
0a42601f
JM
2731 [BZ #14871]
2732 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
2733 input for small inputs. Return +/- pi/2 for large inputs.
2734 * math/libm-test.inc (atan_test): Add more tests.
2735
79c9b9fe
JM
2736 * sysdeps/generic/unwind-dw2-fde-glibc.c
2737 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
2738 __attribute__ ((unused)).
2739
c60d3bf2
JM
2740 [BZ #14645]
2741 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
2742 x * y if x and y are nonzero and z is zero.
2743
ef1e0867
JM
2744 [BZ #14811]
2745 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
2746 nonzero exponents with absolute value below 0x1p-117 to +/-
2747 0x1p-117.
2748
1468ded3
JM
2749 [BZ #14869]
2750 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
2751 up arguments below 2**-450, not just those below 2**-500.
2752 * math/libm-test.inc (hypot_test): Add another test.
2753
8e27e3cc
JM
2754 [BZ #14868]
2755 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2756 Return a+b for ratio over 2**120, not 2**60.
2757 * math/libm-test.inc (hypot_test): Add another test.
2758
c9c0279b
JM
2759 * math/libm-test.inc (clog_test): Use
2760 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
2761 (clog10_test): Likewise.
2762
7c7feb47
JM
2763 [BZ #6778]
2764 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
2765
fff1530e
AS
27662012-11-22 Andreas Schwab <schwab@suse.de>
2767
2768 * sysdeps/i386/fpu/libm-test-ulps: Update.
2769
94558d30
PT
27702012-11-22 Pino Toscano <toscano.pino@tiscali.it>
2771
2772 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
2773 printf output with newline.
2774
7e1be741
L
27752012-11-21 H.J. Lu <hongjiu.lu@intel.com>
2776
6bfea974
L
2777 [BZ #14865]
2778 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
2779 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
2780 -z nodlopen, -z initfirst and -z execstack support.
2781 * configure: Regenerated.
2782
7e1be741
L
2783 * elf/elf.h (DF_1_NODIRECT): New macro.
2784 (DF_1_IGNMULDEF): Likewise.
2785 (DF_1_NOKSYMS): Likewise.
2786 (DF_1_NOHDR): Likewise.
2787 (DF_1_EDITED): Likewise.
2788 (DF_1_NORELOC): Likewise.
2789 (DF_1_SYMINTPOSE): Likewise.
2790 (DF_1_GLOBAUDIT): Likewise.
2791 (DF_1_SINGLETON): Likewise.
2792 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
2793 DT_1_SUPPORTED_MASK bits.
2794 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
2795
105ce2ce
CD
27962012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
2797
2798 * sysdeps/unix/make-syscalls.sh: Document prefixes.
2799
123be9de
TS
28002012-11-20 Thomas Schwinge <thomas@codesourcery.com>
2801
d072f3f7
TS
2802 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
2803 macro.
2804
123be9de
TS
2805 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
2806 (sendmmsg): Move declarations...
2807 * socket/sys/socket.h: ... here.
2808 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
2809 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
2810 include it from...
2811 * socket/recvmmsg.c: ... this new file.
2812 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
2813 (sendmmsg): Rename to __sendmmsg, create weak alias and make
2814 definition of __sendmmsg hidden.
2815 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2816 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
2817 Move ENOSYS stub into and include it from...
2818 * socket/sendmmsg.c: ... this new file.
2819 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
2820 (sysdep_routines): Move recvmmsg and sendmmsg...
2821 * socket/Makefile (routines): ... here.
2822 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
2823 (GLIBC_PRIVATE): Add __sendmmsg.
2824 * include/sys/socket.h (__sendmmsg): Add declarations.
2825 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
2826 sendmmsg.
2827
cf9a5d18
JM
28282012-11-20 Joseph Myers <joseph@codesourcery.com>
2829
2830 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
2831 variable I1 with __attribute__ ((unused)).
2832 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2833
ecd4caf9
JM
28342012-11-19 Joseph Myers <joseph@codesourcery.com>
2835
be14d48f
JM
2836 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
2837 DUMMY variables with __attribute__ ((unused)).
2838
ecd4caf9
JM
2839 * bits/byteswap.h: Include <bits/types.h>.
2840 (__bswap_64): Use __uint64_t instead of unsigned long long int.
2841
986cab95
PT
28422012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2843
2844 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
2845 string_t. Do not manually set errno.
2846 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
2847 length with __strnlen. Make sure to both set errno and return it on
2848 failure.
2849
6d33cc9d
DM
28502012-11-19 David S. Miller <davem@davemloft.net>
2851
2852 With help from Joseph Myers.
2853 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
2854 very large arguments properly.
2855 * math/libm-test.inc (atan_test): New tests.
2856 (atan2_test): New tests.
2857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2859
ee663277
JM
28602012-11-19 Joseph Myers <joseph@codesourcery.com>
2861
877f2d8e
JM
2862 [BZ #14856]
2863 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
2864 Define to 3.
2865
116fc08a
JM
2866 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
2867 [POSIX] (EADDRNOTAVAIL): Likewise.
2868 [POSIX] (EAFNOSUPPORT): Likewise.
2869 [POSIX] (EALREADY): Likewise.
2870 [POSIX] (ECONNABORTED): Likewise.
2871 [POSIX] (ECONNREFUSED): Likewise.
2872 [POSIX] (ECONNRESET): Likewise.
2873 [POSIX] (EDESTADDRREQ): Likewise.
2874 [POSIX] (EDQUOT): Likewise.
2875 [POSIX] (EHOSTUNREACH): Likewise.
2876 [POSIX] (EIDRM): Likewise.
2877 [POSIX] (EISCONN): Likewise.
2878 [POSIX] (ELOOP): Likewise.
2879 [POSIX] (EMULTIHOP): Likewise.
2880 [POSIX] (ENETDOWN): Likewise.
2881 [POSIX] (ENETUNREACH): Likewise.
2882 [POSIX] (ENOBUFS): Likewise.
2883 [POSIX] (ENODATA): Likewise.
2884 [POSIX] (ENOLINK): Likewise.
2885 [POSIX] (ENOMSG): Likewise.
2886 [POSIX] (ENOPROTOOPT): Likewise.
2887 [POSIX] (ENOSR): Likewise.
2888 [POSIX] (ENOSTR): Likewise.
2889 [POSIX] (ENOTCONN): Likewise.
2890 [POSIX] (ENOTSOCK): Likewise.
2891 [POSIX] (EOPNOTSUPP): Likewise.
2892 [POSIX] (EOVERFLOW): Likewise.
2893 [POSIX] (EPROTO): Likewise.
2894 [POSIX] (EPROTONOSUPPORT): Likewise.
2895 [POSIX] (EPROTOTYPE): Likewise.
2896 [POSIX] (ESTALE): Likewise.
2897 [POSIX] (ETIME): Likewise.
2898 [POSIX] (ETXTBSY): Likewise.
2899 [POSIX] (EWOULDBLOCK): Likewise.
2900 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2901 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2902 [POSIX] (SEEK_CUR): Likewise.
2903 [POSIX] (SEEK_END): Likewise.
2904 [POSIX || UNIX98] (mode_t): Do not require.
2905 [POSIX] (off_t): Likewise.
2906 [POSIX] (pid_t): Likewise.
2907 [POSIX] (sys/stat.h): Do not allow header.
2908 [POSIX] (unistd.h): Likewise.
2909 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2910 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2911 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2912 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2913 require.
2914 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2915 sigevent): Specify elements.
2916 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2917 entry.
2918 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2919 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2920
a483863f
JM
2921 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2922 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2923 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2924 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2925 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2926 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2927 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2928 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2929 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2930 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2931 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2932 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2933 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2934 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2935 Likewise.
2936 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2937 Likewise.
2938 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2939 Likewise.
2940 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2941 Likewise.
2942 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2943 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2944 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2945 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2946 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2947 Specify lower bound on value.
2948 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2949 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2950 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2951 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2952 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2953 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2954 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2955 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2956 value.
2957 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2958 as optional.
2959 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2960 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2961 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2962 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2963 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2964 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2965 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2966 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2967 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2968 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2969 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2970 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2971 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2972 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2973 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2974 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2975 entry.
2976 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2977 optional.
2978 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2979 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2980 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2981 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2982 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2983 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2984 Likewise.
2985 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2986 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2987 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2988 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2989 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2990 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2991 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2992 as optional.
2993 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2994 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2995 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2996 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2997 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2998 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2999 specify as optional.
3000 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
3001 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
3002 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
3003 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
3004 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
3005 [XPG3] (NL_LANGMAX): Likewise.
3006 [POSIX || XPG3] (NL_MSGMAX): Likewise.
3007 [POSIX || XPG3] (NL_NMAX): Likewise.
3008 [POSIX || XPG3] (NL_SETMAX): Likewise.
3009 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
3010 [XPG3] (NZERO): Likewise.
3011 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
3012 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
3013 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
3014 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
3015 (REG_ERANGE): Expect.
3016 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
3017 optional-constant.
3018 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
3019 Use (void) in prototype.
3020 [POSIX] (*_t): Allow.
3021 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
3022 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
3023 (WRDE_BADVAL): Expect.
3024
5ba924e3
JM
3025 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
3026 expect.
3027 [XPG3 || XPG4] (O_RSYNC): Likewise.
3028 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
3029 Likewise.
3030 [XPG3 || XPG4] (pthread_sigmask): Likewise.
3031 [XPG3 || XPG4] (sigqueue): Likewise.
3032 [XPG3 || XPG4] (sigtimedwait): Likewise.
3033 [XPG3 || XPG4] (sigwaitinfo): Likewise.
3034 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
3035 [XPG3 || XPG4] (vsnprintf): Likewise.
3036 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
3037 Likewise.
3038 [XPG3 || XPG4] (blksize_t): Likewise.
3039 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
3040 Likewise.
3041 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
3042 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3043 [XPG3 || XPG4] (struct itimerspec): Likewise.
3044 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
3045 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
3046 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
3047 [XPG3 || XPG4] (clockid_t): Likewise.
3048 [XPG3 || XPG4] (timer_t): Likewise.
3049 [XPG3 || XPG4] (clock_getres): Likewise.
3050 [XPG3 || XPG4] (clock_gettime): Likewise.
3051 [XPG3 || XPG4] (clock_settime): Likewise.
3052 [XPG3 || XPG4] (nanosleep): Likewise.
3053 [XPG3 || XPG4] (timer_create): Likewise.
3054 [XPG3 || XPG4] (timer_delete): Likewise.
3055 [XPG3 || XPG4] (timer_gettime): Likewise.
3056 [XPG3 || XPG4] (timer_getoverrun): Likewise.
3057 [XPG3 || XPG4] (timer_settime): Likewise.
3058 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
3059 [XPG3 || XPG4] (getlogin_r): Likewise.
3060 [XPG3 || XPG4] (pread): Likewise.
3061 [XPG3 || XPG4] (pthread_atfork): Likewise.
3062 [XPG3 || XPG4] (pwrite): Likewise.
3063
ee663277
JM
3064 [BZ #14835]
3065 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
3066 <bits/siginfo.h>.
3067
942caa16
PT
30682012-11-19 Pino Toscano <toscano.pino@tiscali.it>
3069
e19af380
PT
3070 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
3071 finalizing MALLSTREAM.
3072
942caa16
PT
3073 * sysdeps/mach/hurd/syncfs.c: New file.
3074
cfde9b46
SP
30752012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3076
3077 [BZ #14719]
3078 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
3079 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
3080 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
3081 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
3082 (_nss_dns_gethostbyname4_r): Likewise.
3083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
3084 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
3085
f6da27e5
PH
30862012-11-19 Peng Haitao <penght@cn.fujitsu.com>
3087
3088 [BZ #13763]
3089 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
3090
6665d4a2
SM
30912012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
3092
1f51ee92
SM
3093 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
3094 * elf/cache.c (print_entry): Print ",AArch64" for
3095 FLAG_AARCH64_LIB64
3096
6665d4a2
SM
3097 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
3098 * elf/cache.c (print_entry): Print ",hard-float" for
3099 FLAG_ARM_LIBHF.
3100
05b227bd
DM
31012012-11-18 David S. Miller <davem@davemloft.net>
3102
3103 With help from Joseph Myers.
3104 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
3105 cutoff to 2**-13.
3106 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
3107 cutoff to 2**-25.
3108 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
3109 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
3110 small.
3111 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3112 * math/libm-test.inc (y0_test): New tests.
3113 (y1_test): New tests.
3114 * sysdeps/i386/fpu/libm-test-ulps: Update.
3115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3117
786b0b67
AS
31182012-11-18 Andreas Schwab <schwab@linux-m68k.org>
3119
3120 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
3121 64-bit targets.
3122 * configure: Regenerated.
3123
8e18b86d
DM
31242012-11-17 David S. Miller <davem@davemloft.net>
3125
3126 [BZ #14811]
3127 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
3128 nonzero exponents with absolute value below 0x1p-128 to +/-
3129 0x1p-128.
3130
531f1ae0
JM
31312012-11-17 Joseph Myers <joseph@codesourcery.com>
3132
12df29e2
JM
3133 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
3134
150dc1a0
JM
3135 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
3136
531f1ae0
JM
3137 * posix/getconf-speclist.c: New file.
3138 * posix/posix-envs.def: Likewise.
3139 * posix/confstr.c (START_ENV_GROUP): New macro.
3140 (END_ENV_GROUP): Likewise.
3141 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3142 (KNOWN_PRESENT_ENV_STRING): Likewise.
3143 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3144 (UNKNOWN_ENVIRONMENT): Likewise.
3145 (confstr): Include posix-envs.def instead of handling
3146 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
3147 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
3148 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
3149 (END_ENV_GROUP): Likewise.
3150 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
3151 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
3152 (UNKNOWN_ENVIRONMENT): Likewise.
3153 (__sysconf): Include posix-envs.def instead of handling associated
3154 cases directly here.
3155 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
3156 preprocessing getconf-speclist.c rather than running getconf or
3157 generating empty file.
3158
a93f9cbc
PT
31592012-11-16 Pino Toscano <toscano.pino@tiscali.it>
3160
3161 * scripts/check-local-headers.sh: Ignore 'mach' headers.
3162
d64d9f87
AL
31632012-11-16 Andrej Lajovic <natrij@gmail.com>
3164
3165 [BZ #14672]
3166 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
3167
447885eb
DM
31682012-11-16 David S. Miller <davem@davemloft.net>
3169
3170 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
3171 smaller than LDBL_EPSILON/2.0L, just return xm1.
3172
bcbf9830
L
31732012-11-16 H.J. Lu <hongjiu.lu@intel.com>
3174
3175 * elf/tst-array1.c (init): Set constructor priority to 1000.
3176 (fini): Set destructor priority to 1000.
3177 * elf/tst-array2dep.c: Likewise.
3178
2b766585
SP
31792012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3180
3181 [BZ #11741]
3182 * libio/fileops.c (_IO_new_file_write): Correctly return error.
3183 (_IO_new_file_xsputn): Also return EOF if none of the input
3184 data was written when overflow failed.
3185 * libio/iopadn.c (_IO_padn): Likewise.
3186 * libio/iowpadn.c (_IO_wpadn): Likewise.
3187 * stdio-common/tst-put-error.c: Add copyright notice.
3188 (do_test): Add case for printing padded string.
3189 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
3190 _IO_padn returned error.
3191 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
3192 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
3193 return EOF.
3194
b1848fde
SP
31952012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3196
3197 * libio/libioP.h: Add comment note that the references to C++
3198 bits are now obsolete.
3199
2fd89785
MS
32002012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3201
3202 * math/libm-test.inc (check_complex): Use asprintf.
3203
e3ea5409
JM
32042012-11-14 Joseph Myers <joseph@codesourcery.com>
3205
3206 * debug/pcprofiledump.c (print_version): Update copyright year.
3207 * malloc/memusagestat.c (print_version): Likewise.
3208
2e64d265
L
32092012-11-14 H.J. Lu <hongjiu.lu@intel.com>
3210
3211 [BZ #14831]
3212 * elf/Makefile (tests): Add tst-audit8.
3213 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
3214 ($(objpfx)tst-audit8.out): New target.
3215 (tst-audit8-ENV): New variable.
3216 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
3217 audit if l_reloc_result is NULL.
3218 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
3219 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
3220 * elf/tst-audit8.c: New file.
3221
c485e4d2
MS
32222012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3223
3224 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
3225 * misc/Makefile (CFLAGS-select.c): Define.
3226 * posix/Makefile (CFLAGS-pause.c): Define.
3227
3a0d900a
DM
32282012-11-13 David S. Miller <davem@davemloft.net>
3229
3230 * crypt/Makefile: Move test targets after toplevel Rules
3231 inclusion. Grab any necessary sysdep routines when linking.
3232 * crypt/md5.c (md5_process_block): Remove define, we will always
3233 name it __md5_process_block.
3234 (md5_finish_ctx): Update md5_process_block call.
3235 (md5_stream): Likewise.
3236 (md5_process_bytes): Likewise.
3237 (md5_process_block): Rename to __md5_process_block and move to ...
3238 * crypt/md5-block.c: ... here.
3239 * crypt/sha256.c (sha256_process_block): Move to ...
3240 * crypt/sha256-block.c: ... here.
3241 * crypt/sha512.c (sha512_process_block): Move to ...
3242 * crypt/sha512-block.c: ... here.
3243 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
3244 path.
3245 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
3246 * sysdeps/sparc/sparc64/multiarch/Makefile
3247 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
3248 crypt subdir.
3249 (localedef-aux): Add md5 crypto assembler when in locale subdir.
3250 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
3251 multiarch changes.
3252 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
3253 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
3254 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
3255 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
3256 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
3257 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
3258 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
3259 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
3260 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
3261 file.
3262 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
3263 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
3264 file.
3265 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
3266
8ca89318
JM
32672012-11-13 Joseph Myers <joseph@codesourcery.com>
3268
e27d476a
JM
3269 * timezone/tzselect.ksh: Update from tzcode git revision
3270 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
3271 * timezone/zdump.c: Likewise.
3272 * timezone/zic.c: Likewise.
3273 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
3274 in TZVERSION setting, not $(PKGVERSION).
3275 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
3276 REPORT_BUGS_TO settings.
3277
8ca89318
JM
3278 [BZ #14838]
3279 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
3280 macro.
3281
47594329
MS
32822012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3283
3284 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
3285 detection to immediately after _FP_ROUND().
3286 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
3287 bits are 0.
3288
640ac3f1
DM
32892012-11-11 David S. Miller <davem@davemloft.net>
3290
3291 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
3292 inttypes.h
3293 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
3294 __close rather than their public counterparts.
3295
3d2577bb
JM
32962012-11-10 Joseph Myers <joseph@codesourcery.com>
3297
3298 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
3299 file.
3300 [UNIX98] (sem_timedwait): Do not expect.
3301 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
3302 [XPG4 || UNIX98] (sockatmark): Do not expect.
3303 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
3304 (clock_getcpuclockid): Do not expect.
3305 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
3306 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
3307 Do not expect.
3308 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
3309 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
3310 [UNIX98] (vwscanf): Likewise.
3311 [UNIX98] (vswscanf): Likewise.
3312
fb1ae1ee
JM
33132012-11-09 Joseph Myers <joseph@codesourcery.com>
3314
9ec6f8bd
JM
3315 * timezone/version.h: Remove file.
3316 * timezone/README: Do not refer to version.h.
3317 * timezone/Makefile ($(objpfx)zic.o): New dependency on
3318 $(objpfx)version.h.
3319 ($(objpfx)zdump.o): Likewise.
c3f81911 3320 ($(objpfx)version.h): New target.
9ec6f8bd 3321
0aa8f8a1
JM
3322 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
3323 2012i.
3324 * timezone/README: Don't mention modification to tzselect.ksh.
3325 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
3326 work on unmodified tzselect.ksh. Substitute version numbers in
3327 tzselect.ksh.
3328
4e87147f
JM
3329 * Makefile (format-me): Remove.
3330 (INSTALL): Adjust indentation. Use commands directly instead of
3331 using $(format-me).
3332
8b748aed
JM
3333 * aclocal.m4 (ACX_PKGVERSION): New macro.
3334 (ACX_BUGURL): Likewise.
3335 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
3336 (PKGVERSION): New AC_DEFINE_UNQUOTED.
3337 (REPORT_BUGS_TO): Likewise.
3338 * configure: Regenerated.
3339 * config.h.in (PKGVERSION): New macro.
3340 (REPORT_BUGS_TO): Likewise.
3341 * config.make.in (PKGVERSION): New variable.
3342 (PKGVERSION_TEXI): Likewise.
3343 (REPORT_BUGS_TO): Likewise.
3344 (REPORT_BUGS_TEXI): Likewise.
3345 * Makefile (format-me): Use -I$(common-objpfx)manual.
3346 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
3347 ($(common-objpfx)manual/%): New target.
3348 (manual/%): Remove target.
3349 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
3350 (print_version): Use PKGVERSION.
3351 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
3352 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
3353 and REPORT_BUGS_TO.
3354 ($(objpfx)xtrace): Likewise.
3355 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
3356 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
3357 (print_version): Use PKGVERSION.
3358 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
3359 (do_version): Use PKGVERSION.
3360 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
3361 REPORT_BUGS_TO.
3362 (common-ldd-rewrite): Likewise.
3363 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
3364 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
3365 (print_version): Use PKGVERSION.
3366 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
3367 * elf/pldd.c (argp_program_bug_address): Remove variable.
3368 (more_help): New function.
3369 (argp): Use more_help.
3370 (print_version): Use PKGVERSION.
3371 * elf/sln.c (main): Use PKGVERSION.
3372 (usage): Use REPORT_BUGS_TO.
3373 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
3374 (top level): Use PKGVERSION.
3375 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
3376 (print_version): Use PKGVERSION.
3377 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
3378 (print_version): Use PKGVERSION.
3379 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
3380 (print_version): Use PKGVERSION.
3381 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
3382 (print_version): Use PKGVERSION.
3383 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
3384 (print_version): Use PKGVERSION.
3385 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
3386 (print_version): Use PKGVERSION.
3387 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
3388 and BUGURL.
3389 ($(objpfx)memusage): Likewise.
3390 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
3391 (do_version): Use PKGVERSION.
3392 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
3393 (print_version): Use PKGVERSION.
3394 * malloc/mtrace.pl ($PACKAGE): Remove variable.
3395 ($PKGVERSION): New variable.
3396 ($REPORT_BUGS_TO): Likewise.
3397 (usage): Use $REPORT_BUGS_TO.
3398 (top level): Use $PKGVERSION.
3399 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
3400 ($(objpfx)pkgvers.texi): New rule.
3401 ($(objpfx)stamp-pkgvers): Likewise.
3402 * manual/install.texi: Include pkgvers.texi.
3403 (--with-pkgversion): Document new configure option.
3404 (--with-bugurl): Likewise.
3405 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
3406 than necessarily for this particular distribution. Use
3407 REPORT_BUGS_TO for where to report bugs.
3408 * INSTALL: Regenerated.
3409 * manual/libc.texinfo: Include pkgvers.texi.
3410 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
3411 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
3412 (print_version): Use PKGVERSION.
3413 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
3414 (print_version): Use PKGVERSION.
3415 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
3416 (print_version): Use PKGVERSION.
3417 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
3418 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
3419 macro.
3420 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
3421 (print_version): Use PKGVERSION.
3422 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
3423 (print_version): Use PKGVERSION.
3424 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
3425 and PKGVERSION.
3426
92e4b6a9
JM
3427 * timezone/checktab.awk: Update from tzcode 2012i.
3428 * timezone/ialloc.c: Likewise.
3429 * timezone/private.h: Likewise.
3430 * timezone/scheck.c: Likewise.
3431 * timezone/tzfile.h: Likewise.
3432 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
3433 (TZVERSION): Hardcode tzcode version number.
3434 * timezone/zdump.c: Update from tzcode 2012i.
3435 * timezone/zic.c: Likewise.
3436 * timezone/version.h: New file.
3437 * timezone/README: Describe version.h. Update upstream location.
3438
9bde902c
JM
3439 [BZ #14824]
3440 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
3441 (mktemp): Enable declaration.
3442 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
3443 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
3444 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
3445 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
3446 Likewise.
3447 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
3448 Likewise.
3449 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
3450 Likewise.
3451 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
3452 Likewise.
3453 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
3454 Likewise.
3455 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
3456 Likewise.
3457
fb1ae1ee
JM
3458 [BZ #14821]
3459 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
3460 offset in buffer as u_int32_t not u_long. Consistently use memcpy
3461 for copies of such integer values.
3462 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
3463 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
3464
2c1adbcb
AJ
34652012-11-09 Andreas Jaeger <aj@suse.de>
3466
3467 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
3468 definitions and declarations that are provided by
3469 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3470
d0f8457e
AK
34712012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3472
3a235abb 3473 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
3474 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
3475 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
3476 definition.
3477
57241e26
MS
34782012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3479
3480 * elf/elf.h: Update comment before AArch64 relocations.
3481
60e8270d
DM
34822012-11-07 David S. Miller <davem@davemloft.net>
3483
3484 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
3485 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3486 (__start_context): Declare.
3487 (__makecontext_ret): Delete.
3488 (__makecontext): Hook up __start_context instead of
3489 __makecontext_ret.
3490 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3491 (sysdep_routines): Add __start_context when in stdlib.
3492
0fbb0fbc
JM
34932012-11-07 Joseph Myers <joseph@codesourcery.com>
3494
3495 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
3496 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
3497 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
3498 hardcoded "nm".
3499 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
3500 (READELF): New variable. Use it instead of hardcoded "readelf".
3501
eb48db7e
L
35022012-11-07 H.J. Lu <hongjiu.lu@intel.com>
3503
3504 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
3505 * sysdeps/x86/Makefile: Here.
3506 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
3507 * sysdeps/x86/tst-xmmymm.sh: This.
3508
05bcf62a
JM
35092012-11-07 Joseph Myers <joseph@codesourcery.com>
3510
c4b6cf53
JM
3511 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
3512 expectations.
3513 [UNIX98] (pthread_barrier_t): Do not expect.
3514 [UNIX98] (pthread_barrierattr_t): Likewise.
3515 [UNIX98] (pthread_spinlock_t): Likewise.
3516 [UNIX98] (pthread_barrier_destroy): Likewise.
3517 [UNIX98] (pthread_barrier_init): Likewise.
3518 [UNIX98] (pthread_barrier_wait): Likewise.
3519 [UNIX98] (pthread_barrierattr_destroy): Likewise.
3520 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
3521 [UNIX98] (pthread_barrierattr_init): Likewise.
3522 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
3523 [UNIX98] (pthread_getcpuclockid): Likewise.
3524 [UNIX98] (pthread_mutex_timedlock): Likewise.
3525 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
3526 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
3527 [UNIX98] (pthread_sigmask): Likewise.
3528 [UNIX98] (pthread_spin_destroy): Likewise.
3529 [UNIX98] (pthread_spin_init): Likewise.
3530 [UNIX98] (pthread_spin_lock): Likewise.
3531 [UNIX98] (pthread_spin_trylock): Likewise.
3532 [UNIX98] (pthread_spin_unlock): Likewise.
3533 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
3534 Do not expect.
3535 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
3536 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
3537 [XPG3 || XPG4] (pthread_cond_t): Likewise.
3538 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
3539 [XPG3 || XPG4] (pthread_key_t): Likewise.
3540 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
3541 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
3542 [XPG3 || XPG4] (pthread_once_t): Likewise.
3543 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
3544 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
3545 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
3546 [XPG3 || XPG4] (pthread_t): Likewise.
3547
cbe6e120
JM
3548 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
3549 not expect.
3550 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
3551
1b126443
JM
3552 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
3553 Change function return type to int.
3554
b961a573
JM
3555 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
3556 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
3557 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
3558 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
3559 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
3560 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
3561 [!POSIX] (posix_madvise): Likewise.
3562 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
3563 && !UNIX98].
3564 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
3565 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
3566 (mode_t): Likewise.
3567 (posix_mem_offset): Likewise.
3568 (posix_typed_mem_get_info): Likewise.
3569 (posix_typed_mem_open): Likewise.
3570
9e188909
JM
3571 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
3572 Change condition to [XOPEN2K8].
3573
05bcf62a
JM
3574 * conform/conformtest.pl: Preprocess allow-header data with -x c
3575 instead of from stdin.
3576 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
3577 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
3578 [C99-based standards] (cerfc): Likewise.
3579 [C99-based standards] (cexp2): Likewise.
3580 [C99-based standards] (cexpm1): Likewise.
3581 [C99-based standards] (clog10): Likewise.
3582 [C99-based standards] (clog1p): Likewise.
3583 [C99-based standards] (clog2): Likewise.
3584 [C99-based standards] (clgamma): Likewise.
3585 [C99-based standards] (ctgamma): Likewise.
3586 [C99-based standards] (cerff): Likewise.
3587 [C99-based standards] (cerfcf): Likewise.
3588 [C99-based standards] (cexp2f): Likewise.
3589 [C99-based standards] (cexpm1f): Likewise.
3590 [C99-based standards] (clog10f): Likewise.
3591 [C99-based standards] (clog1pf): Likewise.
3592 [C99-based standards] (clog2f): Likewise.
3593 [C99-based standards] (clgammaf): Likewise.
3594 [C99-based standards] (ctgammaf): Likewise.
3595 [C99-based standards] (cerfl): Likewise.
3596 [C99-based standards] (cerfcl): Likewise.
3597 [C99-based standards] (cexp2l): Likewise.
3598 [C99-based standards] (cexpm1l): Likewise.
3599 [C99-based standards] (clog10l): Likewise.
3600 [C99-based standards] (clog1pl): Likewise.
3601 [C99-based standards] (clog2l): Likewise.
3602 [C99-based standards] (clgammal): Likewise.
3603 [C99-based standards] (ctgammal): Likewise.
3604 * conform/data/inttypes.h-data [C99-based standards]: Include
3605 stdint.h-data. Remove all expectations for stdint.h contents.
3606 [C99-based standards] (PRI*): Do not allow.
3607 [C99-based standards] (SCN*): Likewise.
3608 [C99-based standards] (*_t): Likewise.
3609 [C99-based-standards] (PRId8): Expect macro.
3610 [C99-based-standards] (PRIi8): Likewise.
3611 [C99-based-standards] (PRIo8): Likewise.
3612 [C99-based-standards] (PRIu8): Likewise.
3613 [C99-based-standards] (PRIx8): Likewise.
3614 [C99-based-standards] (PRIX8): Likewise.
3615 [C99-based-standards] (SCNd8): Likewise.
3616 [C99-based-standards] (SCNi8): Likewise.
3617 [C99-based-standards] (SCNo8): Likewise.
3618 [C99-based-standards] (SCNu8): Likewise.
3619 [C99-based-standards] (SCNx8): Likewise.
3620 [C99-based-standards] (PRIdLEAST8): Likewise.
3621 [C99-based-standards] (PRIiLEAST8): Likewise.
3622 [C99-based-standards] (PRIoLEAST8): Likewise.
3623 [C99-based-standards] (PRIuLEAST8): Likewise.
3624 [C99-based-standards] (PRIxLEAST8): Likewise.
3625 [C99-based-standards] (PRIXLEAST8): Likewise.
3626 [C99-based-standards] (SCNdLEAST8): Likewise.
3627 [C99-based-standards] (SCNiLEAST8): Likewise.
3628 [C99-based-standards] (SCNoLEAST8): Likewise.
3629 [C99-based-standards] (SCNuLEAST8): Likewise.
3630 [C99-based-standards] (SCNxLEAST8): Likewise.
3631 [C99-based-standards] (PRIdFAST8): Likewise.
3632 [C99-based-standards] (PRIiFAST8): Likewise.
3633 [C99-based-standards] (PRIoFAST8): Likewise.
3634 [C99-based-standards] (PRIuFAST8): Likewise.
3635 [C99-based-standards] (PRIxFAST8): Likewise.
3636 [C99-based-standards] (PRIXFAST8): Likewise.
3637 [C99-based-standards] (SCNdFAST8): Likewise.
3638 [C99-based-standards] (SCNiFAST8): Likewise.
3639 [C99-based-standards] (SCNoFAST8): Likewise.
3640 [C99-based-standards] (SCNuFAST8): Likewise.
3641 [C99-based-standards] (SCNxFAST8): Likewise.
3642 [C99-based-standards] (PRId16): Likewise.
3643 [C99-based-standards] (PRIi16): Likewise.
3644 [C99-based-standards] (PRIo16): Likewise.
3645 [C99-based-standards] (PRIu16): Likewise.
3646 [C99-based-standards] (PRIx16): Likewise.
3647 [C99-based-standards] (PRIX16): Likewise.
3648 [C99-based-standards] (SCNd16): Likewise.
3649 [C99-based-standards] (SCNi16): Likewise.
3650 [C99-based-standards] (SCNo16): Likewise.
3651 [C99-based-standards] (SCNu16): Likewise.
3652 [C99-based-standards] (SCNx16): Likewise.
3653 [C99-based-standards] (PRIdLEAST16): Likewise.
3654 [C99-based-standards] (PRIiLEAST16): Likewise.
3655 [C99-based-standards] (PRIoLEAST16): Likewise.
3656 [C99-based-standards] (PRIuLEAST16): Likewise.
3657 [C99-based-standards] (PRIxLEAST16): Likewise.
3658 [C99-based-standards] (PRIXLEAST16): Likewise.
3659 [C99-based-standards] (SCNdLEAST16): Likewise.
3660 [C99-based-standards] (SCNiLEAST16): Likewise.
3661 [C99-based-standards] (SCNoLEAST16): Likewise.
3662 [C99-based-standards] (SCNuLEAST16): Likewise.
3663 [C99-based-standards] (SCNxLEAST16): Likewise.
3664 [C99-based-standards] (PRIdFAST16): Likewise.
3665 [C99-based-standards] (PRIiFAST16): Likewise.
3666 [C99-based-standards] (PRIoFAST16): Likewise.
3667 [C99-based-standards] (PRIuFAST16): Likewise.
3668 [C99-based-standards] (PRIxFAST16): Likewise.
3669 [C99-based-standards] (PRIXFAST16): Likewise.
3670 [C99-based-standards] (SCNdFAST16): Likewise.
3671 [C99-based-standards] (SCNiFAST16): Likewise.
3672 [C99-based-standards] (SCNoFAST16): Likewise.
3673 [C99-based-standards] (SCNuFAST16): Likewise.
3674 [C99-based-standards] (SCNxFAST16): Likewise.
3675 [C99-based-standards] (PRId32): Likewise.
3676 [C99-based-standards] (PRIi32): Likewise.
3677 [C99-based-standards] (PRIo32): Likewise.
3678 [C99-based-standards] (PRIu32): Likewise.
3679 [C99-based-standards] (PRIx32): Likewise.
3680 [C99-based-standards] (PRIX32): Likewise.
3681 [C99-based-standards] (SCNd32): Likewise.
3682 [C99-based-standards] (SCNi32): Likewise.
3683 [C99-based-standards] (SCNo32): Likewise.
3684 [C99-based-standards] (SCNu32): Likewise.
3685 [C99-based-standards] (SCNx32): Likewise.
3686 [C99-based-standards] (PRIdLEAST32): Likewise.
3687 [C99-based-standards] (PRIiLEAST32): Likewise.
3688 [C99-based-standards] (PRIoLEAST32): Likewise.
3689 [C99-based-standards] (PRIuLEAST32): Likewise.
3690 [C99-based-standards] (PRIxLEAST32): Likewise.
3691 [C99-based-standards] (PRIXLEAST32): Likewise.
3692 [C99-based-standards] (SCNdLEAST32): Likewise.
3693 [C99-based-standards] (SCNiLEAST32): Likewise.
3694 [C99-based-standards] (SCNoLEAST32): Likewise.
3695 [C99-based-standards] (SCNuLEAST32): Likewise.
3696 [C99-based-standards] (SCNxLEAST32): Likewise.
3697 [C99-based-standards] (PRIdFAST32): Likewise.
3698 [C99-based-standards] (PRIiFAST32): Likewise.
3699 [C99-based-standards] (PRIoFAST32): Likewise.
3700 [C99-based-standards] (PRIuFAST32): Likewise.
3701 [C99-based-standards] (PRIxFAST32): Likewise.
3702 [C99-based-standards] (PRIXFAST32): Likewise.
3703 [C99-based-standards] (SCNdFAST32): Likewise.
3704 [C99-based-standards] (SCNiFAST32): Likewise.
3705 [C99-based-standards] (SCNoFAST32): Likewise.
3706 [C99-based-standards] (SCNuFAST32): Likewise.
3707 [C99-based-standards] (SCNxFAST32): Likewise.
3708 [C99-based-standards] (PRId64): Likewise.
3709 [C99-based-standards] (PRIi64): Likewise.
3710 [C99-based-standards] (PRIo64): Likewise.
3711 [C99-based-standards] (PRIu64): Likewise.
3712 [C99-based-standards] (PRIx64): Likewise.
3713 [C99-based-standards] (PRIX64): Likewise.
3714 [C99-based-standards] (SCNd64): Likewise.
3715 [C99-based-standards] (SCNi64): Likewise.
3716 [C99-based-standards] (SCNo64): Likewise.
3717 [C99-based-standards] (SCNu64): Likewise.
3718 [C99-based-standards] (SCNx64): Likewise.
3719 [C99-based-standards] (PRIdLEAST64): Likewise.
3720 [C99-based-standards] (PRIiLEAST64): Likewise.
3721 [C99-based-standards] (PRIoLEAST64): Likewise.
3722 [C99-based-standards] (PRIuLEAST64): Likewise.
3723 [C99-based-standards] (PRIxLEAST64): Likewise.
3724 [C99-based-standards] (PRIXLEAST64): Likewise.
3725 [C99-based-standards] (SCNdLEAST64): Likewise.
3726 [C99-based-standards] (SCNiLEAST64): Likewise.
3727 [C99-based-standards] (SCNoLEAST64): Likewise.
3728 [C99-based-standards] (SCNuLEAST64): Likewise.
3729 [C99-based-standards] (SCNxLEAST64): Likewise.
3730 [C99-based-standards] (PRIdFAST64): Likewise.
3731 [C99-based-standards] (PRIiFAST64): Likewise.
3732 [C99-based-standards] (PRIoFAST64): Likewise.
3733 [C99-based-standards] (PRIuFAST64): Likewise.
3734 [C99-based-standards] (PRIxFAST64): Likewise.
3735 [C99-based-standards] (PRIXFAST64): Likewise.
3736 [C99-based-standards] (SCNdFAST64): Likewise.
3737 [C99-based-standards] (SCNiFAST64): Likewise.
3738 [C99-based-standards] (SCNoFAST64): Likewise.
3739 [C99-based-standards] (SCNuFAST64): Likewise.
3740 [C99-based-standards] (SCNxFAST64): Likewise.
3741 [C99-based-standards] (PRIdMAX): Likewise.
3742 [C99-based-standards] (PRIiMAX): Likewise.
3743 [C99-based-standards] (PRIoMAX): Likewise.
3744 [C99-based-standards] (PRIuMAX): Likewise.
3745 [C99-based-standards] (PRIxMAX): Likewise.
3746 [C99-based-standards] (PRIXMAX): Likewise.
3747 [C99-based-standards] (SCNdMAX): Likewise.
3748 [C99-based-standards] (SCNiMAX): Likewise.
3749 [C99-based-standards] (SCNoMAX): Likewise.
3750 [C99-based-standards] (SCNuMAX): Likewise.
3751 [C99-based-standards] (SCNxMAX): Likewise.
3752 [C99-based-standards] (PRIdPTR): Likewise.
3753 [C99-based-standards] (PRIiPTR): Likewise.
3754 [C99-based-standards] (PRIoPTR): Likewise.
3755 [C99-based-standards] (PRIuPTR): Likewise.
3756 [C99-based-standards] (PRIxPTR): Likewise.
3757 [C99-based-standards] (PRIXPTR): Likewise.
3758 [C99-based-standards] (SCNdPTR): Likewise.
3759 [C99-based-standards] (SCNiPTR): Likewise.
3760 [C99-based-standards] (SCNoPTR): Likewise.
3761 [C99-based-standards] (SCNuPTR): Likewise.
3762 [C99-based-standards] (SCNxPTR): Likewise.
3763 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
3764 allow.
3765 * conform/data/stdint.h-data: Update comments to clarify
3766 requirements.
3767 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
3768 type.
3769 [C99-based standards] (INT8_MAX): Likewise.
3770 [C99-based standards] (INT16_MIN): Likewise.
3771 [C99-based standards] (INT16_MAX): Likewise.
3772 [C99-based standards] (INT32_MIN): Likewise.
3773 [C99-based standards] (INT32_MAX): Likewise.
3774 [C99-based standards] (INT64_MIN): Likewise.
3775 [C99-based standards] (INT64_MAX): Likewise.
3776 [C99-based standards] (UINT8_MAX): Likewise.
3777 [C99-based standards] (UINT16_MAX): Likewise.
3778 [C99-based standards] (UINT32_MAX): Likewise.
3779 [C99-based standards] (UINT64_MAX): Likewise.
3780 [C99-based standards] (INT_LEAST8_MIN): Likewise.
3781 [C99-based standards] (INT_LEAST8_MAX): Likewise.
3782 [C99-based standards] (INT_LEAST16_MIN): Likewise.
3783 [C99-based standards] (INT_LEAST16_MAX): Likewise.
3784 [C99-based standards] (INT_LEAST32_MIN): Likewise.
3785 [C99-based standards] (INT_LEAST32_MAX): Likewise.
3786 [C99-based standards] (INT_LEAST64_MIN): Likewise.
3787 [C99-based standards] (INT_LEAST64_MAX): Likewise.
3788 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
3789 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
3790 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
3791 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
3792 [C99-based standards] (INT_FAST8_MIN): Likewise.
3793 [C99-based standards] (INT_FAST8_MAX): Likewise.
3794 [C99-based standards] (INT_FAST16_MIN): Likewise.
3795 [C99-based standards] (INT_FAST16_MAX): Likewise.
3796 [C99-based standards] (INT_FAST32_MIN): Likewise.
3797 [C99-based standards] (INT_FAST32_MAX): Likewise.
3798 [C99-based standards] (INT_FAST64_MIN): Likewise.
3799 [C99-based standards] (INT_FAST64_MAX): Likewise.
3800 [C99-based standards] (UINT_FAST8_MAX): Likewise.
3801 [C99-based standards] (UINT_FAST16_MAX): Likewise.
3802 [C99-based standards] (UINT_FAST32_MAX): Likewise.
3803 [C99-based standards] (UINT_FAST64_MAX): Likewise.
3804 [C99-based standards] (INTPTR_MIN): Likewise.
3805 [C99-based standards] (INTPTR_MAX): Likewise.
3806 [C99-based standards] (UINTPTR_MAX): Likewise.
3807 [C99-based standards] (INTMAX_MIN): Likewise.
3808 [C99-based standards] (INTMAX_MAX): Likewise.
3809 [C99-based standards] (UINTMAX_MAX): Likewise.
3810 [C99-based standards] (PTRDIFF_MIN): Likewise.
3811 [C99-based standards] (PTRDIFF_MAX): Likewise.
3812 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
3813 [C99-based standards] (SIZE_MAX): Likewise.
3814 [C99-based standards] (WCHAR_MAX): Likewise.
3815 [C99-based standards] (WINT_MAX): Likewise.
3816 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
3817 constraint on value.
3818 [C99-based standards] (WCHAR_MIN): Likewise.
3819 [C99-based standards] (WINT_MIN): Likewise.
3820 [C99-based standards] (*_t): Allow.
3821 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
3822 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
3823 Include math.h-data and complex.h-data. Remove all expectations
3824 of math.h and complex.h contents.
3825 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
3826 at end of line.
3827 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
3828 (struct tm): Expect tag.
3829 [C99-based-standards] (wcstof): Expect function.
3830 [C99-based-standards] (wcstold): Likewise.
3831 [C99-based-standards] (wcstoll): Likewise.
3832 [C99-based-standards] (wcstoull): Likewise.
3833 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
3834 macro-int-constant. Specify type.
3835 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
3836 constraint on value.
3837 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3838 Specify type.
3839 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
3840 Specify value.
3841 [ISO C standards]: Do not allow headers.
3842 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
3843 wcs[abcdefghijklmnopqrstuvwxyz]*.
3844 [ISO C standards] (*_t): Do not allow.
3845 * conform/data/wctype.h-data [C99-based standards] (iswblank):
3846 Expect function.
3847 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
3848 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
3849 Specify type.
3850 [ISO C standards]: Do not allow headers.
3851 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
3852 is[abcdefghijklmnopqrstuvwxyz]*.
3853 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
3854 to[abcdefghijklmnopqrstuvwxyz]*.
3855 [ISO C standards] (*_t): Do not allow.
3856 * conform/data/stdalign.h-data: New file.
3857 * conform/data/stdbool.h-data: Likewise.
3858 * conform/data/stdnoreturn.h-data: Likewise.
3859
7514feb8
RM
38602012-11-07 Roland McGrath <roland@hack.frob.com>
3861
3862 [BZ #14815]
3863 * manual/filesys.texi (Directory Entries): Typo fix.
3864 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
3865
19b2ecfc
MS
38662012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3867
3868 * elf/elf.h (EM_AARCH64): New macro.
3869 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
3870 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
3871 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
3872 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
3873 (R_AARCH64_TLSDESC): Likewise.
3874 (NT_ARM_TLS): Likewise.
3875 (NT_ARM_HW_BREAK): Likewise.
3876 (NT_ARM_HW_WATCH): Likewise.
3877
60e235ee
JM
38782012-11-07 Joseph Myers <joseph@codesourcery.com>
3879
3880 [BZ #14811]
3881 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
3882 (__ieee754_powl): Saturate nonzero exponents with absolute value
3883 below 0x1p-79 to +/- 0x1p-79.
3884 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3885 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3886 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3887 nonzero exponents with absolute value below 0x1p-32 to +/-
3888 0x1p-32.
3889 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3890 (__ieee754_powl): Saturate nonzero exponents with absolute value
3891 below 0x1p-79 to +/- 0x1p-79.
3892 * math/libm-test.inc (pow_test): Add more tests.
3893
0ab234b7
AK
38942012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3895
3896 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3897 _dl_s390_cap_flags with kernel. Increase string length.
3898 (_dl_s390_platforms): Add z196 and zEC12.
3899
45832f74
JM
39002012-11-07 Joseph Myers <joseph@codesourcery.com>
3901
3902 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3903 Change XOPEN21K to XOPEN2K.
3904
19218757
MK
39052012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3906
3907 * string/memmove.c: Use memcpy when possible.
3908
c5f45721
AJ
39092012-11-06 Andreas Jaeger <aj@suse.de>
3910
3911 * po/eo.po: Update from translation team.
3912
82477c28
JM
39132012-11-06 Joseph Myers <joseph@codesourcery.com>
3914
3915 [BZ #14793]
3916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3917 exponent and small x and y exponents, scale x or y up. Increase
3918 by 2 the exponent used in scaling up.
3919 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3920 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3921 * math/libm-test.inc (fma_test): Add more tests.
3922 (fma_test_towardzero): Likewise.
3923 (fma_test_downward): Likewise.
3924 (fma_test_upward): Likewise.
3925
99252c8c
JM
39262012-11-05 Joseph Myers <joseph@codesourcery.com>
3927
acfa885f
JM
3928 [BZ #14805]
3929 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3930 fenv_t *.
3931
99252c8c
JM
3932 [BZ #14801]
3933 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3934 namespace for names of struct fields.
3935 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3936 fenv_t fields.
3937 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3938 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3939
d6d98dea
ST
39402012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3941
3942 [BZ #3665]
3943 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3944
e10bb107
TS
39452012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3946
3947 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3948 PTR_DEMANGLE.
3949
3950 [BZ #5246]
3951 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3952 PTR_DEMANGLE.
3953
a0c2940d
JM
39542012-11-04 Joseph Myers <joseph@codesourcery.com>
3955
3956 [BZ #14797]
3957 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3958 definitely overflow as x * y not x * y + z.
3959 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3960 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3961 * math/libm-test.inc (fma_test): Add more tests.
3962 (fma_test_towardzero): Likewise.
3963 (fma_test_downward): Likewise.
3964 (fma_test_upward): Likewise.
3965
b830319d
TS
39662012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3967
3968 [BZ #157]
3969
3970 * include/stub-tag.h: Remove file.
3971 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3972 '#include' of it.
3973 * manual/maint.texi (Porting): Don't reference it.
3974 * Makerules ($(objpfx)stubs): Likewise.
3975 * dirent/closedir.c: Don't include <stub-tag.h>.
3976 * dirent/dirfd.c: Likewise.
3977 * dirent/fdopendir.c: Likewise.
3978 * dirent/getdents.c: Likewise.
3979 * dirent/getdents64.c: Likewise.
3980 * dirent/opendir.c: Likewise.
3981 * dirent/readdir.c: Likewise.
3982 * dirent/readdir64.c: Likewise.
3983 * dirent/readdir64_r.c: Likewise.
3984 * dirent/readdir_r.c: Likewise.
3985 * dirent/rewinddir.c: Likewise.
3986 * dirent/seekdir.c: Likewise.
3987 * dirent/telldir.c: Likewise.
3988 * gmon/profil.c: Likewise.
3989 * grp/setgroups.c: Likewise.
3990 * inet/if_index.c: Likewise.
3991 * io/access.c: Likewise.
3992 * io/chdir.c: Likewise.
3993 * io/chmod.c: Likewise.
3994 * io/chown.c: Likewise.
3995 * io/close.c: Likewise.
3996 * io/dup.c: Likewise.
3997 * io/dup2.c: Likewise.
3998 * io/dup3.c: Likewise.
3999 * io/euidaccess.c: Likewise.
4000 * io/faccessat.c: Likewise.
4001 * io/fchdir.c: Likewise.
4002 * io/fchmod.c: Likewise.
4003 * io/fchmodat.c: Likewise.
4004 * io/fchown.c: Likewise.
4005 * io/fchownat.c: Likewise.
4006 * io/fcntl.c: Likewise.
4007 * io/flock.c: Likewise.
4008 * io/fstatfs.c: Likewise.
4009 * io/fstatfs64.c: Likewise.
4010 * io/fstatvfs.c: Likewise.
4011 * io/fstatvfs64.c: Likewise.
4012 * io/futimens.c: Likewise.
4013 * io/fxstat.c: Likewise.
4014 * io/fxstat64.c: Likewise.
4015 * io/fxstatat.c: Likewise.
4016 * io/fxstatat64.c: Likewise.
4017 * io/getcwd.c: Likewise.
4018 * io/isatty.c: Likewise.
4019 * io/lchmod.c: Likewise.
4020 * io/lchown.c: Likewise.
4021 * io/link.c: Likewise.
4022 * io/linkat.c: Likewise.
4023 * io/lseek.c: Likewise.
4024 * io/lseek64.c: Likewise.
4025 * io/lxstat64.c: Likewise.
4026 * io/mkdir.c: Likewise.
4027 * io/mkdirat.c: Likewise.
4028 * io/mkfifo.c: Likewise.
4029 * io/mkfifoat.c: Likewise.
4030 * io/open.c: Likewise.
4031 * io/open64.c: Likewise.
4032 * io/openat.c: Likewise.
4033 * io/openat64.c: Likewise.
4034 * io/pipe.c: Likewise.
4035 * io/pipe2.c: Likewise.
4036 * io/poll.c: Likewise.
4037 * io/posix_fadvise.c: Likewise.
4038 * io/posix_fadvise64.c: Likewise.
4039 * io/posix_fallocate.c: Likewise.
4040 * io/posix_fallocate64.c: Likewise.
4041 * io/read.c: Likewise.
4042 * io/readlink.c: Likewise.
4043 * io/readlinkat.c: Likewise.
4044 * io/rmdir.c: Likewise.
4045 * io/sendfile.c: Likewise.
4046 * io/sendfile64.c: Likewise.
4047 * io/statfs.c: Likewise.
4048 * io/statfs64.c: Likewise.
4049 * io/statvfs.c: Likewise.
4050 * io/statvfs64.c: Likewise.
4051 * io/symlink.c: Likewise.
4052 * io/symlinkat.c: Likewise.
4053 * io/ttyname.c: Likewise.
4054 * io/ttyname_r.c: Likewise.
4055 * io/umask.c: Likewise.
4056 * io/unlink.c: Likewise.
4057 * io/unlinkat.c: Likewise.
4058 * io/utime.c: Likewise.
4059 * io/utimensat.c: Likewise.
4060 * io/write.c: Likewise.
4061 * io/xmknod.c: Likewise.
4062 * io/xmknodat.c: Likewise.
4063 * io/xstat.c: Likewise.
4064 * io/xstat64.c: Likewise.
4065 * login/getpt.c: Likewise.
4066 * login/grantpt.c: Likewise.
4067 * login/unlockpt.c: Likewise.
4068 * math/e_acoshl.c: Likewise.
4069 * math/e_acosl.c: Likewise.
4070 * math/e_asinl.c: Likewise.
4071 * math/e_atan2l.c: Likewise.
4072 * math/e_atanhl.c: Likewise.
4073 * math/e_coshl.c: Likewise.
4074 * math/e_expl.c: Likewise.
4075 * math/e_fmodl.c: Likewise.
4076 * math/e_gammal_r.c: Likewise.
4077 * math/e_hypotl.c: Likewise.
4078 * math/e_j0l.c: Likewise.
4079 * math/e_j1l.c: Likewise.
4080 * math/e_jnl.c: Likewise.
4081 * math/e_lgammal_r.c: Likewise.
4082 * math/e_log10l.c: Likewise.
4083 * math/e_log2l.c: Likewise.
4084 * math/e_logl.c: Likewise.
4085 * math/e_powl.c: Likewise.
4086 * math/e_rem_pio2l.c: Likewise.
4087 * math/e_sinhl.c: Likewise.
4088 * math/e_sqrtl.c: Likewise.
4089 * math/fclrexcpt.c: Likewise.
4090 * math/fedisblxcpt.c: Likewise.
4091 * math/feenablxcpt.c: Likewise.
4092 * math/fegetenv.c: Likewise.
4093 * math/fegetexcept.c: Likewise.
4094 * math/fegetround.c: Likewise.
4095 * math/feholdexcpt.c: Likewise.
4096 * math/fesetenv.c: Likewise.
4097 * math/fesetround.c: Likewise.
4098 * math/feupdateenv.c: Likewise.
4099 * math/fgetexcptflg.c: Likewise.
4100 * math/fraiseexcpt.c: Likewise.
4101 * math/fsetexcptflg.c: Likewise.
4102 * math/ftestexcept.c: Likewise.
4103 * math/k_cosl.c: Likewise.
4104 * math/k_rem_pio2l.c: Likewise.
4105 * math/k_sinl.c: Likewise.
4106 * math/k_tanl.c: Likewise.
4107 * math/s_asinhl.c: Likewise.
4108 * math/s_atanl.c: Likewise.
4109 * math/s_cbrtl.c: Likewise.
4110 * math/s_erfl.c: Likewise.
4111 * math/s_expm1l.c: Likewise.
4112 * math/s_log1pl.c: Likewise.
4113 * math/s_tanhl.c: Likewise.
4114 * misc/acct.c: Likewise.
4115 * misc/brk.c: Likewise.
4116 * misc/chflags.c: Likewise.
4117 * misc/chroot.c: Likewise.
4118 * misc/fchflags.c: Likewise.
4119 * misc/fgetxattr.c: Likewise.
4120 * misc/flistxattr.c: Likewise.
4121 * misc/fremovexattr.c: Likewise.
4122 * misc/fsetxattr.c: Likewise.
4123 * misc/fsync.c: Likewise.
4124 * misc/ftruncate.c: Likewise.
4125 * misc/futimes.c: Likewise.
4126 * misc/futimesat.c: Likewise.
4127 * misc/getdomain.c: Likewise.
4128 * misc/getdtsz.c: Likewise.
4129 * misc/gethostid.c: Likewise.
4130 * misc/gethostname.c: Likewise.
4131 * misc/getloadavg.c: Likewise.
4132 * misc/getpagesize.c: Likewise.
4133 * misc/getsysstats.c: Likewise.
4134 * misc/getxattr.c: Likewise.
4135 * misc/gtty.c: Likewise.
4136 * misc/ioctl.c: Likewise.
4137 * misc/lgetxattr.c: Likewise.
4138 * misc/listxattr.c: Likewise.
4139 * misc/llistxattr.c: Likewise.
4140 * misc/lremovexattr.c: Likewise.
4141 * misc/lsetxattr.c: Likewise.
4142 * misc/lutimes.c: Likewise.
4143 * misc/madvise.c: Likewise.
4144 * misc/mincore.c: Likewise.
4145 * misc/mlock.c: Likewise.
4146 * misc/mlockall.c: Likewise.
4147 * misc/mmap.c: Likewise.
4148 * misc/mprotect.c: Likewise.
4149 * misc/msync.c: Likewise.
4150 * misc/munlock.c: Likewise.
4151 * misc/munlockall.c: Likewise.
4152 * misc/munmap.c: Likewise.
4153 * misc/preadv.c: Likewise.
4154 * misc/preadv64.c: Likewise.
4155 * misc/ptrace.c: Likewise.
4156 * misc/pwritev.c: Likewise.
4157 * misc/pwritev64.c: Likewise.
4158 * misc/readv.c: Likewise.
4159 * misc/reboot.c: Likewise.
4160 * misc/remap_file_pages.c: Likewise.
4161 * misc/removexattr.c: Likewise.
4162 * misc/revoke.c: Likewise.
4163 * misc/select.c: Likewise.
4164 * misc/setdomain.c: Likewise.
4165 * misc/setegid.c: Likewise.
4166 * misc/seteuid.c: Likewise.
4167 * misc/sethostid.c: Likewise.
4168 * misc/sethostname.c: Likewise.
4169 * misc/setregid.c: Likewise.
4170 * misc/setreuid.c: Likewise.
4171 * misc/setxattr.c: Likewise.
4172 * misc/sstk.c: Likewise.
4173 * misc/stty.c: Likewise.
4174 * misc/swapoff.c: Likewise.
4175 * misc/swapon.c: Likewise.
4176 * misc/sync.c: Likewise.
4177 * misc/syncfs.c: Likewise.
4178 * misc/syscall.c: Likewise.
4179 * misc/truncate.c: Likewise.
4180 * misc/ualarm.c: Likewise.
4181 * misc/usleep.c: Likewise.
4182 * misc/ustat.c: Likewise.
4183 * misc/utimes.c: Likewise.
4184 * misc/vhangup.c: Likewise.
4185 * misc/writev.c: Likewise.
4186 * posix/_exit.c: Likewise.
4187 * posix/alarm.c: Likewise.
4188 * posix/execve.c: Likewise.
4189 * posix/fexecve.c: Likewise.
4190 * posix/fork.c: Likewise.
4191 * posix/fpathconf.c: Likewise.
4192 * posix/getaddrinfo.c: Likewise.
4193 * posix/getegid.c: Likewise.
4194 * posix/geteuid.c: Likewise.
4195 * posix/getgid.c: Likewise.
4196 * posix/getgroups.c: Likewise.
4197 * posix/getlogin.c: Likewise.
4198 * posix/getlogin_r.c: Likewise.
4199 * posix/getpgid.c: Likewise.
4200 * posix/getpid.c: Likewise.
4201 * posix/getppid.c: Likewise.
4202 * posix/getresgid.c: Likewise.
4203 * posix/getresuid.c: Likewise.
4204 * posix/getsid.c: Likewise.
4205 * posix/getuid.c: Likewise.
4206 * posix/glob64.c: Likewise.
4207 * posix/nanosleep.c: Likewise.
4208 * posix/pathconf.c: Likewise.
4209 * posix/pause.c: Likewise.
4210 * posix/posix_madvise.c: Likewise.
4211 * posix/pread.c: Likewise.
4212 * posix/pread64.c: Likewise.
4213 * posix/pwrite.c: Likewise.
4214 * posix/pwrite64.c: Likewise.
4215 * posix/sched_getaffinity.c: Likewise.
4216 * posix/sched_getp.c: Likewise.
4217 * posix/sched_gets.c: Likewise.
4218 * posix/sched_primax.c: Likewise.
4219 * posix/sched_primin.c: Likewise.
4220 * posix/sched_rr_gi.c: Likewise.
4221 * posix/sched_setaffinity.c: Likewise.
4222 * posix/sched_setp.c: Likewise.
4223 * posix/sched_sets.c: Likewise.
4224 * posix/sched_yield.c: Likewise.
4225 * posix/setgid.c: Likewise.
4226 * posix/setlogin.c: Likewise.
4227 * posix/setpgid.c: Likewise.
4228 * posix/setresgid.c: Likewise.
4229 * posix/setresuid.c: Likewise.
4230 * posix/setsid.c: Likewise.
4231 * posix/setuid.c: Likewise.
4232 * posix/sleep.c: Likewise.
4233 * posix/spawni.c: Likewise.
4234 * posix/sysconf.c: Likewise.
4235 * posix/times.c: Likewise.
4236 * posix/wait.c: Likewise.
4237 * posix/wait3.c: Likewise.
4238 * posix/wait4.c: Likewise.
4239 * posix/waitpid.c: Likewise.
4240 * resolv/gai_sigqueue.c: Likewise.
4241 * resource/getpriority.c: Likewise.
4242 * resource/getrlimit.c: Likewise.
4243 * resource/getrusage.c: Likewise.
4244 * resource/nice.c: Likewise.
4245 * resource/setpriority.c: Likewise.
4246 * resource/setrlimit.c: Likewise.
4247 * resource/ulimit.c: Likewise.
4248 * rt/aio_cancel.c: Likewise.
4249 * rt/aio_fsync.c: Likewise.
4250 * rt/aio_read.c: Likewise.
4251 * rt/aio_sigqueue.c: Likewise.
4252 * rt/aio_suspend.c: Likewise.
4253 * rt/aio_write.c: Likewise.
4254 * rt/clock_getres.c: Likewise.
4255 * rt/clock_gettime.c: Likewise.
4256 * rt/clock_nanosleep.c: Likewise.
4257 * rt/clock_settime.c: Likewise.
4258 * rt/lio_listio.c: Likewise.
4259 * rt/mq_close.c: Likewise.
4260 * rt/mq_getattr.c: Likewise.
4261 * rt/mq_notify.c: Likewise.
4262 * rt/mq_open.c: Likewise.
4263 * rt/mq_receive.c: Likewise.
4264 * rt/mq_send.c: Likewise.
4265 * rt/mq_setattr.c: Likewise.
4266 * rt/mq_timedreceive.c: Likewise.
4267 * rt/mq_timedsend.c: Likewise.
4268 * rt/mq_unlink.c: Likewise.
4269 * rt/shm_open.c: Likewise.
4270 * rt/shm_unlink.c: Likewise.
4271 * rt/timer_create.c: Likewise.
4272 * rt/timer_delete.c: Likewise.
4273 * rt/timer_getoverr.c: Likewise.
4274 * rt/timer_gettime.c: Likewise.
4275 * rt/timer_settime.c: Likewise.
4276 * setjmp/__longjmp.c: Likewise.
4277 * setjmp/setjmp.c: Likewise.
4278 * signal/kill.c: Likewise.
4279 * signal/killpg.c: Likewise.
4280 * signal/raise.c: Likewise.
4281 * signal/sigaction.c: Likewise.
4282 * signal/sigaltstack.c: Likewise.
4283 * signal/sigblock.c: Likewise.
4284 * signal/sigignore.c: Likewise.
4285 * signal/sigintr.c: Likewise.
4286 * signal/signal.c: Likewise.
4287 * signal/sigpause.c: Likewise.
4288 * signal/sigpending.c: Likewise.
4289 * signal/sigqueue.c: Likewise.
4290 * signal/sigreturn.c: Likewise.
4291 * signal/sigset.c: Likewise.
4292 * signal/sigsetmask.c: Likewise.
4293 * signal/sigstack.c: Likewise.
4294 * signal/sigsuspend.c: Likewise.
4295 * signal/sigtimedwait.c: Likewise.
4296 * signal/sigvec.c: Likewise.
4297 * signal/sigwait.c: Likewise.
4298 * signal/sigwaitinfo.c: Likewise.
4299 * signal/sysv_signal.c: Likewise.
4300 * socket/accept.c: Likewise.
4301 * socket/accept4.c: Likewise.
4302 * socket/bind.c: Likewise.
4303 * socket/connect.c: Likewise.
4304 * socket/getpeername.c: Likewise.
4305 * socket/getsockname.c: Likewise.
4306 * socket/getsockopt.c: Likewise.
4307 * socket/isfdtype.c: Likewise.
4308 * socket/listen.c: Likewise.
4309 * socket/recv.c: Likewise.
4310 * socket/recvfrom.c: Likewise.
4311 * socket/recvmsg.c: Likewise.
4312 * socket/send.c: Likewise.
4313 * socket/sendmsg.c: Likewise.
4314 * socket/sendto.c: Likewise.
4315 * socket/setsockopt.c: Likewise.
4316 * socket/shutdown.c: Likewise.
4317 * socket/sockatmark.c: Likewise.
4318 * socket/socket.c: Likewise.
4319 * socket/socketpair.c: Likewise.
4320 * stdio-common/ctermid.c: Likewise.
4321 * stdio-common/cuserid.c: Likewise.
4322 * stdio-common/remove.c: Likewise.
4323 * stdio-common/rename.c: Likewise.
4324 * stdio-common/renameat.c: Likewise.
4325 * stdio-common/tempname.c: Likewise.
4326 * stdlib/getcontext.c: Likewise.
4327 * stdlib/makecontext.c: Likewise.
4328 * stdlib/setcontext.c: Likewise.
4329 * stdlib/swapcontext.c: Likewise.
4330 * stdlib/system.c: Likewise.
4331 * streams/fattach.c: Likewise.
4332 * streams/fdetach.c: Likewise.
4333 * streams/getmsg.c: Likewise.
4334 * streams/getpmsg.c: Likewise.
4335 * streams/putmsg.c: Likewise.
4336 * streams/putpmsg.c: Likewise.
4337 * sysdeps/unix/bsd/getpt.c: Likewise.
4338 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
4339 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
4340 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
4342 Likewise.
4343 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
4344 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
4345 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4346 * sysvipc/msgctl.c: Likewise.
4347 * sysvipc/msgget.c: Likewise.
4348 * sysvipc/msgrcv.c: Likewise.
4349 * sysvipc/msgsnd.c: Likewise.
4350 * sysvipc/semctl.c: Likewise.
4351 * sysvipc/semget.c: Likewise.
4352 * sysvipc/semop.c: Likewise.
4353 * sysvipc/semtimedop.c: Likewise.
4354 * sysvipc/shmat.c: Likewise.
4355 * sysvipc/shmctl.c: Likewise.
4356 * sysvipc/shmdt.c: Likewise.
4357 * sysvipc/shmget.c: Likewise.
4358 * termios/tcdrain.c: Likewise.
4359 * termios/tcflow.c: Likewise.
4360 * termios/tcflush.c: Likewise.
4361 * termios/tcgetattr.c: Likewise.
4362 * termios/tcgetpgrp.c: Likewise.
4363 * termios/tcsendbrk.c: Likewise.
4364 * termios/tcsetattr.c: Likewise.
4365 * termios/tcsetpgrp.c: Likewise.
4366 * time/adjtime.c: Likewise.
4367 * time/clock.c: Likewise.
4368 * time/getitimer.c: Likewise.
4369 * time/gettimeofday.c: Likewise.
4370 * time/setitimer.c: Likewise.
4371 * time/settimeofday.c: Likewise.
4372 * time/stime.c: Likewise.
4373 * time/time.c: Likewise.
4374
43752012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 4376
a20492cf
PT
4377 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4378 /usr/old/bin.
4379
72e182e3
PT
4380 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
4381 instead of spaces.
4382 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
4383
fbeafede
JM
43842012-11-03 Joseph Myers <joseph@codesourcery.com>
4385
5b5b04d6
JM
4386 [BZ #14796]
4387 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
4388 FE_TONEAREST before applying Dekker multiplication and Knuth
4389 addition. Clear inexact exceptions and check for exact zero
4390 results afterwards.
4391 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4392 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4393 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4394 * math/libm-test.inc (fma_test): Add more tests.
4395 (fma_test_towardzero): Likewise.
4396 (fma_test_downward): Likewise.
4397 (fma_test_upward): Likewise.
4398 * sysdeps/generic/math_private.h (default_libc_fesetround): New
4399 function.
4400 (libc_fesetround): New macro.
4401 (libc_fesetroundf): Likewise.
4402 (libc_fesetroundl): Likewise.
4403 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
4404 function.
4405 (libc_fesetround_387): Likewise.
4406 (libc_fesetroundf): New macro.
4407 (libc_fesetround): Likewise.
4408 (libc_fesetroundl): Likewise.
4409 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
4410 function.
4411 (libc_fesetroundf): New macro.
4412 (libc_fesetround): Likewise.
4413 (libc_fesetroundl): Likewise.
4414 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
4415 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
4416 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
4417 libm_hidden_ver.
4418 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
4419 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
4420 libm_hidden_def.
4421 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
4422 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
4423 libm_hidden_ver.
4424 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
4425 libm_hidden_def.
4426
fbeafede
JM
4427 [BZ #3439]
4428 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
4429 integer constant usable in #if and use that to give value to enum
4430 constant.
4431 (FE_DIVBYZERO): Likewise.
4432 (FE_UNDERFLOW): Likewise.
4433 (FE_OVERFLOW): Likewise.
4434 (FE_INVALID): Likewise.
4435 (FE_INVALID_SNAN): Likewise.
4436 (FE_INVALID_ISI): Likewise.
4437 (FE_INVALID_IDI): Likewise.
4438 (FE_INVALID_ZDZ): Likewise.
4439 (FE_INVALID_IMZ): Likewise.
4440 (FE_INVALID_COMPARE): Likewise.
4441 (FE_INVALID_SOFTWARE): Likewise.
4442 (FE_INVALID_SQRT): Likewise.
4443 (FE_INVALID_INTEGER_CONVERSION): Likewise.
4444 (FE_TONEAREST): Likewise.
4445 (FE_TOWARDZERO): Likewise.
4446 (FE_UPWARD): Likewise.
4447 (FE_DOWNWARD): Likewise.
4448 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
4449 (FE_DIVBYZERO): Likewise.
4450 (FE_OVERFLOW): Likewise.
4451 (FE_UNDERFLOW): Likewise.
4452 (FE_INEXACT): Likewise.
4453 (FE_TONEAREST): Likewise.
4454 (FE_DOWNWARD): Likewise.
4455 (FE_UPWARD): Likewise.
4456 (FE_TOWARDZERO): Likewise.
4457 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
4458 (FE_UNDERFLOW): Likewise.
4459 (FE_OVERFLOW): Likewise.
4460 (FE_DIVBYZERO): Likewise.
4461 (FE_INVALID): Likewise.
4462 (FE_TONEAREST): Likewise.
4463 (FE_TOWARDZERO): Likewise.
4464 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
4465 (FE_OVERFLOW): Likewise.
4466 (FE_UNDERFLOW): Likewise.
4467 (FE_DIVBYZERO): Likewise.
4468 (FE_INEXACT): Likewise.
4469 (FE_TONEAREST): Likewise.
4470 (FE_TOWARDZERO): Likewise.
4471 (FE_UPWARD): Likewise.
4472 (FE_DOWNWARD): Likewise.
4473 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
4474 (FE_DIVBYZERO): Likewise.
4475 (FE_OVERFLOW): Likewise.
4476 (FE_UNDERFLOW): Likewise.
4477 (FE_INEXACT): Likewise.
4478 (FE_TONEAREST): Likewise.
4479 (FE_DOWNWARD): Likewise.
4480 (FE_UPWARD): Likewise.
4481 (FE_TOWARDZERO): Likewise.
4482
105ca950
CM
44832012-11-02 Chris Metcalf <cmetcalf@tilera.com>
4484
4485 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
4486
a542b389
AS
44872012-11-03 Andreas Schwab <schwab@linux-m68k.org>
4488
4489 * scripts/cross-test-ssh.sh (command): Use newlines to separate
4490 commands. Quote $PWD.
4491 (blacklist_exports): Don't use remove_newlines. Replace "declare
4492 -x" by "export".
4493 (remove_newlines): Remove.
4494
f62c8abc
L
44952012-11-02 H.J. Lu <hongjiu.lu@intel.com>
4496
4497 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
4498 * stdlib/stdlib.h (atof): Moved to ...
4499 * include/bits/stdlib-float.h: Here. New file.
4500 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
4501 * stdlib/bits/stdlib-float.h: New file.
4502 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
4503 -mno-sse -mno-mmx.
4504 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
4505 <xmmintrin.h>.
4506
0155d5b2
JM
45072012-11-02 Joseph Myers <joseph@codesourcery.com>
4508
a68d0680
JM
4509 * conform/conformtest.pl (@headers): Add fenv.h.
4510 * conform/data/fenv.h-data: New file.
4511 * include/fenv.h [_ISOMAC]: Disable all contents of file except
4512 include of <math/fenv.h>.
4513
caf7f573
JM
4514 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
4515 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
4516 && !UNIX98]. Enables tests for XOPEN2K8.
4517 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
4518 POSIX2008]: Likewise.
4519
6c073ad6
JM
4520 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
4521 (struct rusage): Do not expect type or its members.
4522
0155d5b2
JM
4523 [BZ #3439]
4524 * math/math.h (FP_NAN): Define macro to integer constant usable in
4525 #if and use that to give value to enum constant.
4526 (FP_INFINITE): Likewise.
4527 (FP_ZERO): Likewise.
4528 (FP_SUBNORMAL): Likewise.
4529 (FP_NORMAL): Likewise.
4530
b5dcacb4
AS
45312012-11-02 Andreas Schwab <schwab@linux-m68k.org>
4532
4533 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
4534 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
4535 arguments.
4536
f7934be8
RM
45372012-11-02 Roland McGrath <roland@hack.frob.com>
4538
4539 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
4540 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
4541 autoconf-time if not.
4542 * configure.in: Remove AC_PREREQ.
4543
d7d08bde
TMQMF
45442012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4545
4546 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
4547 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
4548 of the internal implementation.
4549
dcdae19a
JM
45502012-11-02 Joseph Myers <joseph@codesourcery.com>
4551
4552 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
4553 except include of <misc/sys/syslog.h>.
4554
d6cffd3e
AS
45552012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4556
4557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
4558 function returns with a NULL context exit with zero.
4559
b3563932
TMQMF
45602012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4561
4562 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
4563
b288a93d
L
45642012-11-01 H.J. Lu <hongjiu.lu@intel.com>
4565
4566 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
4567 (run_program_cmd): This.
4568 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
4569 (tst_langinfo): New variable. Use it.
4570
a2421a68
SAS
45712012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
4572
4573 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
4574 floating point opcodes.
4575
6f796e1b
TS
45762012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4577
7402596b
TS
4578 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
4579 variable.
4580
d0d4f868
TS
4581 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
4582
6f796e1b
TS
4583 * sysdeps/mach/hurd/powerpc: Remove directory.
4584 * sysdeps/mach/powerpc: Likewise.
4585
4da224a2
AS
45862012-11-01 Andreas Schwab <schwab@linux-m68k.org>
4587
4588 * scripts/check-local-headers.sh: Ignore c++ headers.
4589
341dd673
TS
45902012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4591
4592 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
4593 __libc_cleanup_region_start argument.
4594
473611b2
JM
45952012-11-01 Joseph Myers <joseph@codesourcery.com>
4596
4597 [BZ #14784]
4598 [BZ #14785]
4599 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
4600 x * y using scaling, not as x * y + z.
4601 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4602 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4603 * math/libm-test.inc (fma_test): Add more tests.
4604 (fma_test_towardzero): Likewise.
4605 (fma_test_downward): Likewise.
4606 (fma_test_upward): Likewise.
4607
4078da3d
TS
46082012-11-01 Thomas Schwinge <thomas@codesourcery.com>
4609
4610 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
4611
903252aa
JM
46122012-10-31 Joseph Myers <joseph@codesourcery.com>
4613
4614 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
4615 New variable.
4616
cbc818d0
TS
46172012-10-31 Thomas Schwinge <thomas@codesourcery.com>
4618
4619 * rt/tst-shm.c (worker): Correct checking for mmap failure.
4620
5a03cb1e
AS
46212012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4622
4623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4624 Fix sort order.
4625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4626 Likewise.
4627
90aff2ff
TMQMF
46282012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4629
4630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4631 Fix the order of the list for glibc 2.17.
4632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4633 Likewise.
4634
1818fcb7
AS
46352012-10-31 Andreas Schwab <schwab@linux-m68k.org>
4636
4637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4638
ef82f4da
JM
46392012-10-31 Joseph Myers <joseph@codesourcery.com>
4640
16a0e2ec
JM
4641 [BZ #14610]
4642 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
4643 for low part of x being zero before using __atanl (y).
4644 * math/libm-test.inc (atan2_test): Add another test.
4645
0eb69512
JM
4646 * manual/install.texi (Configuring and compiling): Document
4647 general use of test-wrapper and test-wrapper-env.
4648 * INSTALL: Regenerated.
4649
ef82f4da
JM
4650 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
4651 (__fma): Do not extract and scale down low bits on after-rounding
4652 systems when result rounded to normal precision would have normal
4653 exponent.
4654 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
4655 (__fmal): Do not extract and scale down low bits on after-rounding
4656 systems when result rounded to normal precision would have normal
4657 exponent.
4658 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
4659 (__fmal): Do not extract and scale down low bits on after-rounding
4660 systems when result rounded to normal precision would have normal
4661 exponent.
4662 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
4663 macro.
4664 (fma_test): Add more tests.
4665 (fma_test_towardzero): Likewise.
4666 (fma_test_downward): Likewise.
4667 (fma_test_upward): Likewise.
4668
954ef0d9
L
46692012-10-30 H.J. Lu <hongjiu.lu@intel.com>
4670
4671 * sysdeps/i386/tininess.h: Renamed to ...
4672 * sysdeps/x86/tininess.h: This.
4673 * sysdeps/x86_64/tininess.h: Removed.
4674
df61ffb2
JM
46752012-10-30 Joseph Myers <joseph@codesourcery.com>
4676
4677 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
4678 input. Use $(build-program-cmd).
4679 ($(objpfx)tst-array1-static.out): Likewise.
4680 ($(objpfx)tst-array2.out): Likewise.
4681 ($(objpfx)tst-array3.out): Likewise.
4682 ($(objpfx)tst-array4.out): Likewise.
4683 ($(objpfx)tst-array5.out): Likewise.
4684 ($(objpfx)tst-array5-static.out): Likewise.
4685
01767843
CM
46862012-10-30 Chris Metcalf <cmetcalf@tilera.com>
4687
47cc1490
CM
4688 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
4689 if defined.
4690
01767843
CM
4691 * nss/nsswitch.h (nss_interface_function): Provide new
4692 macro for use with NSS functions.
4693 * grp/initgroups.c: Use new macro.
4694 * nss/getXXbyYY.c: Likewise.
4695 * nss/getXXbyYY_r.c: Likewise.
4696 * nss/getXXent.c: Likewise.
4697 * nss/getXXent_r.c: Likewise.
4698 * sysdeps/posix/getaddrinfo.c: Likewise.
4699
8321aa97
AJ
47002012-10-30 Andreas Jaeger <aj@suse.de>
4701
4702 * po/ru.po: Update Russion translation from translation project.
4703
2a27fd6d
JM
47042012-10-30 Joseph Myers <joseph@codesourcery.com>
4705
8627a232
JM
4706 [BZ #14152]
4707 [BZ #14783]
4708 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
4709 result and shift together with sticky bit instead of replicating
4710 round-to-nearest rounding.
4711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4712 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4713 * math/libm-test.inc (fma_test): Add more tests. Do not permit
4714 missing underflow exceptions.
4715 (fma_test_towardzero): Add more tests.
4716 (fma_test_downward): Likewise.
4717 (fma_test_upward): Likewise.
4718
2a27fd6d
JM
4719 [BZ #14047]
4720 * sysdeps/generic/tininess.h: New file.
4721 * sysdeps/i386/tininess.h: Likewise.
4722 * sysdeps/sh/tininess.h: Likewise.
4723 * sysdeps/x86_64/tininess.h: Likewise.
4724 * stdlib/tst-strtod-underflow.c: Likewise.
4725 * stdlib/tst-tininess.c: Likewise.
4726 * stdlib/strtod_l.c: Include <tininess.h>.
4727 (round_and_return): Do not set errno for exact underflow cases.
4728 Force an underflow exception when setting errno for underflow.
4729 Determine underflow based on rounding to normal precision if
4730 TININESS_AFTER_ROUNDING.
4731 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
4732 ERANGE for exact underflow cases.
4733 * stdlib/Makefile (tests): Add tst-tininess and
4734 tst-strtod-underflow.
4735 ($(objpfx)tst-tininess): Use $(link-libm).
4736 ($(objpfx)tst-strtod-underflow): Likewise.
4737
e7170363
AJ
47382012-10-30 Andreas Jaeger <aj@suse.de>
4739
e5088dc6
AJ
4740 [BZ#14767]
4741 * elf/Makefile (tests): Remove conditional for have-initfini-array
4742 since this is now always required and the variable does not exist
4743 anymore.
4744 (tests-static): Likewise.
4745 (modules-names): Likewise.
4746
e7170363 4747 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
4748
4749 * elf/tst-array1.c (fini_array): Make writeable so that it can be
4750 merged with constructor/destructor.
4751 (init_array): Likewise.
4752 * elf/tst-array2dep.c (fini_array): Likewise.
4753 (init_array): Likewise.
4754
60457d8a
MF
47552012-10-29 Mike Frysinger <vapier@gentoo.org>
4756
4757 * manual/message.texi: Delete @cartouche tags.
4758
8bece752
PT
47592012-10-29 Pino Toscano <toscano.pino@tiscali.it>
4760
94ce799f
PT
4761 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
4762 EOPNOTSUPP.
4763 * sysdeps/mach/hurd/fsync.c: Likewise.
4764
8bece752
PT
4765 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
4766 [_POSIX_REALTIME_SIGNALS]: Change condition to
4767 [_POSIX_REALTIME_SIGNALS > 0].
4768
86ebe6b1
AJ
47692012-10-27 Andreas Jaeger <aj@suse.de>
4770
4771 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
4772 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
4773 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
4774 [__WORDSIZE != 64]: Likewise.
4775
54399c08
L
47762012-10-26 H.J. Lu <hongjiu.lu@intel.com>
4777
4778 * iconvdata/tst-table.sh: Remove ${SHELL}.
4779 * iconvdata/tst-tables.sh: Likewise.
4780
e2211bed
DM
47812012-10-25 David S. Miller <davem@davemloft.net>
4782
4783 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4784 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
4785 of strtoull.
4786
f303f97c
DM
4787 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
4788 ifunc-impl-list.c
4789 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4790 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
4791 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
4792 file.
4793
1e9d84cd
RM
47942012-10-25 Roland McGrath <roland@hack.frob.com>
4795
4796 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4797 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
4798 __getdirentries.
4799
df381762
JM
48002012-10-25 Joseph Myers <joseph@codesourcery.com>
4801 Jim Blandy <jimb@codesourcery.com>
4802
4803 * scripts/cross-test-ssh.sh: New file.
4804 * manual/install.texi (Configuring and compiling): Document use of
4805 cross-test-ssh.sh.
4806 * INSTALL: Regenerated.
4807
bff64913
PT
48082012-10-25 Pino Toscano <toscano.pino@tiscali.it>
4809
4810 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
4811 EOPNOTSUPP.
4812
25fe8932
JM
48132012-10-25 Joseph Myers <joseph@codesourcery.com>
4814
4815 * Makeconfig (run-program-prefix): Fix comment.
4816
cc1290d0
JM
48172012-10-24 Joseph Myers <joseph@codesourcery.com>
4818 Jim Blandy <jimb@codesourcery.com>
4819
4820 * Makeconfig (test-wrapper): New variable,
4821 (test-wrapper-env): Likewise.
4822 [$(cross-compiling) = yes && $(test-wrapper) != ""]
4823 (run-built-tests): Define to yes.
4824 (run-program-prefix): Use $(test-wrapper).
4825 (built-program-cmd): Likewise.
4826 * Rules (make-test-out): Use $(test-wrapper-env) and
4827 $(host-built-program-cmd).
4828 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
4829 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
4830 tst-pathopt.sh.
4831 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
4832 $(test-wrapper-env) to tst-rtld-load-self.sh.
4833 ($(objpfx)order2.out): Use $(test-wrapper).
4834 ($(objpfx)tst-initorder.out): Likewise.
4835 ($(objpfx)tst-initorder2.out): Likewise.
4836 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
4837 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
4838 (test_wrapper_env): New variable. Use it to run ld.so.
4839 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
4840 Use it to run ld.so.
4841 (test_wrapper_env): Likewise.
4842 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
4843 $(test-wrapper) to run-iconv-test.sh.
4844 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
4845 (ICONV): Use $test_wrapper.
4846 * posix/Makefile ($(objpfx)globtest.out): Pass
4847 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
4848 globtest.sh, not $(run-program-prefix).
4849 * posix/globtest.sh (run_via_rtld_prefix): New variable.
4850 (test_wrapper): Likewise.
4851 (test_wrapper_env): Likewise. Use it to run globtest with HOME
4852 set together with run_via_rtld_prefix.
4853 (run_program_prefix): Define in terms of test_wrapper and
4854 run_via_rtld_prefix.
4855
6e6249d0
RM
48562012-10-24 Roland McGrath <roland@hack.frob.com>
4857
4858 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
4859 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
4860 Targets removed.
4861
4862 [BZ #14743]
4863 * include/time.h: Remove librt_hidden_proto (clock_gettime).
4864 Declare __clock_getres, __clock_gettime, __clock_settime,
4865 __clock_nanosleep, and __clock_getcpuclockid.
4866 * rt/clock_gettime.c: Define __clock_gettime as an alias.
4867 Remove librt_hidden_def (clock_gettime).
4868 * sysdeps/unix/clock_gettime.c: Likewise.
4869 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
4870 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4871 * rt/clock_getres.c: Define __clock_getres as an alias.
4872 * sysdeps/posix/clock_getres.c: Likewise.
4873 * rt/clock_settime.c: Define __clock_settime as an alias.
4874 * sysdeps/unix/clock_settime.c: Likewise.
4875 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
4876 * sysdeps/unix/clock_nanosleep.c: Likewise.
4877 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4878 * rt/clock-compat.c: New file.
4879 * rt/Makefile (librt-routines): Add clock-compat and move
4880 $(clock-routines) to ...
4881 (routines): ... here, new variable.
4882 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
4883 Don't add get_clockfreq here.
4884 * rt/Versions (libc: GLIBC_2.17): New version set.
4885 Add clock_* symbols here.
4886 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4887 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4888 (GLIBC_2.17): Add clock_* symbols.
4889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4891 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4893 Likewise.
4894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4895 Likewise.
4896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4900 * NEWS: Mention the move.
4901
4902 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4903 Use __open, __read, __close rather than their public counterparts.
4904 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4905 (__get_clockfreq_via_cpuinfo): Likewise.
4906 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4907 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4908
4909 * config.h.in (HAVE_IFUNC): New #undef.
4910 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4911 was successful.
4912 * configure: Regenerated.
4913
0cae3f4b
MF
49142012-10-24 Mike Frysinger <vapier@gentoo.org>
4915
4916 * configure.in: Move READELF check to start of file.
4917 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4918 libc_cv_asm_gnu_indirect_function in the process.
4919 * configure: Regenerated.
4920
8175a253
MF
49212012-10-24 Mike Frysinger <vapier@gentoo.org>
4922
4923 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4924 send the output to /dev/null.
4925 (libc_cv_cc_with_libunwind): Likewise.
4926 (libc_cv_as_noexecstack): Likewise.
4927 * configure: Regenerate.
4928
0708a7d1
JM
49292012-10-24 Joseph Myers <joseph@codesourcery.com>
4930
10b40d85
JM
4931 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4932
0708a7d1
JM
4933 * posix/globtest.sh (TMPDIR): Do not set.
4934 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4935 (testout): Likewise.
4936
9fddec1a
AJ
49372012-10-24 Andreas Jaeger <aj@suse.de>
4938
3a8db22f
AJ
4939 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4940 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4941 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4942 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4943 posix_fadvise64, posix_fallocate64.
4944
9fddec1a
AJ
4945 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4946 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4947 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4948 Likewise.
4949 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4950 Likewise.
4951 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4952
4953 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4954 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4955 <bits/fcntl-linux.h>.
4956 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4957
4958 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4959 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4960 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4961 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4962 [__WORDSIZE != 64]: Likewise.
4963
ebfd1bbd
JM
49642012-10-23 Joseph Myers <joseph@codesourcery.com>
4965
03ac099f
JM
4966 * Makeconfig (run-built-tests): New variable.
4967 * Rules [$(cross-compiling) = yes]: Change condition to
4968 [$(run-built-tests) = no].
4969 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4970 to [$(run-built-tests) = yes].
4971 * elf/Makefile [$(cross-compiling) = no]: Likewise
4972 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4973 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4974 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4975 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4976 * io/Makefile [$(cross-compiling) = no]: Likewise.
4977 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4978 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4979 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4980 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4981 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4982 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4983 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4984 * string/Makefile [$(cross-compiling) = no]: Likewise.
4985
ebfd1bbd
JM
4986 * posix/Makefile ($(objpfx)globtest.out): Pass
4987 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4988 $(rtld-installed-name).
4989 * posix/globtest.sh (elf_objpfx): Remove variable.
4990 (rtld_installed_name): Likewise.
4991 (library_path): Likewise.
4992 (run_program_prefix): New variable. Use for running globtest
4993 binary.
4994
166bca24
JB
49952012-10-23 Jim Blandy <jimb@codesourcery.com>
4996 Joseph Myers <joseph@codesourcery.com>
4997
4998 * Makeconfig (host-built-program-cmd): New variable.
4999 * elf/Makefile (tst-stackguard1-ARGS): Use
5000 $(host-built-program-cmd).
5001 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
5002 (tst-spawn-ARGS): Likewise.
5003 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
5004
88866099
JM
50052012-10-23 Joseph Myers <joseph@codesourcery.com>
5006 Jim Blandy <jimb@codesourcery.com>
5007
5008 * Makeconfig (run-via-rtld-prefix): New variable.
5009 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
5010 (built-program-cmd): Likewise.
5011
b4b4c296
AJ
50122012-10-22 Andreas Jaeger <aj@suse.de>
5013
5014 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
5015 __O_RSYNC if it exists, otherwise to O_SYNC.
5016
6fb54a22
JB
50172012-10-22 Jim Blandy <jimb@codesourcery.com>
5018 Joseph Myers <joseph@codesourcery.com>
5019
5020 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
5021 /dev/null.
5022 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
5023 from /dev/null
5024 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
5025 /dev/null.
5026
481b90b9
AJ
50272012-10-22 Andreas Jaeger <aj@suse.de>
5028
2a0e2669
AJ
5029 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
5030 Define always.
5031 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
5032
76e38f9a
AJ
5033 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5034 bits/fcntl-linux.h.
5035
7cd37b43
AJ
5036 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
5037 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
5038
481b90b9
AJ
5039 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
5040 to __O_LARGEFILE.
5041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
5042 to __O_LARGEFILE.
5043
aba75984
JB
50442012-10-21 Jim Blandy <jimb@codesourcery.com>
5045 Joseph Myers <joseph@codesourcery.com>
5046
5047 * config.make.in (NM): New variable.
5048
88d4247f
AJ
50492012-10-21 Andreas Jaeger <aj@suse.de>
5050
5051 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
5052 definitions and declarations that are provided by
5053 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5054
f2eed205
L
50552012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5056
5057 [BZ #14683]
5058 * elf/Makefile (tests-static): Add tst-leaks1-static.
5059 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
5060 ($(objpfx)tst-leaks1-static): New rule.
5061 ($(objpfx)tst-leaks1-static-mem): Likewise.
5062 (tst-leaks1-static-ENV): New macro.
5063 * elf/dl-open.c (dl_open_worker): Check the main application
5064 only if SHARED is defined.
5065 * elf/tst-leaks1-static.c: New file.
5066
335e6931
AJ
50672012-10-20 Andreas Jaeger <aj@suse.de>
5068
5069 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
5070 generic values for Linux.
5071 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
5072 and declarations that are provided by <bits/fcntl-linux.h> and
5073 include <bits/fcntl-linux.h>.
5074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5075 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5076
ac5c94d3
RM
50772012-10-20 Roland McGrath <roland@hack.frob.com>
5078
5079 * io/fcntl.h: Move include of <bits/types.h> to the top and
5080 include it unconditionally.
5081
de54b33a
L
50822012-10-20 H.J. Lu <hongjiu.lu@intel.com>
5083
228cfb01
L
5084 * wcsmbs/Makefile (tests-ifunc): New variable.
5085 (tests): Add $(tests-ifunc).
5086 * wcsmbs/test-wcschr-ifunc.c: New file.
5087 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5088 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5089 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5090 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5091 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5092
69f07e5f
L
5093 * string/Makefile (tests-ifunc): New variable.
5094 (tests): Add $(tests-ifunc).
5095 * string/test-memccpy.c (TEST_NAME): New macro.
5096 * string/test-memchr.c (TEST_NAME): Likewise.
5097 * string/test-memcmp.c (TEST_NAME): Likewise.
5098 * string/test-memcpy.c (TEST_NAME): Likewise.
5099 * string/test-memmem.c (TEST_NAME): Likewise.
5100 * string/test-memmove.c (TEST_NAME): Likewise.
5101 * string/test-memset.c (TEST_NAME): Likewise.
5102 * string/test-rawmemchr.c (TEST_NAME): Likewise.
5103 * string/test-stpcpy.c (TEST_NAME): Likewise.
5104 * string/test-stpncpy.c (TEST_NAME): Likewise.
5105 * string/test-strcasecmp.c (TEST_NAME): Likewise.
5106 * string/test-strcasestr.c (TEST_NAME): Likewise.
5107 * string/test-strcat.c (TEST_NAME): Likewise.
5108 * string/test-strchr.c (TEST_NAME): Likewise.
5109 * string/test-strcmp.c(TEST_NAME): Likewise.
5110 * string/test-strcpy.c (TEST_NAME): Likewise.
5111 * string/test-strcspn.c (TEST_NAME): Likewise.
5112 * string/test-strlen.c (TEST_NAME): Likewise.
5113 * string/test-strncasecmp.c (TEST_NAME): Likewise.
5114 * string/test-strncmp.c (TEST_NAME): Likewise.
5115 * string/test-strncpy.c (TEST_NAME): Likewise.
5116 * string/test-strnlen.c (TEST_NAME): Likewise.
5117 * string/test-strpbrk.c (TEST_NAME): Likewise.
5118 * string/test-strrchr.c (TEST_NAME): Likewise.
5119 * string/test-strspn.c (TEST_NAME): Likewise.
5120 * string/test-strstr.c (TEST_NAME): Likewise.
5121 * string/test-bcopy-ifunc.c: New file.
5122 * string/test-bzero-ifunc.c: Likewise.
5123 * string/test-memccpy-ifunc.c: Likewise.
5124 * string/test-memchr-ifunc.c: Likewise.
5125 * string/test-memcmp-ifunc.c: Likewise.
5126 * string/test-memcpy-ifunc.c: Likewise.
5127 * string/test-memmem-ifunc.c: Likewise.
5128 * string/test-memmove-ifunc.c: Likewise.
5129 * string/test-mempcpy-ifunc.c: Likewise.
5130 * string/test-memset-ifunc.c: Likewise.
5131 * string/test-rawmemchr-ifunc.c: Likewise.
5132 * string/test-stpcpy-ifunc.c: Likewise.
5133 * string/test-stpncpy-ifunc.c: Likewise.
5134 * string/test-strcasecmp-ifunc.c: Likewise.
5135 * string/test-strcasestr-ifunc.c: Likewise.
5136 * string/test-strcat-ifunc.c: Likewise.
5137 * string/test-strchr-ifunc.c: Likewise.
5138 * string/test-strchrnul-ifunc.c: Likewise.
5139 * string/test-strcmp-ifunc.c: Likewise.
5140 * string/test-strcpy-ifunc.c: Likewise.
5141 * string/test-strcspn-ifunc.c: Likewise.
5142 * string/test-strlen-ifunc.c: Likewise.
5143 * string/test-strncasecmp-ifunc.c: Likewise.
5144 * string/test-strncat-ifunc.c: Likewise.
5145 * string/test-strncmp-ifunc.c: Likewise.
5146 * string/test-strncpy-ifunc.c: Likewise.
5147 * string/test-strnlen-ifunc.c: Likewise.
5148 * string/test-strpbrk-ifunc.c: Likewise.
5149 * string/test-strrchr-ifunc.c: Likewise.
5150 * string/test-strspn-ifunc.c: Likewise.
5151 * string/test-strstr-ifunc.c: Likewise.
5152
de54b33a
L
5153 * debug/Makefile (tests-ifunc): New variable.
5154 (tests): Add $(tests-ifunc).
5155 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
5156 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
5157 * debug/test-stpcpy_chk-ifunc.c: New file.
5158 * debug/test-strcpy_chk-ifunc.c: Likewise.
5159
88481c16
SP
51602012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5161
5162 [BZ #13601]
5163 * elf/dl-load.c (open_verify): Retry read if the entire ELF
5164 header is not read in.
5165
135948bd
JM
51662012-10-19 Joseph Myers <joseph@codesourcery.com>
5167
89f1c388
JM
5168 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
5169 script to $(SHELL) as $<. Pass $(common-objpfx) to script
5170 directly. Pass built executable to script as
5171 $(built-program-cmd).
5172 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
5173 $testprogram without using LD_LIBRARY_PATH and $ldso.
5174
e40a0d21
JM
5175 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
5176 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
5177 $(rtld-installed-name).
5178 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
5179 (rtld_installed_name): Likewise.
5180 (library_path): Likewise.
5181 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
5182 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
5183 $(run-program-prefix) to tst-tables.sh.
5184 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
5185 it to run tst-table-from and tst-table-to.
5186 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
5187 Pass it to tst-table.sh.
5188 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
5189 $(run-program-prefix) to tst-gettext.sh.
5190 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
5191 tst-translit.sh.
5192 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
5193 tst-gettext2.sh.
5194 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
5195 to run tst-gettext.
5196 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
5197 to run tst-gettext2.
5198 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
5199 to run tst-translit.
5200 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
5201 $(run-program-prefix) to tst-mtrace.sh.
5202 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
5203 to run tst-mtrace.
5204 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
5205 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
5206 $(rtld-installed-name).
5207 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
5208 (rtld_installed_name): Likewise.
5209 (run_program_prefix): New variable. Use it to run wordexp-test.
5210
728e272a
JM
5211 * Makeconfig (ARCH): Remove all definitions.
5212 (machine): Likewise.
5213 [ARCH]: Remove conditional code.
5214 [!objdir]: Give error.
5215 [!objdir] (objpfx): Remove.
5216 [!objdir] (common-objpfx): Likewise.
5217 [!objdir] (common-objdir): Likewise.
5218 * configure.in (config_makefile): Remove. Hardcode Makefile in
5219 AC_CONFIG_FILES call.
5220 * configure: Regenerated.
5221
d528cdcf
JM
5222 [BZ #13888]
5223 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
5224 or TMPDIR.
5225 (testout): Likewise.
5226
135948bd
JM
5227 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
5228 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
5229 $(rtld-installed-name).
5230 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
5231 (rtld_installed_name): Likwise.
5232 (runit): Remove function.
5233 (run_getconf): New variable, Use it for running getconf binary.
5234
38c78296
L
52352012-10-18 H.J. Lu <hongjiu.lu@intel.com>
5236
5237 [BZ #14716]
5238 * string/test-memmem.c (check_result): New function.
5239 (do_one_test): Use it.
5240 (check1): New function.
5241 (test_main): Use it.
5242
d077f65f
MT
52432012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
5244
5245 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
5246
ced52c71
JM
52472012-10-18 Joseph Myers <joseph@codesourcery.com>
5248
5249 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
5250 (_G_LSEEK64): Likewise.
5251 (_G_MMAP64): Likewise.
5252 (_G_FSTAT64): Likewise.
5253 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
5254 (_G_LSEEK64): Likewise.
5255 (_G_MMAP64): Likewise.
5256 (_G_FSTAT64): Likewise.
5257 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
5258 unconditional. Call __mmap64 directly.
5259 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
5260 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
5261 __lseek64 directly.
5262 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
5263 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
5264 __mmap64 directly.
5265 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
5266 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
5267 __lseek64 directly.
5268 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
5269 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
5270 __lseek64 directly.
5271 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
5272 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
5273 __lseek64 directly.
5274 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
5275 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
5276 __fxstat64 directly.
5277 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
5278 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
5279 unconditional.
5280 (freopen64) [!_G_OPEN64]: Remove conditional code.
5281 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
5282 unconditional.
5283 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
5284 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
5285 unconditional.
5286 (ftello64) [!_G_LSEEK64]: Remove conditional code.
5287 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
5288 unconditional.
5289 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5290 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
5291 unconditional.
5292 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
5293 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
5294 unconditional.
5295 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5296 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
5297 unconditional.
5298 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
5299 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
5300 unconditional.
5301 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
5302
b741de23
SP
53032012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5304
5305 [BZ #12140]
5306 * manual/memory.texi (Malloc Tunable Parameters): Add note
5307 about free list pointers overwriting some perturb bytes.
5308 Wording suggested by Roland McGrath.
5309
f9b9d9c9
JM
53102012-10-17 Joseph Myers <joseph@codesourcery.com>
5311
5312 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
5313 (lgamma_test): Likewise.
5314 (tgamma_test): Likewise.
5315
172a631a
FW
53162012-10-16 Florian Weimer <fweimer@redhat.com>
5317
5318 [BZ #14700]
5319 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
5320 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
5321
e9f37252
MK
53222012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
5323
5324 * NEWS: Mention BZ #14716.
5325 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5326 when removing AVAILABLE1_USES_J macro.
5327
d394eb74
L
53282012-10-12 H.J. Lu <hongjiu.lu@intel.com>
5329
5330 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
5331 (__bswap_64): __uint64_t for unsigned 64-bit int.
5332
ca38dc17
AS
53332012-10-12 Andreas Schwab <schwab@linux-m68k.org>
5334
5335 * include/string.h (memmem): Declare libc hidden alias.
5336 * string/memmem.c (memmem): Define libc hidden alias.
5337 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
5338 __read, __close instead of open, read, close.
5339
9a387d1f
L
53402012-10-11 H.J. Lu <hongjiu.lu@intel.com>
5341
ac49ecaf
L
5342 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
5343 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5344 global and hidden.
5345 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
5346 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
5347 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
5348 Likewise.
5349 (__rawmemchr_sse2): Likewise.
5350 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
5351 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
5352 (__strchr_sse2): Likewise.
5353 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
5354 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
5355 (__strcasecmp_sse2): Likewise.
5356 (__strncasecmp_sse2): Likewise.
5357 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
5358 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
5359 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
5360 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
5361 (__strrchr_sse2): Likewise.
5362 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
5363 ifunc-impl-list.c.
5364 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5365 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5366 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5367 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5368 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5369 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5370 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5371 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5372 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
5373 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
5374 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
5375 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
5376 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
5377 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5378 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5379 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5380 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5381 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5382 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
5383 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
5384 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
5385 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
5386 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
5387 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5388 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
5389 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5390 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5391 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5392 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5393 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5394
b090e8ea
L
5395 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
5396 global and hidden.
5397 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
5398 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
5399 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
5400 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
5401 Likewise.
5402 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
5403 Likewise.
5404 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
5405 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
5406 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
5407 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
5408 ifunc-impl-list.c.
5409 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5410 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5411 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5412 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5413 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5414 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5415 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5416 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5417 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5418 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5419 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5420 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5421 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5422 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
5423 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
5424 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5425 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
5426 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
5427 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5428 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5429 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5430 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5431 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5432 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5433 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5434 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
5435 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
5436 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
5437 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
5438 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5439 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
5440 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5441 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5442 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
5443 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5444 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5445 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5446 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5447 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5448 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5449 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
5450
11dd4af6
L
5451 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
5452 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
5453 * include/ifunc-impl-list.h: New file.
5454 * misc/ifunc-impl-list.c: Likewise.
5455 * misc/Makefile (routines): Add ifunc-impl-list.
5456 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
5457 * string/test-string.h: Include <ifunc-impl-list.h>.
5458 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
5459 impl_array): New variables.
5460 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
5461 are defined.
5462 (test_init): Call __libc_ifunc_impl_list to initialize
5463 func_list if TEST_IFUNC and TEST_NAME are defined.
5464
9a387d1f
L
5465 * string/Makefile (strop-tests): Add bcopy and bzero.
5466 * string/test-bcopy.c: New file.
5467 * string/test-bzero.c: Likewise.
5468 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
5469 defined.
5470 * string/test-memset.c: Support bzero test if TEST_BZERO is
5471 defined.
5472 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
5473 __libc_memmove.
5474 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
5475 __libc_memset.
5476 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
5477 of memset.
5478
472371b9
JM
54792012-10-10 Joseph Myers <joseph@codesourcery.com>
5480
1e4a9536
JM
5481 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
5482 * configure: Regenerated.
5483
d173d12e
JM
5484 * Makeconfig (+link-static-before-libc): Don't include
5485 $(link-static-libc).
5486
472371b9
JM
5487 * libio/libio.h (_IO_pos_t): Remove.
5488
89a3ad0b
AO
54892012-10-10 Alexandre Oliva <aoliva@redhat.com>
5490
5491 * NEWS: Add note about FIPS mode. Wording suggested by Roland
5492 McGrath.
5493
e7451425
AO
54942012-10-10 Alexandre Oliva <aoliva@redhat.com>
5495
5496 * crypt/crypt-entry.c: Include fips-private.h.
5497 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
5498 * crypt/md5c-test.c (main): Tolerate disabled MD5.
5499 * sysdeps/unix/sysv/linux/fips-private.h: New file.
5500 * sysdeps/generic/fips-private.h: New file, dummy fallback.
5501
4ba74a35
AO
55022012-10-10 Alexandre Oliva <aoliva@redhat.com>
5503
5504 * crypt/crypt-private.h: Include stdbool.h.
5505 (_ufc_setup_salt_r): Return bool.
5506 * crypt/crypt-entry.c: Include errno.h.
5507 (__crypt_r): Return NULL with EINVAL for bad salt.
5508 * crypt/crypt_util.c (bad_for_salt): New.
5509 (_ufc_setup_salt_r): Check that salt is long enough and within
5510 the specified alphabet.
5511 * crypt/badsalttest.c: New file.
5512 * crypt/Makefile (tests): Add it.
5513 ($(objpfx)badsalttest): New.
5514
f96f1242
MK
55152012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
5516
5517 * NEWS: Add entry for BZ #14602.
5518
0e8e0c1c
JM
55192012-10-09 Joseph Myers <joseph@codesourcery.com>
5520
5521 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
5522 type-generic.
5523 * math/libm-test.inc: Update comment listing what functions and
5524 macros are tested.
5525 (isgreater_test): New function.
5526 (isgreaterequal_test): Likewise.
5527 (isless_test): Likewise.
5528 (islessequal_test): Likewise.
5529 (islessgreater_test): Likewise.
5530 (isunordered_test): Likewise.
5531 (main): Call the new functions.
5532
273edc5e
RM
55332012-10-09 Roland McGrath <roland@hack.frob.com>
5534
b8493de0
RM
5535 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
5536 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
5537 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
5538 * sysdeps/i386/configure: Regenerated.
5539 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
5540 * sysdeps/mach/configure: Regenerated.
5541 * sysdeps/mach/hurd/configure: Regenerated.
5542 * sysdeps/powerpc/configure: Regenerated.
5543 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5544 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5545 * sysdeps/s390/s390-32/configure: Regenerated.
5546 * sysdeps/s390/s390-64/configure: Regenerated.
5547 * sysdeps/sh/configure: Regenerated.
5548 * sysdeps/sparc/configure: Regenerated.
5549 * sysdeps/unix/sysv/linux/configure: Regenerated.
5550 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5551 * sysdeps/x86_64/configure: Regenerated.
5552
273edc5e
RM
5553 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
5554 defined. Don't check if MAP is NULL.
5555
c8450f70
JM
55562012-10-09 Joseph Myers <joseph@codesourcery.com>
5557
5558 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
5559 (_G_stat64): Likewise.
5560 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
5561 (_G_stat64): Likewise.
5562 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
5563 instead of struct _G_stat64.
5564 * libio/fileops.c (mmap_remap_check): Likewise.
5565 (decide_maybe_mmap): Likewise.
5566 (_IO_new_file_seekoff): Likewise.
5567 (_IO_file_stat): Likewise.
5568 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
5569 _G_off64_t.
5570 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
5571 instead of struct _G_stat64.
5572 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5573
57e605ba
MK
55742012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
5575
5576 [BZ #14602]
5577 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5578 Replace with ...
5579 (CHECK_EOL): New macro.
5580 (two_way_short_needle): Check beginning of haystack for EOL. Use
5581 CHECK_EOL.
5582 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5583 Replace with CHECK_EOL.
5584 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
5585 Replace with CHECK_EOL.
5586
ef1bb361
JM
55872012-10-08 Joseph Myers <joseph@codesourcery.com>
5588
5589 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
5590 type-generic.
5591 * math/libm-test.inc: Update comment listing what functions and
5592 macros are tested.
5593 (finite_test): New function.
5594 (isinf_test): Likewise.
5595 (isnan_test): Likewise.
5596 (fpclassify_test): Test subnormal input.
5597 (isfinite_test): Likewise.
5598 (isnormal_test): Likewise.
5599 (main): Call the new functions.
5600
55f11534
JN
56012012-10-08 Jonathan Nieder <jrnieder@gmail.com>
5602
5603 [BZ #14660]
5604 * Makerules (%.dynsym): Force C locale when running
5605 $(OBJDUMP) --dynamic-syms.
5606
1ab29350
AS
56072012-10-08 Andreas Schwab <schwab@linux-m68k.org>
5608
5609 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
5610 <stdint.h>.
5611
f1ecb7ef
DM
56122012-10-06 David S. Miller <davem@davemloft.net>
5613
5614 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
5615 upper 32-bits of the length value in %o2 since we use branch-on-register
5616 tests which consider the entire 64-bit register.
5617
5d41d91a
L
56182012-10-06 H.J. Lu <hongjiu.lu@intel.com>
5619
5620 * string/test-strstr.c (check2): Add a test for page boundary.
5621
3baddb72
DM
56222012-10-05 David S. Miller <davem@davemloft.net>
5623
5624 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
5625 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
5626 file.
5627 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5628 sysdep_routines.
5629 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5630 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
5631 and bzero when HWCAP_SPARC_CRYPTO is present.
5632
9cee5585
L
56332012-10-05 H.J. Lu <hongjiu.lu@intel.com>
5634
d7e0dab9
L
5635 [BZ #14602]
5636 * string/test-strstr.c (check2): New function.
5637 (test_main): Call check2.
5638
03759f47
L
5639 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
5640 and bug-strchr1.
5641 * string/bug-strcasestr1.c (do_test): Moved to ...
5642 * string/test-strcasestr.c (check1): Here. New function.
5643 (do_one_test): Break out result checking code into ...
5644 (check_result): This. New function.
5645 (do_one_test): Call check_result.
5646 (test_main): Call check1.
5647 * string/bug-strchr1.c (do_test): Moved to ...
5648 * string/test-strchr.c (check1): Here. New function.
5649 (do_one_test): Break out result checking code into ...
5650 (check_result): This. New function.
5651 (do_one_test): Call check_result.
5652 (test_main): Call check1.
5653 * string/bug-strstr1.c (main): Moved to ...
046f153e 5654 * string/test-strstr.c (check1): Here. New function.
03759f47
L
5655 (do_one_test): Break out result checking code into ...
5656 (check_result): This. New function.
5657 (do_one_test): Call check_result.
5658 (test_main): Call check1.
5659 * string/bug-strcasestr1.c: Removed.
5660 * string/bug-strchr1.c: Likewise.
5661 * string/bug-strstr1.c: Likewise.
5662
53cea63e
L
5663 * elf/Makefile (dl-routines): Add hwcaps.
5664 * elf/dl-support.c (_dl_important_hwcaps): Removed.
5665 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
5666 (_dl_important_hwcaps): Moved to ...
5667 * elf/dl-hwcaps.c: Here. New file.
5668 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
5669
9cee5585 5670 [BZ #14557]
bb859b06
L
5671 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
5672 if IS_IN_rtld isn't defined.
5673
9cee5585
L
5674 * elf/dl-support.c (_dl_sysinfo_map): New.
5675 Include "get-dynamic-info.h" and "setup-vdso.h".
5676 (_dl_non_dynamic_init): Call setup_vdso.
5677 * elf/dynamic-link.h: Don't include <assert.h>.
5678 (elf_get_dynamic_info): Moved to ...
5679 * elf/get-dynamic-info.h: Here. New file.
5680 * elf/dynamic-link.h: Include "get-dynamic-info.h".
5681 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
5682 * elf/setup-vdso.h: Here. New file.
5683 * elf/rtld.c: Include "setup-vdso.h".
5684 (dl_main): Call setup_vdso.
5685
23c31b76
JM
56862012-10-05 Joseph Myers <joseph@codesourcery.com>
5687
28234b07
JM
5688 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
5689 creal in comment listing functions tested. List finite, isinf,
5690 isnan, isless, islessequal, isgreater, isgreaterequal,
5691 islessgreater, isunordered, lgamma_r and pow10 as functions and
5692 macros not tested. Mention which functions not tested are aliases
5693 for other functions. Fix typo. Note that signs of NaNs are not
5694 tested.
5695
23c31b76
JM
5696 * scripts/config.guess: Update from config.git.
5697 * scripts/config.sub: Likewise.
5698
9043e228
RM
56992012-10-04 Roland McGrath <roland@hack.frob.com>
5700
5701 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
5702 * misc/madvise.c (madvise): Renamed to __madvise.
5703 Make madvise a weak alias.
5704 * include/sys/mman.h: Declare __madvise.
5705 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
5706 * sysdeps/unix/syscalls.list
5707 (madvise): Make __madvise the strong name, and madvise a weak alias.
5708 * sysdeps/unix/sysv/linux/syscalls.list
5709 (madvise, mmap): Remove redundant entries.
5710 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
5711 * malloc/malloc.c (mtrim): Likewise.
5712 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
5713
f57f8055
RM
57142012-10-03 Roland McGrath <roland@hack.frob.com>
5715
5716 * sysdeps/mach/hurd/dl-cache.c: File removed.
5717 * config.h.in (USE_LDCONFIG): New #undef.
5718 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
5719 * configure: Regenerated.
5720 * elf/Makefile (dl-routines): Add dl-cache only under
5721 [$(use-ldconfig) = yes].
5722 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
5723 cache on [USE_LDCONFIG].
5724 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
5725 [USE_LDCONFIG].
5726 * elf/rtld.c (dl_main): Likewise.
5727
5bb0c10a
PT
57282012-10-03 Pino Toscano <toscano.pino@tiscali.it>
5729
5730 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
5731 _SC_LEVEL4_CACHE_LINESIZE.
5732
010188c6
RM
57332012-10-03 Roland McGrath <roland@hack.frob.com>
5734
5735 * sysdeps/unix/bsd/confstr.h: File removed.
5736
b6c5ec07
AO
57372012-10-02 Alexandre Oliva <aoliva@redhat.com>
5738
5739 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
5740 sys/sdt-config.h.
5741
408223d4
RM
57422012-10-02 Roland McGrath <roland@hack.frob.com>
5743
5744 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
5745 Make 'mapoff' field ElfW(Off) rather than off_t.
5746
bb9510dc
DL
57472012-10-02 Dmitry V. Levin <ldv@altlinux.org>
5748
fc997c6e
DL
5749 * nscd/Makefile: Remove nscd-cflags and all its users.
5750 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
5751 (CFLAGS-nonlib): Add compiler flags for nscd modules.
5752
bb9510dc
DL
5753 [BZ #10631]
5754 * malloc.c (malloc_printerr): Clarify error message.
5755
05699367
L
57562012-10-02 H.J. Lu <hongjiu.lu@intel.com>
5757
5758 [BZ #14648]
5759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5760 Set bit_FMA_Usable if FMA is supported.
5761 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
5762 macro.
5763 (bit_FMA4_Usable): Updated.
5764 (index_FMA_Usable): New macro.
5765 (CPUID_FMA): Likewise
5766 (HAS_FMA): Defined with bit_FMA_Usable.
5767
51367701
RM
57682012-10-01 Roland McGrath <roland@hack.frob.com>
5769
5770 * bits/types.h (__swblk_t): Type removed.
5771 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
5772 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
5773 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5774 (__SWBLK_T_TYPE): Likewise.
5775 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5776 (__SWBLK_T_TYPE): Likewise.
5777 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5778 (__SWBLK_T_TYPE): Likewise.
5779 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5780 (__SWBLK_T_TYPE): Likewise.
5781
4d57bf63 57822012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 5783 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
5784
5785 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
5786 (xdr_mapname): Use YPMAXMAP as maxsize.
5787 (xdr_peername): Use YPMAXPEER as maxsize.
5788 (xdr_keydat): Use YPAXRECORD as maxsize.
5789 (xdr_valdat): Use YPMAXRECORD as maxsize.
5790
93c65d43
RM
57912012-10-01 Roland McGrath <roland@hack.frob.com>
5792
497a03d6
RM
5793 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
5794
93c65d43
RM
5795 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
5796 * csu/init-first.c: ... here.
5797 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
5798 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5799 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5800 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5801 * sysdeps/i386/init-first.c: File removed.
5802 * sysdeps/sh/init-first.c: File removed.
5803
bec749fd
JM
58042012-10-01 Joseph Myers <joseph@codesourcery.com>
5805
5806 [BZ #14645]
5807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
5808 if x * y might underflow to zero and z is zero.
5809 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5810 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5811 * math/libm-test.inc (min_subnorm_value): New variable.
5812 (fma_test): Add more tests.
5813 (fma_test_towardzero): Likewise.
5814 (fma_test_downward): Likewise
5815 (fma_test_upward): Likewise.
5816 (initialize): Set min_subnorm_value.
5817
8ec5b013
JM
58182012-09-29 Joseph Myers <joseph@codesourcery.com>
5819
5820 [BZ #14638]
5821 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
5822 0 + 0.
5823 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
5824 mode for addition resulting in exact zero.
5825 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
5826 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
5827 exact 0 + 0.
5828 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5829 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5830 * math/libm-test.inc (fma_test): Add more tests.
5831 (fma_test_towardzero): New function.
5832 (fma_test_downward): Likewise.
5833 (fma_test_upward): Likewise.
5834 (main): Call the new functions.
5835
b1fa802e
DM
58362012-09-28 David S. Miller <davem@davemloft.net>
5837
5838 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
5839
d3b9fd9e
RM
58402012-09-28 Roland McGrath <roland@hack.frob.com>
5841
ea4d37b3
RM
5842 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
5843 instead of SIGALRM.
5844
ac51c949
RM
5845 * sysdeps/gnu/_G_config.h: Moved to ...
5846 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
5847 * sysdeps/mach/hurd/_G_config.h: Moved to ...
5848 * sysdeps/generic/_G_config.h: ... here.
5849
28c195f7
RM
5850 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
5851
848917f9
RM
5852 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
5853
6bacf05b
RM
5854 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
5855 Conditionalize target on [libnss_test1.so-version].
5856
91363dbb
RM
5857 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
5858
cc87f7d8
RM
5859 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
5860 (elfobjdir): Move out of conditionals.
5861
b1c608fe
RM
5862 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
5863 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
5864 (__nss_lookup_function): Conditionalize label remove_from_tree on
5865 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 5866
1d9a6d96
DM
58672012-09-28 David S. Miller <davem@davemloft.net>
5868
5869 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
5870 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
5871 file.
5872 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
5873 sysdep_routines.
5874 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
5875 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
5876 when HWCAP_SPARC_CRYPTO is present.
5877
72581615
PT
58782012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5879
5880 * io/tst-mknodat.c: Create a FIFO instead of a socket.
5881
715a900c
JL
58822012-09-28 Andreas Schwab <schwab@linux-m68k.org>
5883
5884 [BZ #6530]
5885 * stdio-common/vfprintf.c (process_string_arg): Revert
5886 2000-07-22 change.
5887
58882011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5889
5890 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5891 for testcase.
5892 * stdio-common/tst-sprintf.c: Include <locale.h>
5893 (main): Test sprintf's handling of incomplete multibyte
5894 characters.
5895
9bac1d86
L
58962012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5897
5898 * elf/dl-runtime.c (VERSYMIDX): Removed.
5899 * elf/dl-version.c (VERSYMIDX): Likewise.
5900 * elf/do-rel.h (VERSYMIDX): Likewise.
5901 (VALIDX): Likewise.
5902 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5903 * elf/rtld.c (VALIDX): Likewise.
5904 (ADDRIDX): Likewise.
9bac1d86
L
5905 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5906 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5907 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
5908 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5909 (VALIDX): Likewise.
5910 (ADDRIDX): Likewise.
9bac1d86 5911
b31606c0
PT
59122012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5913
5914 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5915
11541177
JL
59162012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5917
5918 [BZ #11438]
5919 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5920 to global scope.
5921 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5922 addresses are in the same scope as 192.0.2/24.
5923 * posix/gai.conf: Document new scope table defaults.
5924
adb26fae
SP
59252012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5926
5927 [BZ #5298]
5928 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5929 for ftell. Compute offsets from write pointers instead.
5930 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5931
4573c6b0
SP
59322012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5933
5934 [BZ #14543]
5935 * libio/Makefile (tests): New test case tst-fseek.
5936 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5937 combination works in wide mode.
5938 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5939 state when the external buffer state changes.
5940
aa9bbfe6
DM
59412012-09-27 David S. Miller <davem@davemloft.net>
5942
5943 [BZ #14376]
5944 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5945 pass reloc->r_addend in as the 'high' argument to
5946 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5947
784421e7
DM
5948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5949
c39bc8b8
PT
59502012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5951
5952 * rt/tst-aio2.c: Include <pthread.h>.
5953 * rt/tst-aio3.c: Likewise.
5954
1ccc2399
SE
59552012-09-27 Steve Ellcey <sellcey@mips.com>
5956
5957 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5958
31ed4153
L
59592012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5960
25f5f885
L
5961 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5962 contents on [SHARED].
31ed4153 5963
b7bfe116
MP
59642012-09-26 Marek Polacek <polacek@redhat.com>
5965
5966 [BZ #14530]
5967 [BZ #13741]
5968 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5969 for C++ and GCC <4.3 as well as for non GCC compilers.
5970
43c4edba
MT
59712012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5972
5973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5974
6a1bf82f
RM
59752012-09-25 Roland McGrath <roland@hack.frob.com>
5976
5977 * Makefile.in (all, install): Declare with .PHONY.
5978 Reported by Michael Hope <michael.hope@linaro.org>.
5979
8ad11b9a
TMQMF
59802012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5981
5982 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5983 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5984 system header.
5985 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5986 Likewise.
5987 (sydep_routines): Add the new and the internal functions.
5988 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5989 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5991 (GLIBC_2.17): Add the new function.
5992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5993 (GLIBC_2.17): Likewise.
5994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5995 (GLIBC_2.17): Likewise.
5996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5997 (GLIBC_2.17): Likewise.
5998 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5999
7e2fca8d
AM
60002012-09-25 Alan Modra <amodra@gmail.com>
6001
6002 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
6003 Add release barrier before setting once_control to say
6004 initialisation is done. Add hints on lwarx. Use macro in
6005 place of isync.
6006 (clear_once_control): Add release barrier.
6007
b87c4b24
JM
60082012-09-25 Joseph Myers <joseph@codesourcery.com>
6009
d032e0d2
JM
6010 [BZ #13629]
6011 * math/s_clog.c (__clog): Handle more values close to |z| = 1
6012 specially.
6013 * math/s_clog10.c (__clog10): Likewise.
6014 * math/s_clog10f.c (__clog10f): Likewise.
6015 * math/s_clog10l.c (__clog10l): Likewise.
6016 * math/s_clogf.c (__clogf): Likewise.
6017 * math/s_clogl.c (__clogl): Likewise.
6018 * math/Makefile (libm-calls): Add x2y2m1.
6019 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
6020 (__x2y2m1): Likewise.
6021 (__x2y2m1l): Likewise.
6022 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
6023 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
6024 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6025 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6026 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6027 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6028 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
6029 * sysdeps/i386/fpu/libm-test-ulps: Update.
6030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6031
b87c4b24
JM
6032 [BZ #14621]
6033 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
6034 int as type of variable DEPTH.
6035 (glob): Use size_t instead of int as type of variables NEWCOUNT
6036 and OLD_PATHC.
6037
6d3bf199
LD
60382012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6039
22bf5c17
LD
6040 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6041 Add s_sincosf-sse2.
6042 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
6043 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
6044 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
6045 macros for using routine as __sincosf_ia32.
6046 Use macro for function declaration and weak_alias.
6047 * sysdeps/i386/fpu/libm-test-ulps: Update.
6048
6049 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
6050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6051
6052 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
6053 subnormal argument.
6054 * math/s_cexpf.c (__cexpf): Likewise.
6055 * math/s_csinf.c (__csinf): Likewise.
6056 * math/s_csinhf.c (__csinhf): Likewise.
6057 * math/s_ctanf.c (__ctanf): Likewise.
6058 * math/s_ctanhf.c (__ctanhf): Likewise.
6059 * math/s_ccosh.c (__ccoshf): Likewise.
6060 * math/s_cexp.c (__cexpl): Likewise.
6061 * math/s_csin.c (__csin): Likewise.
6062 * math/s_csinh.c (__csinh): Likewise.
6063 * math/s_ctan.c (__ctan): Likewise.
6064 * math/s_ctanh.c (ctanh): Likewise.
6065 * math/s_ccoshl.c (__ccoshl): Likewise.
6066 * math/s_cexpl.c (__cexpl): Likewise.
6067 * math/s_csinl.c (__csinl): Likewise.
6068 * math/s_csinhl.c (__csinhl): Likewise.
6069 * math/s_ctanl.c (__ctanl): Likewise.
6070 * math/s_ctanhl.c (__ctanhl): Likewise.
6071
203e5603
JM
60722012-09-25 Joseph Myers <joseph@codesourcery.com>
6073
6074 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
6075 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
6076 (_IO_off_t): Define to __off_t, not _G_off_t.
6077 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
6078 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
6079 (_IO_wint_t): Define to wint_t, not _G_wint_t.
6080 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
6081 type of __dummy and __dummy2 fields.
6082 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
6083 (_G_ssize_t): Likewise.
6084 (_G_off_t): Likewise.
6085 (_G_pid_t): Likewise.
6086 (_G_uid_t): Likewise.
6087 (_G_wchar_t): Likewise.
6088 (_G_wint_t): Likewise.
6089 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
6090 (_G_ssize_t): Likewise.
6091 (_G_off_t): Likewise.
6092 (_G_pid_t): Likewise.
6093 (_G_uid_t): Likewise.
6094 (_G_wchar_t): Likewise.
6095 (_G_wint_t): Likewise.
6096 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
6097 (_G_ssize_t): Likewise.
6098 (_G_off_t): Likewise.
6099 (_G_pid_t): Likewise.
6100 (_G_uid_t): Likewise.
6101 (_G_wchar_t): Likewise.
6102 (_G_wint_t): Likewise.
6103
9fab36eb
SP
61042012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6105
6106 * malloc/arena.c: Include malloc-sysdep.h.
6107 (shrink_heap): Use check_may_shrink_heap to decide if madvise
6108 is sufficient to shrink the heap or an unmap is needed.
6109 * sysdeps/generic/malloc-sysdep.h: New file. Define
6110 new function check_may_shrink_heap.
6111 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
6112 new function check_may_shrink_heap.
6113
2b4f00d1
SP
61142012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6115
6116 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
6117 comments.
6118
9a9028b1
DL
61192012-09-24 Dmitry V. Levin <ldv@altlinux.org>
6120
57c69bef
DL
6121 * catgets/test-gencat.sh: Add "set -e".
6122 * elf/tst-pathopt.sh: Likewise.
6123 * grp/tst_fgetgrent.sh: Likewise.
6124 * iconvdata/run-iconv-test.sh: Likewise.
6125 * intl/tst-gettext.sh: Likewise.
6126 * intl/tst-gettext2.sh: Likewise.
6127 * intl/tst-gettext4.sh: Likewise.
6128 * intl/tst-gettext6.sh: Likewise.
6129 * intl/tst-translit.sh: Likewise.
6130 * io/ftwtest-sh: Likewise.
6131 * libio/test-freopen.sh: Likewise.
6132 * malloc/tst-mtrace.sh: Likewise.
6133 * posix/globtest.sh: Likewise.
6134 * posix/tst-getconf.sh: Likewise.
6135 * posix/wordexp-tst.sh: Likewise.
6136 * stdio-common/tst-printf.sh: Likewise.
6137 * stdio-common/tst-unbputc.sh: Likewise.
6138 * stdlib/tst-fmtmsg.sh: Likewise.
6139 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6140 * catgets/Makefile: Do not specify -e option when running
6141 testsuite shell scripts.
6142 * elf/Makefile: Likewise.
6143 * grp/Makefile: Likewise.
6144 * iconvdata/Makefile: Likewise.
6145 * intl/Makefile: Likewise.
6146 * io/Makefile: Likewise.
6147 * libio/Makefile: Likewise.
6148 * malloc/Makefile: Likewise.
6149 * posix/Makefile: Likewise.
6150 * stdio-common/Makefile: Likewise.
6151 * stdlib/Makefile: Likewise.
6152 * sysdeps/x86_64/Makefile: Likewise.
6153
9a9028b1
DL
6154 * io/ftwtest-sh: Add copyright header.
6155 * posix/globtest.sh: Likewise.
6156 * posix/tst-getconf.sh: Likewise.
6157 * posix/wordexp-tst.sh: Likewise.
6158 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
6159
ced6f16e
L
61602012-09-24 H.J. Lu <hongjiu.lu@intel.com>
6161
94b32c39
L
6162 [BZ #13679]
6163 * Makeconfig (+link): Defined as $(+link-static) if
6164 $(build-shared) isn't yes.
6165 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
6166 isn't yes.
6167 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
6168
189e935b
L
6169 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
6170
ced6f16e
L
6171 [BZ #14562]
6172 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
6173 new chunk size with MALLOC_ALIGN_MASK.
6174
a9f8e53a
JM
61752012-09-24 Joseph Myers <joseph@codesourcery.com>
6176
6177 [BZ #5044]
6178 * stdio-common/printf_fphex.c: Include <stdbool.h> and
6179 <rounding-mode.h>.
6180 (__printf_fphex): Determine rounding using get_rounding_mode and
6181 round_away.
6182 * stdio-common/tst-printf-round.c (struct hex_test): New
6183 structure.
6184 (hex_tests): New variable.
6185 (test_hex_in_one_mode): New function.
6186 (do_test): Also run tests for hex float output.
6187
43153109
JM
61882012-09-21 Joseph Myers <joseph@codesourcery.com>
6189
6190 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6191 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6192 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
6193 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
6194 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
6195 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
6196 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6197 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
6198
8a26625d
JM
61992012-09-20 Joseph Myers <joseph@codesourcery.com>
6200
6201 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
6202 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
6203 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
6204 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
6205
f3fd569c
DL
62062012-09-19 Dmitry V. Levin <ldv@altlinux.org>
6207
6208 [BZ #14579]
6209 * elf/rtld.c (dl_main): Limit the check for self loading to normal
6210 mode only.
6211 * elf/tst-rtld-load-self.sh: New test.
6212 * elf/Makefile: Run it.
6213
63bbedd4
JM
62142012-09-18 Joseph Myers <joseph@codesourcery.com>
6215
6216 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
6217 (tst-writev-ENV): Remove.
6218 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
6219
626f8b6a
CM
62202012-09-17 Chris Metcalf <cmetcalf@tilera.com>
6221
6222 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
6223
b7aaa4d6
JM
62242012-09-17 Joseph Myers <joseph@codesourcery.com>
6225
6226 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
6227 unconditional.
6228 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
6229 Likewise.
6230 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
6231 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
6232 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
6233 Likewise.
6234
65513990
L
62352012-09-14 H.J. Lu <hongjiu.lu@intel.com>
6236
6237 [BZ #14587]
6238 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
6239 * config.make.in (have-cpp-asm-debuginfo): Removed.
6240 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
6241 * configure: Regenerated.
6242
784761be
JM
62432012-09-14 Joseph Myers <joseph@codesourcery.com>
6244
6245 [BZ #5044]
6246 * stdio-common/printf_fp.c: Include <stdbool.h> and
6247 <rounding-mode.h>.
6248 (___printf_fp): Determine rounding using get_rounding_mode and
6249 round_away.
6250 * stdio-common/tst-printf-round.c: New file.
6251 * stdio-common/Makefile (tests): Add tst-printf-round.
6252 (link-libm): New variable.
6253 ($(objpfx)tst-printf-round): Depend in $(link-libm).
6254
9503345f
L
62552012-09-13 H.J. Lu <hongjiu.lu@intel.com>
6256
6257 [BZ #14576]
6258 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
6259 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
6260 Likewise.
6261 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
6262 Likewise.
6263
ad35fc00
JM
62642012-09-13 Joseph Myers <joseph@codesourcery.com>
6265
6266 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
6267 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6268 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6269 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
6270
6c9b0f68
JM
62712012-09-12 Joseph Myers <joseph@codesourcery.com>
6272
6273 [BZ #14518]
6274 * include/rounding-mode.h: New file.
6275 * sysdeps/generic/get-rounding-mode.h: Likewise.
6276 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
6277 * stdlib/strtod_l.c: Include <rounding-mode.h>.
6278 (MAX_VALUE): New macro.
6279 (MIN_VALUE): Likewise.
6280 (overflow_value): New function.
6281 (underflow_value): Likewise.
6282 (round_and_return): Use overflow_value and underflow_value to
6283 determine return values in overflow and underflow cases. Use
6284 round_away to determine rounding depending on rounding mode.
6285 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
6286 determine return values in overflow and underflow cases.
6287 * stdlib/tst-strtod-round.c: Include <fenv.h>.
6288 (struct test_results): New structure.
6289 (struct test): Use struct test_results to store expected results
6290 for all rounding modes.
6291 (TEST): Include expected results for all rounding modes.
6292 (test_in_one_mode): New function.
6293 (do_test): Use test_in_one_mode to compute and check results.
6294 Check results for all rounding modes.
6295 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
6296 $(link-libm).
6297
19fcedd5
AM
62982012-12-09 Allan McRae <allan@archlinux.org>
6299
1e9d84cd 6300 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 6301
8bbfd2f1
JM
63022012-09-11 Joseph Myers <joseph@codesourcery.com>
6303
6304 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
6305 (_G_int32_t): Likewise.
6306 (_G_uint16_t): Likewise.
6307 (_G_uint32_t): Likewise.
6308 (_G_HAVE_BOOL): Likewise.
6309 (_G_HAVE_ATEXIT): Likewise.
6310 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6311 (_G_HAVE_IO_FILE_OPEN): Likewise.
6312 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
6313 (_G_int32_t): Likewise.
6314 (_G_uint16_t): Likewise.
6315 (_G_uint32_t): Likewise.
6316 (_G_HAVE_BOOL): Likewise.
6317 (_G_HAVE_ATEXIT): Likewise.
6318 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6319 (_G_HAVE_IO_FILE_OPEN): Likewise.
6320 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
6321 (_G_int32_t): Likewise.
6322 (_G_uint16_t): Likewise.
6323 (_G_uint32_t): Likewise.
6324 (_G_HAVE_BOOL): Likewise.
6325 (_G_HAVE_ATEXIT): Likewise.
6326 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
6327 (_G_HAVE_IO_FILE_OPEN): Likewise.
6328
b1dc5912
L
63292012-09-11 H.J. Lu <hongjiu.lu@intel.com>
6330
6331 * csu/libc-tls.c: Update copyright years.
6332
0e886ef9
JM
63332012-09-10 Joseph Myers <joseph@codesourcery.com>
6334
28361c5e
JM
6335 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
6336 [!_G_USING_THUNKS]: Remove conditional code.
6337 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
6338 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
6339
0e886ef9
JM
6340 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
6341 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
6342 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6343 (_G_VTABLE_LABEL_PREFIX): Likewise.
6344 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6345 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6346 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6347 (_G_VTABLE_LABEL_PREFIX): Likewise.
6348 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6349 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
6350 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
6351 (_G_VTABLE_LABEL_PREFIX): Likewise.
6352 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
6353
bcba7aa2
L
63542012-09-10 H.J. Lu <hongjiu.lu@intel.com>
6355
6356 * libio/Makefile: Include ../Makeconfig before tests.
6357 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
6358 only if $(build-shared) is yes.
6359
06585ee8
L
6360 * iconv/gconv_db.c: Update copyright years.
6361
80ccd52c
LD
63622012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6363
6364 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
6365 unwind info if defined PIC. Fix special cases description.
6366 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
6367
6368 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
6369 DP_HI_MASK entry.
6370 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
6371
691bc9c1
L
63722012-09-07 H.J. Lu <hongjiu.lu@intel.com>
6373
3d9b46b3
L
6374 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
6375
de2139a9
L
6376 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
6377 is NULL.
6378
5ca78dd0
L
6379 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
6380 (LDLIBS-tst-chk4): This.
6381 (LDFLAGS-tst-chk5): Renamed to ...
6382 (LDLIBS-tst-chk5): This.
6383 (LDFLAGS-tst-chk6): Renamed to ...
6384 (LDLIBS-tst-chk6): This.
6385 (LDFLAGS-tst-lfschk4): Renamed to ...
6386 (LDLIBS-tst-lfschk4): This.
6387 (LDFLAGS-tst-lfschk5): Renamed to ...
6388 (LDLIBS-tst-lfschk5): This.
6389 (LDFLAGS-tst-lfschk6): Renamed to ...
6390 (LDLIBS-tst-lfschk6): This.
6391
691bc9c1
L
6392 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
6393 on $(common-objpfx)soversions.mk.
6394
65cafb1c
JM
63952012-09-07 Joseph Myers <joseph@codesourcery.com>
6396
6397 [BZ #10014]
6398 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
6399 example host name.
6400
c78ab094
SP
64012012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6402
6403 * malloc/arena.c (arena_get_retry): New function that gets
6404 another arena for the caller to try its request on.
6405 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
6406 current arena cannot fulfill the request.
6407 (__libc_memalign): Likewise.
6408 (__libc_memalign): Likewise.
6409 (__libc_pvalloc): Likewise.
6410 (__libc_calloc): Likewise.
6411
01f49f59
JT
64122012-09-05 John Tobey <john.tobey@gmail.com>
6413
6414 [BZ #13542]
6415 * manual/arith.texi (Operations on Complex): Fix description
6416 of carg branch cut.
6417
4c23fed5
JM
64182012-09-06 Joseph Myers <joseph@codesourcery.com>
6419
1d3c8572
JM
6420 [BZ #10014]
6421 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
6422 host name.
6423
4c23fed5
JM
6424 [BZ #10038]
6425 * manual/memory.texi (Memory): Make order of menu items match
6426 order of sections.
6427
04570aaa
L
64282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6429
6430 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
6431 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
6432 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
6433
b80af2f4
L
64342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6435
6436 * csu/libc-tls.c (static_dtv): Renamed to ...
6437 (_dl_static_dtv): This. Make it global.
6438 (_dl_initial_dtv): Removed.
6439 (__libc_setup_tls): Updated.
6440 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
6441 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
6442 DL_INITIAL_DTV.
6443
2abe9f15
PM
64442012-09-06 Petr Machata <pmachata@redhat.com>
6445
6446 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
6447 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
6448 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
6449 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
6450
0948c3af
L
64512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6452
6453 [BZ #14545]
6454 * csu/libc-tls.c (_dl_initial_dtv): New variable.
6455 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
6456 freeing dtv[-1].
6457
a5055ad1
L
64582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
6459
6460 [BZ #14544]
6461 * Makeconfig (link-static-before-libc): Replace $(+prector)
6462 with $(+prectorT).
6463 (link-static-after-libc): Replace $(+postctor) with
6464 $(+postctorT).
6465 (link-bounded): Replace $(+prector)/$(+postctor) with
6466 $(+prectorT)/$(+postctorT).
6467 (+prectorT): New macro.
6468 (+postctorT): Likewise.
6469
ed8c2ecd
JM
64702012-09-06 Joseph Myers <joseph@codesourcery.com>
6471
6472 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
6473 (round_str): Handle values above the maximum for IBM long double
6474 as inexact.
6475 * stdlib/tst-strtod-round.c (tests): Regenerated.
6476
14c996c8
AK
64772012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6478
6479 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
6480 assembler flag.
6481 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
6482 zarch_nohighgprs around the zarch optimized routines.
6483 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6484 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6485 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
6486 for zarch.
6487
430d6ce6
DM
64882012-09-05 David S. Miller <davem@davemloft.net>
6489
6490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6491
ff04dda4
DM
6492 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
6493 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
6494 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
6495 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6496 entries.
6497
24d4e01b
AO
64982012-09-05 Alexandre Oliva <aoliva@redhat.com>
6499
6500 * malloc/arena.c: Fold copyright years.
6501 * malloc/mcheck.c, malloc/memusage.c: Likewise.
6502
61d58174
AO
65032012-09-05 Alexandre Oliva <aoliva@redhat.com>
6504
6505 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
6506
20196a5e
AO
65072012-09-05 Alexandre Oliva <aoliva@redhat.com>
6508
6509 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
6510
5c447383
AO
65112012-09-05 Alexandre Oliva <aoliva@redhat.com>
6512
6513 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
6514 change internal state upon failure.
6515
fad64255
AO
65162012-09-05 Alexandre Oliva <aoliva@redhat.com>
6517
6518 * malloc/mcheck.c (mcheck_check_all): Fix typo.
6519 * malloc/memusage.c (mmap): Likewise.
6520 (mmap64, mremap): Likewise. Adjust name in comment.
6521
1ffb8c90
SP
65222012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6523
6524 * libio/fileops.c: Fix typos in comments.
6525 * libio/oldfileops.c: Likewise.
6526 * libio/wfileops.c: Likewise.
6527
6ef9cc37
SP
65282012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6529
6530 [BZ #1349]
6531 * malloc/Makefile (tests): Add tst-malloc-usable test case.
6532 (tst-malloc-usable-ENV): Set environment for test case.
6533 * malloc/hooks.c (malloc_check_get_size): New function to get
6534 requested size.
6535 * malloc/malloc.c (musable): Use malloc_check_get_size.
6536 * malloc/tst-malloc-usable.c: New test case.
6537
4d038ae3
AS
65382012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6539
6540 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
6541
c4e85184
AM
65422012-09-05 Allan McRae <allan@archlinux.org>
6543
b9dafc56 6544 [BZ #13966]
c4e85184
AM
6545 * configure.in (CXX_SYSINCLUDES): Use compiler output to
6546 determine header location.
6547 * configure: Regenerated.
6548
e1343020
AS
65492012-09-05 Andreas Schwab <schwab@linux-m68k.org>
6550
6551 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
6552 float format.
6553 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
6554 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
6555 format.
e1343020
AS
6556 (test): Regenerate.
6557
0a9f1987
DM
65582012-09-04 David S. Miller <davem@davemloft.net>
6559
6560 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
6561 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
6562 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
6563
29237804
FW
65642012-09-04 Florian Weimer <fweimer@redhat.com>
6565
6566 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
6567 failures.
6568
edb3cb88
FW
6569 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
6570
60160d83
JM
65712012-09-04 Joseph Myers <joseph@codesourcery.com>
6572
6573 [BZ #9914]
6574 * libio/iogetdelim.c: Include <limits.h>.
6575 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
6576 + len + 1 would overflow.
6577
bcd6c8dc
AJ
65782012-09-03 Andreas Jaeger <aj@suse.de>
6579
6580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6581 * sysdeps/i386/fpu/libm-test-ulps: Update.
6582
4ffffbd2
LD
65832012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6584
6585 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
6586 Add s_sinf-sse2, s_conf-sse2.
6587
6588 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
6589 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
6590 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
6591 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
6592
6593 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
6594 for using routine as __sinf_ia32.
6595 Use macro for function declaration and weak_alias.
6596 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
6597 for using routine as __cosf_ia32.
6598 Use macro for function declaration and weak_alias.
6599
6600 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
6601 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
6602
6603 * sysdeps/x86_64/fpu/s_sinf.S: New file.
6604 * sysdeps/x86_64/fpu/s_cosf.S: New file.
6605 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6606
6607 * math/libm-test.inc (cos_test): Add more test cases.
6608 (sin_test): Likewise.
6609 (sincos_test): Likewise.
6610
511fa286
AK
66112012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6612
6613 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6614 (IFUNC_RESOLVE): Make pointers to the specialized implementations
6615 hidden.
6616 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6617
5f30cfec
L
66182012-09-02 H.J. Lu <hongjiu.lu@intel.com>
6619
6620 [BZ #14538]
6621 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
6622 first element of the GOT.
6623 (elf_machine_load_address): Return the difference between
6624 the runtime address of _DYNAMIC and elf_machine_dynamic ().
6625
0786794f
AM
66262012-09-01 Allan McRae <allan@archlinux.org>
6627
5f30cfec
L
6628 [BZ #13412]
6629 * configure.in (AWK): Require gawk version 3.0 or later.
6630 * configure: Regenerated.
0786794f 6631
26889eac
JM
66322012-09-01 Joseph Myers <joseph@codesourcery.com>
6633
6634 * sysdeps/unix/sysv/linux/kernel-features.h
6635 (__ASSUME_POSIX_CPU_TIMERS): Remove.
6636 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6637 [__NR_clock_getres]: Make code unconditional.
6638 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
6639 (clock_getcpuclockid): Remove code left unreachable by removal of
6640 conditionals.
6641 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
6642 code unconditional.
6643 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6644 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6645 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
6646 Make code unconditional.
6647 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
6648 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6649 * sysdeps/unix/sysv/linux/clock_settime.c
6650 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
6651 conditional code.
6652 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
6653 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
6654
d22e28b0
L
66552012-08-29 H.J. Lu <hongjiu.lu@intel.com>
6656
6657 [BZ #14476]
6658 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
6659 scripts/test-installation.pl.
6660
6661 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
6662 and $ld_so_version if it is set.
6663
050af9c4
SP
66642012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6665
6666 [BZ #14516]
6667 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
6668 failure if reading from procfs failed.
6669 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
6670
ad845c0b
JM
66712012-08-27 Joseph Myers <joseph@codesourcery.com>
6672
6673 * sysdeps/unix/sysv/linux/kernel-features.h
6674 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
6675 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6676 Remove conditional code.
6677 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6678 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
6679 Remove conditional code.
6680 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6681 * sysdeps/unix/sysv/linux/i386/fxstat.c
6682 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6683 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6684 * sysdeps/unix/sysv/linux/i386/fxstatat.c
6685 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6686 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6687 * sysdeps/unix/sysv/linux/i386/lxstat.c
6688 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
6689 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6690 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
6691 Remove conditional code.
6692 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6693 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
6694 Remove conditional code.
6695 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6696 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
6697 <kernel-features.h>.
6698 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
6699 Remove.
6700 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
6701 Remove conditional code.
6702 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
6703 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
6704 Remove conditional.
6705
5dbf56af
MF
67062012-08-27 Mike Frysinger <vapier@gentoo.org>
6707
6708 [BZ #5400]
6709 * NEWS: Add fixed bug number.
6710
d6e70f43
JM
67112012-08-27 Joseph Myers <joseph@codesourcery.com>
6712
7efb4737
JM
6713 [BZ #14519]
6714 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
6715 underflowing exponent in case of negative sign.
6716 * stdlib/tst-strtod-round-data: Add more tests.
6717 * stdlib/tst-strtod-round.c (tests): Regenerated.
6718
af92131a
JM
6719 [BZ #3479]
6720 * stdlib/strtod_l.c (NDIG): Remove.
6721 (HEXNDIG): Likewise.
6722 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
6723 smallest representable value.
6724 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
6725 lie within an exact representation of 1/2 ulp of the result.
6726 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
6727 unconditionally.
6728 (TENS_P9_IDX): Define unconditionally.
6729 (TENS_P9_SIZE): Likewise.
6730 (TENS_P10_IDX): Likewise.
6731 (TENS_P10_SIZE): Likewise.
6732 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
6733 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
6734 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
6735 entries for 10^2^13 and 10^2^14.
6736 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
6737 (TENS_P13_IDX): Define.
6738 (TENS_P13_SIZE): Likewise.
6739 (TENS_P14_IDX): Likewise.
6740 (TENS_P14_SIZE): Likewise.
6741 (_fpioconst_pow10): Change array size to
6742 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
6743 unconditional.
6744 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
6745 1024]: Add entries for 10^2^13 and 10^2^14.
6746 [LAST_POW10 > _LAST_POW10]: Remove #error.
6747 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
6748 (_fpioconst_pow10): Change array size to
6749 FPIOCONST_POW10_ARRAY_SIZE.
6750 * stdlib/gen-fpioconst.c: New file.
6751 * stdlib/gen-tst-strtod-round.c: Likewise.
6752 * stdlib/tst-strtod-round-data: Likewise.
6753 * stdlib/tst-strtod-round.c: Likewise.
6754 * stdlib/Makefile (tests): Add tst-strtod-round.
6755
d6e70f43
JM
6756 [BZ #14459]
6757 * stdlib/strtod_l.c: Include <stdint.h>.
6758 (NDEBUG): Do not define.
6759 (round_and_return): Change EXPONENT parameter to type intmax_t.
6760 Rearrange calculations to avoid internal overflow possibilities.
6761 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
6762 Rearrange calculations to avoid internal overflow possibilities.
6763 Assert that number fits inside MPNSIZE limbs.
6764 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
6765 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
6766 calculations and add assertions to avoid internal overflow
6767 possibilities. Add casts to avoid signed/unsigned operations.
6768 * stdlib/tst-strtod-overflow.c: New file.
6769 * stdlib/Makefile (tests): Add tst-strtod-overflow.
6770
1f529f7d
MP
67712012-08-25 Marek Polacek <polacek@redhat.com>
6772
6773 * time/time.h: Fix some typos in comments.
6774
59a629f1
RM
67752012-08-23 Roland McGrath <roland@hack.frob.com>
6776
6777 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
6778 * posix/tst-rfc3484-2.c: Likewise.
6779 * posix/tst-rfc3484-3.c: Likewise.
6780
d3bafbc9
SM
67812012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
6782
6783 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
6784 (EF_ARM_ABI_FLOAT_HARD): Likewise.
6785
4efcc022
JM
67862012-08-23 Joseph Myers <joseph@codesourcery.com>
6787
6788 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
6789 #include of fxstatat64.c.
6790
3cc3ef96
RM
67912012-08-22 Roland McGrath <roland@hack.frob.com>
6792
f04e2132
RM
6793 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
6794 * shadow/getspent_r.c: Likewise.
6795 * shadow/getspnam.c: Likewise.
6796 * shadow/getspnam_r.c: Likewise.
6797 * gshadow/getsgent.c: Likewise.
6798 * gshadow/getsgent_r.c: Likewise.
6799 * gshadow/getsgnam.c: Likewise.
6800 * gshadow/getsgnam_r.c: Likewise.
6801 * inet/getnetbyad.c: Likewise.
6802 * inet/getnetbyad_r.c: Likewise.
6803 * inet/getnetbynm.c: Likewise.
6804 * inet/getnetbynm_r.c: Likewise.
6805 * inet/getnetent.c: Likewise.
6806 * inet/getnetent_r.c: Likewise.
6807 * inet/getproto.c: Likewise.
6808 * inet/getproto_r.c: Likewise.
6809 * inet/getprtent.c: Likewise.
6810 * inet/getprtent_r.c: Likewise.
6811 * inet/getprtname.c: Likewise.
6812 * inet/getprtname_r.c: Likewise.
6813 * inet/getrpcbyname.c: Likewise.
6814 * inet/getrpcbyname_r.c: Likewise.
6815 * inet/getrpcbynumber.c: Likewise.
6816 * inet/getrpcbynumber_r.c: Likewise.
6817 * inet/getrpcent.c: Likewise.
6818 * inet/getrpcent_r.c: Likewise.
6819 * inet/getaliasent.c: Likewise.
6820 * inet/getaliasent_r.c: Likewise.
6821 * inet/getaliasname.c: Likewise.
6822 * inet/getaliasname_r.c: Likewise.
6823 * nscd/getgrgid_r.c: Likewise.
6824 * nscd/getgrnam_r.c: Likewise.
6825 * nscd/gethstbyad_r.c: Likewise.
6826 * nscd/gethstbynm3_r.c: Likewise.
6827 * nscd/getpwnam_r.c: Likewise.
6828 * nscd/getpwuid_r.c: Likewise.
6829 * nscd/getsrvbynm_r.c: Likewise.
6830 * nscd/getsrvbypt_r.c: Likewise.
6831 * nscd/gai.c: Likewise.
6832
c53d909c
RM
6833 * configure.in (build_nscd): New substituted variable, set
6834 by --disable-build-nscd and defaults to $use_nscd.
6835 * configure: Regenerated.
6836 * config.make.in (build-nscd): New substituted variable.
6837 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
6838 Change conditional to require [$(build-nscd) = yes] as well.
6839 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
6840
3cc3ef96
RM
6841 [BZ# 13696]
6842 * configure.in (use_nscd): New substituted variable, set by
6843 --disable-nscd. If enabled, define USE_NSCD.
6844 * configure: Regenerated.
6845 * config.h.in: Add USE_NSCD.
6846 * config.make.in (use-nscd): New substituted variable.
6847 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
6848 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
6849 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
6850 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
6851 (CFLAGS-getgrnam_r.c): Likewise.
6852 (CFLAGS-initgroups.c): Likewise.
6853 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
6854 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
6855 Variables removed.
6856 * inet/getnetgrent_r.c
6857 (nscd_setnetgrent): New function, broken out of ...
6858 (setnetgrent): ... here. Call it.
6859 (innetgr): Conditionalize nscd bits on [USE_NSCD].
6860 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
6861 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
6862 * nscd/Makefile (routines, aux): Move definitions after include of
6863 Makeconfig. Conditionalize on [$(use-nscd) != no].
6864 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
6865 Conditionalize on [USE_NSCD].
6866 (is_nscd, nscd_init_cb): Likewise.
6867 (nss_load_library): Conditionalize init callback on [USE_NSCD].
6868 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
6869 * nss/nss_db/db-init.c: Likewise.
6870 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
6871 [USE_NSCD].
6872 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
6873 (make_request): Use it.
6874 (cache_valid_p): New function.
6875 (__check_pf): Use it.
6876 * NEWS: Add item for --disable-nscd.
6877
07e51550
DL
68782012-08-22 Dmitry V. Levin <ldv@altlinux.org>
6879
6880 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
6881 to support sed >= 4.2.1-20-ga9bf076.
6882 * configure: Regenerated.
6883
35a5b08b
RM
68842012-08-22 Roland McGrath <roland@hack.frob.com>
6885
6886 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6887 Conditionalize whole body on [IREL].
6888
8479f23a
JL
68892012-08-22 Jeff Law <law@redhat.com>
6890
6891 [BZ #14505]
6892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6893 if the family is PF_UNSPEC.
6894
48da0b21
MF
68952012-08-22 Mike Frysinger <vapier@gentoo.org>
6896
6897 * Makerules (lib-version): Rename from V.
6898 (install-lib-nosubdir): Change V to lib-version.
6899
15d0da8c
WS
69002012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6901
6902 [BZ #14252]
6903 * powerpc32/power6/wcschr.c: New file.
6904 * powerpc32/power6/wcscpy.c: New file.
6905 * powerpc32/power6/wcsrchr.c: New file.
6906 * powerpc64/power6/wcschr.c: New file.
6907 * powerpc64/power6/wcscpy.c: New file.
6908 * powerpc64/power6/wcsrchr.c: New file.
6909
bcca0895
MK
69102012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6911
6912 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6913 (two_way_short_needle): Use it.
5a4aaa33
RM
6914 * string/strstr.c (AVAILABLE1_USES_J): Define.
6915 * string/strcasestr.c: Likewise.
99677e57
MK
6916
6917 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6918 array references.
6919 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6920
400726de
MK
6921 [BZ #11607]
6922 * NEWS: Add an entry.
6923 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6924 define their defaults.
6925 (two_way_short_needle): Detect end-of-string on-the-fly.
6926 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6927 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6928 * string/bug-strcasestr1.c: New test.
6929 * string/Makefile: Run it.
6930
20a71f2c
MK
69312012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6932
6933 [BZ #11607]
6934 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6935 the first character.
6936
21ad0558
RM
69372012-08-21 Roland McGrath <roland@hack.frob.com>
6938
6939 * csu/elf-init.c (__libc_csu_irel): Function removed.
6940 * csu/libc-start.c (apply_irel): New function.
6941 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6942
0e1d9911
JM
69432012-08-21 Joseph Myers <joseph@codesourcery.com>
6944
6945 * sysdeps/unix/sysv/linux/kernel-features.h
6946 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6947 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6948 <kernel-features.h>.
6949 [__NR_fadvise64_64]: Make code unconditional.
6950 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6951 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6952 !__NR_fadvise64_64)]: Likewise.
6953 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6954 !__NR_fadvise64_64))]: Likewise.
6955 [__NR_fadvise64]: Make code unconditional.
6956 [!__NR_fadvise64]: Remove conditional code.
6957 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6958 <kernel-features.h>.
6959 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6960 unconditional.
6961 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6962 conditional code.
6963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6964 not include <kernel-features.h>.
6965 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6966 unconditional.
6967 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6968 conditional code.
6969 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6970 include <kernel-features.h>.
6971 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6972 unconditional.
6973 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6974 conditional code.
6975
14a50c9d
WS
69762012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6977
6978 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6979 slight instruction rearrangements per scrollpipe analysis.
6980 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6981
c0f4faf0
RM
69822012-08-20 Roland McGrath <roland@hack.frob.com>
6983
696da859
RM
6984 * manual/syslog.texi (syslog; vsyslog, closelog):
6985 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6986 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6987
c0f4faf0
RM
6988 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6989 DSOCAPS to match condition on defining it.
6990
348363b2
JM
69912012-08-20 Joseph Myers <joseph@codesourcery.com>
6992
a35cbf28
JM
6993 * sysdeps/unix/sysv/linux/kernel-features.h
6994 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6996 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6997 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6999 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7000 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
7002 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
7003 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
7004
445f7ecd
JM
7005 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
7006 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
7007
348363b2
JM
7008 * sysdeps/unix/sysv/linux/kernel-features.h
7009 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
7010 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
7011 unconditional.
7012 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7013 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
7014 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7015 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7016 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
7017 Make code unconditional.
7018 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7019 (__mmap64) [!__NR_mmap2]: Likewise.
7020 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
7021 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
7022 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7023 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
7024 [__NR_mmap2]: Make code unconditional.
7025 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
7026 (__mmap64) [!__NR_mmap2]: Likewise.
7027
bc5bc0e5
AK
70282012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7029
7030 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
7031
88d506de
AJ
70322012-08-18 Andreas Jaeger <aj@suse.de>
7033
7034 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
7035
493387d2
MF
70362012-08-18 Mike Frysinger <vapier@gentoo.org>
7037
7038 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
7039 * include/unistd.h (__have_sock_cloexec): Likewise.
7040 (__have_pipe2): Likewise.
7041 (__have_dup3): Likewise.
7042
a277af22
MF
70432012-08-18 Mike Frysinger <vapier@gentoo.org>
7044
7045 [BZ #9685]
7046 * include/unistd.h (__have_pipe2): Change define into an extern int.
7047 (__have_dup3): Likewise.
7048 * socket/have_sock_cloexec.c: Include fcntl.h.
7049 (__have_pipe2): New variable.
7050 (__have_dup3): Likewise.
7051
fdab8fd3
MF
70522012-08-17 Mike Frysinger <vapier@gentoo.org>
7053
7054 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
7055
31035e80
MP
70562012-08-17 Marek Polacek <polacek@redhat.com>
7057
7058 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
7059 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
7060
3bd9e993
RM
70612012-08-17 Roland McGrath <roland@hack.frob.com>
7062
c91c505f
RM
7063 * configure.in: Add AC_SUBST for sysheaders.
7064 * configure: Regenerated.
7065 * config.make.in (sysheaders): New substituted variable.
7066
7c6f9d53
RM
7067 * sysdeps/unix/mkfifo.c: Moved ...
7068 * sysdeps/posix/mkfifo.c: ... here.
7069 * sysdeps/unix/mkfifoat.c: Moved ...
7070 * sysdeps/posix/mkfifoat.c: ... here.
7071
7072 * sysdeps/unix/utime.c: Moved ...
7073 * sysdeps/posix/utime.c: ... here.
7074
7075 * sysdeps/unix/time.c: Moved ...
7076 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
7077 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
7078 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
7079
7080 * sysdeps/unix/nice.c: Moved ...
7081 * sysdeps/posix/nice.c: ... here.
7082
7083 * sysdeps/unix/alarm.c: Moved ...
7084 * sysdeps/posix/alarm.c: ... here.
7085
3bd9e993
RM
7086 * intl/Makefile ($(codeset_mo)): Depend on the input file.
7087
d1f09384
JL
70882012-08-17 Jeff Law <law@redhat.com>
7089
7090 * intl/Makefile (codeset_mo): New variable.
7091 ($(codeset_mo)): New target.
7092 (tst-codeset.out): Depend on that. Remove explicit rule.
7093 (tst-gettext3.out, tst-gettext5.out): Likewise.
7094 (LOCPATH-ENV, tst-codeset-ENV): New variables.
7095 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
7096 * intl/tst-codeset.sh: Remove.
7097 * intl/tst-gettext3.sh: Likewise.
7098 * intl/tst-gettext5.sh: Likewise.
7099
2ae1ae5c
RM
71002012-08-17 Roland McGrath <roland@hack.frob.com>
7101
c31fdb83
RM
7102 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
7103 * sysdeps/unix/syscalls.list: ... here.
7104
a0844057
RM
7105 * sysdeps/posix/getaddrinfo.c
7106 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
7107 (gaiconf_init, gaiconf_reload): Use them.
7108 [!_STATBUF_ST_NSEC]
7109 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
7110 Define using time_t rather than struct timespec.
7111
750c1f2a
RM
7112 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
7113 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
7114 Macros removed.
7115 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
7116 [!NO_THREADS].
7117 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
7118 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
7119 Likewise.
7120
2ae1ae5c
RM
7121 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
7122 __libc_cleanup_push argument.
7123
e66a42f5
RM
7124 * bits/param.h: New file.
7125 * misc/sys/param.h: New file.
7126 * include/sys/param.h: New file.
7127 * misc/Makefile (headers): Add bits/param.h.
7128 * sysdeps/generic/sys/param.h: File removed.
7129 * sysdeps/unix/sysv/linux/bits/param.h: New file.
7130 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
7131 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 7132 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 7133
b7c08a66
RM
7134 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
7135 last change.
7136
b2e1c562
RM
7137 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
7138 [_IO_MTSAFE_IO].
7139 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
7140 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
7141 New macros.
7142
c75ccd4c
RM
7143 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
7144 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
7145 rather than -D_IO_MTSAFE_IO conditionally.
7146 * stdio-common/Makefile (CPPFLAGS): Likewise.
7147 * wcsmbs/Makefile (CPPFLAGS): Likewise.
7148 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
7149 Use $(libio-mtsafe).
7150 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
7151 of -D_IO_MTSAFE_IO.
7152 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
7153 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
7154 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
7155 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
7156 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
7157 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
7158 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
7159 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
7160 (CFLAGS-fread_u_chk.c): Likewise.
7161 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
7162 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
7163 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
7164 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
7165 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
7166 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
7167 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
7168 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
7169 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
7170
7171 * libio/Makefile: Test [$(libc-reentrant) = yes]
7172 instead of [$(filter %REENTRANT, $(defines)) nonempty].
7173
7174 * Makeconfig
7175 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
7176 * sysdeps/pthread/configure: File removed.
7177 * sysdeps/pthread/Makeconfig: New file.
7178 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
7179 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
7180
d9195db8
GB
71812012-08-16 Gary Benson <gbenson@redhat.com>
7182
7183 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
7184 unmapping the first object in a namespace.
7185
86466cd9
RM
71862012-08-16 Roland McGrath <roland@hack.frob.com>
7187
7188 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
7189 (__internal_setnetgrent): ... this. Add internal_function to
7190 definition. Add libc_hidden_def.
7191 (setnetgrent): Update caller.
7192 (internal_endnetgrent): Renamed to ...
7193 (__internal_endnetgrent): ... this. Add internal_function to
7194 definition. Add libc_hidden_def.
7195 (endnetgrent): Update caller.
7196 (internal_getnetgrent_r): Renamed to ...
7197 (__internal_getnetgrent_r): ... this. Add internal_function to
7198 definition. Add libc_hidden_def.
7199 (__getnetgrent_r): Update caller.
7200 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
7201
c3c8283c
JM
72022012-08-16 Joseph Myers <joseph@codesourcery.com>
7203
7204 * stdlib/longlong.h: Update from GCC.
7205
db1ee0a8
RM
72062012-08-16 Roland McGrath <roland@hack.frob.com>
7207
7208 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
7209 on _QL, which is set by umul_ppmm but never used.
7210 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
7211 variables, which are set by GMP macros but never used.
7212 * stdio-common/_itowa.c (_itowa): Likewise.
7213 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
7214 * stdlib/mod_1.c (mpn_mod_1): Likewise.
7215
30f69637
CD
72162012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
7217
7218 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
7219 struct La_sh_regs is not constant.
7220 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
7221 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
7222 and struct La_sparc64_regs are not constant.
7223
93a78ac4
JM
72242012-08-16 Joseph Myers <joseph@codesourcery.com>
7225
7226 * sysdeps/unix/sysv/linux/kernel-features.h
7227 (__ASSUME_POSIX_TIMERS): Remove.
7228 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7229 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7230 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
7231 Make code unconditional.
7232 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7233 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
7234 Make code unconditional.
7235 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7236 * sysdeps/unix/sysv/linux/clock_nanosleep.c
7237 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
7238 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7239 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
7240 Make code unconditional.
7241 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
7242 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
7243 (__libc_missing_posix_timers): Remove.
7244
dd924cd7
RM
72452012-08-15 Roland McGrath <roland@hack.frob.com>
7246
4b4f2771
RM
7247 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
7248 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
7249
601c888b
RM
7250 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
7251
176790a7
RM
7252 * elf/dl-sym.c: Include <stdlib.h>.
7253
329bc018
RM
7254 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
7255 constants, which avoids warnings in 32-bit builds.
7256
e04e272d
RM
7257 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
7258 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
7259
952bf94a
RM
7260 * misc/lseek.c: File moved to ...
7261 * io/lseek.c: ... here.
7262
7c99b50a
RM
7263 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
7264
dd924cd7
RM
7265 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
7266 shifting LEN more than 31 bits at once.
7267
b3f479a8
LD
72682012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7269
7270 [BZ #14195]
8c4ae0d4
RM
7271 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
7272 segmentation fault for a case of two empty input strings.
b3f479a8
LD
7273 * string/test-strncasecmp.c (check1): Renamed to...
7274 (bz12205): ...this.
7275 (bz14195): Add new testcase for two empty input strings and N > 0.
7276 (test_main): Call new testcase, adapt for renamed function.
7277
9c55864e
AJ
72782012-08-15 Andreas Jaeger <aj@suse.de>
7279
7280 [BZ #14090]
7281 * crypt/md5test2.c: New test, based on test supplied by Serge
7282 Belyshev <belyshev@depni.sinp.msu.ru>.
7283 * crypt/Makefile (xtests): Add md5test-giant..
7284 * crypt/Makefile ($(objpfx)md5test-giant): Add.
7285
02dcb6c5
PE
72862012-08-15 Paul Eggert <eggert@cs.ucla.edu>
7287
7288 [BZ #14090]
7289 * crypt/md5.c (md5_process_block): Don't assume the buffer
7290 length is less than 2**32.
7291 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
7292 length is less than 2**64.
7293
a3f95dcc
RM
72942012-08-15 Roland McGrath <roland@hack.frob.com>
7295
be75d758
RM
7296 * string/str-two-way.h: Include <sys/param.h>.
7297 (MAX): Macro removed.
7298
7312ca90
RM
7299 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
7300 Move #define and #undef of memmove to just before and after
7301 including <string.h>.
7302
9a0a5486
RM
7303 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
7304 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
7305 and after including <string.h>. Move declarations of
7306 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
7307 to before #include "string/memmove.c".
7308
67cc348d
RM
7309 * include/dirent.h: Declare __getdirentries.
7310
a3f95dcc
RM
7311 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
7312 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
7313
ca98e171
MF
73142012-08-14 Mike Frysinger <vapier@gentoo.org>
7315
7316 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
7317 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
7318 * sysdeps/i386/configure: Regenerated.
7319 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
7320 STABS_CURRENT_FILE, and STABS_FUN.
7321 (END): Remove call to STABS_FUN_END.
7322 (STABS_CURRENT_FILE1): Delete.
7323 (STABS_CURRENT_FILE): Likewise.
7324 (STABS_FUN): Likewise.
7325 (STABS_FUN_END): Likewise.
7326 (STABS_FUN2): Likewise.
7327 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
7328 * sysdeps/x86_64/configure: Regenerated.
7329
5908bf46
RM
73302012-08-14 Roland McGrath <roland@hack.frob.com>
7331
7332 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 7333 * elf/dl-lookup.c: Likewise.
5908bf46 7334
f2c05b9e
JM
73352012-08-14 Joseph Myers <joseph@codesourcery.com>
7336
7337 * sysdeps/unix/sysv/linux/kernel-features.h
7338 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
7339 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
7340 unconditionally.
7341 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
7342 unconditionally.
7343 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
7344 condition on __ASSUME_CLONE_THREAD_FLAGS.
7345
e11f5155
AJ
73462012-08-14 Andreas Jaeger <aj@suse.de>
7347
7348 * sysdeps/i386/fpu/libm-test-ulps: Update.
7349
51a9ba86
MK
73502012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
7351
2fdd4f78
AJ
7352 * include/atomic.h (atomic_exchange_and_add): Split into ...
7353 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
7354 New atomic macros.
51a9ba86 7355
ba6cba9e
MT
73562012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
7357
7358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7359
42443a47
JL
73602012-08-13 Jeff Law <law@redhat.com>
7361
7362 * manual/stdio.texi (snprintf): Clarify handling of the trailing
7363 null byte in the output string.
7364
121dce05
JM
73652012-08-10 Joseph Myers <joseph@codesourcery.com>
7366
7367 * sysdeps/unix/sysv/linux/kernel-features.h
7368 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
7369 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
7370 (__ASSUME_ARG_MAX_STACK_BASED): Define.
7371 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7372 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
7373 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
7374 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
7375
bf51f568
JL
73762012-08-09 Jeff Law <law@redhat.com>
7377
7378 [BZ #13939]
7379 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
7380 When avoid_arena is set, don't retry in the that arena. Pick the
7381 next one, whatever it might be.
7382 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
7383 (arena_lock): Pass in new parameter to arena_get2.
7384 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
7385 arena_get2.
7386 (__libc_malloc): Unify retrying after main arena failure with
7387 __libc_memalign version.
7388 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
7389
f85fa270
L
73902012-08-09 H.J. Lu <hongjiu.lu@intel.com>
7391
7392 [BZ #14166]
7393 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
7394 to __redirect_strstr.
7395 (__strstr_sse42): Use typeof __redirect_strstr.
7396 (__strstr_ia32): Likewise.
7397 (__libc_strstr): New prototype.
7398 (strstr): Renamed to ...
7399 (__libc_strstr): This.
7400 (strstr): New strong alias of __libc_strstr.
7401 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7402 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
7403 __redirect_time.
7404 Include <time.h>.
7405 (__libc_time): New prototype.
7406 (time_ifunc): Replace time with __libc_time.
7407 (time): New strong alias and hidden definition of __libc_time.
7408 (__GI_time): Remove strong alias.
7409 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
7410 Include <stddef.h>.
7411 (memmove): Redefined to __redirect_memmove.
7412 (__memmove_sse2): Use typeof __redirect_memmove.
7413 (__memmove_ssse3): Likewise.
7414 (__memmove_ssse3_back): Likewise.
7415 (__libc_memmove): New prototype.
7416 (memmove): Renamed to ...
7417 (__libc_memmove): This.
7418 (memmove): New strong alias of __libc_memmove.
7419
33b4a91e
MS
74202012-08-08 Mark Salter <msalter@redhat.com>
7421
7422 * elf/elf.h
7423 (R_MN10300_TLS_GD): Define.
7424 (R_MN10300_TLS_LD): Likewise.
7425 (R_MN10300_TLS_LDO): Likewise.
7426 (R_MN10300_TLS_GOTIE): Likewise.
7427 (R_MN10300_TLS_IE): Likewise.
7428 (R_MN10300_TLS_LE): Likewise.
7429 (R_MN10300_TLS_DTPMOD): Likewise.
7430 (R_MN10300_TLS_DTPOFF): Likewise.
7431 (R_MN10300_TLS_TPOFF): Likewise.
7432 (R_MN10300_SYM_DIFF): Likewise.
7433 (R_MN10300_ALIGN): Likewise.
7434 (R_MN10300_NUM): Update.
7435
b36137f1
JM
74362012-08-08 Joseph Myers <joseph@codesourcery.com>
7437
7438 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
7439 Remove.
7440
cdd915fd
RM
74412012-08-08 Roland McGrath <roland@hack.frob.com>
7442
a2433aac
RM
7443 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
7444
cdd915fd
RM
7445 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
7446 sysdeps/unix -> sysdeps/posix move.
7447 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7448
bf9b740a
AM
74492012-08-07 Allan McRae <allan@archlinux.org>
7450
7451 [BZ #14303]
7452 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
7453 (SUNOS_CPP): Likewise.
7454 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
7455 not found.
7456 (open_input): Call CPP using execvp.
7457
93df14ee
JM
74582012-08-07 Joseph Myers <joseph@codesourcery.com>
7459
7460 * sysdeps/unix/sysv/linux/kernel-features.h
7461 (__ASSUME_PROT_GROWSUPDOWN): Remove.
7462 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7463 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7464 (__ASSUME_WAITID_SYSCALL): Likewise.
7465 * sysdeps/unix/sysv/linux/dl-execstack.c
7466 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
7467 code unconditional.
7468 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
7469 conditional code.
7470 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
7471 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
7472 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
7473 code.
7474 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
7475 unconditional.
7476 [__ASSUME_WAITID_SYSCALL]: Likewise.
7477 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
7478
d34689de
RM
74792012-08-07 Roland McGrath <roland@hack.frob.com>
7480
a281decc
RM
7481 * sysdeps/unix/closedir.c: Renamed to ...
7482 * sysdeps/posix/closedir.c: ... here.
7483 * sysdeps/unix/dirfd.c: Renamed to ...
7484 * sysdeps/posix/dirfd.c: ... here.
7485 * sysdeps/unix/dirstream.h: Renamed to ...
7486 * sysdeps/posix/dirstream.h: ... here.
7487 * sysdeps/unix/fdopendir.c: Renamed to ...
7488 * sysdeps/posix/fdopendir.c: ... here.
7489 * sysdeps/unix/opendir.c: Renamed to ...
7490 * sysdeps/posix/opendir.c: ... here.
7491 * sysdeps/unix/readdir.c: Renamed to ...
7492 * sysdeps/posix/readdir.c: ... here.
7493 * sysdeps/unix/readdir_r.c: Renamed to ...
7494 * sysdeps/posix/readdir_r.c: ... here.
7495 * sysdeps/unix/rewinddir.c: Renamed to ...
7496 * sysdeps/posix/rewinddir.c: ... here.
7497 * sysdeps/unix/seekdir.c: Renamed to ...
7498 * sysdeps/posix/seekdir.c: ... here.
7499 * sysdeps/unix/telldir.c: Renamed to ...
7500 * sysdeps/posix/telldir.c: ... here.
7501 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
7502 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
7503 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
7504 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
7505
22895b47
RM
7506 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
7507 * bits/fcntl.h: ... here.
7508
707a53b6
RM
7509 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
7510 not 0.
7511 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
7512 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
7513 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
7514 (struct flock): Move l_start, l_len to the beginning.
7515 Use __pid_t for l_pid.
7516 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
7517 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
7518 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
7519 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
7520 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
7521 [__USE_LARGEFILE64] (struct flock64): New type.
7522 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
7523
f0bd3e25
RM
7524 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
7525 * bits/dirent.h: ... here.
7526
d34689de
RM
7527 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
7528 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
7529
6dad2c06
JM
75302012-08-07 Joseph Myers <joseph@codesourcery.com>
7531
7532 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7533 Change from 2.6.0 to 2.6.16.
7534 * sysdeps/unix/sysv/linux/configure: Regenerated.
7535 * sysdeps/unix/sysv/linux/kernel-features.h
7536 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
7537 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
7538 version.
7539 (__ASSUME_UTIMES): Likewise.
7540 (__ASSUME_CLONE_STOPPED): Remove.
7541 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
7542 architectures, not kernel version.
7543 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
7544 (__ASSUME_NO_CLONE_DETACHED): Likewise.
7545 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
7546 (__ASSUME_WAITID_SYSCALL): Likewise.
7547 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
7548 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
7549 * README: State 2.6.16 as minimum Linux kernel version. Do not
7550 refer to older versions.
7551
03af9520
RM
75522012-08-06 Roland McGrath <roland@hack.frob.com>
7553
8e49df1d
RM
7554 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
7555 Define alphasort64 as an alias.
7556 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
7557 Define versionsort64 as an alias.
7558 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
7559 Define scandir64 as an alias.
7560 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
7561 Define scandirat64 as an alias.
7562 * dirent/alphasort64.c (alphasort64):
7563 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
7564 * dirent/versionsort64.c: Likewise.
7565 * dirent/scandir64.c: Likewise.
7566 * dirent/scandirat64.c: Likewise.
7567 * sysdeps/wordsize-64/alphasort.c: File removed.
7568 * sysdeps/wordsize-64/alphasort64.c: File removed.
7569 * sysdeps/wordsize-64/scandir.c: File removed.
7570 * sysdeps/wordsize-64/scandir64.c: File removed.
7571 * sysdeps/wordsize-64/scandirat.c: File removed.
7572 * sysdeps/wordsize-64/scandirat64.c: File removed.
7573 * sysdeps/wordsize-64/versionsort.c: File removed.
7574 * sysdeps/wordsize-64/versionsort64.c: File removed.
7575 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
7576 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
7577 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
7578 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
7579 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
7580 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
7581 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
7582 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
7583
7584 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
7585 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7586 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
7587 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7588 [defined __arch64__ || defined __sparcv9]
7589 (__INO_T_MATCHES_INO64_T): New macro.
7590 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7591 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
7592 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
7593 * sysdeps/unix/sysv/linux/bits/dirent.h
7594 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
7595 (_DIRENT_MATCHES_DIRENT64): New macro.
7596
03af9520
RM
7597 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
7598 Define lockf64 as an alias.
7599 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
7600 Define fseeko64 as an alias.
7601 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
7602 Define ftello64 as an alias.
7603 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
7604 Define _IO_fgetpos64 and fgetpos64 as aliases.
7605 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
7606 Define _IO_fsetpos64 and fsetpos64 as aliases.
7607 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
7608 Conditionalize body on this.
7609 * libio/fseeko64.c: Likewise.
7610 * libio/ftello64.c: Likewise.
7611 * libio/iofgetpos64.c: Likewise.
7612 * libio/iofsetpos64.c: Likewise.
7613 * sysdeps/wordsize-64/lockf.c: File removed.
7614 * sysdeps/wordsize-64/lockf64.c: File removed.
7615 * sysdeps/wordsize-64/fseeko.c: File removed.
7616 * sysdeps/wordsize-64/fseeko64.c: File removed.
7617 * sysdeps/wordsize-64/ftello.c: File removed.
7618 * sysdeps/wordsize-64/ftello64.c: File removed.
7619 * sysdeps/wordsize-64/iofgetpos.c: File removed.
7620 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
7621 * sysdeps/wordsize-64/iofsetpos.c: File removed.
7622 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
7623 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
7624 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
7625 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
7626 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
7627 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
7628 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
7629 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
7630 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
7631 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
7632 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
7633
7634 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7635 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
7636 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
7637 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7638 [defined __arch64__ || defined __sparcv9]
7639 (__OFF_T_MATCHES_OFF64_T): New macro.
7640 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7641 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
7642 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7643 (__OFF_T_MATCHES_OFF64_T): New macro.
7644
c5757acd
L
76452012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7646
7647 * stdlib/secure-getenv.c (__secure_getenv): Replace
7648 GLIBC_2_16 with GLIBC_2_17.
7649
3a31811e
L
76502012-08-06 H.J. Lu <hongjiu.lu@intel.com>
7651
7652 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
7653 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
7654
faa2bccb
DM
76552012-08-03 David S. Miller <davem@davemloft.net>
7656
7657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7658
85fe1997
JM
76592012-08-03 Joseph Myers <joseph@codesourcery.com>
7660
7661 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
7662 Remove.
7663 (__ASSUME_CORRECT_SI_PID): Likewise.
7664 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
7665 (__ASSUME_TMPFS_NAME): Likewise.
7666 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
7667 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
7668 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
7669 (HAVE_AUX_SECURE): Make definition unconditional.
7670 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
7671 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
7672
4f75b7a0
RM
76732012-08-03 Roland McGrath <roland@hack.frob.com>
7674
7675 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
7676 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
7677 * sysdeps/mach/hurd/eloop-threshold.h: New file.
7678 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7679 __eloop_threshold instead of SYMLOOP_MAX.
7680
7681 * sysdeps/generic/eloop-threshold.h: New file.
7682 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
7683 of MAXSYMLINKS.
7684 * elf/chroot_canon.c (chroot_canon): Likewise.
7685
7aab07e4
JM
76862012-08-03 Joseph Myers <joseph@codesourcery.com>
7687
7688 [BZ #13717]
7689 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7690 Change to 2.6.0 everywhere.
7691 * sysdeps/unix/sysv/linux/configure: Regenerated.
7692 * sysdeps/unix/sysv/linux/kernel-features.h
7693 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
7694 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
7695 kernel versions.
7696 (__ASSUME_POSIX_TIMERS): Define unconditionally.
7697 (__ASSUME_FUTEX_REQUEUE): Remove.
7698 (__ASSUME_STATFS64): Define unconditionally.
7699 (__ASSUME_AT_SECURE): Likewise.
7700 (__ASSUME_CORRECT_SI_PID): Likewise.
7701 (__ASSUME_TGKILL): Define without depending on kernel version for
7702 i386.
7703 (__ASSUME_UTIMES): Likewise.
7704 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
7705 kernel version.
7706 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
7707 (__ASSUME_TMPFS_NAME): Likewise.
7708 * README: Update reference to Linux kernel versions.
7709
b67e9372
MP
77102012-08-02 Marek Polacek <polacek@redhat.com>
7711
1f529f7d 7712 [BZ# 14150]
b67e9372
MP
7713 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
7714 libc_cv_asm_type_prefix with %.
7715 * configure: Regenerated.
d2441631
RM
7716 * include/libc-symbols.h: Remove comment about
7717 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
7718 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
7719 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
7720 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
7721 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
7722 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
7723 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
7724 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
7725 * elf/tst-unique2mod1.c: Likewise.
7726 * elf/tst-unique1mod2.c: Likewise.
7727 * elf/tst-unique1mod1.c: Likewise.
7728 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
7729 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
7730 Replace ASM_TYPE_DIRECTIVE with .type.
7731 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7732 * sysdeps/i386/sysdep.h: Likewise.
7733 * sysdeps/x86_64/sysdep.h: Likewise.
7734 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
7735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7736 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 7737 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
7738 * sysdeps/powerpc/powerpc32/sysdep.h:
7739 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
7740 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7741 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7742 * sysdeps/i386/fpu/e_powf.S: Likewise.
7743 * sysdeps/i386/fpu/e_expl.S: Likewise.
7744 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7745 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7746 * sysdeps/i386/fpu/e_pow.S: Likewise.
7747 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7748 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7749 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7750 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7751 * sysdeps/i386/fpu/e_log2.S: Likewise.
7752 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7753 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7754 * sysdeps/i386/fpu/e_powl.S: Likewise.
7755 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7756 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7757 * sysdeps/i386/fpu/e_logl.S: Likewise.
7758 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7759 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7760 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7761 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7762 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7763 * sysdeps/i386/fpu/e_log.S: Likewise.
7764 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7765 * sysdeps/i386/fpu/e_logf.S: Likewise.
7766 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7767 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7768 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7769 * sysdeps/i386/fpu/e_log10.S: Likewise.
7770 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7771 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7772 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7773 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7774 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7775 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7776 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7777 * sysdeps/i386/i686/strtok.S: Likewise.
7778 * sysdeps/i386/i386-mcount.S: Likewise.
7779 * sysdeps/i386/strtok.S: Likewise.
7780 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
7781 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7782 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7783 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7784 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7785 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7786 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7787 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7788 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7789 * sysdeps/x86_64/_mcount.S: Likewise.
7790 * sysdeps/x86_64/strtok.S: Likewise.
7791 * sysdeps/sh/_mcount.S: Likewise.
7792
2747bf9a
RM
77932012-08-01 Roland McGrath <roland@hack.frob.com>
7794
7795 * libio/iofopen.c: Include <fcntl.h>.
7796 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
7797 (_IO_fopen64, fopen64): Define as aliases.
7798 * libio/iofopen64.c: Include <fcntl.h>.
7799 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
7800 Conditionalize body on this.
7801 * sysdeps/wordsize-64/iofopen.c: File removed.
7802 * sysdeps/wordsize-64/iofopen64.c: File removed.
7803
3fb791b8
MP
78042012-08-01 Marek Polacek <polacek@redhat.com>
7805
7806 * libc/Makeconfig: Use elf in place of binfmt-subdir.
7807 Use dlfcn directly instead of a variable.
7808 (binfmt-subdir): Do not define.
7809 (dlfcn): Likewise.
7810
a9f1039f
JM
78112012-08-01 Joseph Myers <joseph@codesourcery.com>
7812
23bddc06
JM
7813 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
7814 Remove all definitions.
7815 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
7816 <kernel-features.h>.
7817 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7818 (miss_F_GETOWN_EX): Remove all definitions.
7819 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
7820 macro definition.
7821 [!__ASSUME_FCNTL64]: Remove conditional code.
7822 [__ASSUME_FCNTL64]: Make code unconditional.
7823 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
7824 <kernel-features.h>.
7825 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
7826 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
7827 (lockf64) [__NR_fcntl64]: Make code unconditional.
7828 (lockf64) [__ASSUME_FCNTL64]: Likewise.
7829
a9f1039f
JM
7830 * sysdeps/unix/sysv/linux/kernel-features.h
7831 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
7832 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
7833 Make code unconditional.
7834 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7835 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
7837 [__NR_vfork]: Make code unconditional.
7838 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7839 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
7841 [__NR_vfork]: Make code unconditional.
7842 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
7843 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
7844
09c0ee5f
RM
78452012-08-01 Roland McGrath <roland@hack.frob.com>
7846
48aec5b9
RM
7847 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
7848 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
7849
cd97c966
RM
7850 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7851 Define mkstemp64 as an alias.
3f55550c
RM
7852 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7853 Define mkstemps64 as an alias.
cd97c966
RM
7854 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7855 Define mkostemp64 as an alias.
b8625cfc
RM
7856 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
7857 Define mkostemps64 as an alias.
cd97c966
RM
7858 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
7859 Conditionalize body on this.
7860 * misc/mkostemp64.c: Likewise.
b8625cfc 7861 * misc/mkostemps64.c: Likewise.
3f55550c 7862 * misc/mkstemps64.c: Likewise.
cd97c966
RM
7863 * sysdeps/wordsize-64/mkstemp64.c: File removed.
7864 * sysdeps/wordsize-64/mkostemp64.c: File removed.
7865 * sysdeps/wordsize-64/mkostemp.c: File removed.
7866 * sysdeps/wordsize-64/mkstemp.c: File removed.
7867 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
7868 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
7869 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
7870 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
7871
09c0ee5f
RM
7872 [BZ #14138]
7873 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
7874 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
7875 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
7876 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
7877
7878 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
7879 compat_symbol macros from <shlib-compat.h> rather than the underlying
7880 default_symbol_version and symbol_version macros, so that DEFAULT
7881 lines in shlib-versions are respected.
7882 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
7883
7e66ee51
FW
78842012-08-01 Florian Weimer <fweimer@redhat.com>
7885
7886 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7887 Declare with warn_unused_result.
7888 (setgid, setregid, setegid, setresgid): Likewise.
7889 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7890 Likewise.
7891 * WUR-REPORT: Remove set*id functions.
7892
d2a54255
PT
78932012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7894
7895 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7896
7ecdb005
RM
78972012-07-31 Roland McGrath <roland@hack.frob.com>
7898
789bd351
RM
7899 * include/sys/socket.h (__libc_accept, __libc_accept4):
7900 Add attribute_hidden.
7901 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7902
40ce302d
RM
7903 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7904 use of PTR_MANGLE.
7905 * inet/getnetgrent_r.c (setup): Likewise.
7906
7ecdb005
RM
7907 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7908
e2eabb2c
DM
79092012-07-31 David S. Miller <davem@davemloft.net>
7910
7911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7912
d0419dbf
JM
79132012-07-31 Joseph Myers <joseph@codesourcery.com>
7914
7915 [BZ #13629]
7916 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7917 value between 1.0 and 2.0 and smaller part has absolute value less
7918 than 1.0.
7919 * math/s_clog10.c (__clog10): Likewise.
7920 * math/s_clog10f.c (__clog10f): Likewise.
7921 * math/s_clog10l.c (__clog10l): Likewise.
7922 * math/s_clogf.c (__clogf): Likewise.
7923 * math/s_clogl.c (__clogl): Likewise.
7924 * math/libm-test.inc (clog_test): Add more tests.
7925 (clog10_test): Likewise.
7926 * sysdeps/i386/fpu/libm-test-ulps: Update.
7927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7928
2bc13872
FW
79292012-07-31 Florian Weimer <fweimer@redhat.com>
7930
7931 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7932 Exit with zero in case no suitable GID is found, and write a
7933 message to standard error.
7934
bea9b193
RM
79352012-07-30 Roland McGrath <roland@hack.frob.com>
7936
7937 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7938 rather than to 1.
7939 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7940 (MAXPATHLEN): Removed.
7941 (NOGROUP, NODEV): New macros.
7942 (setbit, clrbit, isset, isclr): New macros.
7943 (howmany, roundup, powerof2): New macros.
7944 (DEV_BSIZE): New macro.
7945
7946 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7947 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7948
7949 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7950 definition on [!__NO_LONG_DOUBLE_MATH].
7951
7952 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7953 PTR_MANGLE and PTR_DEMANGLE.
7954
7955 * socket/accept4.c (accept4): Rename to __libc_accept4.
7956 Define accept4 as a weak alias.
7957
7958 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7959 on [_DIRENT_HAVE_D_TYPE].
7960 * io/ftw.c (ftw_dir): Likewise.
7961
7962 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7963
7964 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7965
7966 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7967 Use the BSD numbers rather than the arbitrary ones we had.
7968 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7969 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7970 (SIGXCPU, SIGXFSZ): New macros.
7971 (_NSIG): Now 32.
7972
7973 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7974 initializer on [_LIBC_REENTRANT].
7975
7976 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7977 definitions inside [_POSIX_MAPPED_FILES].
7978
7979 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7980
7981 * dirent/opendir.c: Include <fcntl.h>.
7982
7983 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7984 (__libc_getspecific): Likewise.
7985 (__libc_key_create): Likewise.
7986
7987 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7988 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7989 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7990 (tmpfile64): Define as alias.
7991 * sysdeps/wordsize-64/tmpfile.c: File removed.
7992 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7993 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7994 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7995
7996 * stdio-common/vfscanf.c: Include <stdbool.h>.
7997 * nss/makedb.c: Likewise.
7998 * stdio-common/_i18n_number.h: Likewise.
7999 * argp/argp-help.c: Likewise.
8000 * posix/wordexp.c: Likewise.
8001 * sysdeps/posix/spawni.c: Likewise.
8002 * nss/nss_files/files-initgroups.c: Likewise.
8003 * stdio-common/reg-modifier.c: Include <stdlib.h>.
8004 * nss/nss_files/files-initgroups.c: Likewise.
8005 * nss/nss_db/db-netgrp.c: Likewise.
8006 * nss/nss_db/db-initgroups.c: Likewise.
8007 * io/fchmodat.c: Include <sys/stat.h>.
8008
8009 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
8010 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
8011
8012 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
8013 [HAVE_MMAP].
8014
8015 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
8016 Add multiple inclusion protection.
8017
e5abc686
DM
80182012-07-27 David S. Miller <davem@davemloft.net>
8019
8020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8021
815e6fa3
GB
80222012-07-27 Gary Benson <gbenson@redhat.com>
8023
8024 [BZ #14298]
8025 * elf/rtld.c: Include <stap-probe.h>.
8026 (dl_main): Added static probes "init_start" and "init_complete".
8027 * elf/dl-load.c: Include <stap-probe.h>.
8028 (lose): Take new parameter "nsid".
8029 Added static probe "map_failed".
8030 (_dl_map_object_from_fd): Pass namespace id to lose.
8031 Added static probe "map_start".
8032 (open_verify): Pass namespace id to lose.
8033 * elf/dl-open.c: Include <stap-probe.h>.
8034 (dl_open_worker) Added static probes "map_complete", "reloc_start"
8035 and "reloc_complete".
8036 * elf/dl-close.c: Include <stap-probe.h>.
8037 (_dl_close_worker): Added static probes "unmap_start" and
8038 "unmap_complete".
8039 * elf/rtld-debugger-interface.txt: New file documenting the above.
8040
9f98c16c
RM
80412012-07-26 Roland McGrath <roland@hack.frob.com>
8042
8043 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
8044 rather than a string variable.
8045 * sunrpc/rpc_main.c (h_output): Likewise.
8046 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
8047
f3c22df3
PT
80482012-07-26 Pino Toscano <toscano.pino@tiscali.it>
8049
8050 * inet/check_native.c: New file.
8051
3129cfc6
JM
80522012-07-26 Joseph Myers <joseph@codesourcery.com>
8053
da865e95
JM
8054 [BZ #13629]
8055 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
8056 if larger part has absolute value 1.0.
8057 * math/s_clog10.c (__clog10): Likewise.
8058 * math/s_clog10f.c (__clog10f): Likewise.
8059 * math/s_clog10l.c (__clog10l): Likewise.
8060 * math/s_clogf.c (__clogf): Likewise.
8061 * math/s_clogl.c (__clogl): Likewise.
8062 * math/libm-test.inc (clog_test): Add more tests.
8063 (clog10_test): Likewise.
8064 * sysdeps/i386/fpu/libm-test-ulps: Update.
8065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8066
3129cfc6
JM
8067 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
8068 (pltexit): Likewise.
8069 (La_regs): Likewise.
8070 (La_retval): Likewise.
8071 (int_retval): Likewise.
8072 Update #error for removed macros to refer only to definitions in
8073 tst-audit.h.
8074 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
8075 macro.
8076 (pltexit): Likewise.
8077 (La_regs): Likewise.
8078 (La_retval): Likewise.
8079 (int_retval): Likewise.
8080 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
8081 macro.
8082 (pltexit): Likewise.
8083 (La_regs): Likewise.
8084 (La_retval): Likewise.
8085 (int_retval): Likewise.
8086 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
8087 macro.
8088 (pltexit): Likewise.
8089 (La_regs): Likewise.
8090 (La_retval): Likewise.
8091 (int_retval): Likewise.
8092 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
8093 macro.
8094 (pltexit): Likewise.
8095 (La_regs): Likewise.
8096 (La_retval): Likewise.
8097 (int_retval): Likewise.
8098 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
8099 macro.
8100 (pltexit): Likewise.
8101 (La_regs): Likewise.
8102 (La_retval): Likewise.
8103 (int_retval): Likewise.
8104 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
8105 macro.
8106 (pltexit): Likewise.
8107 (La_regs): Likewise.
8108 (La_retval): Likewise.
8109 (int_retval): Likewise.
8110 * sysdeps/generic/tst-audit.h: Update comment to refer only to
8111 macro definitions in tst-audit.h.
8112 * sysdeps/i386/tst-audit.h: New file.
8113 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
8114 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
8115 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
8116 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
8117 * sysdeps/sh/tst-audit.h: Likewise.
8118 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
8119 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
8120 * sysdeps/x86_64/tst-audit.h: Likewise.
8121
bfc07087
AJ
81222012-07-26 Andreas Jaeger <aj@suse.de>
8123
b1b2aaf8
AJ
8124 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
8125 ptrace.
8126
8127 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
8128 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
8129 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
8130 PTRACE_O_MASK.
8131 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
8132 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
8133 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
8134
bfc07087
AJ
8135 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
8136 value.
8137
8138 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
8139 _sigsys.
8140 (si_call_addr, si_syscall, si_arch): Define new macro.
8141 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
8142 _sigsys.
8143 (si_call_addr, si_syscall, si_arch): Define new marcro.
8144 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
8145 _sigsys.
8146 (si_call_addr, si_syscall, si_arch): Define new macro.
8147 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
8148 _sigsys.
8149 (si_call_addr, si_syscall, si_arch): Define new macro.
8150
89b4b02f
JM
81512012-07-25 Joseph Myers <joseph@codesourcery.com>
8152
8153 [BZ #13717]
8154 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8155 Change to 2.4.21 where previously 2.4.1.
8156 * sysdeps/unix/sysv/linux/configure: Regenerated.
8157 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
8158 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
8159 Linux kernel version.
8160 (__ASSUME_STD_AUXV): Remove.
8161 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
8162 kernel version.
8163 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
8164 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
8165 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
8166 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
8167 (__ASSUME_NETLINK_SUPPORT): Likewise.
8168 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
8169 (__no_netlink_support): Remove conditional definition.
8170 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
8171 Remove.
8172 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8173 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
8174 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
8175 (if_nameindex_ioctl): Remove.
8176 (if_nameindex_netlink): Do not handle __no_netlink_support.
8177 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8178 code.
8179 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
8180 Remove conditional code.
8181 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
8182 code.
8183 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
8184 unconditional.
8185 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
8186 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
8187 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
8188 Remove.
8189 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
8190 [!__ASSUME_STD_AUXV]: Remove conditional code.
8191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
8192 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
8193 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
8194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
8195 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
8196 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8197 code.
8198 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8200 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
8201 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8202 conditional code.
8203 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
8204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8205 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
8206 code.
8207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8208 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
8209 conditional code.
8210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
8211 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8212 code unconditional.
8213 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8214 conditional code.
8215 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8216 unconditional.
8217 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8218 conditional code.
8219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8220 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8221 unconditional.
8222 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8223 conditional code.
8224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8225 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8226 code unconditional.
8227 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8228 conditional code.
8229 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8230 unconditional.
8231 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8232 conditional code.
8233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8234 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
8235 code unconditional.
8236 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8237 conditional code.
8238 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
8239 unconditional.
8240 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
8241 conditional code.
8242
842a39cd
AS
82432012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8244
8245 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
8246 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
8247 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8248 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
8249 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8250 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8251 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8252 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8253 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
8254 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
8255 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
8256 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
8257 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
8258 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8259 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8260 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
8261 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
8262 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
8263 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
8264 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
8265 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
8266 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8267 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8268
84b3fd84
FW
82692012-07-25 Florian Weimer <fweimer@redhat.com>
8270
8271 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
8272 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
8273 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
8274 Introduce __libc_secure_getenv.
0c7936d5
FW
8275 * stdlib/Versions (2.17): Add secure_getenv
8276 (GLIBC_PRIVATE): Add __libc_secure_getenv.
8277 * stdlib/secure-getenv.c: Rename __secure_getenv to
8278 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
8279 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
8280 * stdlib/tst-secure-getenv.c: New.
8281 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
8282 * manual/startup.texi (Environment Access): Document
8283 secure_getenv.
84b3fd84
FW
8284 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
8285 __libc_secure_getenv.
8286 * inet/ruserpass.c (ruserpass): Likewise.
8287 * malloc/mtrace.c (mtrace): Likewise.
8288 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 8289 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
8290 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
8291 * sysdeps/posix/tempname.c: Likewise. Evaluate
8292 HAVE_SECURE_GETENV.
8293 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 8294 __secure_getenv to __libc_secure_getenv.
84b3fd84 8295 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
8296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8297 Likewise.
8298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8299 Likewise.
8300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8302 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 8307
56e49b71
JM
83082012-07-25 Joseph Myers <joseph@codesourcery.com>
8309
8310 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
8311 (struct La_i86_retval): Likewise.
8312 (struct La_x86_64_regs): Likewise.
8313 (struct La_x86_64_retval): Likewise.
8314 (struct La_x32_regs): Likewise.
8315 (struct La_x32_retval): Likewise.
8316 (struct La_ppc32_regs): Likewise.
8317 (struct La_ppc32_retval): Likewise.
8318 (struct La_ppc64_regs): Likewise.
8319 (struct La_ppc64_retval): Likewise.
8320 (struct La_sh_regs): Likewise.
8321 (struct La_sh_retval): Likewise.
8322 (struct La_s390_32_regs): Likewise.
8323 (struct La_s390_32_retval): Likewise.
8324 (struct La_s390_64_regs): Likewise.
8325 (struct La_s390_64_retval): Likewise.
8326 (struct La_sparc32_regs): Likewise.
8327 (struct La_sparc32_retval): Likewise.
8328 (struct La_sparc64_regs): Likewise.
8329 (struct La_sparc64_retval): Likewise.
8330 (struct audit_ifaces): Remove architecture-specific pltenter and
8331 pltexit members.
8332 * sysdeps/i386/ldsodefs.h: New file.
8333 * sysdeps/powerpc/ldsodefs.h: Likewise.
8334 * sysdeps/s390/ldsodefs.h: Likewise.
8335 * sysdeps/sh/ldsodefs.h: Likewise.
8336 * sysdeps/sparc/ldsodefs.h: Likewise.
8337 * sysdeps/x86_64/ldsodefs.h: Likewise.
8338
354691b7
MP
83392012-07-25 Marek Polacek <polacek@redhat.com>
8340
8341 [BZ #6808]
8342 * math/libm-test.inc (yn_test): Add another test.
8343 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
8344 to ERANGE when the result is +-Inf.
8345 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8346 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
8347 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
8348 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
8349
bf9e2071
JM
83502012-07-24 Joseph Myers <joseph@codesourcery.com>
8351
8352 * conform/data/time.h-data (NULL): Use macro-constant. Require
8353 equal to 0.
8354 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
8355 clock_t.
8356 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
8357
57633811
TS
83582012-07-23 Thomas Schwinge <thomas@codesourcery.com>
8359
8360 * configure.in <sysdeps resolving>: Correct printing
8361 Implies_before.
8362 * configure: Regenerate.
8363
c23c33b0
TS
83642012-07-22 Thomas Schwinge <thomas@codesourcery.com>
8365
8366 * math/w_ilogb.c: Include <limits.h>.
8367 * math/w_ilogbl.c: Likewise.
8368
b5982523
JM
83692012-07-20 Joseph Myers <joseph@codesourcery.com>
8370
8371 * manual/lang.texi (__va_copy): Document primarily as ISO C99
8372 va_copy. Document allowing for unavailable va_copy only as
8373 pre-C99 compatibility.
8374 * manual/string.texi (Copying and Concatenation): Use va_copy
8375 instead of __va_copy in concat example.
8376
ac4ea442
PT
83772012-07-20 Pino Toscano <toscano.pino@tiscali.it>
8378
8379 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
8380 (__sendto): Use create_address_port. Initialize APORT and deallocate
8381 it if not null.
8382
f98eafbd
PT
8383 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
8384 with O_NOLINK passed to __file_name_lookup.
8385
898c7aab
PT
8386 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
8387 with O_NOLINK passed to __file_name_lookup.
8388
0ced335a
PT
8389 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
8390 negative N or less than NGIDS.
8391
b3404dbd
PT
8392 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
8393 type to string_t. Set ERANGE as errno and return it if NAME is not big
8394 enough. Use memcpy instead of strncpy.
8395
0f48659e
JM
83962012-07-20 Joseph Myers <joseph@codesourcery.com>
8397
8398 * elf/Makefile (check-data): Remove.
8399 (localplt.data): New vpath directive.
8400 ($(objpfx)check-localplt.out): Use localplt.data from vpath
8401 instead of $(check-data).
8402 * scripts/data/localplt-generic.data: Move to ...
8403 * sysdeps/generic/localplt.data: ... here.
8404 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
8405 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
8406 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
8407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8408 ... here.
8409 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
8410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8411 ... here.
8412 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
8413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
8414 ... here.
8415 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
8416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8417 ... here.
8418 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
8419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
8420 ... here.
8421 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
8422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
8423 ... here.
8424
d37cbdaa
AZ
84252012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8426
8427 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
8428 PPC32 and PPC64 files.
8429 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
8430 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
8431
46f85fc2
AK
84322012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8433
8434 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
8435 __makecontext_ret to ...
8436 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8437 ... here and call exit if uc_link is NULL. New file.
8438 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
8439 __makecontext_ret.S.
8440 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
8441 __makecontext_ret to ...
8442 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8443 ... here and call exit if uc_link is NULL. New file.
8444 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
8445 __makecontext_ret.S.
8446
08f43f9b
AK
84472012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8448
8449 * elf/elf.h (R_390_IRELATIVE): New definition.
8450 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
8451 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
8452 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
8453 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8454 (elf_machine_lazy_rel): Likewise.
8455 * sysdeps/s390/dl-irel.h: New file.
8456 * sysdeps/s390/s390-64/memcpy.S: New asm code.
8457 * sysdeps/s390/s390-64/memset.S: New asm code.
8458 * sysdeps/s390/s390-64/memcmp.S: New asm code.
8459 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
8460 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
8461 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
8462 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
8463 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
8464 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
8465 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
8466 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
8467 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
8468 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
8469 * sysdeps/s390/s390-32/memcpy.S: New asm code.
8470 * sysdeps/s390/s390-32/memset.S: New asm code.
8471 * sysdeps/s390/s390-32/memcmp.S: New asm code.
8472
3b05db33
MP
84732012-07-17 Marek Polacek <polacek@redhat.com>
8474
8475 [BZ #14349]
8476 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
8477 * sysdeps/s390/s390-64/configure.in: Likewise.
8478 * sysdeps/sparc/configure.in: Likewise.
8479 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
8480 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
8481 * sysdeps/i386/configure.in: Likewise.
8482 * sysdeps/x86_64/configure.in: Likewise.
8483 * sysdeps/sh/configure.in: Likewise.
8484 * sysdeps/s390/s390-32/configure: Regenerated.
8485 * sysdeps/s390/s390-64/configure: Likewise.
8486 * sysdeps/x86_64/configure: Likewise.
8487 * sysdeps/sh/configure: Likewise.
8488 * sysdeps/powerpc/powerpc64/configure: Likewise.
8489 * sysdeps/powerpc/powerpc32/configure: Likewise.
8490 * sysdeps/sparc/configure: Likwise.
8491 * sysdeps/i386/configure: Likewise.
8492
a66877c6
MP
8493 * elf/dl-open.c: Comment fixes.
8494
cfc82fd8
JM
84952012-07-17 Joseph Myers <joseph@codesourcery.com>
8496
bd29910a
JM
8497 * Makefile [CXX] (check-data): Remove.
8498 [CXX] (c++-types.data): New vpath directive.
8499 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
8500 vpath. Do not allow for C++ type data being missing.
8501 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
8502 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
8503 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
8504 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
8505 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
8506 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
8507 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
8508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8509 ... here.
8510 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
8511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8512 ... here.
8513 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
8514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
8515 ... here.
8516 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
8517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
8518 ... here.
8519 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
8520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
8521 ... here.
8522 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
8523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
8524 ... here.
8525 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
8526 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
8527 ... here.
8528 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
8529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
8530
cfc82fd8
JM
8531 * elf/tls-macros.h (TLS_LE): Move architecture-specific
8532 definitions to architecture-specific files.
8533 (TLS_IE): Likewise.
8534 (TLS_LD): Likewise.
8535 (TLS_GD): Likewise.
8536 * sysdeps/i386/tls-macros.h: New file.
8537 * sysdeps/powerpc/tls-macros.h: Likewise.
8538 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8539 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8540 * sysdeps/sh/tls-macros.h: Likewise.
8541 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
8542 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
8543 * sysdeps/x86_64/tls-macros.h: Likewise.
8544
f7db3170
TS
85452012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8546
07cbfc23
TS
8547 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
8548 zero value for regular exit case.
8549
f7db3170
TS
8550 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8551 (__start_context): Preserve zero value for regular exit case.
8552
dc97c227
TS
85532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
8554 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8555
8556 * manual/setjmp.texi (setcontext): Clarify normal process
8557 termination when uc_link is the null pointer.
8558 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
8559 exit call.
8560
d0cd7d02
AS
85612012-07-16 Andreas Schwab <schwab@linux-m68k.org>
8562
8563 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
8564 preprocessor. Test for each exception mask separately.
8565
dd318934
AJ
85662012-07-16 Andreas Jaeger <aj@suse.de>
8567
8568 * po/ru.po: Update from translation team.
8569
8048311a
JM
85702012-07-15 Joseph Myers <joseph@codesourcery.com>
8571
8572 * conform/data/string.h-data (NULL): Use macro-constant. Require
8573 equal to 0.
8574 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8575 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8576 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
8577 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
8578 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8579
b637d46e
AJ
85802012-07-13 Andreas Jaeger <aj@suse.de>
8581
8582 * po/fr.po: Update from translation team.
8583
541428fe
MP
85842012-07-12 Marek Polacek <polacek@redhat.com>
8585
8586 [BZ #14173]
8587 * math/libm-test.inc (yn_test): Add test for BZ #14173.
8588 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
8589 loop condition.
8590
ec332e94
JM
85912012-07-12 Joseph Myers <joseph@codesourcery.com>
8592
8593 [BZ #13717]
8594 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8595 Change to 2.4.1 where previously 2.4.0.
8596 * sysdeps/unix/sysv/linux/configure: Regenerated.
8597 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
8598 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
8599 version.
8600 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
8601 (__ASSUME_AT_CLKTCK): Remove.
8602 (__ASSUME_AT_PAGESIZE): Likewise.
8603 (__ASSUME_AT_XID): Likewise.
8604 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
8605 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
8606 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
8607 unconditionally.
8608 (HAVE_AUX_PAGESIZE): Likewise.
8609 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
8610 [__ASSUME_AT_CLKTCK]: Make code unconditional.
8611 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
8612
7b6e99be
JB
86132012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
8614
8615 [BZ #14307]
8616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
8617 the temporary buffer used to invoke __gethostbyname2_r,
8618 __gethostbyaddr_r and gethostbyname4_r to make room for struct
8619 host_data / struct gaih_addrtuple.
8620 * resolv/nss_dns/dns-host.c (global scope): Move definition of
8621 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
8622 header file nss/nsswitch.h.
8623 * nss/nsswitch.h (global scope): Add definition of implementation
8624 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
8625 resolv/nss_dns/dns-host.c).
8626
608404eb
AJ
86272012-07-11 Andreas Jaeger <aj@suse.de>
8628
8629 * po/fr.po: Update from translation team.
8630
71220aca
AJ
8631 * po/sv.po: Update from translation team
8632 * po/fr.po: Another update from translation team.
8633
28cfe843
AZ
86342012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8635
8636 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
8637 for subnormals or multiply small sinh result by itself.
8638 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8640
6b90f981
DM
86412012-07-11 David S. Miller <davem@davemloft.net>
8642
8643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8644
c6825772
AS
86452012-07-10 Andreas Schwab <schwab@linux-m68k.org>
8646
8647 [BZ #14347]
8648 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
8649 (INTERNAL_MARK): Shift it here.
8650
7b8e0d49
MP
86512012-07-10 Marek Polacek <polacek@redhat.com>
8652
8653 [BZ #14151]
8654 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
8655 libc_cv_asm_global_directive with .globl.
8656 * configure: Regenerated.
8657 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
8658 with .globl.
8659 * sysdeps/i386/configure: Regenerated.
8660 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
8661 with .globl.
8662 * sysdeps/x86_64/configure: Regenerated.
8663 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
8664 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
8665 * elf/tst-unique2mod2.c: Likewise.
8666 * elf/tst-unique2mod1.c: Likewise.
8667 * elf/tst-unique1mod2.c: Likewise.
8668 * elf/tst-unique1mod1.c: Likewise.
8669 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8670 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8671 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8672 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8673 * sysdeps/mach/sysdep.h: Likewise.
8674 * sysdeps/i386/sysdep.h: Likewise.
8675 * sysdeps/i386/i386-mcount.S: Likewise.
8676 * sysdeps/x86_64/_mcount.S: Likewise.
8677 * sysdeps/x86_64/sysdep.h: Likewise.
8678 * sysdeps/sh/_mcount.S: Likewise.
8679 * sysdeps/sh/sysdep.h: Likewise.
8680 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
8681 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
8682 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
8683 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8684 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
8685 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
8686 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
8687 * locale/localeinfo.h: Likewise.
8688 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
8689 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
8690
6c55cda3
RM
86912012-07-09 Roland McGrath <roland@hack.frob.com>
8692
8693 [BZ #14336]
8694 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
8695 system".
8696 * manual/message.texi (The Uniforum approach): Likewise.
8697 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8698 (glibc iconv Implementation): Likewise.
8699
638a572e
JM
87002012-07-09 Joseph Myers <joseph@codesourcery.com>
8701
8702 [BZ #14337]
8703 * math/s_clog.c (__clog): Avoid scaling a value down where that
8704 could result in underflow.
8705 * math/s_clog10.c (__clog10): Likewise.
8706 * math/s_clog10f.c (__clog10f): Likewise.
8707 * math/s_clog10l.c (__clog10l): Likewise.
8708 * math/s_clogf.c (__clogf): Likewise.
8709 * math/s_clogl.c (__clogl): Likewise.
8710 * math/libm-test.inc (clog_test): Add more tests.
8711 (clog10_test): Likewise.
8712 * sysdeps/i386/fpu/libm-test-ulps: Update.
8713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8714
261f4859
AS
87152012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8716
0abaf3e4
AS
8717 [BZ #14283]
8718 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
8719 by 7 not 8 to examine high bit of fractional part.
8720
261f4859
AS
8721 [BZ #14042]
8722 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
8723 for call to __mcount_internal.
8724 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
8725 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
8726 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
8727
f17ac40d
JM
87282012-07-06 Joseph Myers <joseph@codesourcery.com>
8729
9ad63c23
JM
8730 [BZ #14154]
8731 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
8732 approximation for values within 0x1p-13f of an odd multiple of
8733 pi/4.
8734 * math/libm-test.inc (tan_test): Do not allow spurious underflow
8735 exception. Add more tests.
8736 * sysdeps/i386/fpu/libm-test-ulps: Update.
8737
f17ac40d
JM
8738 [BZ #6778]
8739 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
8740 inputs and return -1 for them. Do not check for +Inf in case not
8741 reachable for +Inf.
8742 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8743 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
8744 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8745 and return -1 for them. Do not check for +Inf in case not
8746 reachable for +Inf.
8747 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
8748 define.
8749 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
8750 and return -1 for them. Do not check for +Inf in case not
8751 reachable for +Inf.
8752 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
8753 spurious underflow.
8754 * sysdeps/i386/fpu/libm-test-ulps: Update.
8755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8756
fb21f89b
MF
87572012-07-06 Mike Frysinger <vapier@gentoo.org>
8758
8759 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
8760
cdfe2c5e
JM
87612012-07-05 Joseph Myers <joseph@codesourcery.com>
8762
8763 [BZ #14157]
8764 [BZ #14331]
8765 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
8766 could result in spurious underflow. Scale down values above
8767 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
8768 * math/s_csqrtf.c (__csqrtf): Likewise.
8769 * math/s_csqrtl.c (__csqrtl): Likewise.
8770 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
8771 spurious underflow.
8772 * sysdeps/i386/fpu/libm-test-ulps: Update.
8773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8774
70d35b67
AS
87752012-07-04 Andreas Schwab <schwab@linux-m68k.org>
8776
704bc459
AS
8777 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
8778 xopen-msg.sed.
8779 * catgets/xopen-msg.awk: New file.
8780 * catgets/xopen-msg.sed: Removed.
8781
70d35b67
AS
8782 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
8783 po2text.sed.
8784 * intl/po2test.awk: New file.
8785 * intl/po2test.sed: Removed.
8786
ca61cf32
JM
87872012-07-04 Joseph Myers <joseph@codesourcery.com>
8788
8789 [BZ #14328]
8790 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
8791 or multiply small sinh result by itself.
8792 * math/s_ctanf.c (__ctanf): Likewise.
8793 * math/s_ctanh.c (__ctanh): Likewise.
8794 * math/s_ctanhf.c (__ctanhf): Likewise.
8795 * math/s_ctanhl.c (__ctanhl): Likewise.
8796 * math/s_ctanl.c (__ctanl): Likewise.
8797 * math/libm-test.inc (ctan_test_tonearest): New function.
8798 (ctan_test_towardzero): Likewise.
8799 (ctan_test_downward): Likewise.
8800 (ctan_test_upward): Likewise.
8801 (ctanh_test_tonearest): Likewise.
8802 (ctanh_test_towardzero): Likewise.
8803 (ctanh_test_downward): Likewise.
8804 (ctanh_test_upward): Likewise.
8805 (main): Call these new functions.
8806 * sysdeps/i386/fpu/libm-test-ulps: Update.
8807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8808
ca48a46a
MF
88092012-07-03 Mike Frysinger <vapier@gentoo.org>
8810
8811 * .gitignore: Delete /ports entry.
8812
9d63d37d
AJ
88132012-07-03 Andreas Jaeger <aj@suse.de>
8814
8815 * po/bg.po: Update from translation team.
8816 * po/cs.po: Likewise.
8817 * po/de.po: Likewise.
8818 * po/hr.po: Likewise.
8819 * po/nl.pl: Likewise.
8820 * po/pl.po: Likewise.
8821 * po/vi.po: Likewise.
8822
370ca3d2
JM
88232012-07-03 Joseph Myers <joseph@codesourcery.com>
8824
95f5a9a8
JM
8825 * Makeconfig [!+link] (+link-before-libc): New variable.
8826 [!+link] (+link-after-libc): Likewise.
8827 [!+link] (+link-tests): Likewise.
8828 [!+link] (+link): Define in terms of $(+link-before-libc) and
8829 $(+link-after-libc).
8830 [!+link-static] (+link-static-before-libc): New variable.
8831 [!+link-static] (+link-static-after-libc): Likewise.
8832 [!+link-static] (+link-static-tests): Likewise.
8833 [!+link-static] (+link-static): Define in terms of
8834 $(+link-static-before-libc) and $(+link-static-after-libc).
8835 [build-shared] (link-libc-before-gnulib): New variable.
8836 [build-shared] (link-libc-tests): Likewise.
8837 [build-shared] (link-libc): Define in terms of
8838 $(link-libc-before-gnulib).
8839 [!build-shared] (link-libc-tests): New variable.
8840 (link-libc-static-tests): New variable.
8841 [!gnulib] (gnulib-arch): New variable.
8842 [!gnulib] (gnulib-tests): Likewise.
8843 [!gnulib] (static-gnulib-arch): Likewise.
8844 [!gnulib] (static-gnulib-tests): Likewise.
8845 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
8846 Define with "=" instead of ":=".
8847 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
8848 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
8849 * Rules (binaries-all-notests): New variable.
8850 (binaries-all-tests): Likewise.
8851 (binaries-static-notests): Likewise.
8852 (binaries-static-tests): Likewise.
8853 (binaries-all): Define using $(binaries-all-notests) and
8854 $(binaries-all-tests).
8855 (binaries-static): Define using $(binaries-static-notests) and
8856 $(binaries-static-tests).
8857 (binaries-shared-tests): New variable.
8858 (binaries-shared-notests): Likewise.
8859 (binaries-shared): Remove variable.
8860 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
8861 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
8862 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
8863 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
8864 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
8865 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
8866 * elf/Makefile (sln-modules): New variable.
8867 (extra-objs): Add $(sln-modules:=.o).
8868 (ldconfig-modules): Add static-stubs.
8869 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
8870 * elf/static-stubs.c: New file.
8871
7a845b2c
JM
8872 [BZ #14283]
8873 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
8874 by 7 not 8 to examine high bit of fractional part. Use volatile
8875 variables when splitting into final array of floats if
8876 __FLT_EVAL_METHOD__ != 0.
8877 * math/libm-test.inc (cos_test): Add another test.
8878 (sin_test): Likewise.
8879 * sysdeps/i386/fpu/libm-test-ulps: Update.
8880
e2283f38
JM
8881 [BZ #14273]
8882 * math/libm-test.inc (cosh_test): Add more tests.
8883
370ca3d2
JM
8884 * version.h (RELEASE): Set to "development".
8885 (VERSION): Set to "2.16.90".
8886
ee9247c3
CD
88872012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8888
8889 * NEWS: Update copyright. Remove last-updated date.
8890 Mention math library bug fixes and timezone data changes.
8891 * README: Mention GNU/Hurd, x32, and HPPA support status.
8892
4648c381
TS
88932012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8894
8895 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8896
aac78a43
AJ
88972012-06-27 Andreas Jaeger <aj@suse.de>
8898
8899 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8900
ed3dbfad
AJ
89012012-06-25 Andreas Jaeger <aj@suse.de>
8902
8903 * sysdeps/s390/fpu/libm-test-ulps: Update.
8904
4d0ee855
AS
89052012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8906 Thomas Schwinge <thomas@codesourcery.com>
8907
8908 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8909 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8910 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8911 fanotify_mark.
8912
af1bce34
TS
89132012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8914
a9fa33ba
TS
8915 * sysdeps/mach/start.c: Remove file.
8916 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8917 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8918 * sysdeps/sh/init-first.c: Likewise.
8919
58f902b8
TS
8920 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8921 registers for frame unwinding purposes, add CFI directives.
8922 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8923 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8924 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8925 Likewise.
8926
1518f58b
TS
8927 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8928 __fortify_fail returning.
8929 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8930
db9b5059
TS
8931 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8932 sysdeps/sh/____longjmp_chk.S.
8933 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8934 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8935 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8936 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8937
967705fe
TS
8938 * sysdeps/sh/abort-instr.h: New file.
8939 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8940 process in case exit returns.
8941
a9def8c4
TS
8942 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8943 initialize the GOT register before use.
8944
2a649725
TS
8945 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8946 calculation of ARGC > 4.
8947
af1bce34
TS
8948 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8949 meaningful names to some local labels.
8950
d230f50a
KK
89512012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8952 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8953
8954 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8955 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8956 (__arch_compare_and_exchange_val_16_acq): Likewise.
8957 (__arch_compare_and_exchange_val_32_acq): Likewise.
8958 (atomic_exchange_and_add): Fix gUSA sequence.
8959 (atomic_add): Likewise.
8960 (atomic_add_negative): Likewise.
8961 (atomic_add_zero): Likewise.
8962 (atomic_bit_test_set): Likewise.
8963
0479b305
AS
89642012-06-22 Andreas Schwab <schwab@redhat.com>
8965
8966 [BZ #13579]
8967 * include/link.h (struct link_map): Add l_free_initfini.
8968 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8969 l_initfini.
8970 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8971 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8972 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8973 set.
8974
0e3933b9
CD
89752012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8976
8977 * configure.in: Use AC_LANG_SOURCE.
8978 * configure: Regenerate.
8979
4248b1b1
RM
89802012-06-22 Roland McGrath <roland@hack.frob.com>
8981
8982 * configure.in (libc_cv_localstatedir): New substituted variable.
8983 * configure: Regenerated.
8984 * config.make.in (localstatedir): New variable, substituted from
8985 libc_cv_localstatedir.
8986 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8987 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8988 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8989 * sysdeps/gnu/configure: Regenerated.
8990
006dd861
JL
89912012-06-21 Jeff Law <law@redhat.com>
8992
8993 [BZ #14277]
8994 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8995 free. Simplify list management for _LIBC case.
8996
79662d42
JM
89972012-06-21 Joseph Myers <joseph@codesourcery.com>
8998
b7abb4bf
JM
8999 [BZ #14273]
9000 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9001 Clear sign bit of 64-bit integer value before comparing against
9002 overflow value.
9003
79662d42
JM
9004 * sysdeps/mach/configure: Regenerated.
9005
1f150908
L
90062012-06-21 H.J. Lu <hongjiu.lu@intel.com>
9007
9008 [BZ #14278]
9009 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
9010
28363bbf
JL
90112012-06-21 Jeff Law <law@redhat.com>
9012
9013 [BZ #13882]
9014 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
9015 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 9016 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
9017 * elf/dl-open.c (dl_open_worker): Likewise.
9018
09615db4
CD
90192012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
9020
9021 * scripts/list-sources.sh: Scan PORTS for translations.
9022 * po/libc.pot: Regenerated.
9023
2174c6dd
AJ
90242012-06-21 Andreas Jaeger <aj@suse.de>
9025
9026 [BZ #12194]
9027 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
9028 warning.
9029 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
9030 * bits/byteswap-16.h (__bswap_16): Likewise.
9031 * bits/byteswap.h (__bswap_constant_16): Likewise.
9032
3ee947b1
L
90332012-06-18 H.J. Lu <hongjiu.lu@intel.com>
9034
9035 [BZ #14117]
a2f34833
L
9036 * sysdeps/i386/fpu_control.h: Removed.
9037 * sysdeps/x86_64/fpu_control.h: Moved to ...
9038 * sysdeps/x86/fpu_control.h: Here.
9039
3ee947b1
L
9040 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
9041 (_FPU_SETCW): Likewise.
9042
ed1825f8
L
90432012-06-15 H.J. Lu <hongjiu.lu@intel.com>
9044
25f1282a
L
9045 [BZ #14117]
9046 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
9047 * sysdeps/x86/fpu/bits/mathinline.h: This.
9048 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
9049
ed1825f8
L
9050 [BZ #14050]
9051 [BZ #14117]
9052 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
9053 functions if __x86_64__ is defined.
9054
36d54b74
CLT
90552012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
9056
9057 * string/endian.h: Add !__ASSEMBLER__ condition for including
9058 conversion interfaces.
9059
10285c21
JM
90602012-06-15 Joseph Myers <joseph@codesourcery.com>
9061
9062 [BZ #14241]
9063 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
9064 of ABS(x) in calculating zero to negative powers other than odd
9065 integers.
9066 * math/libm-test.inc (pow_test): Add more tests.
9067
06c5abbd
AJ
90682012-06-15 Andreas Jaeger <aj@suse.de>
9069
9070 * manual/contrib.texi (Contributors): Update entry of Liubov
9071 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
9072 Machado Filho.
9073
a3aeac40
CH
90742012-06-15 Cyril Hrubis <metan@ucw.cz>
9075
9076 * string/string.h: Add __wur to GNU version of strerror_r.
9077
49bdf4c1
L
90782012-06-14 H.J. Lu <hongjiu.lu@intel.com>
9079
9080 [BZ #14229]
9081 * string/Makefile (tests): Add tst-strtok_r.
9082 * string/tst-strtok_r.c: New file.
9083 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
9084 RAX_LP/RDX_LP on SAVE_PTR.
9085
834f9b8d
RM
90862012-06-14 Roland McGrath <roland@hack.frob.com>
9087
9088 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
9089
75fa1921
JM
90902012-06-14 Joseph Myers <joseph@codesourcery.com>
9091
9092 * libm_test.inc (csqrt_test): Allow more spurious underflow
9093 exceptions.
9094 (j0_test): Likewise.
9095 (j1_test): Likewise.
9096 (y0_test): Likewise.
9097 (y1_test): Likewise.
9098
771766df
CD
90992012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
9100
9101 * po/Makefile (libc.pot): Use UTF-8 charset.
9102
ceb9e56b
PP
91032012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9104
9105 [BZ #14210]
9106 Suppress sign-conversion warning from FD_SET.
9107 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
9108 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
9109 not unsigned long int.
9110 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
9111
ddb28975
L
91122012-06-12 H.J. Lu <hongjiu.lu@intel.com>
9113
9114 [BZ #14050]
9115 [BZ #14117]
9116 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
9117 __extern_always_inline instead of __extern_inline.
9118 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
9119 (__signbit): Likewise.
9120 (__signbitl): Support C++ namespace.
9121 (lrintf): New inline function.
9122 (lrint): Likewise.
9123 (llrintf): Likewise.
9124 (llrint): Likewise.
9125 (fmaxf): Likewise.
9126 (fmax): Likewise.
9127 (fminf): Likewise.
9128 (fmin): Likewise.
9129 (rint): Likewise.
9130 (rintf): Likewise.
9131 (ceil): Likewise.
9132 (ceilf): Likewise.
9133 (floor): Likewise.
9134 (floorf): Likewise.
9135 (nearbyint): Likewise.
9136 (nearbyintf): Likewise.
9137
d7b4fb26
TS
91382012-06-12 Thomas Schwinge <thomas@codesourcery.com>
9139
9140 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
9141 non-default versions.
9142
eb55f5c2
RM
91432012-06-11 Roland McGrath <roland@hack.frob.com>
9144
9145 [BZ #14218]
9146 * manual/argp.texi (Argp): Reword argp_parse description slightly.
9147
366af02c
TS
91482012-06-09 Thomas Schwinge <thomas@codesourcery.com>
9149
99ff6e5c
TS
9150 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
9151 (FE_UPWARD, FE_DOWNWARD): Don't define.
9152 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
9153 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9154
366af02c
TS
9155 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
9156 reading it.
9157 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9158 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9159
793ea851
KK
91602012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9161
9162 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9163 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
9164 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
9165 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
9166
a728a38f
L
91672012-06-06 H.J. Lu <hongjiu.lu@intel.com>
9168
9169 [BZ #14117]
c08010c7
L
9170 * sysdeps/i386/fpu/bits/fenv.h: Removed.
9171 * sysdeps/i386/fpu/Implies: New file.
9172 * sysdeps/x86_64/fpu/Implies: Likewise.
9173 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
9174 * sysdeps/x86/fpu/bits/fenv.h: This.
9175
a728a38f
L
9176 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
9177 __SSE_MATH__.
9178
6e230d11
SP
91792012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9180
9181 [BZ #14134]
9182 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
9183 character 0xffff that matches the last element of the
9184 conversion table.
9185
1b671feb
AZ
91862012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9187
9188 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
9189 fmodl commit.
9190
6043738b
AZ
91912012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9192
9193 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
9194 values higher than 25.6283.
9195
34ae0b32
AZ
91962012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9197
9198 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
9199 subnormal exponent extraction and add some __builtin_expect.
9200 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
9201 Fix for subnormal mantissa calculation.
9202
1214ec8f
MF
92032012-06-04 Mike Frysinger <vapier@gentoo.org>
9204
9205 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
9206 cpu2 is -1 and errno is not ENOSYS.
9207
f3d1f93c
L
92082012-06-04 H.J. Lu <hongjiu.lu@intel.com>
9209
9210 [BZ #14117]
0e4a3cd7
L
9211 * sysdeps/i386/i486/bits/string.h: Renamed to ...
9212 * sysdeps/x86/bits/string.h: This.
9213 * sysdeps/x86_64/bits/string.h: Removed.
9214
6704c645
L
9215 * sysdeps/i386/i486/bits/string.h: Define inline functions only
9216 if not compiling for x86-64, but compiling for >= i486.
9217
48495318
L
9218 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
9219 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
9220
14adcbfc
L
9221 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
9222 New macro from Linux kernel 3.4.0.
9223 (FP_XSTATE_MAGIC2): Likewise.
9224 (FP_XSTATE_MAGIC2_SIZE): Likewise.
9225 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
9226 (struct _fpx_sw_bytes): New struct.
9227 (struct _xsave_hdr): Likewise.
9228 (struct _ymmh_state): Likewise.
9229 (struct _xstate): Likewise.
9230
68e408ab
L
9231 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
9232 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
9233 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
9234 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
9235 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
9236 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
9237
f3d1f93c
L
9238 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
9239 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
9240 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
9241 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
9242 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
9243 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
9244
d9dc34cd
TMQMF
92452012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9246
9247 [BZ #13743]
9248 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
9249 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
9250 (sysdep_headers): Include sys/platform/ppc.h.
9251 * sysdeps/powerpc/test-gettimebase.c: Test for
9252 __ppc_get_timebase() to catch future ISA opcode/insn changes.
9253 * manual/Makefile (appendices): Include platform.texi.
9254 * manual/contrib.texi (Contributors): Update @node pointers.
9255 * manual/maint.texi (Maintenance): Likewise.
9256 (Platform): New node.
9257 * manual/platform.texi: New file. Document the new features.
9258
4af3879c
SP
92592012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9260 Jakub Jelinek <jakub@redhat.com>
9261
9262 [BZ #14188]
9263 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
9264 where __builtin_expect is unavailable.
9265
2fd6ff13
DM
92662012-06-03 David S. Miller <davem@davemloft.net>
9267
9268 * stdlib/longlong.h: Updated from GCC.
9269
173f7220
AS
92702012-06-02 Andreas Schwab <schwab@linux-m68k.org>
9271
9272 [BZ #14042]
9273 * sysdeps/powerpc/powerpc32/mcount.c: New file.
9274 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
9275 __mcount_internal.
9276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9277 (GLIBC_2.16): Likewise.
9278
f34a1c6f
L
92792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9280
9281 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
9282
88a4576f
JM
92832012-06-01 Joseph Myers <joseph@codesourcery.com>
9284
ea32bcdd
JM
9285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
9286 (default-abi): New variable.
9287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
9288 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
9289 variable.
9290 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
9291 Likewise.
9292 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
9293 Likewise.
9294 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
9295 Likewise.
9296
88a4576f
JM
9297 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
9298 definition. Document in comment.
9299
402fe938
DM
93002012-06-01 David S. Miller <davem@davemloft.net>
9301
9302 * stdlib/longlong.h: Updated from GCC.
9303
3553723f
L
93042012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9305
9306 [BZ #14117]
3bd872c4
L
9307 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
9308 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
9309 sys/debugreg.h sys/io.h here.
9310 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
9311 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
9312 sys/io.h.
9313 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
9314 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
9315 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
9316 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
9317 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
9318 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
9319
3553723f
L
9320 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
9321 Define only if __x86_64__ is defined.
9322
4842e4fe
JM
93232012-06-01 Joseph Myers <joseph@codesourcery.com>
9324
c5bfe3d5
JM
9325 [BZ #14048]
9326 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
9327 Use int64_t for variable i.
9328 * math/libm-test.inc (fmod_test): Add more tests.
9329
4842e4fe
JM
9330 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
9331 z computation is not scheduled after fetestexcept.
9332 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
9333 Use math_force_eval instead of asm to ensure calculation scheduled
9334 before exception test.
9335 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
9336 Ensure a1 + u.d computation is not scheduled after fetestexcept.
9337
efb73488
AJ
93382012-06-01 Aurelien Jarno <aurelien@aurel32.net>
9339
9340 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
9341 computation is not scheduled after fetestexcept.
9342
29bcce7c
L
93432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
9344
9345 [BZ #14117]
9346 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
9347 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
9348
73a68f94
AZ
93492012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9350
9351 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
9352 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9353
67b6df78
L
93542012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9355
edf2933a 9356 [BZ #14117]
ebc64a18
L
9357 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
9358 <bits/wordsize.h>.
9359 (__WCHAR_MIN): Support __WORDSIZE == 64.
9360 (__WCHAR_MAX): Likewise.
9361
edf2933a
L
9362 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
9363 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
9364
57c6cf40
L
9365 [BZ #14183]
9366 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
9367 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
9368
67b6df78 9369 [BZ #14117]
8eb6281e
L
9370 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
9371 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
9372
aac639f4
L
9373 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
9374 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
9375
67b6df78
L
9376 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
9377 Defined to 1 if __x86_64__ isn't defined.
9378 (_STAT_VER_LINUX_OLD): New.
9379 (st_atime): Remove duplicate.
9380 (st_mtime): Likewise.
9381 (st_ctime): Likewise.
9382
1c2cfe81
DM
93832012-05-31 David S. Miller <davem@davemloft.net>
9384
9385 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
9386 entries.
9387
5be8418c
AS
93882012-06-01 Andreas Schwab <schwab@linux-m68k.org>
9389
e7725326
AS
9390 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
9391 gen-libm-test.pl.
9392
5be8418c
AS
9393 [BZ #14132]
9394 * elf/dl-reloc.c: Include <_itoa.h>.
9395 (_dl_reloc_bad_type): Remove use of INTUSE.
9396 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
9397 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
9398 * stdio-common/psiginfo.c (psiginfo): Likewise.
9399 * stdio-common/psignal.c (psignal): Likewise.
9400 * string/strsignal.c (strsignal): Likewise.
9401 * include/signal.h (_sys_siglist): Declare hidden proto.
9402 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
9403 INTVARDEF with libc_hidden_data_def.
9404 * stdio-common/itoa-udigits.c: Likewise.
9405 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
9406 (_itoa_lower_digits_internal): Remove declaration.
9407 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
9408 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
9409 (_sys_sigabbrev_internal): Remove aliases.
9410 (_sys_siglist): Define hidden alias.
9411
507352f1
MT
94122012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
9413
9414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9415 bits/sysctl.h.
9416
42bbb1c3
L
94172012-05-31 H.J. Lu <hongjiu.lu@intel.com>
9418
9419 [BZ #14117]
6bd784b6
L
9420 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
9421 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
9422
8bca20f0
L
9423 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
9424 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
9425 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
9426 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
9427 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
9428 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
9429
f9e890a9
L
9430 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
9431 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
9432 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
9433
471101a1
L
9434 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
9435 with __addr.
9436 (insw): Likewise.
9437 (insl): Likewise.
9438 (outsb): Likewise.
9439 (outsw): Likewise.
9440 (outsl): Likewise.
9441
6451c862
L
9442 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
9443 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
9444 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
9445
a254b8c9
L
9446 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9447 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
9448 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
9449 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
9450 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9451 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
9452
b8dfdd92
L
9453 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
9454 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
9455
578cd270
L
9456 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
9457 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
9458
de662f5f
L
9459 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
9460 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
9461 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
9462
25653439
L
9463 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
9464 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
9465 to ...
9466 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
9467
6bad24a0
L
9468 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
9469 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
9470 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
9471
42bbb1c3
L
9472 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
9473 for x86-64.
9474 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
9475
2d10d547
JM
94762012-05-31 Joseph Myers <joseph@codesourcery.com>
9477
9478 * math/math.h (M_El): Use two more decimal places.
9479 (M_LOG2El): Likewise.
9480 (M_LOG10El): Likewise.
9481 (M_LN2l): Likewise.
9482 (M_LN10l): Likewise.
9483 (M_PIl): Likewise.
9484 (M_PI_2l): Likewise.
9485 (M_PI_4l): Likewise.
9486 (M_1_PIl): Likewise.
9487 (M_2_PIl): Likewise.
9488 (M_2_SQRTPIl): Likewise.
9489 (M_SQRT2l): Likewise.
9490 (M_SQRT1_2l): Likewise.
9491
f230c29b
DM
94922012-05-31 David S. Miller <davem@davemloft.net>
9493
9494 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
9495 values between float registers.
9496 * sysdeps/sparc/sparc64/memset.S: Likewise.
9497 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9498
fed806c3
MF
94992012-05-31 Mike Frysinger <vapier@gentoo.org>
9500
9501 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
9502 -D_FORTIFY_SOURCE=1.
9503 (CPPFLAGS-tst-longjmp_chk.c): Define.
9504 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
9505 (CPPFLAGS-tst-longjmp_chk2.c): Define.
9506 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
9507 CFLAGS-tst-wchar-h.c.
9508
30917259
MP
95092012-05-31 Marek Polacek <polacek@redhat.com>
9510
9511 [BZ #14132]
9512 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
9513 __endmntent_internal): Remove declaration.
9514 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
9515 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
9516 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
9517
1c58d5dc
DM
95182012-05-30 David S. Miller <davem@davemloft.net>
9519
9520 * sysdeps/sparc/sparc32/soft-fp/q_util.c
9521 (___Q_simulate_exceptions): Use real FP ops rather than writing
9522 into the %fsr.
9523 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
9524 Likewise.
9525
7dc00e0d
L
95262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9527
9528 [BZ #14117]
0bd53985
L
9529 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
9530 * sysdeps/x86/bits/xtitypes.h: This.
9531
3a257e66
L
9532 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
9533 * sysdeps/x86/bits/wordsize.h: This.
9534
62f62904
L
9535 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
9536 * sysdeps/x86/bits/huge_vall.h: This.
9537
404fe9d9
L
9538 * sysdeps/i386/bits/select.h: Removed.
9539 * sysdeps/x86_64/bits/select.h: Renamed to ...
9540 * sysdeps/x86/bits/select.h: This.
9541
d48d0446
L
9542 * sysdeps/i386/bits/setjmp.h: Removed.
9543 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
9544 * sysdeps/x86/bits/setjmp.h: This.
9545
7dc00e0d
L
9546 * sysdeps/i386/bits/mathdef.h: Removed.
9547 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
9548 * sysdeps/x86/bits/mathdef.h: This.
9549
03277f8f
AS
95502012-05-30 Andreas Schwab <schwab@linux-m68k.org>
9551
9552 [BZ #14132]
9553 * include/sys/socket.h (__connect_internal)
9554 (__libc_sa_len_internal): Remove declaration.
9555 (__connect, __libc_sa_len): Declare hidden_proto.
9556 (SA_LEN): Remove use of INTUSE.
9557 * socket/connect.c: Add libc_hidden_def.
9558 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
9559 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
9560 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
9561 alias.
9562 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9563 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
9564 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
9565 of adding _internal alias.
9566
13764867
L
95672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9568
9569 [BZ #14117]
6bd97696
L
9570 * sysdeps/i386/bits/link.h: Removed.
9571 * sysdeps/i386/bits/linkmap.h: Likewise.
9572 * sysdeps/x86_64/bits/link.h: Renamed to ...
9573 * sysdeps/x86/bits/link.h: This.
9574 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
9575 * sysdeps/x86/bits/linkmap.h: This.
9576
f726f0bb
L
9577 * sysdeps/i386/bits/endian.h: Removed.
9578 * sysdeps/x86_64/bits/endian.h: Renamed to ...
9579 * sysdeps/x86/bits/endian.h: This.
9580
13764867
L
9581 * sysdeps/i386/bits/byteswap.h: Removed.
9582 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9583 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
9584 * sysdeps/x86/bits/byteswap.h: This.
9585 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
9586 * sysdeps/x86/bits/byteswap-16.h: This.
9587 * sysdeps/i386/Implies: Add x86.
9588 * sysdeps/x86_64/Implies: Likewise.
9589
ae251b0b
DM
95902012-05-30 David S. Miller <davem@davemloft.net>
9591
9592 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
9593 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
9594 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9595 (FP_TRAPPING_EXCEPTIONS): Define.
9596 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9597 (FP_TRAPPING_EXCEPTIONS): Define.
9598 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
9599 subnormals only when inexact has been signalled or underflow
9600 exceptions are enabled.
9601 (_FP_PACK_CANONICAL): Likewise.
9602
d5c90867
L
96032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9604
9605 [BZ #14183]
9606 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
9607 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
9608
63f1549e
RH
96092012-05-30 Richard Henderson <rth@twiddle.net>
9610
8d8f2279
RH
9611 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
9612 with #ifndef NOT_IN_libc.
9613
63f1549e
RH
9614 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
9615 marked to avoid plt entry.
9616
0ab0291b
L
96172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
9618
9619 [BZ #14112]
9620 * Makeconfig (default-abi): New macro.
9621 (abi-includes): Likewise.
9622 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
9623 $(abi-$(default-abi)-lib-soname) for soname if defined.
9624 ($(common-objpfx)gnu/lib-names.stmp): Generate from
9625 abi-variants.
9626 * Makefile (installed-stubs): Likewise.
9627 * include/stubs-biarch.h: Removed.
9628 * scripts/lib-names.awk: Only handle one library at a time.
9629 * scripts/soversions.awk: Remove WORDSIZE support.
9630 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
9631 entries.
9632 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
9633 Removed.
9634 (syscall-list-default-condition): Likewise.
9635 (syscall-list-default-condition): Likewise.
9636 (syscall-list-includes): Likewise.
9637 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
9638 syscall-list-* with abi-*. Handle undefined abi-variants.
9639 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
9640 * sysdeps/unix/sysv/linux/i386/Implies: New file.
9641 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
9642 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
9643 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
9644 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
9645 Removed.
9646 (syscall-list-32-options): Likewise.
9647 (syscall-list-32-condition): Likewise.
9648 (syscall-list-64-options): Likewise.
9649 (syscall-list-64-condition): Likewise.
9650 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
9651 macro.
9652 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
9653 Renamed to ...
9654 (abi-*): This.
9655 (abi-64-ld-soname): New macro.
9656 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
9657 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
9658 Renamed to ...
9659 (abi-*): This.
9660 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
9661 * sysdeps/x86_64/x32/shlib-versions: Likewise.
9662
4da0431d
JM
96632012-05-30 Joseph Myers <joseph@codesourcery.com>
9664
3a85279c
JM
9665 * sysdeps/unix/sysv/linux/kernel-features.h
9666 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
9667 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
9668 include <kernel-features.h>.
9669 [!__NR_ftruncate64]: Remove conditional code.
9670 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9671 [__NR_ftruncate64]: Make code unconditional.
9672 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9673 * sysdeps/unix/sysv/linux/truncate64.c: Do not
9674 include <kernel-features.h>.
9675 [!__NR_ftruncate64]: Remove conditional code.
9676 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9677 [__NR_ftruncate64]: Make code unconditional.
9678 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
9680 include <kernel-features.h>.
9681 [!__NR_ftruncate64]: Remove conditional code.
9682 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9683 [__NR_ftruncate64]: Make code unconditional.
9684 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9686 include <kernel-features.h>.
9687 [!__NR_ftruncate64]: Remove conditional code.
9688 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9689 [__NR_ftruncate64]: Make code unconditional.
9690 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
9691
4da0431d
JM
9692 * configure.in (libc_cv_fpie): Weaken to a compile test using
9693 LIBC_TRY_CC_OPTION.
9694 * configure: Regenerated.
9695
11ef492c
AK
96962012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9697
9698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
9699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
9700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
9701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9702 Refreshed.
9703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
9705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
9706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
9707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
9708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9709 Refreshed.
9710
d66ef399
DM
97112012-05-27 David S. Miller <davem@davemloft.net>
9712
9713 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
9714 (___Q_zero): New.
9715 (__Q_simulate_exceptions): Return void. Change to simulate
9716 exceptions by writing into the %fsr.
9717 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
9718 (__Qp_handle_exceptions): Likewise.
9719 (numbers): Delete.
9720 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
9721 __Qp_handle_exceptions.
9722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
9723 __Qp_handle_exceptions.
9724 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9725 as unused and give dummy FP_RND_NEAREST initializer.
9726 (FP_INHIBIT_RESULTS): Define.
9727 (___Q_simulate_exceptions): Update declaration.
9728 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
9729 formatting.
9730 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
9731 as unused and give dummy FP_RND_NEAREST initializer.
9732 (__Qp_handle_exceptions): Update declaration.
9733 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
9734 formatting.
9735
04fb54b5
TS
97362012-05-27 Thomas Schwinge <thomas@codesourcery.com>
9737
9738 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
9739 the temporary FPU control word.
9740 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9741 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
9742 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9743 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9744 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9745 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9746 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9747 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9748 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9749 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9750 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9751
3f99608f
KK
97522012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9753
9754 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
9755 fields.
9756
65a4de4e
CLT
97572012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
9758
9759 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
9760 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
9761 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
9762 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
9763 Likewise.
9764 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
9765 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
9766 Likewise.
9767
15749d40
UD
97682012-05-27 Ulrich Drepper <drepper@gmail.com>
9769
9770 * po/h.po: Update from translation team.
9771
25dbcb27
AS
97722012-05-26 Andreas Schwab <schwab@linux-m68k.org>
9773
3d3f8e55
AS
9774 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
9775
25dbcb27
AS
9776 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
9777 handling of denormals.
9778 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9779 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9780 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9781 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9782 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9783 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
9784 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
9785 Likewise.
9786
7ad47a80 97872012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
9788
9789 [BZ #14152]
9790 * math/libm-test.inc (fma_test): Don't always expect underflow
9791 exception.
9792
9c6ea9fa
SP
97932012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9794
9795 [BZ #12416]
9796 * elf/tst-execstack.c: Include stackinfo.h.
9797 (do_test): Adjust test case to ensure that pthread_getattr_np
9798 behaviour remains the same after marking stack executable.
9799
a8239222
JM
98002012-05-25 Joseph Myers <joseph@codesourcery.com>
9801
9802 * sysdeps/unix/sysv/linux/kernel-features.h
9803 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
9804 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
9805 kernel-features.h.
9806 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9807 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9808 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
9809 kernel-features.h.
9810 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
9811 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
9812
918b5606
L
98132012-05-25 H.J. Lu <hongjiu.lu@intel.com>
9814
9815 * configure.in: Define the default includes to being none.
9816 * configure: Regenerated.
9817
3a097cc7
RM
98182012-05-25 Roland McGrath <roland@hack.frob.com>
9819
8422c9a5
RM
9820 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
9821 * sysdeps/x86_64/setjmp.S: Likewise.
9822 * sysdeps/i386/bsd-setjmp.S: Likewise.
9823 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9824 * sysdeps/i386/setjmp.S: Likewise.
9825 * sysdeps/i386/__longjmp.S: Likewise.
9826 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9827 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
9828
3a097cc7
RM
9829 * include/stap-probe.h: New file.
9830 * configure.in: Handle --enable-systemtap.
9831 * configure: Regenerated.
9832 * config.h.in (USE_STAP_PROBE): New #undef.
9833 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
9834 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
9835 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9836
21708942
JM
98372012-05-25 Joseph Myers <joseph@codesourcery.com>
9838
9839 [BZ #13717]
9840 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9841 to 2.4.0 where earlier.
9842 * sysdeps/unix/sysv/linux/configure: Regenerated.
9843 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9844 <kernel-features.h>.
9845 [__ASSUME_32BITUIDS]: Make code unconditional.
9846 [!__ASSUME_32BITUIDS]: Remove conditional code.
9847 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
9848 <kernel-features.h>.
9849 [__ASSUME_32BITUIDS]: Make code unconditional.
9850 [!__ASSUME_32BITUIDS]: Remove conditional code.
9851 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
9852 [__ASSUME_32BITUIDS]: Make code unconditional.
9853 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
9854 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
9855 <kernel-features.h>.
9856 [__ASSUME_32BITUIDS]: Make code unconditional.
9857 [!__ASSUME_32BITUIDS]: Remove conditional code.
9858 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
9859 <kernel-features.h>.
9860 [__ASSUME_32BITUIDS]: Make code unconditional.
9861 [!__ASSUME_32BITUIDS]: Remove conditional code.
9862 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
9863 <kernel-features.h>.
9864 [__ASSUME_32BITUIDS]: Make code unconditional.
9865 [!__ASSUME_32BITUIDS]: Remove conditional code.
9866 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
9867 <kernel-features.h>.
9868 [__ASSUME_32BITUIDS]: Make code unconditional.
9869 [!__ASSUME_32BITUIDS]: Remove conditional code.
9870 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9871 <kernel-features.h>.
9872 [__ASSUME_32BITUIDS]: Make code unconditional.
9873 [!__ASSUME_32BITUIDS]: Remove conditional code.
9874 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9875 <kernel-features.h>.
9876 [__ASSUME_32BITUIDS]: Make code unconditional.
9877 [!__ASSUME_32BITUIDS]: Remove conditional code.
9878 * sysdeps/unix/sysv/linux/i386/getuid.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/lchown.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/msgctl.c: Do not include
9887 <kernel-features.h>.
9888 [__ASSUME_32BITUIDS]: Make code unconditional.
9889 [!__ASSUME_32BITUIDS]: Remove conditional code.
9890 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9891 <kernel-features.h>.
9892 [__ASSUME_32BITUIDS]: Make code unconditional.
9893 [!__ASSUME_32BITUIDS]: Remove conditional code.
9894 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9895 <kernel-features.h>.
9896 [__NR_setresgid] (__setresgid): Do not declare.
9897 [__ASSUME_32BITUIDS]: Make code unconditional.
9898 [!__ASSUME_32BITUIDS]: Remove conditional code.
9899 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9900 <kernel-features.h>.
9901 [__NR_setresuid] (__setresuid): Do not declare.
9902 [__ASSUME_32BITUIDS]: Make code unconditional.
9903 [!__ASSUME_32BITUIDS]: Remove conditional code.
9904 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9905 <kernel-features.h>.
9906 [__ASSUME_32BITUIDS]: Make code unconditional.
9907 [!__ASSUME_32BITUIDS]: Remove conditional code.
9908 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9909 <kernel-features.h>.
9910 [__ASSUME_32BITUIDS]: Make code unconditional.
9911 [!__ASSUME_32BITUIDS]: Remove conditional code.
9912 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9913 <kernel-features.h>.
9914 [__ASSUME_32BITUIDS]: Make code unconditional.
9915 [!__ASSUME_32BITUIDS]: Remove conditional code.
9916 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9917 <kernel-features.h>.
9918 [__ASSUME_32BITUIDS]: Make code unconditional.
9919 [!__ASSUME_32BITUIDS]: Remove conditional code.
9920 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9921 <kernel-features.h>.
9922 [__ASSUME_32BITUIDS]: Make code unconditional.
9923 [!__ASSUME_32BITUIDS]: Remove conditional code.
9924 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9925 <kernel-features.h>.
9926 [__ASSUME_32BITUIDS]: Make code unconditional.
9927 [!__ASSUME_32BITUIDS]: Remove conditional code.
9928 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9929 <kernel-features.h>.
9930 [__ASSUME_32BITUIDS]: Make code unconditional.
9931 [!__ASSUME_32BITUIDS]: Remove conditional code.
9932 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9933 <kernel-features.h>.
9934 [__ASSUME_32BITUIDS]: Make code unconditional.
9935 [!__ASSUME_32BITUIDS]: Remove conditional code.
9936 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9937 <kernel-features.h>.
9938 [__ASSUME_32BITUIDS]: Make code unconditional.
9939 [!__ASSUME_32BITUIDS]: Remove conditional code.
9940 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9941 <kernel-features.h>.
9942 [__ASSUME_32BITUIDS]: Make code unconditional.
9943 [!__ASSUME_32BITUIDS]: Remove conditional code.
9944 * sysdeps/unix/sysv/linux/kernel-features.h
9945 (__ASSUME_SETRESUID_SYSCALL): Remove.
9946 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9947 (__ASSUME_32BITUIDS): Likewise.
9948 (__ASSUME_LDT_WORKS): Likewise.
9949 (__ASSUME_O_DIRECTORY): Likewise.
9950 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9951 architecture but not kernel version.
9952 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9953 (__ASSUME_MMAP2_SYSCALL): Likewise.
9954 (__ASSUME_STAT64_SYSCALL): Likewise.
9955 (__ASSUME_IPC64): Likewise.
9956 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9957 <kernel-features.h>.
9958 [__ASSUME_32BITUIDS]: Make code unconditional.
9959 [!__ASSUME_32BITUIDS]: Remove conditional code.
9960 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9961 <kernel-features.h>.
9962 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9963 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9964 132096]: Remove conditional code.
9965 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9966 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9967 <kernel-features.h>.
9968 [__ASSUME_32BITUIDS]: Make code unconditional.
9969 [!__ASSUME_32BITUIDS]: Remove conditional code.
9970 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9971 <kernel-features.h>.
9972 [__ASSUME_32BITUIDS]: Make code unconditional.
9973 [!__ASSUME_32BITUIDS]: Remove conditional code.
9974 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9975 <kernel-features.h>.
9976 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9977 unconditional.
9978 (__setresgid): Do not declare.
9979 [__ASSUME_32BITUIDS]: Make code unconditional.
9980 [!__ASSUME_32BITUIDS]: Remove conditional code.
9981 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9982 <kernel-features.h>.
9983 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9984 unconditional.
9985 (__setresuid): Do not declare.
9986 [__ASSUME_32BITUIDS]: Make code unconditional.
9987 [!__ASSUME_32BITUIDS]: Remove conditional code.
9988 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9989 <kernel-features.h>.
9990 [__ASSUME_32BITUIDS]: Make code unconditional.
9991 [!__ASSUME_32BITUIDS]: Remove conditional code.
9992 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9993 <kernel-features.h>.
9994 [__ASSUME_32BITUIDS]: Make code unconditional.
9995 [!__ASSUME_32BITUIDS]: Remove conditional code.
9996
a386f1cc
RH
99972012-05-25 Richard Henderson <rth@twiddle.net>
9998
9999 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
10000 dl_hwcap to ifunc resolver.
10001 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
10002 elf_ifunc_invoke.
10003 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
10004 dl_hwcap to ifunc resolver.
10005 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
10006
b6550497
JM
100072012-05-24 Joseph Myers <joseph@codesourcery.com>
10008
10009 [BZ #14153]
10010 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
10011 for |x| <= 2**-26, not 2**-57.
10012 * math/libm-test.inc (acos_test): Do not allow spurious underflow
10013 exception.
10014
b0bc23a1
JL
100152012-05-24 Jeff Law <law@redhat.com>
10016
10017 * stdio-common/Makefile (tests): Add bug25.
10018 * stdio-common/bug25.c: New test.
10019
347c92e9
L
100202012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10021
10022 [BZ #13576]
10023 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
10024 multiple of MALLOC_ALIGNMENT in size.
10025 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
10026
6bcc8b3f
JM
100272012-05-24 Joseph Myers <joseph@codesourcery.com>
10028
10029 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
10030 Require >= 256.
10031 (FILENAME_MAX): Use macro-int-constant.
10032 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
10033 (_IOFBF): Use macro-int-constant.
10034 (_IOLBF): Likewise.
10035 (_IONBF): Likewise.
10036 (SEEK_CUR): Likewise.
10037 (SEEK_END): Likewise.
10038 (SEEK_SET): Likewise.
10039 (TMP_MAX): Likewise.
10040 (EOF): Use macro-int-constant. Require < 0.
10041 (NULL): Use macro-constant. Require == 0.
10042 (stdin): Require type to be FILE *.
10043 (stdout): Likewise.
10044 (stderr): Likewise.
10045 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
10046 macro-int-constant.
10047 (EXIT_SUCCESS): Likewise.
10048 (NULL): Use macro-constant. Require == 0.
10049 (RAND_MAX): Use macro-int-constant.
10050 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
10051 [C99-based standards] (strtof): Require function.
10052 [C99-based standards] (strtold): Likewise.
10053 [C99-based standards] (strtoll): Likewise.
10054 [C99-based standards] (strtoull): Likewise.
10055 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10056 [ISO || ISO99 || ISO11] (limits.h): Likewise.
10057 [ISO || ISO99 || ISO11] (math.h): Likewise.
10058 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
10059 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10060 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10061
d18ea0c5
AS
100622012-05-24 Andreas Schwab <schwab@linux-m68k.org>
10063
10064 [BZ #14132]
56d25bb8
AS
10065 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
10066 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
10067 * intl/dgettext.c (DCGETTEXT): Likewise.
10068 * intl/gettext.c (DCGETTEXT): Likewise.
10069 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
10070 * posix/regex_internal.h (gettext): Likewise.
10071 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
10072 Remove declaration.
10073 * include/argz.h (__argz_count_internal)
10074 (__argz_stringify_internal): Remove declaration.
10075 (__argz_count, __argz_stringify): Declare hidden proto.
10076 * intl/dcgettext.c: Remove use of INTDEF.
10077 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
10078 * string/argz-stringify.c: Likewise.
10079 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10080 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10081 Declare hidden proto.
d18ea0c5
AS
10082 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
10083 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
10084 Declare hidden proto.
10085 * include/stdio.h (__asprintf_internal): Don't declare.
10086 (__asprintf): Don't define as macro. Declare hidden proto.
10087 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
10088 (__fsetlocking): Declare hidden proto.
10089 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
10090 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
10091 hidden proto.
10092 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
10093 (_IO_setlinebuf): Remove use of INTUSE.
10094 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
10095 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
10096 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
10097 Remove declaration.
10098 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
10099 (_IO_do_flush): Remove use of INTUSE.
10100 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
10101 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
10102 (_IO_adjust_column, _IO_least_wmarker)
10103 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
10104 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
10105 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
10106 (_IO_default_doallocate, _IO_wdefault_doallocate)
10107 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
10108 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
10109 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
10110 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
10111 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
10112 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
10113 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
10114 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
10115 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
10116 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
10117 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
10118 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
10119 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
10120 proto.
10121 (_IO_flush_all_internal, _IO_adjust_column_internal)
10122 (_IO_default_uflow_internal, _IO_default_finish_internal)
10123 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
10124 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
10125 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
10126 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
10127 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
10128 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
10129 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
10130 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
10131 (_IO_file_close_internal, _IO_file_close_it_internal)
10132 (_IO_file_underflow_internal, _IO_file_overflow_internal)
10133 (_IO_file_init_internal, _IO_file_attach_internal)
10134 (_IO_file_fopen_internal, _IO_file_read_internal)
10135 (_IO_file_sync_internal, _IO_file_seek_internal)
10136 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
10137 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
10138 (_IO_str_underflow_internal, _IO_str_overflow_internal)
10139 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
10140 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
10141 (_IO_list_all_internal, _IO_link_in_internal)
10142 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
10143 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
10144 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
10145 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
10146 (_IO_do_write_internal, _IO_padn_internal)
10147 (_IO_getline_info_internal, _IO_getline_internal)
10148 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
10149 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
10150 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
10151 (_IO_vfscanf_internal, _IO_vfprintf_internal)
10152 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
10153 (_IO_init_internal, _IO_un_link_internal): Don't declare.
10154 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
10155 with libc_hidden_ver, remove use of INTUSE.
10156 * libio/genops.c: Likewise.
10157 * libio/freopen.c: Likewise.
10158 * libio/freopen64.c: Likewise.
10159 * libio/iofclose.c: Likewise.
10160 * libio/iofdopen.c: Likewise.
10161 * libio/iofflush.c: Likewise.
10162 * libio/iofflush_u.c: Likewise.
10163 * libio/iofgets.c: Likewise.
10164 * libio/iofgets_u.c: Likewise.
10165 * libio/iofopen.c: Likewise.
10166 * libio/iofopncook.c: Likewise.
10167 * libio/iofread.c: Likewise.
10168 * libio/iofread_u.c: Likewise.
10169 * libio/ioftell.c: Likewise.
10170 * libio/iofwrite.c: Likewise.
10171 * libio/iogetline.c: Likewise.
10172 * libio/iogets.c: Likewise.
10173 * libio/iogetwline.c: Likewise.
10174 * libio/iopadn.c: Likewise.
10175 * libio/iopopen.c: Likewise.
10176 * libio/ioseekoff.c: Likewise.
10177 * libio/ioseekpos.c: Likewise.
10178 * libio/iosetbuffer.c: Likewise.
10179 * libio/iosetvbuf.c: Likewise.
10180 * libio/ioungetc.c: Likewise.
10181 * libio/ioungetwc.c: Likewise.
10182 * libio/iovdprintf.c: Likewise.
10183 * libio/iovsprintf.c: Likewise.
10184 * libio/iovsscanf.c: Likewise.
10185 * libio/memstream.c: Likewise.
10186 * libio/obprintf.c: Likewise.
10187 * libio/oldfileops.c: Likewise.
10188 * libio/oldiofclose.c: Likewise.
10189 * libio/oldiofdopen.c: Likewise.
10190 * libio/oldiofopen.c: Likewise.
10191 * libio/oldiopopen.c: Likewise.
10192 * libio/oldstdfiles.c: Likewise.
10193 * libio/putc.c: Likewise.
10194 * libio/setbuf.c: Likewise.
10195 * libio/setlinebuf.c: Likewise.
10196 * libio/stdfiles.c: Likewise.
10197 * libio/strops.c: Likewise.
10198 * libio/vasprintf.c: Likewise.
10199 * libio/vscanf.c: Likewise.
10200 * libio/vsnprintf.c: Likewise.
10201 * libio/vswprintf.c: Likewise.
10202 * libio/wfiledoalloc.c: Likewise.
10203 * libio/wfileops.c: Likewise.
10204 * libio/wgenops.c: Likewise.
10205 * libio/wmemstream.c: Likewise.
10206 * libio/wstrops.c: Likewise.
10207 * libio/__fpurge.c: Likewise.
10208 * libio/__fsetlocking.c: Likewise.
10209 * assert/assert.c: Likewise.
10210 * debug/fgets_chk.c: Likewise.
10211 * debug/fgets_u_chk.c: Likewise.
10212 * debug/fread_chk.c: Likewise.
10213 * debug/fread_u_chk.c: Likewise.
10214 * debug/gets_chk.c: Likewise.
10215 * debug/obprintf_chk.c: Likewise.
10216 * debug/vasprintf_chk.c: Likewise.
10217 * debug/vdprintf_chk.c: Likewise.
10218 * debug/vsnprintf_chk.c: Likewise.
10219 * debug/vsprintf_chk.c: Likewise.
10220 * malloc/mtrace.c: Likewise.
10221 * misc/error.c: Likewise.
10222 * misc/syslog.c: Likewise.
10223 * stdio-common/asprintf.c: Likewise.
10224 * stdio-common/fxprintf.c: Likewise.
10225 * stdio-common/getw.c: Likewise.
10226 * stdio-common/isoc99_fscanf.c: Likewise.
10227 * stdio-common/isoc99_scanf.c: Likewise.
10228 * stdio-common/isoc99_vfscanf.c: Likewise.
10229 * stdio-common/isoc99_vscanf.c: Likewise.
10230 * stdio-common/isoc99_vsscanf.c: Likewise.
10231 * stdio-common/printf-prs.c: Likewise.
10232 * stdio-common/printf_fp.c: Likewise.
10233 * stdio-common/printf_fphex.c: Likewise.
10234 * stdio-common/printf_size.c: Likewise.
10235 * stdio-common/putw.c: Likewise.
10236 * stdio-common/scanf.c: Likewise.
10237 * stdio-common/sprintf.c: Likewise.
10238 * stdio-common/tmpfile.c: Likewise.
10239 * stdio-common/vfprintf.c: Likewise.
10240 * stdio-common/vfscanf.c: Likewise.
10241 * stdlib/strfmon_l.c: Likewise.
10242 * sunrpc/openchild.c: Likewise.
10243 * sunrpc/xdr_stdio.c: Likewise.
10244 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10245 * sysdeps/mach/hurd/tmpfile.c: Likewise.
10246
d6c33fda
RM
102472012-05-24 Roland McGrath <roland@hack.frob.com>
10248
c1487492
RM
10249 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10250
10251 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
10252 in the third column, to generate for the shared library an IFUNC
10253 that uses _dl_vdso_vsym.
10254 * Makerules (COMPILE.c, compile-stdin.c): New variables.
10255 * Makeconfig (object-suffixes-noshared): New variable.
10256
10257 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
10258 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
10259 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
10260 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
10261
d6c33fda
RM
10262 [BZ #14132]
10263 * include/sys/time.h (__gettimeofday): Remove macro.
10264 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
10265 * time/gettimeofday.c (__gettimeofday): Remove #undef.
10266 Remove INTDEF.
10267 (__gettimeofday): Add libc_hidden_def.
10268 (gettimeofday): Add libc_hidden_weak.
10269 * sysdeps/mach/gettimeofday.c: Likewise.
10270 * sysdeps/posix/gettimeofday.c: Likewise.
10271 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
10272 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10273 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
10274 (__gettimeofday_internal): Remove strong_alias.
10275 (__gettimeofday): Add libc_hidden_def.
10276 (gettimeofday): Add libc_hidden_weak.
10277 * sysdeps/unix/syscalls.list (gettimeofday):
10278 Remove __gettimeofday_internal alias.
10279
b5a2bbe6
L
102802012-05-24 Daniel Jacobowitz <drow@false.org>
10281 H.J. Lu <hongjiu.lu@intel.com>
10282
10283 [BZ #12495]
10284 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
10285 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
10286 (largebin_index_32_big): New.
10287 (largebin_index): Use it for 16-byte alignment.
10288 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
10289 correction with front_misalign.
10290
cfba4fda
L
102912012-05-24 H.J. Lu <hongjiu.lu@intel.com>
10292
7f907421
L
10293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
10294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10295 Likewise.
10296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
10297 Likewise.
10298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10299 Likewise.
10300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
10301 Likewise.
10302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
10303 Likewise.
10304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
10305 Likewise.
10306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
10307 Likewise.
10308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10309 Likewise.
10310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
10311 Likewise.
10312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
10313 Likewise.
10314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10315 Likewise.
10316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
10317 Likewise.
10318
cfba4fda
L
10319 * scripts/data/c++-types-x32-linux-gnu.data: New file.
10320 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
10321
80bad0cc
JM
103222012-05-24 Joseph Myers <joseph@codesourcery.com>
10323
7a25eb06
JM
10324 [BZ #10846]
10325 [BZ #14036]
10326 * math/libm-test.inc (exp_test): Add test from bug 14036.
10327 (pow_test): Add test from bug 10846.
10328
795405f9
JM
10329 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
10330 and other flags.
10331 (special_function): Do not include flags in test name.
10332 (parse_args): Likewise.
10333 * sysdeps/i386/fpu/libm-test-ulps: Update.
10334 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10335 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10336 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10338
80bad0cc
JM
10339 * math/gen-libm-test.pl (%beautify): Add entries for underflow
10340 exceptions.
10341 * math/libm-test.inc ("Philosophy"): Update comment about
10342 exception testing.
10343 (UNDERFLOW_EXCEPTION): New macro.
10344 (UNDERFLOW_EXCEPTION_OK): Likewise.
10345 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10346 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10347 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10348 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10349 (INVALID_EXCEPTION_OK): Update value.
10350 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10351 (OVERFLOW_EXCEPTION_OK): Likewise.
10352 (IGNORE_ZERO_INF_SIGN): Likewise.
10353 (test_exceptions): Handle underflow exceptions.
10354 (acos_test): Update for underflow exception expectations.
10355 (cexp_test): Likewise.
10356 (clog_test): Likewise.
10357 (clog10_test): Likewise.
10358 (csqrt_test): Likewise.
10359 (ctan_test): Likewise.
10360 (ctanh_test): Likewise.
10361 (exp_test): Likewise.
10362 (exp10_test): Likewise.
10363 (exp2_test): Likewise.
10364 (expm1_test): Likewise.
10365 (fma_test): Likewise.
10366 (j0_test): Likewise.
10367 (jn_test): Likewise.
10368 (nexttoward_test): Likewise.
10369 (pow_test): Likewise.
10370 (scalbn_test): Likewise.
10371 (scalbln_test): Likewise.
10372 (tan_test): Likewise.
10373 (y1_test): Likewise.
10374 * sysdeps/i386/fpu/libm-test-ulps: Update.
10375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10376
9e0e3d0b
DM
103772012-05-23 David S. Miller <davem@davemloft.net>
10378
10379 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10380 (__libc_sigaction): Remove unused local variables.
10381
ccd0a08f
L
103822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10383
10384 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
10385
62bdf9a6
PE
103862012-05-23 Paul Eggert <eggert@cs.ucla.edu>
10387
f8591f80
PE
10388 mktime: avoid signed integer overflow
10389 * time/mktime.c (__mktime_internal): Do not mishandle the case
10390 where diff == INT_MIN.
10391
94c7d826
PE
10392 mktime: simplify computation of average
10393 * time/mktime.c (ranged_convert): Use new time_t_avg function
10394 instead of rolling our own (probably-slower) code.
10395
ce73d683
PE
10396 mktime: do not assume signed right shift propagates sign bit
10397 * time/mktime.c (isdst_differ): New static function.
10398 (__mktime_internal): No need to normalize tm_isdst now.
10399 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
10400 tm_isdst values.
10401
72a22e59
PE
10402 mktime: merge another wrapv change from gnulib
10403 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
10404 from some compilers.
10405
68605433
PE
10406 mktime: remove incorrect attempt at unusual arithmetics
10407 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
10408 The code didn't really work on such machines anyway.
10409 (TYPE_MINIMUM): Assume two's complement.
10410 (twos_complement_arithmetic): Verify that long_int and time_t
10411 are two's complement (or unsigned, in the latter case).
10412
03cf7fe3
PE
10413 mktime: check signed shifts on long_int and time_t, too
10414 * time/mktime.c (SHR): Check that shifts work as desired
10415 on the types long_int and time_t too, as SHR is used on
10416 such types.
10417
f04dfbc2
PE
10418 mktime: do not assume 'long' is wide enough
10419 * time/mktime.c (verify): Move decl up.
10420 (long_int): New type.
10421 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
10422 to remove assumption in the code that 'long' is wide enough to
10423 store year values. This assumption is not true on x32 and on
10424 some non-glibc platforms.
10425
62bdf9a6
PE
10426 mktime: merge wrapv change from gnulib
10427 * time/mktime.c (WRAPV): New macro.
10428 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
10429 (guess_time_tm, __mktime_internal): Do not assume that signed
10430 integer overflow wraps around; modern compilers generate code
10431 where this assumption is no longer valid.
10432
5e292e4f
L
104332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10434
10435 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10436 Replace "jmp L(pseudo_end)" with "ret".
10437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
10438 Likewise.
10439
8caf8c87
AJ
104402012-05-23 Andreas Jaeger <aj@suse.de>
10441
10442 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
10443 * sysdeps/unix/sysv/linux/poll.c: Remove file.
10444
1a09dc56
AJ
104452012-05-23 Andreas Jaeger <aj@suse.de>
10446 Maximilian Attems <max@stro.at>
10447
10448 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
10449 New macros.
10450
1c87aba0
L
104512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
10452
10453 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
10454 code so that pseudo_end is just ret and the stack pointer is
10455 correct also for static library in error case.
10456
40e45bd5
JM
104572012-05-23 Joseph Myers <joseph@codesourcery.com>
10458
c2670533
JM
10459 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
10460 move to syscalls.list.
10461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10465
40e45bd5
JM
10466 * manual/install.texi (Running make install): Do not mention Linux
10467 kernel version for which pt_chown is not needed.
10468 (Linux): Do not mention problems with nscd with 2.0 kernels.
10469 * INSTALL: Regenerated.
10470
be08eda5
AJ
104712012-05-23 Andreas Jaeger <aj@suse.de>
10472
10473 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
10474 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
10475 macro.
10476 * sysdeps/unix/sysv/linux/s390/bits/mman.h
10477 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10478 * sysdeps/unix/sysv/linux/sh/bits/mman.h
10479 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10480 * sysdeps/unix/sysv/linux/i386/bits/mman.h
10481 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10482 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
10483 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10484 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
10485 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
10486 * sysdeps/unix/sysv/linux/bits/in.h
10487 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
10488
a6a056bb
RM
104892012-05-22 Roland McGrath <roland@hack.frob.com>
10490
10491 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
10492 (PREPARE_VERSION): Just use assert instead, it will be elided
10493 under [NDEBUG] anyway.
10494
c9009328
L
104952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10496
10497 * sysdeps/unix/sysv/linux/Makefile: Include
10498 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 10499 (sysdep_routines): Remove sysctl.
c9009328
L
10500 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
10501 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
10502 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
10503 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
10504 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
10505
73338355
AJ
105062012-05-22 Andreas Jaeger <aj@suse.de>
10507
10508 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
10509 that pseudo_end is just ret and the stack pointer is correct also
10510 for static library in error case.
10511
d44638b0
PP
105122012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10513
10514 [BZ #14122]
10515 * nss/nsswitch.c (defconfig_entries): New variable.
10516 (__nss_database_lookup): Don't leak defconfig entries.
10517 (nss_parse_service_list): Don't leak on error paths.
10518 (free_database_entries): New function.
10519 (free_defconfig): New function.
10520 (free_mem): Move common code to free_database_entries.
10521
31a39bd8
L
105222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10523
da0331a8
L
10524 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
10525 Add arch_prctl.
10526 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
10527
31a39bd8
L
10528 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10529 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
10530 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
10531 New macro.
10532 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10533 (INTERNAL_SYSCALL_TYPES): Likewise.
10534 (LOAD_ARGS_TYPES_[1-6]): Likewise.
10535 (LOAD_REGS_TYPES_[1-6]): Likewise.
10536 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
10537 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
10538
45470df3
AZ
105392012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10540
10541 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
10542 copysignl for GLIBC_2_0.
10543 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
10544 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
10545 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
10546 logbl for GLIBC_2_0.
10547 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
10548 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
10549
98a61bcb
L
105502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10551
a4f6e481
L
10552 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
10553 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10554
f63d5db6
L
10555 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
10556 Use "neg %eax".
10557
98a61bcb
L
10558 * time/mktime.c: Update copyright years.
10559
95770f14
PE
105602012-05-22 Paul Eggert <eggert@cs.ucla.edu>
10561
6226efbd
PE
10562 mktime: merge comment-quoting-style change from gnulib
10563 * time/mktime.c: Quote 'like this' in comments.
10564 The GNU coding standards suggest that we no longer quote `like this',
10565 as "`" and "'" are typically rendered asymmetrically nowadays.
10566 The typical gnulib style is to quote 'like this' when quoting
10567 code, and "like this" when quoting English.
10568
b99e4f78
PE
10569 * time/mktime.c (compile-command): Add "-I.".
10570
643e01e6
PE
10571 mktime: merge mktime-internal.h change from gnulib
10572 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
10573
2554247d
PE
10574 mktime: merge time_r change from gnulib
10575 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
10576
826dd0ab
PE
10577 mktime: merge DEBUG change from gnulib
10578 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
10579 case system <time.h> has a #define.
10580
bd83aabe
PE
10581 mktime: merge <sys/types.h> change from gnulib
10582 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
10583 since <time.t> is now guaranteed to define time_t.
10584
95770f14
PE
10585 mktime: merge HAVE_CONFIG_H change from gnulib
10586 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
10587
5e1a27a9
L
105882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
10589
0e44a77e
L
10590 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10591 Use "neg %eax".
10592
5e1a27a9
L
10593 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
10594 __rlim_t cast.
10595 (struct rusage): Use anonymous union to pad each field to
10596 __syscall_slong_t.
10597
46259bec
DM
105982012-05-21 David S. Miller <davem@davemloft.net>
10599
10600 * Makefules (o-iterator): Remove .s cases.
10601 (compile-command.s): Delete.
10602 (COMPILE.s): Delete.
10603 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
10604
59f0c22e
JM
106052012-05-21 Joseph Myers <joseph@codesourcery.com>
10606
10607 * configure.in (libc_cv_predef_stack_protector): Only consider
10608 "foobar" and "__stack_chk_fail" lines in libc_undefs.
10609 * configure: Regenerated.
10610
20c07380
L
106112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10612
bbb3154b
L
10613 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
10614 New macro. Use R*LP on int and pointer.
10615 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
10616 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
10617 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
10618 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
10619
20c07380
L
10620 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
10621 [__WORDSIZE_TIME64_COMPAT32] instead of
10622 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
10623 (struct utmp): Likewise.
10624 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
10625 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
10626 Renamed to ...
10627 (__WORDSIZE_TIME64_COMPAT32): This.
10628 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
10629 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
10630 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
10631 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
10632 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
10633 (__WORDSIZE_TIME64_COMPAT32): New macro.
10634
d8d1017e
AJ
106352012-05-21 Andreas Jaeger <aj@suse.de>
10636
10637 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
10638 only if [SHARED]. Add prototype for __wcschr_ia32.
10639
6c7fb145
RM
106402012-05-21 Roland McGrath <roland@hack.frob.com>
10641
10642 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
10643 of %rbp unmolested in the jmp_buf while mangling the low bits.
10644 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
10645 unmolested high bits of %rbp while demangling the low bits.
10646 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
10647
66274218
AJ
106482012-05-21 Andreas Jaeger <aj@suse.de>
10649
07c58f8f
AJ
10650 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
10651 * sunrpc/svc_simple.c: Use it for registerrpc.
10652 * sunrpc/xcrypt.c: Use it for passwd2des.
10653
66274218
AJ
10654 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
10655
61f65140
L
106562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10657
10658 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
10659 Don't define if [__SYSCALL_WORDSIZE != 32].
10660 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
10661 New macro.
10662
5fefb436
AJ
106632012-05-21 Bruno Haible <bruno@clisp.org>
10664 Andreas Jaeger <aj@suse.de>
10665
10666 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
10667 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
10668 inptr and inend for must_buffer_ch.
10669 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
10670 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
10671 * stdio-common/Makefile (tests): Remove bug15.
10672 (bug15-ENV): Remove macro.
10673 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
10674 anymore.
10675
d8e272ab
AJ
106762012-05-19 Andreas Jaeger <aj@suse.de>
10677 Roland McGrath <roland@hack.frob.com>
10678
10679 * manual/contrib.texi: Completely rewritten. It contains now an
10680 alphabetical list of contributors and their contributions.
10681
4a56a162
RH
106822012-05-21 Richard Henderson <rth@twiddle.net>
10683
10684 * misc/getauxval.c (__getauxval): Use unsigned long int.
10685 * misc/sys/auxv.h: Include <sys/cdefs.h>.
10686 (getauxval): Use unsigned long int.
10687
d024d23c
L
106882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
10689
10690 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
10691
cbc00a03
RM
106922012-05-21 Roland McGrath <roland@hack.frob.com>
10693
10694 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
10695 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
10696 __alignof__ (long double).
10697
478143fa
AZ
106982012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10699
10700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10701
c7683a6d
RH
107022012-05-20 Richard Henderson <rth@twiddle.net>
10703
10704 * misc/getauxval.c: New file.
10705 * misc/sys/auxv.h: New file.
10706 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
10707 (routines): Add getauxval.
10708 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
10709 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
10710 * elf/dl-sysdep.c (_dl_auxv): Remove.
10711 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
10712 * elf/dl-support.c (_dl_auxv): New variable.
10713 (_dl_aux_init): Initialize it.
10714 * manual/startup.texi (Auxiliary Vector): New node.
10715 * sysdeps/generic/bits/hwcap.h: New file.
10716 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
10717 * sysdeps/powerpc/sysdep.h: ... here. Include it.
10718 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
10719 * sysdeps/sparc/sysdep.h: ... here. Include it.
10720 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
10721 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
10722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10723 Update.
c7683a6d
RH
10724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
10725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
10726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
10727 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
10728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
10730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
10731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
10732
a6f1845d
AZ
107332012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10734
10735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10736
cbcbe830
DM
107372012-05-19 David S. Miller <davem@davemloft.net>
10738
10739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10740
e0b16cc2
JM
107412012-05-19 Joseph Myers <joseph@codesourcery.com>
10742
10743 [BZ #14123]
10744 * math/s_ccosh.c: Include <float.h>
10745 (__ccosh): Avoid internal overflow calculating sinh and cosh
10746 values before multiplying by sin and cos values.
10747 * math/s_ccoshf.c: Likewise.
10748 * math/s_ccoshl.c: Likewise.
10749 * math/s_csin.c: Likewise.
10750 * math/s_csinf.c: Likewise.
10751 * math/s_csinl.c: Likewise.
10752 * math/s_csinh.c: Likewise.
10753 * math/s_csinhf.c: Likewise.
10754 * math/s_csinhl.c: Likewise.
10755 * math/libm-test.inc (ccos_test): Add more tests.
10756 (ccosh_test): Likewise.
10757 (csin_test): Likewise.
10758 (csinh_test): Likewise.
10759 * sysdeps/i386/fpu/libm-test-ulps: Update.
10760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10761
6ad13e08
L
107622012-05-19 H.J. Lu <hongjiu.lu@intel.com>
10763
f66f0ce8
L
10764 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
10765 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10766
6ad13e08
L
10767 * sysdeps/x86_64/x32/_itoa.h: Add comment.
10768
b1d072a7
JM
107692012-05-19 Joseph Myers <joseph@codesourcery.com>
10770
10771 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
10772 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
10773 * sysdeps/powerpc/soft-fp/Versions: Likewise.
10774 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
10775 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
10776 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
10777 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
10778 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
10779 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
10780 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
10781 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
10782 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
10783 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
10784 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
10785 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
10786 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
10787 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
10788 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
10789 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
10790 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
10791 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
10792 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
10793 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
10794 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
10795 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
10796 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
10797 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
10798 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
10799 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
10800 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
10801 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
10802
9eae47cb
AJ
108032012-05-18 Andreas Jaeger <aj@suse.de>
10804
10805 * csu/.gitignore: Delete.
10806
bb07f69f
L
108072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10808
10809 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
10810 (timex): Use __syscall_slong_t.
10811
e6bdb741
AJ
108122012-05-18 Andreas Jaeger <aj@suse.de>
10813 Carlos O'Donell <carlos_odonell@mentor.com>
10814
10815 * manual/install.texi (Configuring and compiling): Update
10816 description about files modified in the source directory.
d6c33fda 10817 * INSTALL: Regenerated.
e6bdb741 10818
1b74487e
L
108192012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10820
10821 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
10822 value. Use "or" to set return value to -1.
10823 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
10824 negate return value.
10825
a88b64b9
TMQMF
108262012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10827
10828 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
10829 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
10830 failure if the compiler has Graphite support disabled.
10831 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
10832 Likewise.
10833 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
10834 CFLAGS-memmove.c): Likewise.
10835 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
10836 Likewise.
10837
3707636e
L
108382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
10839
610b8622
L
10840 * sysdeps/x86_64/x32/_itoa.h: New file.
10841
7cd195df
L
10842 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
10843 getdents system call only if kernel and user dirents have the
10844 same d_ino and d_off.
10845
94b07d20
L
10846 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10847 LLONG_MAX != LONG_MAX.
10848 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10849 (_fitoa_word): Likewise.
10850
18298070
L
10851 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
10852 years.
10853 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
10854 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
10855 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
10856
553c7ea4
L
10857 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
10858 include <bits/wordsize.h>. Check __x86_64__ instead of
10859 __WORDSIZE.
10860 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
10861 if __x86_64__ is defined. Use anonymous union on fpstate.
10862
3707636e
L
10863 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
10864 anonymous union.
10865
b53ef01a
AS
108662012-05-18 Andreas Schwab <schwab@linux-m68k.org>
10867
37fb1dc0
AS
10868 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10869 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
10870 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
10871 Refer to _rtld_local_ro instead of _rtld_global_ro.
10872 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
10873 Likewise.
10874 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
10875 Likewise.
10876 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
10877 Likewise.
10878 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
10879 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
10880 of _rtld_global, and rtld_progname instead of _dl_argv[0].
10881
b53ef01a
AS
10882 * sysdeps/powerpc/powerpc32/dl-machine.c
10883 (__elf_machine_runtime_setup) [PROF]: Don't reference
10884 _dl_prof_resolve.
10885
7a185db2
AJ
108862012-05-18 Andreas Jaeger <aj@suse.de>
10887
10888 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10889 function only available for GCCs before 3.4 since GCC 3.4
10890 introduced a builtin.
10891 (lrint): Likewise.
10892 (llrintf): Likewise.
10893 (llrint): Likewise.
10894 (fmaxf): Likewise.
10895 (fmax): Likewise.
10896 (fminf): Likewise.
10897 (fmin): Likewise.
10898 (rint): Likewise.
10899 (rintf): Likewise.
10900 (nearbyint): Likewise.
10901 (nearbyintf): Likewise.
10902 (ceil): Likewise.
10903 (ceilf): Likewise.
10904 (floor): Likewise.
10905 (floorf): Likewise.
10906
3e5aef87
L
109072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10908
428bd707
L
10909 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10910 on both fields and cast pointer to __syscall_ulong_t.
10911
3e5aef87
L
10912 * bits/types.h (__fsword_t): New type.
10913 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10914 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10915 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10916 (__FSWORD_T_TYPE): Likewise.
10917 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10918 (__FSWORD_T_TYPE): Likewise.
10919 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10920 (__FSWORD_T_TYPE): Likewise.
10921 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10922 (__FSWORD_T_TYPE): Likewise.
10923 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10924 __SWORD_TYPE with __fsword_t.
10925 (statfs64): Likewise.
10926
1ba7c3dc
DM
109272012-05-17 David S. Miller <davem@davemloft.net>
10928
10929 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10930
59910343
AJ
109312012-05-17 Andreas Jaeger <aj@suse.de>
10932
10933 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10934 warning.
10935
2e4c1e9e
L
109362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10937
10938 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10939
de7f5ce7
AJ
109402012-05-17 Andreas Jaeger <aj@suse.de>
10941
10942 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10943 when it is used.
10944
286abc3d
CM
109452012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10946
10947 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10948
477cc68e
L
109492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10950
10951 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10952 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10953
1a0994f5
CD
109542012-05-17 Andreas Jaeger <aj@suse.de>
10955 Carlos O'Donell <carlos_odonell@mentor.com>
10956
10957 [BZ #14059]
10958 * sysdeps/x86_64/multiarch/init-arch.h
10959 (bit_YMM_Usable): Rename to...
10960 (bit_AVX_Usable): ... this.
10961 (bit_FMA4_Usable): New macro.
10962 (bit_XMM_state): New macro.
10963 (bit_YMM_state): New macro.
10964 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10965 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10966 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10967 (CPUID_OSXSAVE): New macro.
10968 (CPUID_AVX): New macro.
10969 (CPUID_FMA4): New macro.
10970 (index_YMM_Usable): Rename to...
10971 (index_AVX_Usable): ... this.
10972 (HAS_AVX): Use HAS_ARCH_FEATURE.
10973 (HAS_FMA4): Likewise.
10974 (HAS_YMM_USABLE): Remove.
10975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10976 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10977 are present.
10978 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10979 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10980 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10981 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10982 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10983
0af797de
CM
109842012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10985
10986 * math/libm-test.c: Support platforms without multiple rounding modes.
10987 * math/bug-nextafter.c: Support platforms without FP exceptions.
10988 * math/bug-nexttoward.c: Likewise.
10989 * math/test-fenv.c: Likewise.
10990 * math/test-misc.c: Likewise.
10991 * stdlib/bug-getcontext.c: Likewise.
10992
e39745ff
AJ
109932012-05-17 Andreas Jaeger <aj@suse.de>
10994
10995 * manual/examples/search.c (critter_cmp): Change signature to
10996 avoid warnings.
10997 * manual/string.texi (Collation Functions): Likewise.
10998
48970aba
L
109992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11000
11001 * bits/types.h: Fold copyright years.
11002 * bits/typesizes.h: Likewise.
11003 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
11004 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11005 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
11006 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
11007 * time/time.h: Likewise.
11008
bedee953
PP
110092012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11010
11011 [BZ #208]
11012 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
11013 in instead of returning them. Return void.
11014 (__libc_mallinfo): Accumulate over all arenas.
11015 (__malloc_stats): Adjust for change in int_mallinfo interface.
11016
61653dfb
RM
110172012-05-16 Roland McGrath <roland@hack.frob.com>
11018
30b99d79
RM
11019 [BZ #10375]
11020 * configure.in (NM): Add AC_CHECK_TOOL for it.
11021 (libc_extra_cflags): New substituted variable.
11022 Check for -fstack-protector being used implicitly.
11023 * configure: Regenerated.
11024 * config.make.in (config-extra-cflags): New variable,
11025 gets @libc_extra_cflags@.
11026 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
11027
61653dfb
RM
11028 [BZ #10375]
11029 * configure.in: Check for _FORTIFY_SOURCE being predefined.
11030 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
11031 * configure: Regenerated.
11032 * config.make.in (CPPUNDEFS): New substituted variable.
11033 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
11034 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
11035 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
11036
661768bb
L
110372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11038
11039 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
11040 (mq_attr): Use __syscall_slong_t.
11041
d4261567
L
110422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11043
11044 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
11045 Check __x86_64__ instead of __WORDSIZE.
11046 (_STAT_VER_LINUX): Likewise.
11047 (stat): Check __x86_64__ instead of __WORDSIZE. Use
11048 __syscall_ulong_t and __syscall_slong_t.
11049 (stat64): Likewise.
11050
cf3ff365
L
110512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11052
11053 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
11054
76cf3e4d
L
110552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11056
11057 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
11058
a637753a
L
110592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11060
11061 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
11062 __syscall_ulong_t.
11063
d5e05119
L
11064 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
11065 include <bits/wordsize.h>. Check __x86_64__ instead of
11066 __WORDSIZE.
11067 (greg_t): Use "__extension__ long long int" if __x86_64__ is
11068 defined.
11069 (mcontext_t): Replace "unsigned long" with "unsigned long long".
11070
f62ee380
L
11071 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
11072 include <bits/wordsize.h>. Check __x86_64__ instead of
11073 __WORDSIZE.
11074 (user_regs_struct): Use "__extension__ unsigned long long"
11075 instead of "unsigned long" if __x86_64__ is defined.
11076 (user): Likewise. Pad after pointer field if __ILP32__ is
11077 defined.
11078
4e124ced
JM
110792012-05-16 Joseph Myers <joseph@codesourcery.com>
11080
6a3951a0
JM
11081 * configure.in (makeinfo): Require version 4.5 or later. Allow
11082 versions 5 to 9.
11083 * configure: Regenerated.
11084 * manual/install.texi (texinfo): Increase version requirement to
11085 4.5 or later.
11086 * INSTALL: Regenerated.
11087
4e124ced
JM
11088 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
11089
953ca31a
L
110902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
11091
11092 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
11093
617aca05
L
11094 * sysdeps/x86_64/x32/ffs.c: New file.
11095
5762f7ae
L
11096 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
11097 __syscall_ulong_t.
11098 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
11099 defined. Use __syscall_ulong_t.
11100 (shminfo): Use __syscall_ulong_t.
11101 (shm_info): Likewise.
11102
a26b6856
L
11103 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
11104 __syscall_ulong_t.
11105
cb2b9ef7
L
11106 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
11107 <bits/wordsize.h>.
11108 (msgqnum_t): Use __syscall_ulong_t.
11109 (msglen_t): Likewise.
11110 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
11111 __syscall_ulong_t.
11112
34683bb0
L
11113 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
11114 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11115
84a68786
L
11116 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
11117
48baa5f1
L
11118 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
11119 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
11120
180be88b
L
11121 * sysvipc/sys/msg.h (msgbuf): Replace long int with
11122 __syscall_slong_t.
11123
5e90c8ad
L
11124 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
11125 include <bits/wordsize.h>. Check __x86_64__ instead of
11126 __WORDSIZE.
11127
23dfb58b
L
11128 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
11129 "unsigned long long int" if __x86_64__ is defined.
11130 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
11131
ce5d54b0
L
11132 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
11133 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11134 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
11135
13dc9eac
L
11136 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
11137 <stdint.h>.
11138 (GET_PC): Cast to uintptr_t first.
11139 (GET_FRAME): Likewise.
11140 (GET_STACK): Likewise.
11141
a7895d15
L
11142 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
11143 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
11144 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
11145 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
11146 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
11147 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
11148 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
11149 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
11150 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11151 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
11152 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
11153 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
11154 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11155 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
11156 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
11157 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
11158 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
11159 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
11160 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
11161 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
11162 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
11163 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
11164 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
11165 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
11166 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
11167 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
11168 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
11169 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
11170 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
11171
656416c9
AS
111722012-05-16 Andreas Schwab <schwab@linux-m68k.org>
11173
5bd66283
AS
11174 * Makerules (+depfiles): Also collect depfiles from .oS in
11175 $(extra-objs).
11176 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
11177 .oS, $(libnldbl-routines)).
11178
656416c9
AS
11179 * Makerules (native-compile-mkdep-flags): Define.
11180 * sunrpc/Makefile (extra-objs): Add $(addprefix
11181 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
11182 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
11183 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
11184 calling $(make-target-directory).
11185
a46f2169
L
111862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11187
11188 * bits/types.h (__snseconds_t): Removed.
11189 * time/time.h (struct timespec): Replace __snseconds_t with
11190 __syscall_slong_t.
11191 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
11192 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
11193 Likewise.
11194 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11195 (__SNSECONDS_T_TYPE): Likewise.
11196 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11197 (__SNSECONDS_T_TYPE): Likewise.
11198 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11199 (__SNSECONDS_T_TYPE): Likewise.
11200
6af6528b
L
112012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11202
11203 * sysdeps/mach/hurd/bits/typesizes.h
11204 (__SYSCALL_SLONG_TYPE): New macro.
11205 (__SYSCALL_ULONG_TYPE): Likewise.
11206
de986b56
L
112072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11208
11209 * bits/types.h (__syscall_slong_t): New type.
11210 (__syscall_ulong_t): Likewise.
11211
11212 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
11213 (__SYSCALL_ULONG_TYPE): Likewise.
11214 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11215 (__SYSCALL_SLONG_TYPE): Likewise.
11216 (__SYSCALL_ULONG_TYPE): Likewise.
11217 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11218 (__SYSCALL_SLONG_TYPE): Likewise.
11219 (__SYSCALL_ULONG_TYPE): Likewise.
11220 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11221 (__SYSCALL_SLONG_TYPE): Likewise.
11222 (__SYSCALL_ULONG_TYPE): Likewise.
11223
85736dc7
L
112242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11225
11226 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
11227 Add sigaltstack-offsets.sym.
11228 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11229 <sigaltstack-offsets.h>.
11230 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
11231 longjmp_msg pointer.
11232 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
11233 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
11234 signal stack.
11235 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
11236
cc03b296
JM
112372012-05-15 Joseph Myers <joseph@codesourcery.com>
11238
a9538892
JM
11239 * elf/stackguard-macros.h: Remove file.
11240 * sysdeps/generic/stackguard-macros.h: New file.
11241 * sysdeps/i386/stackguard-macros.h: Likewise.
11242 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11243 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11244 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11245 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11246 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11247 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11248 * sysdeps/x86_64/stackguard-macros.h: Likewise.
11249 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
11250 <elf/stackguard-macros.h>.
11251
cc03b296
JM
11252 [BZ #14109]
11253 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
11254 __aligned__ in attribute.
11255 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
11256 (gregset_t): Likewise.
11257
93171016
L
112582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11259
11260 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
11261 * sysdeps/x86_64/64/Implies-after: Here. New file.
11262 * sysdeps/x86_64/x32/Implies-after: New file.
11263
d86813a0
L
112642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11265
11266 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
11267 and access return value for _dl_profile_fixup. Use R10_LP to
11268 load frame size.
11269
2953ec75
L
112702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11271
11272 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11273
3b550e9e
L
112742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11275
11276 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
11277 * sysdeps/x86_64/x32/sysdep.h: New file.
11278
eda41706
L
112792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11280
11281 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
11282 * sysdeps/x86_64/setjmp.S: Likewise.
11283
9ea01d93
AZ
112842012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11285
11286 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
11287 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
11288 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
11289 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
11290 remove unused global constant.
11291
02a91938
CM
112922012-05-15 Chris Metcalf <cmetcalf@tilera.com>
11293
11294 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
11295 include of <not-cancel.h>.
11296
6540185f
RM
112972012-05-15 Roland McGrath <roland@hack.frob.com>
11298
11299 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
11300
509072a0
AJ
113012012-05-15 Jeff Law <law@redhat.com>
11302 Andreas Jaeger <aj@suse.de>
11303
11304 [BZ #13594]
11305 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
11306 out from...
11307 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
11308 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
11309 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
11310 code changing __hst_map_handle.map.
11311
ba75122d
RM
113122012-05-15 Roland McGrath <roland@hack.frob.com>
11313
11314 * configure.in (sysnames): Look for Implies-before and Implies-after
11315 files.
11316 * configure: Regenerated.
11317
890d8bd8
L
113182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11319
11320 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
11321 8-byte data alignment with LP_SIZE alignment.
11322
f6ee6623
L
113232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11324
11325 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
11326 into R10_LP.
11327
ea2626f6
L
113282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11329
11330 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
11331
085f715e
L
113322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11333
11334 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
11335 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
11336 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
11337 Likewise.
11338 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11339
be8498fc
L
113402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11341
11342 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
11343 (stackinfo_sub_sp): Likewise.
11344
70bc83b9
L
113452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11346
11347 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
11348 RAX_LP.
11349
9bc0b730
L
113502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11351
11352 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
11353 into R*_LP.
11354
6d2850e7
L
113552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11356
11357 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
11358 sizes into R*_LP.
11359
3cb84561
L
113602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11361
11362 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
11363
54e2ed81
L
113642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11365
11366 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
11367 into R11_LP and load __x86_64_shared_cache_size_half into
11368 R8_LP.
11369
8a17f349
L
113702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11371
11372 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
11373 R8_LP.
11374
777b1eea
AZ
113752012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11376
11377 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
11378 logb for POWER7.
11379 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
11380 logbf for POWER7.
11381 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
11382 logbl for POWER7.
11383 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
11384 powerpc32/power7/fpu/s_logb.c via #include.
11385 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
11386 powerpc32/power7/fpu/s_logbf.c via #include.
11387 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
11388 powerpc32/power7/fpu/s_logbl.c via #include.
11389
d20d4ac2
JM
113902012-05-15 Joseph Myers <joseph@codesourcery.com>
11391
11392 * README.libm: Remove file.
11393
6cdef1ab
L
113942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11395
11396 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
11397 count for x32. Use R*_LP and omit operand-size suffix.
11398
0b254d8f
L
113992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11400
11401 * shlib-versions: Move x86_64-.*-linux.* entries to ...
11402 * sysdeps/x86_64/64/shlib-versions: Here. New file.
11403 * sysdeps/x86_64/x32/shlib-versions: New file.
11404
ceb809dc
RM
114052012-05-14 Roland McGrath <roland@hack.frob.com>
11406
11407 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
11408 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11409 Use _dl_fatal_printf instead.
11410
37f1abd4
JM
114112012-05-14 Joseph Myers <joseph@codesourcery.com>
11412
11413 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
11414 set if not set by the user. Do not allow for being unset.
11415 * sysdeps/unix/sysv/linux/configure: Regenerated.
11416
11de3a33
L
114172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11418
11419 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
11420 the `q' suffix from lea and replace .quad with ASM_ADDR.
11421
e02f153a
L
114222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11423
11424 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
11425 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
11426 instead of $17.
11427 (PTR_DEMANGLE): Likewise.
11428
520ae0fd
L
114292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11430
11431 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11432 (LP_OP): Likewise.
11433 (ASM_ADDR): Likewise.
11434 (RAX_LP): Likewise.
11435 (RBP_LP): Likewise.
11436 (RBX_LP): Likewise.
11437 (RCX_LP): Likewise.
11438 (RDI_LP): Likewise.
11439 (RSI_LP): Likewise.
11440 (RSP_LP): Likewise.
11441 (R8_LP): Likewise.
11442 (R9_LP): Likewise.
11443 (R10_LP): Likewise.
11444 (R10_LP): Likewise.
11445 (R11_LP): Likewise.
11446 (R12_LP): Likewise.
11447 (R13_LP): Likewise.
11448 (R14_LP): Likewise.
11449 (R15_LP): Likewise.
11450
b985be81
L
114512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11452
11453 * sysdeps/x86_64/x32/dl-machine.h: New file.
11454
6a4888ff
AJ
114552012-05-14 Andreas Jaeger <aj@suse.de>
11456
11457 * manual/Makefile (subdir): Remove export of subdir.
11458 (all): Remove target.
11459 (.PHONY): Remove all from list.
11460 (mkinstalldirs): Remove.
11461 (.PHONY): Remove installdirs from list.
11462 ($(inst_infodir)/libc.info): Use make-target-directory.
11463 (installdirs): Remove.
11464 (subdir_%): Remove.
11465 (glibc-targets): Remove.
11466 (lib): Remove.
11467 (stubs): Remove.
11468 ($(objpfx)stubs ../po/manual.pot): Remove.
11469 ($(objpfx)stamp%): Remove.
11470 (make-target-directory): Remove.
11471 (subdir_install): Remove.
11472 (routines): Remove.
11473 (aux): Remove.
11474 (sources): Remove.
11475 (objects): Remove.
11476 (headers): Remove.
11477
11478 [BZ #13750]
11479 * manual/.gitignore: Remove, it's not needed anymore.
11480 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
11481 all files in it.
11482 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
11483 directory.
11484 (texis): Renamed to $(objpfx)texis.
11485 (texis-path): New, contains path to generated files.
11486 (chapters.%): Use texis-path for complete path, add extra argument
11487 libc-texinfo.sh.
11488 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
11489 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
11490 (summary,texi, stamp-summary): Use complete path of
11491 files. Generate files in build dir.
11492 (dir-add.texi): Build in build dir.
11493 (libm-err.texi,stamp-libm-err): Likewise.
11494 (version.texi, stamp-version): Likewise.
11495 (.%c.texi): Likewise.
11496 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
11497 (mostlyclean): Remove target.
11498 (realclean): Remove target.
11499 (generated): Add new variable with contents from mostlyclean and
11500 realclean, remove entries duplicated in common-mostlyclean, add
11501 stamp-libm-err and stamp-version.
11502 (generated-dirs): Add libc directory.
11503 ($(inst_infodir)/libc.info): Install files from build dir.
11504
11505 * manual/install.texi (Configuring and compiling): Adjust since
11506 the info files are not part of the tar ball anymore.
11507
7ac77294
AJ
115082012-05-14 Andreas Jaeger <aj@suse.de>
11509
11510 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
11511 variable.
11512
ffb7875d
JM
115132012-05-14 Joseph Myers <joseph@codesourcery.com>
11514
11515 [BZ #13717]
11516 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11517 to 2.2.0 where earlier.
11518 * sysdeps/unix/sysv/linux/configure: Regenerated.
11519 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
11520 Remove conditional code.
11521 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
11522 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
11523 Remove conditional code.
11524 [!__NR_lchown]: Likewise.
11525 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11526 [__NR_lchown]: Likewise.
11527 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
11528 comment referencing __ASSUME_LCHOWN_SYSCALL.
11529 * sysdeps/unix/sysv/linux/i386/sigaction.c
11530 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11531 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11532 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
11533 Remove conditional code.
11534 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
11535 (__protocol_available): Remove #if 0 code.
11536 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
11537 conditional code.
11538 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
11539 * sysdeps/unix/sysv/linux/kernel-features.h
11540 (__ASSUME_GETCWD_SYSCALL): Don't define.
11541 (__ASSUME_REALTIME_SIGNALS): Likewise.
11542 (__ASSUME_PREAD_SYSCALL): Likewise.
11543 (__ASSUME_PWRITE_SYSCALL): Likewise.
11544 (__ASSUME_POLL_SYSCALL): Likewise.
11545 (__ASSUME_LCHOWN_SYSCALL): Likewise.
11546 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
11547 non-SPARC.
11548 (__ASSUME_SIOCGIFNAME): Don't define.
11549 (__ASSUME_MSG_NOSIGNAL): Likewise.
11550 (__ASSUME_SENDFILE): Define unconditionally.
11551 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
11552 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
11553 conditional code.
11554 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
11555 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
11556 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11557 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11558 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
11559 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
11560 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
11561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
11562 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11563 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11565 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11566 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
11568 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11569 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11571 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11572 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
11574 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11575 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11577 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
11578 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
11580 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11581 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11583 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11584 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11585 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
11586 Remove conditional code.
11587 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11588 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11589 Remove conditional code.
11590 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11591 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
11592 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
11593 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11594 Remove conditional code.
11595 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11596 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
11597 Remove conditional code.
11598 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11599 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
11600 Remove conditional code.
11601 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11602 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
11603 Remove conditional code.
11604 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
11605 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
11606 Remove conditional code.
11607 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11608 * sysdeps/unix/sysv/linux/sh/pwrite64.c
11609 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
11610 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
11611 * sysdeps/unix/sysv/linux/sigaction.c
11612 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11613 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11614 * sysdeps/unix/sysv/linux/sigpending.c
11615 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11616 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11617 * sysdeps/unix/sysv/linux/sigprocmask.c
11618 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11619 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11620 * sysdeps/unix/sysv/linux/sigsuspend.c
11621 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
11622 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
11623 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11624 (__libc_missing_rt_sigs): Remove.
11625 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
11626 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
11627 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
11628 Remove conditional code.
11629 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
11630 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
11631 return 1.
11632 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
11633 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
11634 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
11635 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
11636
1bfb7291
AJ
116372012-05-14 Andreas Jaeger <aj@suse.de>
11638
caae5a81
AJ
11639 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
11640 it's not used in glibc.
11641 (__coshm1): Likewise.
11642 (__acosh1p): Likewise.
11643 (__sgn): Likewise.
11644
1bfb7291
AJ
11645 * manual/string.texi (Copying and Concatenation): Add missing
11646 variable in concat example.
11647 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11648
c044d724
L
116492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11650
144c5467 11651 [BZ #14103]
c044d724
L
11652 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
11653 __builtin_clzl with __builtin_clzll.
11654
2523c62b
L
116552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
11656
11657 [BZ #14104]
11658 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
11659 libc_freeres_ptr.
11660
d7bb4c42
LD
116612012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11662
11663 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
11664 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
11665 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
11666 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
11667
9dc4e1fb
MF
116682012-05-14 Mike Frysinger <vapier@gentoo.org>
11669
11670 * NEWS: Update ia64 info.
11671
c7df0112
AS
116722012-05-12 Andreas Schwab <schwab@linux-m68k.org>
11673
11674 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
11675 used as bcopy.
11676
dc70356c
TS
116772012-05-12 Thomas Schwinge <thomas@codesourcery.com>
11678
11679 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
11680 * sysdeps/unix/syscalls.list (dup3): Likewise.
11681 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
11682 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
11683
9fb1a21f
L
116842012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11685
11686 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
11687 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
11688
4822a2a5
L
116892012-05-11 H.J. Lu <hongjiu.lu@intel.com>
11690
11691 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
11692 thread pointer.
11693 (TLS_IE): Use mov/add instead of movq/addq to load thread
11694 pointer.
11695 (TLS_GD_PREFIX): New.
11696 (TLS_GD): Use it.
11697
842b81d6
DM
116982012-05-11 David S. Miller <davem@davemloft.net>
11699
11700 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
11701 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
11702 (_FPU_SETCW): Likewise.
11703
1cf463cd
L
117042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11705
11706 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
11707 is 32-byte aligned.
11708
60cc4a18
AS
117092012-05-11 Andreas Schwab <schwab@linux-m68k.org>
11710
11711 [BZ #11837]
11712 * iconvdata/gb18030.c: Update tables.
11713 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
11714 characters specially.
11715 (BODY for TO_LOOP): Add encoding of missing ranges.
11716
febb44a4
TS
117172012-05-11 Thomas Schwinge <thomas@codesourcery.com>
11718
11719 [BZ #13673]
11720 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
11721 * sysdeps/mach/hurd/dup3.c: Likewise.
11722 * sysdeps/mach/hurd/readlinkat.c: Likewise.
11723 * sysdeps/powerpc/memmove.c:: Likewise.
11724
0a10fb9e
L
117252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11726
11727 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
11728 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
11729
df8a552f
L
117302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11731
11732 * elf/elf.h (R_X86_64_RELATIVE64): New.
11733 (R_X86_64_NUM): Updated.
11734 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11735 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
11736 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
11737 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
11738 tst-quad1pie tst-quad2pie
11739 (modules-names): Add tst-quadmod1 tst-quadmod2.
11740 ($(objpfx)tst-quad1): New dependency.
11741 ($(objpfx)tst-quad2): Likewise.
11742 ($(objpfx)tst-quad1pie): Likewise.
11743 ($(objpfx)tst-quad2pie): Likewise.
11744 * sysdeps/x86_64/tst-quad1.c: New file.
11745 * sysdeps/x86_64/tst-quad1pie.c: New file.
11746 * sysdeps/x86_64/tst-quad2.c: Likewise.
11747 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
11748 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
11749 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
11750 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
11751 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
11752
f34d6f84
ST
117532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11754
f42d41d1
ST
11755 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
11756 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
11757 * streams/stropts.h (t_scalar_t): Define type.
11758
3c3571fc
ST
11759 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
11760 (_PATH_PRESERVE): Set to "/var/lib".
11761 (_PATH_RWHODIR): Set to "/var/spool/rwho".
11762
61f06bd3
ST
11763 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
11764 instead of int.
11765
918d4d71
ST
11766 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
11767 if __dir_mkfile succeeded.
11768
f34d6f84
ST
11769 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
11770 checking for _hurd_dtablesize. Unlock it right after having
11771 finished _hurd_dtable allocation.
11772
10589b4a
TS
117732012-05-10 Thomas Schwinge <thomas@schwinge.name>
11774
674cdbc7
TS
11775 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
11776 * sysdeps/mach/hurd/configure: Regenerated.
11777 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
11778 special-casing to...
11779 * sysdeps/gnu/configure.in: ... this new file.
11780 * sysdeps/unix/sysv/linux/configure: Regenerated.
11781 * sysdeps/gnu/configure: New generated file.
11782
8e41b99f
TS
11783 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
11784 for Linux: use nsec instead of usec, as well as:
11785 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
11786 members of type struct timespec.
11787 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
11788 New macros.
11789 (struct stat64): Likewise.
11790 (_STATBUF_ST_NSEC): New macro.
11791 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
11792
10589b4a
TS
11793 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11794 __strtoul_internal rather than strtoul.
11795
63643c85
PT
117962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11797
11798 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
11799 and reject them.
11800
3faebe6a
ST
118012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11802
11803 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
11804 which preserves existing values.
11805 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
11806
c6474b07
PT
118072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11808
11809 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
11810 TIMEOUT values. Return EINVAL for NFDS values either negative or
11811 greater than FD_SETSIZE.
11812
1043890b
ST
118132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11814
11815 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
11816 allocated, call __vm_protect to finish enabling the existing space, and
11817 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
11818 allocate the remainder.
11819
37ed8b9b
PT
118202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11821
11822 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
11823 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
11824
db653660
ST
118252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11826
37ed8b9b
PT
11827 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
11828 sysdeps/mach/hurd/readlink.c.
b29d4053 11829
db653660
ST
11830 * posix/tst-sysconf.c (posix_options): Only use
11831 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
11832 _POSIX_SYNCHRONIZED_IO when they are defined
11833 * sysdeps/mach/hurd/bits/posix_opt.h:
11834 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
11835 (_XOPEN_REALTIME): Undefine macro.
11836 (_XOPEN_REALTIME_THREADS): Undefine macro.
11837 (_XOPEN_SHM): Undefine macro.
11838 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
11839 macro to -1.
11840 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
11841 macro to -1.
11842 (_POSIX_ASYNC_IO): Undefine macro.
11843 (_POSIX_PRIORITIZED_IO): Undefine macro.
11844 (_POSIX_SPIN_LOCKS): Define macro to -1.
11845
ee16e894
ST
11846 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
11847 SA_NODEFER, SA_RESETHAND.
11848 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
11849 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
11850 F_DUPFD_CLOEXEC.
11851
6103ae3b
TS
118522012-05-10 Thomas Schwinge <thomas@schwinge.name>
11853
11854 * elf/Makefile (pldd-modules): Define unconditionally.
11855
80b4e5f3
TS
118562012-05-10 Thomas Schwinge <thomas@schwinge.name>
11857
11858 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
11859
edadcbd6
ST
118602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11861
11862 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
11863 Return ENOENT when name is empty.
11864 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
11865
80694780
TS
118662012-05-10 Thomas Schwinge <thomas@schwinge.name>
11867
1792c087
TS
11868 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
11869
80694780
TS
11870 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
11871
6b645f0d
ST
118722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11873
80694780
TS
11874 Fix mlock in all cases except non-readable pages.
11875 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
11876 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 11877
6b645f0d
ST
11878 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
11879 (__mkdir): When path is `/', just fail with EEXIST.
11880 * sysdeps/mach/hurd/mkdirat.c: Likewise.
11881
e468f8a3
TS
118822012-05-10 Thomas Schwinge <thomas@schwinge.name>
11883
11884 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11885 <sys/uio.h> (for writev).
11886 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11887 and <sys/param.h> (for MIN).
11888
a4186cff
PT
118892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11890
11891 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11892 REQUESTED_TIME. Properly set the remaining time and return EINTR
11893 if interrupted.
11894
510bbf14
TS
118952012-05-10 Thomas Schwinge <thomas@schwinge.name>
11896
11897 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11898 Depend on against $(link-rpcuserlibs).
11899
5d5722e8
ST
119002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11901
a4186cff
PT
11902 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11903 (__libc_stack_end): Do not use attribute_relro.
11904 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11905 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 11906 to libthread-provided value.
a4186cff
PT
11907 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11908 attribute_relro.
5d5722e8 11909
37233df9
TS
119102012-05-10 Thomas Schwinge <thomas@schwinge.name>
11911
be971a2b
TS
11912 [BZ #3748]
11913 * bits/libc-lock.h (__libc_once_get): New macro.
11914 * sysdeps/mach/bits/libc-lock.h: Likewise.
11915 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11916 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11917 instead of using implementation details.
11918
37233df9
TS
11919 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11920 * libio/freopen.c: Likewise.
11921 * libio/freopen64.c: Likewise.
11922 * misc/syslog.c: Likewise.
11923 * nscd/connections.c: Likewise.
11924 * nscd/netgroupcache.c: Likewise.
11925 * sysdeps/posix/getcwd.c: Likewise.
11926
38de94a5
RM
119272012-05-10 Roland McGrath <roland@hack.frob.com>
11928
11929 * math/w_ilogbf.c: Add #include <limits.h>.
11930
67530489
ST
119312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11932
a4186cff 11933 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
11934 path instead of returning without unlocking.
11935
67530489
ST
11936 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11937 immediate-write ioctls.
11938 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11939
5aa3a74a
TS
119402012-05-10 Thomas Schwinge <thomas@schwinge.name>
11941
18bad2ae
TS
11942 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11943 __builtin_frame_address instead of making assumptions about the
11944 location of the return address relative to DATA. Force early load of
11945 the return address.
11946 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11947 __builtin_frame_address.
11948
5aa3a74a
TS
11949 dup3 for GNU Hurd.
11950 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11951 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11952 implement dup3 and do some further code clean-ups.
11953 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11954 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11955
ecd0de9a
ST
119562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11957
cd9fa985
ST
11958 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11959
a4186cff
PT
11960 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11961 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11962 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11963 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11964 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11965 d->port.lock.
802ca5a5 11966
a4186cff
PT
11967 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11968 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11969 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 11970
bcf55240
TS
119712012-05-10 Thomas Schwinge <thomas@schwinge.name>
11972
6960eb42
TS
11973 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11974 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11975 definitions.
11976
eb43375f
TS
11977 accept4 for GNU Hurd.
11978 * include/sys/socket.h (__libc_accept4): New prototype.
11979 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11980 to implement __libc_accept4.
11981 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11982 __libc_accept4.
11983 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11984
bcf55240
TS
11985 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11986 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11987 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11988 signal-defines.sym.
11989
6178c55b
ST
119902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11991
a4186cff 11992 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 11993
6f080c2f
TS
119942012-05-10 Thomas Schwinge <thomas@schwinge.name>
11995
11996 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11997 assertion on O_CLOEXEC flag.
11998 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11999 * hurd/intern-fd.c: Likewise.
12000 * hurd/port2fd.c: Likewise.
12001
bcfe3a54
ST
120022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12003
12004 [BZ #3906]
12005 * bits/in.h (IPV6_PKTINFO): Define new macro.
12006 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
12007
89c9aa49
AZ
120082012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12009
12010 [BZ #13954]
12011 [BZ #13955]
12012 [BZ #13956]
12013 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
12014 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12015 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
12016 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12017 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12018 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12019 * math/libm-test.inc (logb_test) : Additional logb tests.
12020
021db4be
AJ
120212012-05-09 Andreas Schwab <schwab@linux-m68k.org>
12022 Andreas Jaeger <aj@suse.de>
12023
12024 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
12025 * configure: Regenerated.
12026 * config.h.in (LINK_OBSOLETE_RPC): New macro.
12027 * config.make.in (link-obsolete-rpc): New substituted variable.
12028 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
12029 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
12030 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12031 (shared-only-routines): Don't set it under [link-obsolete-rpc],
12032 so that libc.a contains the symbols.
12033 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
12034 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
12035 * sunrpc/auth_none.c: Likewise.
12036 * sunrpc/auth_unix.c: Likewise.
12037 * sunrpc/authdes_prot.c: Likewise.
12038 * sunrpc/authuxprot.c: Likewise.
12039 * sunrpc/clnt_gen.c: Likewise.
12040 * sunrpc/clnt_perr.c: Likewise.
12041 * sunrpc/clnt_raw.c: Likewise.
12042 * sunrpc/clnt_simp.c: Likewise.
12043 * sunrpc/clnt_tcp.c: Likewise.
12044 * sunrpc/clnt_udp.c: Likewise.
12045 * sunrpc/clnt_unix.c: Likewise.
12046 * sunrpc/des_crypt.c: Likewise.
12047 * sunrpc/des_soft.c: Likewise.
12048 * sunrpc/get_myaddr.c: Likewise.
12049 * sunrpc/key_call.c: Likewise.
12050 * sunrpc/key_prot.c: Likewise.
12051 * sunrpc/netname.c: Likewise.
12052 * sunrpc/pm_getmaps.c: Likewise.
12053 * sunrpc/pm_getport.c: Likewise.
12054 * sunrpc/pmap_clnt.c: Likewise.
12055 * sunrpc/pmap_prot.c: Likewise.
12056 * sunrpc/pmap_prot2.c: Likewise.
12057 * sunrpc/pmap_rmt.c: Likewise.
12058 * sunrpc/publickey.c: Likewise.
12059 * sunrpc/rpc_cmsg.c: Likewise.
12060 * sunrpc/rpc_common.c: Likewise.
12061 * sunrpc/rpc_dtable.c: Likewise.
12062 * sunrpc/rpc_prot.c: Likewise.
12063 * sunrpc/rpc_thread.c: Likewise.
12064 * sunrpc/rtime.c: Likewise.
12065 * sunrpc/svc.c: Likewise.
12066 * sunrpc/svc_auth.c: Likewise.
12067 * sunrpc/svc_raw.c: Likewise.
12068 * sunrpc/svc_run.c: Likewise.
12069 * sunrpc/svc_tcp.c: Likewise.
12070 * sunrpc/svc_udp.c: Likewise.
12071 * sunrpc/svc_unix.c: Likewise.
12072 * sunrpc/svcauth_des.c: Likewise.
12073 * sunrpc/xcrypt.c: Likewise.
12074 * sunrpc/xdr.c: Likewise.
12075 * sunrpc/xdr_array.c: Likewise.
12076 * sunrpc/xdr_float.c: Likewise.
12077 * sunrpc/xdr_intXX_t.c: Likewise.
12078 * sunrpc/xdr_mem.c: Likewise.
12079 * sunrpc/xdr_rec.c: Likewise.
12080 * sunrpc/xdr_ref.c: Likewise.
12081 * sunrpc/xdr_sizeof.c: Likewise.
12082 * sunrpc/xdr_stdio.c: Likewise.
12083
b5c086a2
RM
120842012-05-10 Roland McGrath <roland@hack.frob.com>
12085
12086 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
12087 change. Update copyright years.
12088
6d74dd09
JM
120892012-05-10 Joseph Myers <joseph@codesourcery.com>
12090
12091 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
12092
28e72501
MK
120932012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
12094 Joseph Myers <joseph@codesourcery.com>
12095 Paul Pluzhnikov <ppluzhnikov@google.com>
12096
12097 [BZ #14012]
12098 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
12099 requiring rpcgen.
12100 [cross-compiling] (extra-libs): Likewise.
12101 [cross-compiling] (extra-libs-others): Likewise.
12102 [cross-compiling] (librpcsvc-routines): Likewise.
12103 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12104 [cross-compiling] (omit-deps): Likewise.
12105 (sunrpc-CPPFLAGS): New variable.
12106 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
12107 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
12108 (cross-rpcgen-objs): New variable.
12109 (extra-objs): Append $(cross-rpcgen-objs).
12110 ($(cross-rpcgen-objs)): New rule.
12111 ($(objpfx)cross-rpcgen): Likewise.
12112 (rpcgen-cmd): Define to use $(built-program-file). Expand
12113 comment.
12114 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
12115 ($(objpfx)x%.stmp): Likewise.
12116 * sunrpc/proto.h [IS_IN_build] (_): Define.
12117 [IS_IN_build] (_libc_intl_domainname): Likewise.
12118
c8c59454
L
121192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12120
12121 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
12122 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
12123 and R_X86_64_TPOFF64.
12124
6f27cd16
JM
121252012-05-10 Joseph Myers <joseph@codesourcery.com>
12126
12127 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
12128 sysdeps/unix/sysv/syscalls.list.
12129 (stime): Likewise.
12130 (utime): Likewise.
12131 * sysdeps/unix/sysv/syscalls.list: Remove file.
12132
02467e1c
PE
121332012-05-10 Paul Eggert <eggert@cs.ucla.edu>
12134
12135 [BZ #3440]
12136 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
12137 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
12138 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
12139 (__LC_IDENTIFICATION): Make these macros useful in #if
12140 expressions, as required by C99.
12141
da392631
AS
121422012-05-10 Andreas Schwab <schwab@linux-m68k.org>
12143
12144 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
12145 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
12146 after this.
12147
8115f29b
L
121482012-05-09 H.J. Lu <hongjiu.lu@intel.com>
12149
12150 * stdlib/longlong.h: Updated from GCC.
12151
bdd74070
AJ
121522012-05-09 Andreas Jaeger <aj@suse.de>
12153
edfe0dbe
AJ
12154 * nscd/nscd.c (run_modes): Make named enum, reorder so that
12155 default is first entry.
12156 (run_mode): Set type.
12157 (main): Remove informal message about syslog.
12158 (options): Fix typo.
12159
bcfe3a54
ST
12160 [BZ #14053]
12161 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 12162 to asm.
bcfe3a54
ST
12163 (lrint): Likewise.
12164 (llrintf): Likewise.
12165 (llrint): Likewise.
12166 (rint): Likewise.
12167 (rintf): Likewise.
12168 (nearbyint): Likewise.
12169 (nearbyintf): Likewise.
bdd74070 12170
91d8d69e
AJ
121712012-05-09 Andreas Jaeger <aj@suse.de>
12172 Pedro Alves <palves@redhat.com>
12173
12174 * nscd/nscd.c (run_mode): Use enum.
12175 (main): Cleanup coding style issue.
12176
bb90b80b
AJ
121772012-05-09 Alexandre Oliva <aoliva@redhat.com>
12178 Andreas Jaeger <aj@suse.de>
12179
bcfe3a54
ST
12180 * nscd/nscd.c (go_background): Replaced with...
12181 (run_mode): ... this.
bb90b80b 12182 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
12183 (options): Add -F --foreground.
12184 (main): Implement it.
12185 (parse_opt): Parse it.
bb90b80b 12186
1a4b75a1
AJ
121872012-05-09 Andreas Jaeger <aj@suse.de>
12188
12189 [BZ #14083]
12190 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
12191 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
12192 -Wconversion warning.
12193 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
12194 Likewise.
12195
b1cc2472
JM
121962012-05-09 Joseph Myers <joseph@codesourcery.com>
12197
12198 * conform/data/locale.h-data (NULL): Use macro-constant. Require
12199 == 0.
12200 (LC_ALL): Use macro-int-constant.
12201 (LC_COLLATE): Likewise.
12202 (LC_CTYPE): Likewise.
12203 (LC_MESSAGES): Likewise.
12204 (LC_MONETARY): Likewise.
12205 (LC_NUMERIC): Likewise.
12206 (LC_TIME): Likewise.
12207 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
12208 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12209 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12210 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
12211 Specify type.
12212 [C99-based standards] (float_t): Expect type.
12213 [C99-based standards] (double_t): Expect type.
12214 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
12215 type.
12216 [C99-based standards] (HUGE_VALL): Likewise.
12217 [C99-based standards] (INFINITY): Likewise.
12218 [C99-based standards] (NAN): Likewise.
12219 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
12220 [C99-based standards] (FP_NAN): Likewise.
12221 [C99-based standards] (FP_NORMAL): Likewise.
12222 [C99-based standards] (FP_SUBNORMAL): Likewise.
12223 [C99-based standards] (FP_ZERO): Likewise.
12224 [C99-based standards] (FP_FAST_FMA): Use
12225 optional-macro-int-constant. Specify type. Require == 1.
12226 [C99-based standards] (FP_FAST_FMAF): Likewise.
12227 [C99-based standards] (FP_FAST_FMAL): Likewise.
12228 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
12229 [C99-based standards] (FP_ILOGBNAN): Likewise.
12230 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
12231 Specify type.
12232 [C99-based standards] (MATH_ERREXCEPT): Likewise.
12233 [C99-based standards] (math_errhandling): Specify type.
12234 [ISO99 || ISO11] (signgam): Do not allow.
12235 [non-C99-based standards] (copysignf): Do not allow.
12236 [non-C99-based standards] (exp2f): Likewise.
12237 [non-C99-based standards] (log2f): Likewise.
12238 [non-C99-based standards] (modff): Allow.
12239 [non-C99-based standards] (erff): Do not allow.
12240 [non-C99-based standards] (erfcf): Likewise.
12241 [non-C99-based standards] (gammaf): Likewise.
12242 [non-C99-based standards] (hypotf): Likewise.
12243 [non-C99-based standards] (j0f): Likewise.
12244 [non-C99-based standards] (j1f): Likewise.
12245 [non-C99-based standards] (jnf): Likewise.
12246 [non-C99-based standards] (lgammaf): Likewise.
12247 [non-C99-based standards] (tgammaf): Likewise.
12248 [non-C99-based standards] (y0f): Likewise.
12249 [non-C99-based standards] (y1f): Likewise.
12250 [non-C99-based standards] (ynf): Likewise.
12251 [non-C99-based standards] (isnanf): Likewise.
12252 [non-C99-based standards] (acoshf): Likewise.
12253 [non-C99-based standards] (asinhf): Likewise.
12254 [non-C99-based standards] (atanhf): Likewise.
12255 [non-C99-based standards] (cbrtf): Likewise.
12256 [non-C99-based standards] (expm1f): Likewise.
12257 [non-C99-based standards] (ilogbf): Likewise.
12258 [non-C99-based standards] (log1pf): Likewise.
12259 [non-C99-based standards] (logbf): Likewise.
12260 [non-C99-based standards] (nextafterf): Likewise.
12261 [non-C99-based standards] (remainderf): Likewise.
12262 [non-C99-based standards] (rintf): Likewise.
12263 [non-C99-based standards] (scalbf): Likewise.
12264 [non-C99-based standards] (copysignl): Likewise.
12265 [non-C99-based standards] (exp2l): Likewise.
12266 [non-C99-based standards] (log2l): Likewise.
12267 [non-C99-based standards] (modfl): Allow.
12268 [non-C99-based standards] (erfl): Do not allow.
12269 [non-C99-based standards] (erfcl): Likewise.
12270 [non-C99-based standards] (gammal): Likewise.
12271 [non-C99-based standards] (hypotl): Likewise.
12272 [non-C99-based standards] (j0l): Likewise.
12273 [non-C99-based standards] (j1l): Likewise.
12274 [non-C99-based standards] (jnl): Likewise.
12275 [non-C99-based standards] (lgammal): Likewise.
12276 [non-C99-based standards] (tgammal): Likewise.
12277 [non-C99-based standards] (y0l): Likewise.
12278 [non-C99-based standards] (y1l): Likewise.
12279 [non-C99-based standards] (ynl): Likewise.
12280 [non-C99-based standards] (isnanl): Likewise.
12281 [non-C99-based standards] (acoshl): Likewise.
12282 [non-C99-based standards] (asinhl): Likewise.
12283 [non-C99-based standards] (atanhl): Likewise.
12284 [non-C99-based standards] (cbrtl): Likewise.
12285 [non-C99-based standards] (expm1l): Likewise.
12286 [non-C99-based standards] (ilogbl): Likewise.
12287 [non-C99-based standards] (log1pl): Likewise.
12288 [non-C99-based standards] (logbl): Likewise.
12289 [non-C99-based standards] (nextafterl): Likewise.
12290 [non-C99-based standards] (remainderl): Likewise.
12291 [non-C99-based standards] (rintl): Likewise.
12292 [non-C99-based standards] (scalbl): Likewise.
12293 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12294 [non-C99-based standards] (FP_*): Do not allow.
12295 [C99-based standards] (FP_*): Change to
12296 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
12297 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12298 allow.
12299 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
12300 (SIG_ERR): Likewise.
12301 [X/Open-based standards] (SIG_HOLD): Likewise.
12302 (SIG_IGN): Likewise.
12303 (SIGABRT): Use macro-int-constant. Specify type. Require
12304 positive value.
12305 (SIGFPE): Likewise.
12306 (SIGILL): Likewise.
12307 (SIGINT): Likewise.
12308 (SIGSEGV): Likewise.
12309 (SIGTER): Likewise.
12310 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
12311 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
12312 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
12313 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
12314 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
12315 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
12316 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
12317 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
12318 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
12319 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
12320 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
12321 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
12322 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
12323 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
12324 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
12325 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
12326 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
12327 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
12328 [X/Open-based standards] (SIGTRAP): Likewise.
12329 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
12330 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
12331 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
12332 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
12333 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12334 allow.
12335
b9f1922d
IW
123362012-05-08 Ian Wienand <ianw@vmware.com>
12337
12338 [BZ #14080]
12339 * time/tzset.c (__tzset_parse_tz): Update default rules for
12340 daylight time changes in the Energy Policy Act of 2005.
12341
1db86e88
AJ
123422012-05-09 Andreas Jaeger <aj@suse.de>
12343
12344 [BZ #13983]
12345 * elf/ldconfig.c (parse_conf): Change string to make clear that
12346 ldconfig only issued a warning if ld.so.conf does not exist.
12347
dee4a4e3
DM
123482012-05-08 David S. Miller <davem@davemloft.net>
12349
ee0db190
DM
12350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
12351 movxtod instead of popping the value on the stack.
12352
dee4a4e3
DM
12353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12354
6a43ec98
CD
123552012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
12356
12357 * config.h.in: Add HAVE_ARM_PCS_VFP.
12358
05c2c961
RMG
123592012-05-08 Roland Mc Grath <roland@hack.frob.com>
12360
bcfe3a54
ST
12361 [BZ #13979]
12362 * include/features.h: Warn if user requests __FORTIFY_SOURCE
12363 checking but the checks are disabled for any reason.
05c2c961 12364
4b30f61a
L
123652012-05-08 H.J. Lu <hongjiu.lu@intel.com>
12366
12367 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
12368 and ELF64_R_TYPE with ELFW(R_TYPE).
12369
eee2bc67
JM
123702012-05-08 Joseph Myers <joseph@codesourcery.com>
12371
7ea5391a
JM
12372 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
12373 (ulimit): Likewise.
12374
eee2bc67
JM
12375 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
12376 (settimeofday): Likewise.
12377
abb66a67
MF
123782012-05-08 Mike Frysinger <vapier@gentoo.org>
12379
12380 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
12381 a struct th_u2 inside the union, and move tu_block/tu_code into
12382 a new th_u3 union of tu_block/tu_code inside of that. Move
12383 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
12384 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
12385 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
12386 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
12387 (th_stuff): Change to th_u1.tu_stuff.
12388 (th_data): Define.
12389 (th_msg): Change to th_u1.th_u2.tu_data.
12390
7f18b530
DM
123912012-05-07 David S. Miller <davem@davemloft.net>
12392
05760585
DM
12393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12394
7f18b530
DM
12395 [BZ #14074]
12396 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
12397 (SETUP_PIC_REG): Use it.
12398 (SETUP_PIC_REG_LEAF): Use it.
12399
495fd99f
JM
124002012-05-07 Joseph Myers <joseph@codesourcery.com>
12401
12402 [BZ #13885]
12403 [BZ #13923]
12404 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12405 USE_AS_EXPM1L.
12406 (EXPL_FINITE): Likewise.
12407 (FLDLOG): Likewise.
12408 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12409 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12410 e_expl.S.
12411 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12412 USE_AS_EXPM1L.
12413 (EXPL_FINITE): Likewise.
12414 (FLDLOG): Likewise.
12415 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
12416 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
12417 e_expl.S.
12418 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
12419 test of -max_value argument for long double.
12420 * sysdeps/i386/fpu/libm-test-ulps: Update.
12421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12422
6693d694
DM
124232012-05-06 David S. Miller <davem@davemloft.net>
12424
12425 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
12426 quad soft-float symbols whose references which are compiler
12427 generated.
12428 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12429
6c23e11c
JM
124302012-05-06 Joseph Myers <joseph@codesourcery.com>
12431
d8b82cad
JM
12432 [BZ #13884]
12433 [BZ #13914]
12434 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12435 USE_AS_EXP10L.
12436 (EXPL_FINITE): Likewise.
12437 (FLDLOG): Likewise.
12438 (c0): Likewise.
12439 (c1): Likewise.
12440 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12441 Adjust comments for base varying.
12442 (__expl_finite): Change alias to EXPL_FINITE.
12443 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
12444 e_expl.S.
12445 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
12446 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12447 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12448 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
12449 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
12450 USE_AS_EXP10L.
12451 (EXPL_FINITE): Likewise.
12452 (FLDLOG): Likewise.
12453 (c0): Likewise.
12454 (c1): Likewise.
12455 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
12456 Adjust comments for base varying.
12457 (__expl_finite): Change alias to EXPL_FINITE.
12458 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
12459 tests for bugs.
12460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12461
6c23e11c
JM
12462 [BZ #14064]
12463 * math/libm-test.inc (check_float_internal): Correct ulp
12464 calculation for subnormal expected results.
12465
29ba805c
AJ
124662012-05-06 Andreas Jaeger <aj@suse.de>
12467
12468 * Makeconfig (+math-flags): New, set to -frounding-math.
12469 (+cflags): Add +math-flags so that all of glibc gets compiled with
12470 it.
12471
12472 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
12473
7b17aeda
JM
124742012-05-05 Joseph Myers <joseph@codesourcery.com>
12475
5779f134
JM
12476 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
12477 Disable one test.
12478
41498f4d
JM
12479 [BZ #13787]
12480 [BZ #13922]
12481 [BZ #14036]
12482 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
12483 (__ieee754_expl): Allow for and saturate large arguments.
12484 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
12485 (u_threshold): Likewise.
12486 (__exp): Call __ieee754_exp before checking for overflow and
12487 underflow.
12488 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
12489 (u_threshold): Likewise.
12490 (__expf): Call __ieee754_expf before checking for overflow and
12491 underflow.
12492 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
12493 (u_threshold): Likewise.
12494 (__expl): Call __ieee754_expl before checking for overflow and
12495 underflow.
12496 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
12497 (__ieee754_expl): Allow for and saturate large arguments.
12498 * math/libm-test.inc (exp_test): Add another test. Do not allow
12499 missing overflow exception on overflow.
12500 (expm1_test): Do not allow missing overflow exception on overflow.
12501
6698b8bf
JM
12502 * sysdeps/i386/fpu/e_expl.c: Move to ...
12503 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
12504 rather than using inline asm.
12505 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
12506 * sysdeps/x86_64/fpu/e_expl.S: Copy from
12507 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
12508
7b17aeda
JM
12509 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
12510 (nice): Likewise.
12511 (poll): Likewise.
12512 (signal): Likewise.
12513 (time): Likewise.
12514 (times): Likewise.
12515
f7c85819
JM
125162012-05-04 Joseph Myers <joseph@codesourcery.com>
12517
12518 * sysdeps/unix/syscalls.list (adjtime): Add entry from
12519 sysdeps/unix/common/syscalls.list.
12520 (fchmod): Likewise.
12521 (fchown): Likewise.
12522 (ftruncate): Likewise.
12523 (getrusage): Likewise.
12524 (gettimeofday): Likewise.
12525 (setpgid): Likewise.
12526 (setregid): Likewise.
12527 (setreuid): Likewise.
12528 (sigaction): Likewise.
12529 (truncate): Likewise.
12530 (vhangup): Likewise.
12531 * sysdeps/unix/common/syscalls.list: Remove file.
12532 * sysdeps/unix/bsd/Implies: Don't include unix/common.
12533 * sysdeps/unix/sysv/linux/Implies: Likewise.
12534
336270d0
L
125352012-05-04 H.J. Lu <hongjiu.lu@intel.com>
12536
12537 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
12538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
12539 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
12540 Moved to ...
12541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12542 Here.
12543 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
12544 to ...
12545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
12546 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
12547 to ...
12548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
12549 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
12550 to ...
12551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
12552 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
12553 to ...
12554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
12555 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
12556 to ...
12557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
12558 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
12559 to ...
12560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
12561 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
12562 to ...
12563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12564 Here.
12565 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
12566 to ...
12567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
12568 Here.
12569 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
12570 to ...
12571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
12572 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
12573 Moved to ...
12574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
12575 Here.
12576 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
12577 to ...
12578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
12579
d128e450
JM
125802012-05-04 Joseph Myers <joseph@codesourcery.com>
12581
fa8ee516
JM
12582 * sysdeps/unix/common/bits/dirent.h: Remove file.
12583 * sysdeps/unix/common/bits/fcntl.h: Likewise.
12584
d128e450
JM
12585 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
12586 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
12587 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
12588 * sysdeps/unix/bsd/isatty.c: Likewise.
12589 * sysdeps/unix/bsd/tcdrain.c: Likewise.
12590 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
12591 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
12592
ff8faaf0 125932012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 12594
62881be4 12595 [BZ #13563]
31dc8730
AZ
12596 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
12597 long double comparison inaccuracies.
12598 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12600
6fef930c
AS
126012012-05-04 Andreas Schwab <schwab@linux-m68k.org>
12602
12603 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
12604 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
12605
8f203e6c
JM
126062012-05-04 Joseph Myers <joseph@codesourcery.com>
12607
12608 [BZ #14049]
12609 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
12610 nonzero digits before rounding a hex value.
12611 * stdlib/tst-strtod.c (tests): Add another test.
12612
5197d9c2
AK
126132012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12614
12615 * sysdeps/s390/fpu/libm-test-ulps: Update.
12616
f0c1dedf
AJ
126172012-05-03 Andreas Jaeger <aj@suse.de>
12618
12619 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
12620 does not get optimized out.
12621 (malloc_opt_barrier): New.
12622
a65ef2ae 126232012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 12624 Roland McGrath <roland@hack.frob.com>
a65ef2ae 12625
2b942cb7 12626 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 12627 intermediate file deletion.
2b942cb7 12628 (generated): Add .symlist files.
a65ef2ae 12629
54b71e02
JM
126302012-05-03 Joseph Myers <joseph@codesourcery.com>
12631
12632 [BZ #13775]
12633 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
12634 Redirect under this condition.
12635 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12636 [__USE_GNU] (__dprintf_chk): Not under this condition.
12637 [__USE_GNU] (__vdprintf_chk): Likewise.
12638 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
12639 under this condition.
12640 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
12641 [__USE_XOPEN2K8] (dprintf): Define under this condition.
12642 [__USE_XOPEN2K8] (vdprintf): Likewise.
12643 [__USE_GNU] (__dprintf_chk): Not under this condition.
12644 [__USE_GNU] (__vdprintf_chk): Likewise.
12645 [__USE_GNU] (dprintf): Likewise.
12646 [__USE_GNU] (vdprintf): Likewise.
12647
d3dfcc41
RM
126482012-05-03 Roland McGrath <roland@hack.frob.com>
12649
12650 * elf/Makefile (common-generated): Set this instead of generated for
12651 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
12652 $(all-built-dso)-derived lists.
12653
7ac30cc5
AJ
126542012-05-03 Andreas Jaeger <aj@suse.de>
12655
0c51e550
AJ
12656 * sysdeps/i386/fpu/libm-test-ulps: Update.
12657
7ac30cc5
AJ
12658 * FAQ: Removed.
12659 * FAQ.in: Likewise.
12660 * scripts/gen-FAQ.pl: Likewise.
12661 * manual/install.texi (Installation): Point to online location of
12662 FAQ.
12663 * Makefile (files-for-dist): Remove FAQ.
12664 (FAQ): Remove.
12665
d4c2917f
AM
126662012-05-02 Allan McRae <allan@archlinux.org>
12667
12668 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
12669 (LDFLAGS-reldepmod5.so): Likewise.
12670 (LDFLAGS-reldep6mod1.so): Likewise.
12671 (LDFLAGS-reldep6mod4.so): Likewise.
12672 (LDFLAGS-reldep8mod3.so): Likewise.
12673 (LDFLAGS-unload4mod1.so): Likewise.
12674 (LDFLAGS-unload4mod2.so): Likewise.
12675 (LDFLAGS-tst-initorder): Likewise.
12676 (LDFLAGS-tst-initordera2.so): Likewise.
12677 (LDFLAGS-tst-initordera3.so): Likewise.
12678 (LDFLAGS-tst-initordera4.so): Likewise.
12679 (LDFLAGS-tst-initorderb2.so): Likewise.
12680 (LDFLAGS-noload): Likewise.
12681 (LDFLAGS-next): Likewise.
12682 (LDFLAGS-order2mod1.so): Likewise.
12683 (LDFLAGS-order2mod2.so): Likewise.
12684 (LDFLAGS-tst-initorder2): Likewise.
12685 (LDFLAGS-tst-initorder2a.so): Likewise.
12686 (LDFLAGS-tst-initorder2b.so): Likewise.
12687 (LDFLAGS-tst-initorder2c.so): Likewise.
12688 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
12689
d77f993f
DM
126902012-05-02 David S. Miller <davem@davemloft.net>
12691
12692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12693
171a70b4
PP
126942012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
12695
12696 [BZ #14055]
12697 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
12698
0be196ad
AJ
126992012-05-02 Andreas Jaeger <aj@suse.de>
12700
12701 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
12702 since we manipulate rounding mode.
12703 (CPPFLAGS-test-idouble.c): Likewise.
12704 (CPPFLAGS-test-ifloat.c): Likewise.
12705 (CFLAGS-test-ldouble.c): Likewise.
12706 (CFLAGS-test-double.c): Likewise.
12707 (CFLAGS-test-float.c): Likewise.
12708 (CFLAGS-test-misc.c): Likewise.
12709 (CFLAGS-test-test-fenv.c): Likewise.
12710
4f9d04aa
AZ
127112012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12712
2b942cb7
RM
12713 [BZ #2550]
12714 [BZ #2570]
12715 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
12716 comparisons to determine direction to adjust input.
4f9d04aa 12717
82a79e7d
RM
127182012-05-01 Roland McGrath <roland@hack.frob.com>
12719
f5a01ca9
RM
12720 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
12721 output to the target.
12722
90fe4186
RM
12723 * scripts/localplt.awk: New file.
12724 * elf/Makefile ($(objpfx)check-localplt): Target removed.
12725 (check-localplt-CFLAGS): Variable removed.
12726 ($(all-built-dso:=.jmprel)): New static pattern rule.
12727 (generated): Add those targets.
12728 (localplt-built-dso): New variable.
12729 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
12730
12731 * elf/check-localplt.c: File removed.
12732
82397ed6
RM
12733 * scripts/check-execstack.awk: New file.
12734 * elf/Makefile ($(objpfx)check-execstack): Target removed.
12735 (check-execstack-CFLAGS): Variable removed.
12736 ($(objpfx)check-execstack.h): Target removed.
12737 ($(objpfx)execstack-default): New target.
12738 (generated): Add that instead of check-execstack.h.
12739 ($(all-built-dso:=.phdr)): New static pattern rule.
12740 (generated): Add those targets.
12741 * elf/check-execstack.c: File removed.
12742
82a79e7d
RM
12743 * scripts/check-textrel.awk: New file.
12744 * elf/Makefile ($(objpfx)check-textrel): Target removed.
12745 (check-textrel-CFLAGS): Variable removed.
12746 (all-built-dso): Use := to define.o
12747 ($(all-built-dso:=.dyn)): New static pattern rule.
12748 (generated): Add those targets.
12749 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
12750 * config.make.in (READELF): New substituted variable.
12751 * elf/check-textrel.c: File removed.
12752
62fde54f 127532012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 12754
615605c9
JM
12755 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
12756 allow.
12757 * conform/data/ctype.h-data [C99-based standards] (isblank):
12758 Expect function.
12759 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
12760 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
12761 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12762 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
12763 Specify type. Require positive value.
12764 (EILSEQ): Likewise.
12765 (ERANGE): Likewise.
12766 [ISO || POSIX] (EILSEQ): Do not expect.
12767 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
12768 Specify type. Require positive value.
12769 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
12770 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
12771 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
12772 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
12773 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
12774 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
12775 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
12776 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
12777 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
12778 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
12779 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
12780 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
12781 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
12782 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
12783 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
12784 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
12785 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
12786 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
12787 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
12788 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
12789 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
12790 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
12791 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
12792 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
12793 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
12794 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
12795 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
12796 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
12797 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
12798 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
12799 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
12800 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
12801 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
12802 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
12803 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
12804 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
12805 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
12806 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
12807 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
12808 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
12809 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
12810 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
12811 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
12812 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
12813 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
12814 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
12815 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
12816 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
12817 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
12818 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
12819 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
12820 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
12821 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
12822 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
12823 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
12824 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
12825 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
12826 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
12827 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
12828 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
12829 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
12830 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
12831 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
12832 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
12833 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
12834 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
12835 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
12836 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
12837 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
12838 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
12839 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
12840 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
12841 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
12842 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
12843 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
12844 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
12845 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
12846 Require >= 2.
12847 (FLT_ROUNDS): Expect as macro, not constant.
12848 (FLT_MANT_DIG): Use macro-int-constant.
12849 (DBL_MANT_DIG): Likewise.
12850 (LDBL_MANT_DIG): Likewise.
12851 (FLT_DIG): Likewise.
12852 (DBL_DIG): Likewise.
12853 (LDBL_DIG): Likewise.
12854 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
12855 (DBL_MIN_EXP): Likewise.
12856 (LDBL_MIN_EXP): Likewise.
12857 (FLT_MAX_EXP): Use macro-int-constant.
12858 (DBL_MAX_EXP): Likewise.
12859 (LDBL_MAX_EXP): Likewise.
12860 (FLT_MAX_10_EXP): Likewise.
12861 (DBL_MAX_10_EXP): Likewise.
12862 (LDBL_MAX_10_EXP): Likewise.
12863 (FLT_MAX): Use macro-constant.
12864 (DBL_MAX): Likewise.
12865 (LDBL_MAX): Likewise.
12866 (FLT_EPSILON): Use macro-constant. Give upper bound.
12867 (DBL_EPSILON): Likewise.
12868 (LDBL_EPSILON): Likewise.
12869 (FLT_MIN): Likewise.
12870 (DBL_MIN): Likewise.
12871 (LDBL_MIN): Likewise.
12872 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
12873 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
12874 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
12875 [ISO11] (FLT_HAS_SUBNORM): Likewise.
12876 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
12877 [ISO11] (DBL_DECIMAL_DIG): Likewise.
12878 [ISO11] (FLT_DECIMAL_DIG): Likewise.
12879 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
12880 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
12881 [ISO11] (FLT_TRUE_MIN): Likewise.
12882 [ISO11] (LDBL_TRUE_MIN): Likewise.
12883 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12884 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12885 (SCHAR_MIN): Use macro-int-constant. Specify type.
12886 (SCHAR_MAX): Likewise.
12887 (UCHAR_MAX): Likewise.
12888 (CHAR_MIN): Likewise.
12889 (CHAR_MAX): Likewise.
12890 (MB_LEN_MAX): Use macro-int-constant.
12891 (SHRT_MIN): Use macro-int-constant. Specify type.
12892 (SHRT_MAX): Likewise.
12893 (USHRT_MAX): Likewise.
12894 (INT_MAX): Likewise.
12895 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12896 bound negative.
12897 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12898 bound with "U".
12899 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12900 bound with "L".
12901 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12902 bound negative. Suffix upper bound with "L".
12903 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12904 bound with "UL".
12905 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12906 Specify type.
12907 [C99-based standards] (LLONG_MAX): Likewise.
12908 [C99-based standards] (ULLONG_MAX): Likewise.
12909 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12910 == 0.
12911 [ISO11] (max_align_t): Require type.
12912 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12913
c9140a62
JM
12914 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12915 from $CFLAGS, without defining away __attribute__ calls.
12916 (checknamespace): Use $CFLAGS_namespace.
12917
9af0bf29
JM
12918 * conform/conformtest.pl (@keywords): Only include C99 keywords
12919 for standards based on C99 or C11.
12920
343222a2
JM
12921 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12922 Disable tests.
12923 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12924 UNIX98]: Likewise.
12925
661f8cf0
JM
12926 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12927 usability of symbols in #if.
12928
ee74b9cb
JM
12929 * conform/conformtest.pl: If macro or constant types start
12930 "promoted:", expect the symbol to be of the following type
12931 promoted by the integer promotions.
62fde54f 12932
aafc49b3
JM
12933 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12934 in one place. Also handle "macro-constant".
12935
fefdf574
JM
12936 * conform/conformtest.pl: Only accept expected macro values with
12937 "==". Parse all "macro" lines in one place.
12938 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12939
f2d922fe
JM
12940 * conform/conformtest.pl: Handle braced types on "constant" lines
12941 instead of handling "typed-constant".
12942 * conform/data/signal.h-data: Use "constant" instead of
12943 "typed-constant".
12944
d22956c9
JM
12945 * conform/conformtest.pl: Handle "optional-" at start of lines in
12946 one place rather than duplicating several cases. Handle each
12947 format of "macro" line with initial "optional-".
12948
028e2e38
JM
12949 * conform/conformtest.pl: Only accept expected constant or
12950 optional-constant values with "==". Parse all "constant" lines in
12951 one place. Parse all "optional-constant" lines in one place.
12952 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12953 * conform/data/fmtmsg.h-data: Likewise.
12954 * conform/data/netinet/in.h-data: Likewise.
12955 * conform/data/tar.h-data: Likewise.
12956 * conform/data/limits.h-data: Use "==" form on "constant" and
12957 "optional-constant" lines.
12958
1b8f2850
JM
12959 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12960 Use -std=c99 for XOPEN2K.
12961 (@knownproblems): Remove.
12962 (newtoken): Don't check %isknown.
12963
a05a144b
JM
12964 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12965 Do not expect macro.
12966 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12967 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12968 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12969 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12970 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12971 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12972 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12973 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12974 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12975 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12976 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12977 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12978 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12979 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12980 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12981 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12982 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12983 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12984 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12985 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12986 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12987 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12988 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12989 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12990 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12991 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12992 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12993 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12994 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12995 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12996 [XPG3] (acosh): Likewise.
12997 [XPG3] (asinh): Likewise.
12998 [XPG3] (atanh): Likewise.
12999 [XPG3] (cbrt): Likewise.
13000 [XPG3] (expm1): Likewise.
13001 [XPG3] (ilogb): Likewise.
13002 [XPG3] (log1p): Likewise.
13003 [XPG3] (logb): Likewise.
13004 [XPG3] (nextafter): Likewise.
13005 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
13006 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
13007 [XPG3] (remainder): Likewise.
13008 [XPG3] (rint): Likewise.
13009 [XPG3 || XPG4 || UNIX98] (round): Likewise.
13010 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
13011 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
13012 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
13013 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
13014 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
13015 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
13016 [UNIX98 || XOPEN2K] (scalb): Expect.
13017 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
13018 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
13019 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
13020 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
13021 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
13022 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
13023 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
13024 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
13025 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
13026 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
13027 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
13028 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
13029 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
13030 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
13031 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
13032 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
13033 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
13034 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
13035 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
13036 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
13037 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
13038 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
13039 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
13040 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
13041 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
13042 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
13043 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
13044 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
13045 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
13046 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
13047 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
13048 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
13049 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
13050 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
13051 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
13052 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
13053 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
13054 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
13055 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
13056 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
13057 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
13058 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
13059 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
13060 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
13061 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
13062 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
13063 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
13064 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
13065 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
13066 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
13067 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
13068 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
13069 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
13070 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
13071 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
13072 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
13073 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
13074 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
13075 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
13076 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
13077 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
13078 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
13079 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
13080 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
13081 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
13082 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
13083 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
13084 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
13085 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
13086 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
13087 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
13088 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
13089 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
13090 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
13091 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
13092 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
13093 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
13094 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
13095 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
13096 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
13097 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
13098 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
13099 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
13100 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
13101 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
13102 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
13103 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
13104 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
13105 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
13106 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
13107 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
13108 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
13109 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
13110 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
13111 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
13112 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
13113 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
13114 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
13115 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
13116 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
13117 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
13118 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
13119 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
13120 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
13121 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
13122 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
13123 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
13124 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
13125 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
13126 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
13127 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
13128 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
13129 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
13130 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
13131 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
13132 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
13133 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
13134 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
13135 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
13136 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
13137 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
13138 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
13139 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
13140 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
13141 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
13142 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
13143 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
13144 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
13145 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
13146 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
13147 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
13148 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
13149 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
13150 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
13151 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
13152 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
13153 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
13154
73c5ebe3
JM
13155 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
13156 _XOPEN_SOURCE_EXTENDED for XPG4.
13157
39c33b6c
JM
13158 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
13159
62fde54f
JM
13160 * Makeconfig (localtime): Remove variable.
13161 (inst_localtime-file): Likewise.
13162
0741d64c
AS
131632012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13164
13165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13166 Update.
13167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13168 Update.
13169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13170 Update.
13171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13172 Update.
13173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13174 Update.
13175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
13176 Update.
13177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13178 Update.
13179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
13180 Update.
13181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13182 Update.
13183
7cb029ee
JM
131842012-05-01 Joseph Myers <joseph@codesourcery.com>
13185
13186 [BZ #2550]
13187 [BZ #2570]
13188 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
13189 comparisons to determine direction to adjust input.
13190 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13191 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
13192 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13193 Likewise.
13194 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13195 Likewise.
13196 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13197 Likewise.
13198 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13199 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13200 Likewise.
13201 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13202 Likewise.
13203 * math/libm-test.inc (nexttoward_test): Add more tests.
13204
412bd966
AS
132052012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13206
13207 [BZ #14040]
13208 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
13209 in version GLIBC_2.1, not GLIBC_2.0.
13210 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
13211 Likewise.
13212
9568c0c2
JM
132132012-04-30 Joseph Myers <joseph@codesourcery.com>
13214
adfbc8ac
JM
13215 [BZ #13942]
13216 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
13217 (1 - x) * (1 + x).
13218 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13219 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
13220 * math/libm-test.inc (acos_test): Add more tests.
13221 (asin_test): Likewise.
13222 * sysdeps/i386/fpu/libm-test-ulps: Update.
13223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13224
5ba3cc69
JM
13225 [BZ #14034]
13226 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
13227 of square root.
13228 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
13229 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
13230 * math/libm-test.inc (acos_test_tonearest): New function.
13231 (acos_test_towardzero): Likewise.
13232 (acos_test_downward): Likewise.
13233 (acos_test_upward): Likewise.
13234 (asin_test_tonearest): Likewise.
13235 (asin_test_towardzero): Likewise.
13236 (asin_test_downward): Likewise.
13237 (asin_test_upward): Likewise.
13238 (main): Call the new functions.
13239 * sysdeps/i386/fpu/libm-test-ulps: Update.
13240 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13241
9568c0c2
JM
13242 [BZ #13884]
13243 [BZ #13924]
13244 * math/e_exp10.c: Include <float.h>.
13245 (__ieee754_exp10): Handle underflow here rather than multiplying
13246 large negative argument by M_LN10.
13247 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
13248 of __ieee754_expf.
13249 * math/e_exp10l.c: Include <float.h>.
13250 (__ieee754_exp10l): Handle underflow here rather than multiplying
13251 large negative argument by M_LN10l.
13252 * math/libm-test.inc (exp10_test): Add another test. Do not allow
13253 spurious overflow exception on underflow.
13254
5ac3ea17
MP
132552012-04-29 Marek Polacek <polacek@redhat.com>
13256
13257 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
13258 (__fortify_function): New macro.
13259 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
13260 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
13261 __extern_always_inline.
13262 * libio/bits/stdio2.h: Likewise.
13263 * libio/bits/stdio.h: Likewise.
13264 * string/string.h: Likewise.
13265 * string/bits/string3.h: Likewise.
13266 * include/stdio.h: Likewise.
13267 * stdlib/bits/stdlib.h: Likewise.
13268 * stdlib/stdlib.h: Likewise.
13269 * rt/bits/mqueue2.h: Likewise.
13270 * rt/mqueue.h: Likewise.
13271 * posix/bits/unistd.h: Likewise.
13272 * posix/unistd.h: Likewise.
13273 * io/bits/poll2.h: Likewise.
13274 * io/bits/fcntl2.h: Likewise.
13275 * io/fcntl.h: Likewise.
13276 * io/sys/poll.h: Likewise.
13277 * misc/bits/syslog.h: Likewise.
13278 * misc/bits/syslog-ldbl.h: Likewise.
13279 * misc/sys/syslog.h: Likewise.
13280 * socket/bits/socket2.h: Likewise.
13281 * socket/sys/socket.h: Likewise.
13282 * debug/tst-chk1.c: Likewise.
13283 * wcsmbs/bits/wchar2.h: Likewise.
13284 * wcsmbs/bits/wchar-ldbl.h: Likewise.
13285 * wcsmbs/wchar.h: Likewise.
13286
ecf0ebfb
AJ
132872012-04-29 Andreas Jaeger <aj@suse.de>
13288
13289 * Makerules (tests): Remove enable-check-abi protection.
13290 (check-abi-warn): Remove.
13291 (check-abi-%): Remove check-abi-warn usage.
13292
13293 * configure.in: Remove check-abi configure option.
13294 * configure: Regenerated.
13295 * config.make.in (enable-check-abi): Remove.
13296
6d5c57fa
AS
132972012-04-28 Andreas Schwab <schwab@linux-m68k.org>
13298
24c5d07e 13299 [BZ #14033]
ded5180a
AS
13300 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
13301 double functions to double *_finite functions.
13302
7e0d315d
AS
13303 [BZ #13941]
13304 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
13305 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
13306 LDBL_MIN_EXP.
13307 * stdio-common/Makefile (tests): Add tst-sprintf3.
13308 * stdio-common/tst-sprintf3.c: New file.
13309
6d5c57fa
AS
13310 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
13311 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
13312
0749ff8b
JM
133132012-04-28 Joseph Myers <joseph@codesourcery.com>
13314
13315 * conform/conformtest.pl: Remove duplicate typed-constant
13316 handling.
13317
8dbd5d7b
DM
133182012-04-28 David S. Miller <davem@davemloft.net>
13319
13320 * Makerules (%.abilist): Add vpath on sysdep_dirs.
13321 (check-abi-%): Remove AWK script prerequisite and explicit
13322 abilist directory.
13323 (check-abi): Rewrite to just diff the symlist with the abilist.
13324 (config-tls, config-abi-config): Delete, no longer used.
13325 (update-abi-%): Remove AWK script and explicit abilist directory.
13326 (update-abi): Rewrite to simply compare and conditionally copy the
13327 symlist and the sysdep abilist file. Remove update-abi-config
13328 checks.
13329 * abilist/ld.abilist: Remove.
13330 * abilist/libBrokenLocale.abilist: Remove.
13331 * abilist/libanl.abilist: Remove.
13332 * abilist/libcrypt.abilist: Remove.
13333 * abilist/libdl.abilist: Remove.
13334 * abilist/librt.abilist: Remove.
13335 * abilist/libthread_db.abilist: Remove.
13336 * abilist/libutil.abilist: Remove.
13337 * scripts/extract-abilist.awk: Remove.
13338 * scripts/merge-abilist.awk: Remove.
13339 * sysdeps/generic/libcidn.abilist: New file.
13340 * sysdeps/generic/libnss_compat.abilist: New file.
13341 * sysdeps/generic/libnss_db.abilist: New file.
13342 * sysdeps/generic/libnss_dns.abilist: New file.
13343 * sysdeps/generic/libnss_files.abilist: New file.
13344 * sysdeps/generic/libnss_hesiod.abilist: New file.
13345 * sysdeps/generic/libnss_nis.abilist: New file.
13346 * sysdeps/generic/libnss_nisplus.abilist: New file.
13347 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
13348 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
13349 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
13350 file.
13351 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
13352 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
13353 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
13354 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
13355 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
13356 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
13357 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
13358 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
13359 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
13360 file.
13361 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
13362 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
13363 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
13364 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
13365 file.
13366 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
13367 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
13368 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
13369 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
13370 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
13371 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
13372 file.
13373 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
13374 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
13375 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
13376 file.
13377 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
13378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
13379 New file.
13380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
13381 New file.
13382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
13383 New file.
13384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
13385 New file.
13386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
13387 New file.
13388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
13389 New file.
13390 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
13391 New file.
13392 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
13393 New file.
13394 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
13395 New file.
13396 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
13397 New file.
13398 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
13399 New file.
13400 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
13401 New file.
13402 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
13403 New file.
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
13405 file.
13406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13407 New file.
13408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13409 New file.
13410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
13411 file.
13412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13413 New file.
13414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13415 New file.
13416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
13417 file.
13418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13419 New file.
13420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13421 New file.
13422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13423 New file.
13424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13425 New file.
13426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13427 New file.
13428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13429 New file.
13430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
13431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
13432 file.
13433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13434 New file.
13435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
13436 file.
13437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
13438 file.
13439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
13440 file.
13441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
13442 file.
13443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
13444 file.
13445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13446 New file.
13447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
13448 file.
13449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
13450 file.
13451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13452 New file.
13453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
13454 file.
13455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
13456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
13457 file.
13458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13459 New file.
13460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
13461 file.
13462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
13463 file.
13464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
13465 file.
13466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
13467 file.
13468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
13469 file.
13470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13471 New file.
13472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
13473 file.
13474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
13475 file.
13476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13477 New file.
13478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
13479 file.
13480 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
13481 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
13482 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
13483 file.
13484 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
13485 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
13486 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
13487 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
13488 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
13489 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
13490 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
13491 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
13492 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
13493 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
13494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
13495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
13496 file.
13497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13498 New file.
13499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
13500 file.
13501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
13502 file.
13503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
13504 file.
13505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
13506 file.
13507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
13508 file.
13509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13510 New file.
13511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13512 New file.
13513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
13514 file.
13515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13516 New file.
13517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
13518 file.
13519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
13520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
13521 file.
13522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13523 New file.
13524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
13525 file.
13526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
13527 file.
13528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
13529 file.
13530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
13531 file.
13532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
13533 file.
13534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13535 New file.
13536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13537 New file.
13538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
13539 file.
13540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13541 New file.
13542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
13543 file.
13544
41d73a1b
JM
135452012-04-28 Joseph Myers <joseph@codesourcery.com>
13546
13547 * conform/conformtest.pl: Fix typo in handling typed-constant from
13548 allow-header.
13549
28aeeda4
JM
135502012-04-27 Joseph Myers <joseph@codesourcery.com>
13551
adae8f5e
JM
13552 * README: Cut down references to pre-2.6 Linux kernels and
13553 Linuxthreads. Update lists of configurations in libc and ports
13554 and sort alphabetically. Say "or newer" with Linux kernel version
13555 requirements.
13556
28aeeda4
JM
13557 * config.h.in [IS_IN_build]: Allow compiling without optimization.
13558
a462cb63
RA
135592012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13560
13561 [BZ #887]
13562 * math/libm-test.inc (logb_test_downward): New test to expose
13563 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
13564 rounding mode.
13565
6ad3493e
JM
135662012-04-27 Joseph Myers <joseph@codesourcery.com>
13567
13568 [BZ #14027]
13569 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
13570 to be done.
13571 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
13572 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
13573
2ce4f015
JM
135742012-04-26 Joseph Myers <joseph@codesourcery.com>
13575
5aeb141a
JM
13576 * sysdeps/unix/i386/brk.S: Remove file.
13577 * sysdeps/unix/i386/dl-brk.S: Likewise.
13578 * sysdeps/unix/i386/pipe.S: Likewise.
13579 * sysdeps/unix/i386/sigreturn.S: Likewise.
13580 * sysdeps/unix/i386/syscall.S: Likewise.
13581 * sysdeps/unix/i386/vfork.S: Likewise.
13582 * sysdeps/unix/i386/wait.S: Likewise.
13583
7143acae
JM
13584 * sysdeps/unix/common/tcsendbrk.c: Move to ...
13585 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
13586
2ce4f015
JM
13587 * configure.in (arm*-none*): Do not allow without
13588 --enable-hacker-mode.
13589 (netbsd*): Remove case setting base_os.
13590 (386bsd*): Likewise.
13591 (freebsd*): Likewise.
13592 (bsdi*): Likewise.
13593 (osf*): Likewise.
13594 (sunos*): Likewise.
13595 (ultrix*): Likewise.
13596 (newsos*): Likewise.
13597 (dynix*): Likewise.
13598 (*bsd*): Likewise.
13599 (sysv*): Likewise.
13600 (isc*): Likewise.
13601 (esix*): Likewise.
13602 (sco*): Likewise.
13603 (minix*): Likewise.
13604 (irix4*): Likewise.
13605 (irix6*): Likewise.
13606 (solaris[2-9]*): Likewise.
13607 (none): Likewise.
13608 * configure: Regenerated.
13609
0ac229c8
AZ
136102012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13611
13612 [BZ #11521]
13613 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
13614 overflow or cancellation in calculating denominator.
13615 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
13616 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
13617 down expression to avoid unexpected rounding in newer GCCs.
13618 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
13619
33f244f4
DM
136202012-04-26 David S. Miller <davem@davemloft.net>
13621
13622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
13623 long-double compat symbols.
13624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
13628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
13632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
13633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
13634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
13635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
13636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
13637
cfa1f3e8
DM
136382012-04-25 David S. Miller <davem@davemloft.net>
13639
13640 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
13641 HWCAP_* values only after the memory barriers have been defined.
13642 (atomic_full_barrier): Define.
13643 (atomic_read_barrier): Define.
13644 (atomic_write_barrier): Define.
13645
6e236b92
SP
136462012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13647
13648 * shlib-versions: Add libgcc_s version information.
13649 * sysdeps/generic/libgcc_s.h: Remove.
13650 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
13651 libgcc_s.h.
13652 * sysdeps/gnu/unwind-resume.c: Likewise.
13653 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
13654
aab39a09
DM
136552012-04-25 David S. Miller <davem@davemloft.net>
13656
13657 * sysdeps/unix/sparc/brk.S: Delete.
13658 * sysdeps/unix/sparc/dl-brk.S: Delete.
13659 * sysdeps/unix/sparc/pipe.S: Delete.
13660 * sysdeps/unix/sparc/sysdep.S: Delete.
13661 * sysdeps/unix/sparc/sysdep.h: Delete.
13662 * sysdeps/unix/sparc/vfork.S: Delete.
13663 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
13664 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
13665 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
13666 ret_ERRVAL, r0, r1, MOVE): Define.
13667 (JUMPTARGET): Remove.
13668 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
13669 sysdeps/unix/sparc/sysdep.h
13670 (ENTRY, END): Remove.
13671 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13672
a3cc4f48
JM
136732012-04-25 Joseph Myers <joseph@codesourcery.com>
13674
2ed8cda2
JM
13675 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
13676 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
13677 -DIS_IN_build.
13678
35d76d59
JM
13679 * timezone/README: Update upstream location and email address for
13680 tzcode and tzdata.
13681 * timezone/zdump.c: Update from tzcode 2012b.
13682 * timezone/zic.c: Likewise.
13683
a3cc4f48
JM
13684 * configure.in (libc_cv_as_needed): Remove test.
13685 * configure: Regenerated.
13686 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
13687 conditional definition.
13688 [$(have-as-needed) != yes] (no-as-needed): Likewise.
13689 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
13690 * config.make.in (have-as-needed): Remove variable.
13691
ceab42c3
SP
136922012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13693 Paul Pluzhnikov <ppluzhnikov@google.com>
13694
13695 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
13696 strings correctly.
13697
3ce2865f
CLT
136982012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
13699
13700 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
13701 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
13702 * sysdeps/sh/strlen.S: Likewise.
13703
f37e0d68
JM
137042012-04-24 Joseph Myers <joseph@codesourcery.com>
13705
ae186e9a
JM
13706 * sysdeps/unix/fork.S: Remove file.
13707 * sysdeps/unix/i386/fork.S: Likewise.
13708 * sysdeps/unix/sparc/fork.S: Likewise.
13709
b96914af
JM
13710 * sysdeps/unix/system.c: Remove file.
13711 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
13712
f37e0d68
JM
13713 * sysdeps/unix/getegid.S: Remove file.
13714 * sysdeps/unix/geteuid.S: Likewise.
13715
87ef29ca
RM
137162012-04-24 Roland McGrath <roland@hack.frob.com>
13717
83bcd236
RM
13718 * scripts/check-localplt.awk: New file.
13719 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
13720 of diff.
13721 * scripts/data/localplt-generic.data: Add a comment.
13722
87ef29ca
RM
13723 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
13724 NODE when __dir_mkfile failed.
13725 * sysdeps/mach/hurd/symlinkat.c: Likewise.
13726 Reported by Ludovic Courtès <ludo@gnu.org>.
13727
e5a6e567
AJ
137282012-04-24 Andreas Jaeger <aj@suse.de>
13729
13730 * Makerules (common-clean): Also remove gen-as-const-headers
13731 files.
13732
c1820385
JM
137332012-04-24 Joseph Myers <joseph@codesourcery.com>
13734
13735 * Makerules (native-compile): Do not change working directory for
13736 build. Use $(OUTPUT_OPTION) in command.
13737 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
13738
94e02fc4
AZ
137392012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13740
13741 [BZ #13886]
13742 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
13743 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
13744 * math/libm-test.inc (floor_test): Add more tests.
13745 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
13746
3a533ca3
JM
137472012-04-24 Joseph Myers <joseph@codesourcery.com>
13748
940ab4b3
JM
13749 * sysdeps/unix/getdents.c: Remove file.
13750 * sysdeps/unix/sysv/getdents.c: Likewise.
13751 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
13752
90e037bd
JM
13753 * sysdeps/unix/syscalls.list (madvise): Add syscall from
13754 sysdeps/unix/mman/syscalls.list.
13755 (mmap): Likewise.
13756 (mprotect): Likewise.
13757 (msync): Likewise.
13758 (munmap): Likewise.
13759 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
13760 * sysdeps/unix/mman/syscalls.list: Remove.
13761 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
13762
3a533ca3
JM
13763 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
13764 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
13765 * configure: Regenerated.
13766 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
13767 $(libgcc_s_suffix).
13768 * config.make.in (libgcc_s_suffix): Remove variable.
13769
1ad743de
JM
137702012-04-23 Joseph Myers <joseph@codesourcery.com>
13771
4ad451e2
JM
13772 * sysdeps/unix/sysv/gethostname.c: Move to ...
13773 * sysdeps/posix/gethostname.c: ... here.
13774
5e37ce39
JM
13775 * sysdeps/unix/execve.S: Remove file.
13776
1ad743de
JM
13777 * sysdeps/unix/_exit.S: Remove file.
13778
4e681b5b
AJ
137792012-04-23 Andreas Jaeger <aj@suse.de>
13780
13781 [BZ #13739]
13782 * manual/Makefile: Remove make dist support, there's no
13783 need for a stand-alone documentation tar ball.
13784 (TEXI2DVI): Define always, it's not in Makeconfig.
13785 (dist): Removed.
13786 (tar-it): Removed.
13787 (edition): Removed.
13788 (glibc-doc-$(edition).tar): Removed
13789 (%.Z): Removed.
13790 (%.gz): Removed.
13791 (%.uu): Removed.
13792 (ETAGS): Remove, it's in Makeconfig.
13793 (move-if-change): Remove, it's in Makeconfig.
13794
38686a03 137952012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
13796
13797 [BZ #13970]
13798 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
13799 (strtod, strtof, strtold, strtol, strtoul, strtoq)
13800 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
13801 (strtod_l, strtof_l, strtold_l): Remove __wur.
13802 It is not necessarily an error to ignore strtol's return value.
13803 One can reliably look at the stored endptr to decide whether
13804 the number had valid syntax.
13805
7c0616fa
AJ
138062012-04-21 Andreas Jaeger <aj@suse.de>
13807
803cb6b7 13808 [BZ #13739]
7c0616fa
AJ
13809 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
13810
b0fe253f
JM
138112012-04-21 Joseph Myers <joseph@codesourcery.com>
13812
13813 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
13814 * sysdeps/unix/sysv/Versions: Remove file.
13815
8280f22d
MT
138162012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
13817
13818 [BZ #13927]
13819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13820
75ce411f 138212012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
13822
13823 [BZ #7064]
13824 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
13825 version from __vm86.
13826
097d59fa
JM
138272012-04-20 Joseph Myers <joseph@codesourcery.com>
13828
a90f3bcb
JM
13829 * sysdeps/unix/common/lxstat.c: Remove file.
13830 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
13831
edc7ea78
JM
13832 * sysdeps/unix/sysv/Makefile: Remove file.
13833
cb78c221
JM
13834 * sysdeps/unix/sysv/direct.h: Remove file.
13835
efa6a45f
JM
13836 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
13837 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
13838 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
13839 * sysdeps/unix/sysv/bits/signum.h: Likewise.
13840 * sysdeps/unix/sysv/bits/stat.h: Likewise.
13841 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
13842 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
13843
9c9f2d0c
JM
13844 * sysdeps/unix/sysv/setrlimit.c: Remove file.
13845
4541c83b
JM
13846 * sysdeps/unix/xmknod.c: Remove file.
13847 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
13848
f5d153a0
JM
13849 * sysdeps/unix/sysv/settimeofday.c: Remove file.
13850
aa746595
JM
13851 * sysdeps/unix/sysv/i386/time.S: Remove file.
13852
cce5905e
JM
13853 * sysdeps/unix/fxstat.c: Remove file.
13854 * sysdeps/unix/xstat.c: Likewise.
13855 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
13856
37fa3841
JM
13857 * sysdeps/unix/sysv/sigaction.c: Remove file.
13858
ff1962a3
JM
13859 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
13860 (sysdep_headers): Remove variable.
13861 [termio.h not in sysdep_headers] (generated): Likewise.
13862 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
13863 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
13864 * sysdeps/unix/sysv/tcdrain.c: Likewise.
13865 * sysdeps/unix/sysv/tcflow.c: Likewise.
13866 * sysdeps/unix/sysv/tcflush.c: Likewise.
13867 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
13868 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
13869 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
13870 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
13871 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
13872
e7740d31
JM
13873 * sysdeps/unix/siglist.c: Remove file.
13874
ee06f18b
JM
13875 * sysdeps/unix/getppid.S: Remove file.
13876
097d59fa
JM
13877 * sysdeps/unix/mkdir.c: Remove file.
13878 * sysdeps/unix/rmdir.c: Likewise.
13879
ff3d51ec
AS
138802012-04-19 Andreas Schwab <schwab@linux-m68k.org>
13881
13882 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13883 ERR_MAX value.
13884 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13885 errlist-compat value.
13886
50f81fd7
DM
138872012-04-18 David S. Miller <davem@davemloft.net>
13888
13889 * sysdeps/generic/memcopy.h (reg_char): Delete.
13890 * debug/strcat_chk.c: Use char, not reg_char.
13891 * debug/strcpy_chk.c: Likewise.
13892 * debug/strncat_chk.c: Likewise.
13893 * debug/strncpy_chk.c: Likewise.
13894 * string/memchr.c: Likewise.
13895 * string/memrchr.c: Likewise.
13896 * string/rawmemchr.c: Likewise.
13897 * string/strcat.c: Likewise.
13898 * string/strchr.c: Likewise.
13899 * string/strchrnul.c: Likewise.
13900 * string/strcmp.c: Likewise.
13901 * string/strcpy.c: Likewise.
13902 * string/strncat.c: Likewise.
13903 * string/strncmp.c: Likewise.
13904 * string/strncpy.c: Likewise.
13905
8ff41c46
WS
139062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13907
13908 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13909 __builtin_memcopy is called when src and dest ranges are known to not
13910 overlap.
13911
6b652f46
WS
139122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13913
13914 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13915 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13916 fwd_align_merge macro call.
13917 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13918 bwd_align_merge macro call.
13919 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13920
b282631e
WS
139212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13922
13923 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13924 bwd_align_merge macros.
13925 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13926 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13927 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13928
95aa737c
DM
139292012-04-18 David S. Miller <davem@davemloft.net>
13930
13931 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13932
7a99a614
AJ
139332012-04-18 Andreas Jaeger <aj@suse.de>
13934
13935 [BZ# 6794]
13936 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13937 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13938 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13939
13940 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13941 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13942 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13943
13944 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13945 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13946 Adjust for changed ldbl-128 files.
13947
13948 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13949 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13950 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13951
e5270c23
DM
139522012-04-17 David S. Miller <davem@davemloft.net>
13953
13954 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13955
fb5e92c9
AS
139562012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13957
13958 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13959 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13960 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13961 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13962 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13963 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13964
76da7265
AZ
139652012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13966
13967 [BZ #6794]
13968 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13969 * math/libm-test.inc: Add ilogb errno and exception tests.
13970 * math/w_ilogb.c: New file: ilogb wrapper.
13971 * math/w_ilogbf.c: New file: ilogbf wrapper.
13972 * math/w_ilogbl.c: New file: ilogbl wrapper.
13973 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13974 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13975 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13976 exception being thrown with 0.0 as argument.
13977 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13978 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13979 exception being thrown with 0.0 as argument.
13980 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13981 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13982 exception being thrown with 0.0 as argument.
13983 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13984 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13985 exception being thrown with 0.0 as argument.
13986 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13987 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 13988 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
13989 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13990 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13991 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13992 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13993 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13994 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13995
0396e69d
PB
139962012-04-17 Petr Baudis <pasky@ucw.cz>
13997
13998 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13999 with altivec.
14000
750b5926
MP
140012012-04-16 Marek Polacek <polacek@redhat.com>
14002
14003 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
14004
751728a1
MP
140052012-04-16 Marek Polacek <polacek@redhat.com>
14006
14007 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
14008 operands of fdivp instruction.
14009
34a27407
L
140102012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14011
14012 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
14013 * elf/tst-auditmod3b.c: Likewise.
14014 * elf/tst-auditmod4b.c: Likewise.
14015 * elf/tst-auditmod5b.c: Likewise.
14016 * elf/tst-auditmod6b.c: Likewise.
14017 * elf/tst-auditmod6c.c: Likewise.
14018 * elf/tst-auditmod7b.c: Likewise.
14019 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
14020 * sysdeps/x86_64/preconfigure.in: Likewise.
14021 * sysdeps/x86_64/preconfigure: Regenerated.
14022
7e73e17d
L
140232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
14024
14025 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
14026 __ILP32__.
14027
c7a6ab72
AB
140282012-04-13 Antoine Balestrat <merkil33@gmail.com>
14029
14030 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14031 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
14032
a9e8e0e0
CL
140332012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
14034
14035 [BZ #13973]
14036 * locale/iso-639.def: Fix gl language name. Spotted by
14037 Yaron Shahrabani.
14038
ec98af7d
RM
140392012-04-12 Roland McGrath <roland@hack.frob.com>
14040
14041 [BZ #2074]
14042 * libio/libio.h (__io_write_fn): Update comment.
14043
247c3ede
PB
140442012-04-12 Petr Baudis <pasky@ucw.cz>
14045
14046 [BZ #2074]
14047 * stdio.texi (Hook Functions): The user provided writer function
14048 is not allowed to return -1.
14049
55939d6d
DM
140502012-04-11 David S. Miller <davem@davemloft.net>
14051
14052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14053
90020f5a
MF
140542012-04-11 Mike Frysinger <vapier@gentoo.org>
14055
14056 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
14057 Add a leading slash to rtkaio.
14058
288f9098
JM
140592012-04-11 Jim Meyering <meyering@redhat.com>
14060
90020f5a
MF
14061 [BZ #11959]
14062 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14063 It is not necessarily an error to ignore fwrite's return
14064 value. One can reliably use ferror to test for errors after
14065 the fact.
288f9098 14066
4be2b570
L
140672012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14068
14069 * bits/types.h (__snseconds_t): New type.
14070 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
14071
14072 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
14073 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14074 (__SNSECONDS_T_TYPE): Likewise.
14075 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14076 (__SNSECONDS_T_TYPE): Likewise.
14077 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14078 (__SNSECONDS_T_TYPE): Likewise.
14079
288f9098 140802012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
14081
14082 [BZ #2636]
14083 * manual/time.texi (Processor Time): Return type of times is
14084 elapsed real time since an arbitrary point in the past.
14085 (CPU Time): Move CLK_TCK from here...
14086 (Processor Time): ...to here. Correct description.
14087 * manual/conf.texi (Constants for Sysconf): Correct description of
14088 _SC_CLK_TCK.
14089
d7dd4413
DM
140902012-04-10 David S. Miller <davem@davemloft.net>
14091
14092 [BZ #13967]
14093 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
14094 where the is a gap between DT_REL(A) and DT_JMPREL.
14095
b46068fc
L
140962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
14097
14098 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
14099 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14100 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14101
73d65cc3
SP
141022012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14103
14104 * elf/dl-support.c (_dl_inhibit_cache): New variable.
14105 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
14106 (dl_main): Handle --inhibit-cache.
14107 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
14108 _dl_inhibit_cache.
14109 * elf/dl-load.c (_dl_map_object): Use it.
14110 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
14111
bcc8d661
JM
141122012-04-09 Joseph Myers <joseph@codesourcery.com>
14113
8f9a2fae
JM
14114 [BZ #13872]
14115 * sysdeps/i386/fpu/e_powl.S (p78): New object.
14116 (__ieee754_powl): Saturate large exponents rather than testing for
14117 overflow of y*log2(x).
14118 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14119 * math/libm-test.inc (pow_test): Do not permit spurious overflow
14120 exceptions.
14121
bcc8d661
JM
14122 [BZ #11521]
14123 * math/s_ctan.c: Include <float.h>.
14124 (__ctan): Avoid internal overflow or cancellation in calculating
14125 denominator.
14126 * math/s_ctanf.c: Likewise.
14127 * math/s_ctanl.c: Likewise.
14128 * math/s_ctanh.c: Likewise.
14129 * math/s_ctanhf.c: Likewise.
14130 * math/s_ctanhl.c: Likewise.
14131 * math/libm-test.inc (ctan_test): Add more tests.
14132 (ctanh_test): Likewise.
14133 * sysdeps/i386/fpu/libm-test-ulps: Update.
14134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14135
823fbbb4
AJ
141362012-04-09 Andreas Jaeger <aj@suse.de>
14137
03879793
AJ
14138 [BZ #6894]
14139 * manual/filesys.texi (Directory Entries): Mention that d_namlen
14140 is an optional BSD extension.
14141
823fbbb4
AJ
14142 [BZ #10254]
14143 * manual/stdio.texi (Opening Streams): Document additional fopen
14144 parameters.
14145
8de131cb
RM
141462012-04-09 Roland McGrath <roland@hack.frob.com>
14147
14148 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
14149 %eax without telling the compiler.
14150
c0ed9d7d
CD
141512012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
14152
14153 [BZ # 13963]
14154 * manual/install.texi: Use sourceware.org.
14155
c483f6b4
JM
141562012-04-09 Joseph Myers <joseph@codesourcery.com>
14157
d7dd9453
JM
14158 [BZ #13873]
14159 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
14160 (__ieee754_pow): Generate overflow and underflow using huge*huge
14161 and tiny*tiny rather than just returning constant infinity or zero
14162 for large exponents.
14163 * math/libm-test.inc (pow_test): Require overflow exceptions for
14164 applicable cases of large exponents.
14165
c483f6b4
JM
14166 [BZ #706]
14167 * sysdeps/i386/fpu/e_pow.S (p10): New object.
14168 (__ieee754_pow): Use iterative multiplication algorithm only for
14169 integer exponents with absolute value below 1024. Check for odd
14170 integer exponents when using algorithm for real exponents.
14171 * math/libm-test.inc (pow_test): Add more tests.
14172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14173
d2de7579
JM
141742012-04-08 Joseph Myers <joseph@codesourcery.com>
14175
14176 [BZ #13705]
14177 * math/libm-test.inc (exp_test): Do not allow overflow exception
14178 on underflow test.
14179
f77f1232
AJ
141802012-04-08 Aurelien Jarno <aurelien@aurel32.net>
14181
14182 [BZ #13705]
14183 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
14184 instead of __kernel_standard_f.
14185
3884932b
MF
141862012-04-08 Mike Frysinger <vapier@gentoo.org>
14187
14188 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
14189 * sysdeps/x86_64/memset_chk.S: Likewise.
14190
54472e9c
AJ
141912012-04-08 Andreas Jaeger <aj@suse.de>
14192
6ab0fbfc
AJ
14193 [BZ #10153]
14194 * manual/startup.texi (Environment Access): Describe return value
14195 for putenv and setenv.
14196
61efba8c
AJ
14197 [BZ #6895]
14198 * manual/filesys.texi (Directory Entries): Add description for
14199 DT_LNK.
14200
95c3f29a
AJ
14201 [BZ #6890]
14202 * manual/filesys.texi (Directory Entries): Clarify that it's file
14203 system not operating system in the description of DT_UNKNOWN.
14204
54472e9c
AJ
14205 [BZ #6578]
14206 * manual/syslog.texi (closelog): Fix reference, it's openlog.
14207
624254b1
SC
142082012-04-08 Stephen Compall <s11@member.fsf.org>
14209
14210 [BZ #6649]
14211 * manual/llio.texi (Opening and Closing Files): Add cross
14212 reference to explain mode argument.
14213
1e4920e0
MF
142142012-04-07 Mike Frysinger <vapier@gentoo.org>
14215
14216 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
14217 * sysdeps/x86_64/memset_chk.S: Likewise.
14218
5ed848f3
DM
142192012-04-07 David S. Miller <davem@davemloft.net>
14220
14221 * elf/elf.h (R_SPARC_WDISP10): Define.
14222 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
14223 R_SPARC_SIZE32.
14224 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
14225 R_SPARC_SIZE64 and R_SPARC_H34.
14226
96154cd8
CD
142272012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
14228
14229 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
14230 conditions and remove no longer applicable assertion.
14231
9904dc47
L
142322012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14233
14234 * bits/byteswap.h: Include <features.h>.
14235 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
14236 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
14237
f8887d0a
L
142382012-04-06 H.J. Lu <hongjiu.lu@intel.com>
14239
14240 * bits/byteswap.h (__bswap_16): Removed.
14241 Include <bits/byteswap-16.h> to get __bswap_16.
14242 * sysdeps/i386/bits/byteswap.h: Likewise.
14243 * sysdeps/s390/bits/byteswap.h: Likewise.
14244 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14245 * bits/byteswap-16.h: New file.
14246 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14247 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14248 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
14249 * string/Makefile (headers): Add bits/byteswap-16.h.
14250
62470f60
PP
142512012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14252
14253 [BZ #13895]
14254 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
14255 extra indirection.
14256 * nss/Makefile (tests-static, tests): Add tst-nss-static.
14257 * nss/tst-nss-static.c: New.
14258
4dad7bab
RM
142592012-04-06 Robert Millan <rmh@gnu.org>
14260
14261 [BZ #6486]
14262 * manual/llio.texi (File Position Primitive): lseek
14263 refers to WHENCE when it really means OFFSET.
14264
e9142a17
AJ
142652012-04-06 Andreas Jaeger <aj@suse.de>
14266
2c040eff
AJ
14267 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
14268 strncmp declarations.
14269
e9142a17
AJ
14270 * abilist/libc.abilist: Add __poll and __ppoll.
14271
ff9f1c5f
DM
142722012-04-05 David S. Miller <davem@davemloft.net>
14273
dcd2ae90
DM
14274 * scripts/check-local-headers.sh: Accept a host triplet in the
14275 path matched by the exclude regexp.
14276
993eb054
DM
14277 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
14278 definition.
14279 * sysdeps/powerpc/powerpc32/dl-machine.h
14280 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
14281 * sysdeps/s390/s390-32/dl-machine.h
14282 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14283 * sysdeps/sparc/sparc32/dl-machine.h
14284 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14285 * sysdeps/sparc/sparc64/dl-machine.h
14286 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
14287
ff9f1c5f
DM
14288 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
14289 lazy binding.
48e2e132 14290 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
14291 undefined symbol errors.
14292
48e2e132 14293 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
14294 DT_NEEDED entries.
14295
e80d6f94
MM
142962012-04-05 Michael Matz <matz@suse.de>
14297
14298 [BZ #13592]
14299 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
14300
349fa79f
AJ
143012012-04-05 Andreas Jaeger <aj@suse.de>
14302
14303 [BZ #13908]
14304 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
14305 comment.
14306
f402708f
KK
143072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14308
14309 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
14310 which ROUND is no valid rounding mode.
14311
2ecccfc9
KK
143122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14313
14314 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
14315 read again.
14316 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
14317
8a53f50f
KK
143182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14319
14320 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
14321 an exception using FPU order intentionally.
14322
143232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14324
14325 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
14326 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
14327 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
14328 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
14329
d653abb7
SJ
143302012-04-05 Simon Josefsson <simon@josefsson.org>
14331
14332 [BZ #12340]
14333 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
14334 EINVAL when BUFLEN is too smal.
14335
c3b1bf7d
TS
143362012-04-05 Thomas Schwinge <thomas@codesourcery.com>
14337
14338 [BZ #13553]
14339 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
14340 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
14341
b1aa60f3
AJ
143422012-04-03 Andreas Jaeger <aj@suse.de>
14343
c3b1bf7d 14344 [BZ #13938]
67f60a26
AJ
14345 * manual/setjmp.texi (System V contexts): Fix sentence.
14346
b1aa60f3
AJ
14347 [BZ #13926]
14348 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
14349 New macro for this case.
14350 [!__GNUC__] (__bswap_64): New inline function for this case.
14351 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14352 * bits/byteswap.h: Likewise.
14353 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
14354 ull, guard with __GLIBC_HAVE_LONG_LONG.
14355
14356 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
14357 __GLIBC_HAVE_LONG_LONG.
14358
14359 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
14360 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
14361
39c59c35
TMQMF
143622012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14363
14364 [BZ #13691]
14365 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
14366 inptr and inend, rather than using last_ch.
14367
135ffda8
DM
143682012-04-02 David S. Miller <davem@davemloft.net>
14369
14370 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
14371 * stdio-common/printf-parse.h (read_int): Change return type to
14372 'int', return -1 on INT_MAX overflow.
14373 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
14374 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
14375 overflows INT_MAX. Check for overflow of in-format-string precision
14376 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
14377 SIZE_MAX not INT_MAX for integer overflow test.
14378 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
14379 skip the construct in the format string but do not record anything.
14380 * stdio-common/bug22.c: Adjust to test both width/prevision
14381 INT_MAX overflow as well as total length INT_MAX overflow. Check
14382 explicitly for proper errno values.
14383
228c019e
TS
143842012-04-02 Thomas Schwinge <thomas@codesourcery.com>
14385
302cadd3
TS
14386 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
14387 CHAR_MAX.
14388 * string/test-strcmp.c [! WIDE]: Likewise.
14389 * time/tst-mktime2.c: Likewise for INT_MAX.
14390 * string/test-string.h: #include <sys/param.h> for MIN.
14391
228c019e
TS
14392 * csu/init-first.c (__libc_init_first): Call __ctype_init.
14393 * sysdeps/i386/init-first.c (init): Likewise.
14394 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
14395 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
14396 * sysdeps/sh/init-first.c (init): Likewise.
14397
cfa633f5
UD
143982012-04-01 Ulrich Drepper <drepper@gmail.com>
14399
14400 * po/ru.po: Update from translation team.
d1635ef8 14401 * po/vi.po: Likewise.
cfa633f5 14402
6cd0a5ea
SP
144032012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14404
14405 * resolv/nss_dns/dns-host.c: Merge copyright years.
14406
4b43400f
LD
144072012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14408
14409 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14410 Optimize memcpy with prefetch if
14411 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14412 src, dst pointers have unequal 16 byte alignments.
14413
48c41d04
SP
144142012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14415
14416 [BZ #13928]
14417 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
14418 from a CNAME entry and return the minimum ttl for the query.
14419 (gaih_getanswer_slice): Likewise.
14420
b8dc394d
JL
144212012-03-30 Jeff Law <law@redhat.com>
14422
14423 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
14424 due to long keys.
14425 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14426 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14427
2f5a5ed0
JL
14428 * resolv/nss_dns/dns-host.c: Update copyright year.
14429
1d39e359
UD
144302012-03-30 Ulrich Drepper <drepper@gmail.com>
14431
c030f70c 14432 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 14433 requests to save a system call. Fix check that all bytes are sent.
c030f70c 14434
1d39e359
UD
14435 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
14436 comments for sendmmsg.
14437
144382012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
14439
14440 [BZ #13691]
14441 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
14442 with only 1 character between 0x0041 and 0x01b0.
14443 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
14444 * wcsmbs/tst-mbsnrtowcs.c: New file.
14445
20fde227
DM
144462012-03-29 David S. Miller <davem@davemloft.net>
14447
14448 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
14449 small copies by hand.
14450
984a4237
JL
144512012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14452
14453 [BZ #13761]
14454 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
14455 _nss_compat_initgroups_dyn): Fall back to malloc/free
14456 for large group memberships.
14457
18c9d62b
DM
144582012-03-28 David S. Miller <davem@davemloft.net>
14459
88d85d4f
DM
14460 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
14461 that branches into memcpy.
14462 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14463 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14464 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14465 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14466 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
14467 bits.
14468 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
14469 implementation too.
14470 * sysdeps/sparc/mempcpy.S: New file.
14471
e5aa83e1
DM
14472 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
14473 the IFUNC routine in the libc case.
14474 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14475
88570753
DM
14476 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
14477 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
14478 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
14479 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
14480 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
14481 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
14482 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
14483 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
14484
249d7567
DM
14485 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
14486 loop to 256 bytes instead of 64 bytes and fix test signedness.
14487
18c9d62b
DM
14488 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
14489 * sysdeps/sparc/sparc32/Makefile: rather than here...
14490 * sysdeps/sparc/sparc64/Makefile: and here.
14491
05f3d1f6
UD
144922012-03-28 Ulrich Drepper <drepper@gmail.com>
14493
14494 * malloc/mallocbug.c: Avoid warnings about unused variables.
14495
86ae07a8
JL
144962012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14497
14498 [BZ #13760]
14499 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
14500 in the right place. Discard and retry query if response is
14501 larger than input buffer size.
14502
41bf21a1
JM
145032012-03-28 Joseph Myers <joseph@codesourcery.com>
14504
d6270972
JM
14505 [BZ #369]
14506 [BZ #2678]
14507 [BZ #3866]
14508 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
14509 x for large integer exponent.
14510 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14511 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
14512 sign of result as needed afterwards.
14513 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14514 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
14515 result for underflowing pow the same as for overflow.
14516 (__kernel_standard_l): Handle powl overflow and underflow here
14517 rather than calling __kernel_standard.
14518 * math/libm-test.inc (pow_test): Add more tests.
14519
414fca03 14520 [BZ #3868]
41bf21a1
JM
14521 [BZ #13879]
14522 [BZ #13910]
14523 [BZ #13911]
14524 [BZ #13912]
14525 [BZ #13913]
14526 [BZ #13915]
14527 [BZ #13916]
14528 [BZ #13917]
14529 [BZ #13918]
14530 [BZ #13919]
14531 [BZ #13920]
14532 [BZ #13921]
14533 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
14534 * sysdeps/ieee754/k_standard.c: Include <float.h>.
14535 (__kernel_standard_l): New function.
14536 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
14537 __kernel_standard.
14538 * math/w_acosl.c (__acosl): Likewise.
14539 * math/w_asinl.c (__asinl): Likewise.
14540 * math/w_atan2l.c (__atan2l): Likewise.
14541 * math/w_atanhl.c (__atanhl): Likewise.
14542 * math/w_coshl.c (__coshl): Likewise.
14543 * math/w_exp10l.c (__exp10l): Likewise.
14544 * math/w_exp2l.c (__exp2l): Likewise.
14545 * math/w_fmodl.c (__fmodl): Likewise.
14546 * math/w_hypotl.c (__hypotl): Likewise.
14547 * math/w_j0l.c (__j0l, __y0l): Likewise.
14548 * math/w_j1l.c (__j1l, __y1l): Likewise.
14549 * math/w_jnl.c (__jnl, __ynl): Likewise.
14550 * math/w_lgammal.c (__lgammal): Likewise.
14551 * math/w_log10l.c (__log10l): Likewise.
14552 * math/w_log2l.c (__log2l): Likewise.
14553 * math/w_logl.c (__logl): Likewise.
14554 * math/w_powl.c (__powl): Likewise.
14555 * math/w_remainderl.c (__remainderl): Likewise.
14556 * math/w_scalbl.c (sysv_scalbl): Likewise.
14557 * math/w_sinhl.c (__sinhl): Likewise.
14558 * math/w_sqrtl.c (__sqrtl): Likewise.
14559 * math/w_tgammal.c (__tgammal): Likewise.
14560 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
14561 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
14562 * math/libm-test.inc (acos_test): Add more tests.
14563 (acosh_test): Likewise.
14564 (asin_test): Likewise.
14565 (atanh_test): Likewise.
14566 (exp_test): Likewise.
14567 (exp10_test): Likewise.
14568 (exp2_test): Likewise.
14569 (expm1_test): Likewise.
14570 (lgamma_test): Likewise.
14571 (log_test): Likewise.
14572 (log10_test): Likewise.
14573 (log1p_test): Likewise.
14574 (log2_test): Likewise.
14575 (pow_test): Do not allow some spurious overflow exceptions.
14576 (sqrt_test): Add more tests.
14577 (tgamma_test): Likewise.
14578 (y0_test): Likewise.
14579 (y1_test): Likewise.
14580 (yn_test): Likewise.
14581
dd62fda6
AB
145822012-03-27 Anton Blanchard <anton@samba.org>
14583
14584 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
14585 MAP_HUGETLB.
14586 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14587 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14588 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14589
1e3cdfda
AJ
145902012-03-27 David S. Miller <davem@davemloft.net>
14591
b855ab85
DM
14592 * conform/Makefile: Run run-conformtest.sh using $(BASH).
14593
1e3cdfda
AJ
14594 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
14595 have-as-vis3 check.
14596
145972012-03-27 Andreas Jaeger <aj@suse.de>
14598
14599 * sysdeps/x86_64/elf/configure.in: Moved to ...
14600 * sysdeps/x86_64/configure.in: ... here.
14601 * sysdeps/x86_64/elf/start.S: Moved to ...
14602 * sysdeps/x86_64/start.S: ... here.
14603 * sysdeps/x86_64/elf/configure: Delete.
14604
14605 * sysdeps/x86_64/configure.in: Merge contents from
14606 sysdeps/i386/configure.in (without i686 check).
14607
14608 * sysdeps/i386/elf/Versions: Merge into ...
14609 * sysdeps/i386/Versions: ... this.
14610 * sysdeps/i386/elf/Versions: Delete file.
14611 * sysdeps/i386/elf/start.S: Moved to ...
14612 * sysdeps/i386/start.S: ...here.
14613 * sysdeps/i386/elf/configure.in: Merge into...
14614 * sysdeps/i386/configure.in: ...here.
14615 * sysdeps/i386/elf/configure.in: Delete file.
14616 * sysdeps/i386/elf/configure: Delete file.
14617
14618 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
14619 * debug/backtracesyms.c: ... here.
14620 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
14621 * debug/backtracesymsfd.c: ... here.
14622 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
14623 * sysdeps/generic/ifunc-sel.h: ... here.
14624
14625 * sysdeps/unix/i386/start.c: Delete file.
14626 * sysdeps/unix/sparc/start.c: Delete file.
14627 * sysdeps/unix/start.c: Delete file.
14628
14629 * sysdeps/sh/elf/configure.in: Moved to ...
14630 * sysdeps/sh/configure.in: ... here.
14631 * sysdeps/sh/elf/start.S: Moved to ...
14632 * sysdeps/sh/start.S: ... here.
14633 * sysdeps/sh/elf/configure: Delete file.
14634
14635 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
14636 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
14637 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
14638 * sysdeps/powerpc/powerpc64/entry.h: ... here.
14639 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
14640 * sysdeps/powerpc/powerpc64/start.S: here.
14641 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
14642 * sysdeps/powerpc/powerpc64/Makefile: ... this.
14643 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
14644 * sysdeps/powerpc/powerpc64/configure.in: ... this.
14645 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
14646
14647 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
14648 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
14649 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
14650 * sysdeps/powerpc/powerpc32/start.S: ... here.
14651 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
14652 * sysdeps/powerpc/powerpc32/configure.in: ... this.
14653 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
14654
14655 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
14656 * sysdeps/powerpc/ifunc-sel.h: ... here.
14657 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
14658 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
14659
14660 * sysdeps/sparc/elf/configure.in: Moved to ...
14661 * sysdeps/sparc/configure.in: ... here.
14662 * sysdeps/sparc/elf/configure: Delete file.
14663 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
14664 * sysdeps/sparc/sparc32/start.S: ... here.
14665 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
14666 * sysdeps/sparc/sparc64/start.S: ... here.
14667 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
14668 * sysdeps/sparc/sparc32/Makefile: ... this.
14669 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
14670 * sysdeps/sparc/sparc64/Makefile: ... this.
14671
14672 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
14673 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
14674 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
14675 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
14676 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
14677 * sysdeps/s390/s390-32/setjmp.S: ... here.
14678 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
14679 * sysdeps/s390/s390-32/configure.in: ... here.
14680 * sysdeps/s390/s390-32/elf/configure: Delete file.
14681 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
14682 * sysdeps/s390/s390-32/start.S: ... here.
14683
14684 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
14685 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
14686 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
14687 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
14688 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
14689 * sysdeps/s390/s390-64/setjmp.S: ... here.
14690 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
14691 * sysdeps/s390/s390-64/configure.in: ... here
14692 * sysdeps/s390/s390-64/elf/configure: Delete file.
14693 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
14694 * sysdeps/s390/s390-64/start.S: ... here.
14695 * sysdeps/s390/s390-64/elf/configure: Delete.
14696
14697 * configure.in: Remove support for elf directories in sysdeps.
14698
14699 * configure: Regenerated.
14700 * sysdeps/i386/configure: Regenerated.
14701 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14702 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14703 * sysdeps/s390/s390-32/configure: Regenerated.
14704 * sysdeps/s390/s390-64/configure: Regenerated.
14705 * sysdeps/sh/configure: Regenerated.
14706 * sysdeps/sparc/configure: Regenerated.
14707 * sysdeps/x86_64/configure: Regenerated.
14708
a3f61311
AS
147092012-03-26 Andreas Schwab <schwab@linux-m68k.org>
14710
c876e002
AS
14711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14712
a3f61311
AS
14713 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
14714 denormal result into account.
14715
ac4c54f0
RM
147162012-03-25 Roland McGrath <roland@hack.frob.com>
14717
14718 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
14719 Reported by Allan McRae <allan@archlinux.org>.
14720
6a9b9c02
JL
147212012-03-23 Jeff Law <law@redhat.com>
14722
14723 * nss/getnssent.c (__nss_getent): Fix typo.
14724
4c42a0c1
DM
147252012-03-23 David S. Miller <davem@davemloft.net>
14726
14727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14728
1532c7ac
L
147292012-03-23 H.J. Lu <hongjiu.lu@intel.com>
14730
14731 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
14732 to pad to uint64_t for each field.
14733 (dl_tls_index): Replace unsigned long with uint64_t.
14734
3ff42526
PP
147352012-03-23 Daniel Jacobowitz <dmj@google.com>
14736 Paul Pluzhnikov <ppluzhnikov@google.com>
14737
14738 [BZ #6528]
14739 * grp/Makefile (otherlibs): Don't set it.
14740 * inet/Makefile (otherlibs): Likewise.
14741 * login/Makefile (otherlibs): Likewise.
14742 * nscd/Makefile (otherlibs): Likewise.
14743 * posix/Makefile (otherlibs): Likewise.
14744 * pwd/Makefile (otherlibs): Likewise.
14745 * rt/Makefile (otherlibs): Likewise.
14746 * sunrpc/Makefile (otherlibs): Likewise.
14747 * nss/Makefile (otherlibs): Likewise.
14748 Add libnss_files to routines and static-only-routines.
14749 ($(objpfx)getent): Remove rule.
14750 * resolv/Makefile: Add libnss_dns and libresolv to routines and
14751 static-only-routines.
14752
7c69cd14
JM
147532012-03-22 Joseph Myers <joseph@codesourcery.com>
14754
14755 [BZ #13892]
14756 * math/s_cexp.c: Include <float.h>.
14757 (__cexp): Handle exp result overflowing not necessarily
14758 overflowing both real and imaginary parts of result.
14759 * math/s_cexpf.c: Likewise.
14760 * math/s_cexpl.c: Likewise.
14761 * math/libm-test.inc (cexp_test): Add more tests.
14762 * sysdeps/i386/fpu/libm-test-ulps: Update.
14763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14764
81b035fe
L
147652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14766
14767 * include/link.h (ELFW): New macro.
14768 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
14769 Replace ELF64_R_TYPE with ELFW(R_TYPE).
14770
1da7940c
L
147712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14772
14773 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
14774 with uint64_t.
14775
b749dbb9
L
147762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14777
14778 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
14779 declaration.
14780 (struct La_x32_retval): Likewise.
14781
2ff87f3f
L
147822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
14783
14784 * sysdeps/x86_64/preconfigure.in: New file.
14785 * sysdeps/x86_64/preconfigure: New generated file.
14786
c0df8e69
JM
147872012-03-22 Joseph Myers <joseph@codesourcery.com>
14788
48e44791
JM
14789 [BZ #13824]
14790 * math/e_exp2l.c: Include <float.h>.
14791 (__ieee754_exp2l): Handle overflow and underflow cases
14792 separately. Only pass fractional part of argument to
14793 __ieee754_expl.
14794 * math/libm-test.inc (exp2_test): Add more tests.
14795
c0df8e69
JM
14796 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
14797 negating x to take absolute value.
14798 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14799 Likewise.
14800 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14801 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14802 Likewise.
14803 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
14804 computing low part if x was negated.
14805 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14806
c8e43ba7
L
148072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14808
14809 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
14810 la_x32_gnu_pltexit.
14811 (pltexit): Cast int_retval to ptrdiff_t.
14812 * elf/tst-auditmod3b.c: Likewise.
14813 * elf/tst-auditmod4b.c: Likewise.
14814 * elf/tst-auditmod5b.c: Likewise.
14815 * elf/tst-auditmod6b.c: Likewise.
14816 * elf/tst-auditmod6c.c: Likewise.
14817 * elf/tst-auditmod7b.c: Likewise.
14818
14819 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
14820 and x32_gnu_pltexit.
14821
14822 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
14823 __ELF_NATIVE_CLASS.
14824 (La_x32_regs): New macro.
14825 (La_x32_retval): Likewise.
14826 (la_x32_gnu_pltenter): New function prototype.
14827 (la_x32_gnu_pltexit): Likewise.
14828
7998fa78
AS
148292012-03-21 Andreas Schwab <schwab@linux-m68k.org>
14830
dcb33988
AS
14831 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
14832 exponent.
14833
233fc563
AS
14834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14835
7998fa78
AS
14836 * configure.in (libc_cv_cc_nofma): Check for option to disable
14837 generation of FMA instructions.
14838 * configure: Regenerate.
14839 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
14840 * sysdeps/ieee754/dbl-64/Makefile: New file.
14841 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14842 Remove brandred-fma4.
14843 (CFLAGS-brandred-fma4.c): Remove.
14844 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
14845 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
14846 define.
14847 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
14848 define.
14849
8e95c99a
L
148502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14851
14852 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14853 LLONG_MAX != LONG_MAX.
14854 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14855 (_fitoa_word): Likewise.
14856 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
14857 LLONG_MAX != LONG_MAX.
14858 * stdio-common/_itowa.h: Include <_itoa.h>.
14859 (_itowa_word): Use _ITOA_WORD_TYPE on value.
14860 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
14861 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
14862 only if not defined.
14863 (_ITOA_WORD_TYPE): Likewise.
14864 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14865 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
14866
6f4db457
DM
148672012-03-21 David S. Miller <davem@davemloft.net>
14868
14869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14870
7785fe5a
L
148712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
14872
14873 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
14874 of x86_64 when setting libc_cv_slibdir, libdir and
14875 libc_cv_localedir.
14876 * sysdeps/unix/sysv/linux/configure: Regenerated.
14877
4535cd55
JM
148782012-03-21 Joseph Myers <joseph@codesourcery.com>
14879
14880 * manual/lang.texi (Old Varargs): Remove section.
14881 (How Variadic): Update menu.
14882 (va_start): Do not mention varargs.h.
14883
17228132
TS
148842012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14885 Joseph Myers <joseph@codesourcery.com>
14886
14887 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14888 link test.
14889 * configure: Regenerated.
14890
8149f976
TS
148912012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14892
05f3d1f6
UD
14893 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14894 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14895 conformtest.pl
8149f976 14896
1a4ac776
JM
148972012-03-21 Joseph Myers <joseph@codesourcery.com>
14898
be22ce65
JM
14899 * NOTES: Remove.
14900 * Makefile (files-for-dist): Remove NOTES.
14901 (NOTES): Remove rule.
14902 * README: Don't refer to NOTES.
14903 * manual/creature.texi: Don't include macros.texi.
14904 * manual/intro.texi (creature.texi): Remove comment referring to
14905 NOTES.
14906
40b601fb
JM
14907 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14908 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14909 * configure: Regenerated.
14910 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14911 LIBC_TRY_CC_OPTION.
14912 (libc_cv_as_i686): Likewise.
14913 (libc_cv_cc_avx): Likewise.
14914 (libc_cv_cc_sse2avx): Likewise.
14915 (libc_cv_cc_fma4): Likewise.
14916 (libc_cv_cc_novzeroupper): Likewise.
14917 * sysdeps/i386/configure: Regenerated.
14918
1a4ac776
JM
14919 [BZ #13883]
14920 * sysdeps/i386/fpu/s_cexp.S: Remove.
14921 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14922 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14923 * math/libm-test.inc (cexp_test): Add more tests.
14924 * sysdeps/i386/fpu/libm-test-ulps: Update.
14925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14926
a458e7fe
AM
149272012-03-21 Allan McRae <allan@archlinux.org>
14928
14929 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14930
0cb7efc5
JM
149312012-03-21 Joseph Myers <joseph@codesourcery.com>
14932
14933 [BZ #13871]
14934 * math/w_exp2.c: Do not include <float.h>.
14935 (o_threshold, u_threshold): Remove.
14936 (__exp2): Calculate result before checking finiteness and calling
14937 __kernel_standard.
14938 * math/w_exp2f.c: Likewise.
14939 * math/w_exp2l.c: Likewise.
14940 * math/libm-test.inc (exp2_test): Require overflow exception for
14941 1e6 input.
2460d3aa
JM
14942
14943 [BZ #3866]
14944 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14945 range of signed 64-bit integers before using fistpll. Remove
14946 checks for whether integers fit in mantissa bits.
14947 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14948 the range of signed 32-bit integers before using fistpl. Remove
14949 checks for whether integers fit in mantissa bits.
14950 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14951 (__ieee754_powl): Test for y outside the range of signed 64-bit
14952 integers before using fistpll. Reduce 64-bit values to 63-bit
14953 ones as needed.
14954 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14955 divide-by-zero is raised for zero to large negative powers.
14956 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14957 (__ieee754_powl): Test for y outside the range of signed 64-bit
14958 integers before using fistpll. Reduce 64-bit values to 63-bit
14959 ones as needed.
14960 * math/libm-test.inc (pow_test): Add more tests.
14961
eb96ffb0
L
149622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14963
14964 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14965 <stdio-common/_itoa.h>.
14966 * debug/segfault.c: Likewise.
14967 * elf/dl-cache.c: Likewise.
14968 * elf/dl-minimal.c: Likewise.
14969 * elf/dl-misc.c: Likewise.
14970 * elf/dl-sysdep.c: Likewise.
14971 * elf/dl-version.c: Likewise.
14972 * elf/rtld.c: Likewise.
14973 * hurd/hurdsock.c: Likewise.
14974 * hurd/lookup-retry.c: Likewise.
14975 * malloc/malloc.c: Likewise.
14976 * malloc/mtrace.c: Likewise.
14977 * nscd/nscd_getgr_r.c: Likewise.
14978 * nscd/nscd_getpw_r.c: Likewise.
14979 * nscd/nscd_getserv_r.c: Likewise.
14980 * posix/getopt_init.c: Likewise.
14981 * posix/wordexp.c: Likewise.
14982 * stdio-common/_itoa.c: Likewise.
14983 * stdio-common/printf_fphex.c: Likewise.
14984 * stdio-common/vfprintf.c: Likewise.
14985 * string/_strerror.c: Likewise.
14986 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14987 * sysdeps/i386/i686/hp-timing.h: Likewise.
14988 * sysdeps/mach/_strerror.c: Likewise.
14989 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14990 * sysdeps/mach/hurd/sethostid.c: Likewise.
14991 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14992 * sysdeps/mach/xpg-strerror.c: Likewise.
14993 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14994 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14995 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14996 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14997 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14998 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14999 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15000 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15001 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
15002 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
15003 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
15004 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15005 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
15006 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15007 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15008 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
15009 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
15010 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
15011 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15012 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15013 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
15014
15015 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
15016
15017 * stdio-common/_itoa.h: Moved to ...
15018 * sysdeps/generic/_itoa.h: Here.
15019
15020 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
15021
15022 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
15023 instead of "_itoa.h" and "_itowa.h".
15024 * stdio-common/vfprintf.: Likewise.
15025
d1af992d
L
150262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15027
15028 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
15029 <bits/wordsize.h>.
15030 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
15031 (__signbit): Likwise.
15032 (llrintf): Likwise.
15033 (llrint): Likwise.
15034
114883e0
L
150352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
15036
15037 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
15038 __WORDSIZE != 64.
15039
c135cc1b
JM
150402012-03-20 Joseph Myers <joseph@codesourcery.com>
15041
15042 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
15043 OVERFLOW_EXCEPTION_OK.
15044 * math/libm-test.inc ("Philosophy"): Update comment about
15045 exception testing.
15046 (OVERFLOW_EXCEPTION): Define.
15047 (OVERFLOW_EXCEPTION_OK): Likewise.
15048 (INVALID_EXCEPTION_OK): Renumber.
15049 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15050 (IGNORE_ZERO_INF_SIGN): Likewise.
15051 (test_exceptions): Handle FE_OVERFLOW.
15052 (exp10_test): Expect overflow exceptions.
15053 (exp2_test): Likewise.
15054 (expm1_test): Likewise.
15055 (nextafter_test): Likewise.
15056 (pow_test): Likewise.
15057 (scalbn_test): Likewise.
15058 (scalbln_test): Likewise.
15059
95443d88
L
150602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15061
15062 * sysdeps/x86_64/bits/atomic.h
15063 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
15064 64bit integer.
15065 (atomic_exchange_acq): Likewise.
15066 (__arch_exchange_and_add_body): Likewise.
15067 (__arch_add_body): Likewise.
15068 (atomic_add_negative): Likewise.
15069 (atomic_add_zero): Likewise.
15070
490df6c4
L
150712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15072
c2722551 15073 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
15074 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
15075
5e52b189
L
150762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15077
15078 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
15079 Check __x86_64__ instead of __WORDSIZE.
15080
a9879d4c
L
150812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15082
15083 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
15084
5df98260
DM
150852012-03-19 David S. Miller <davem@davemloft.net>
15086
e1497744
DM
15087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15088
5df98260
DM
15089 * sysdeps/sparc/fpu/fenv_private.h: New file.
15090 * sysdeps/sparc/fpu/math_private.h: Use it.
15091 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
15092 Remove.
15093 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
15094 (libc_feholdexcept_setroundl): Remove.
15095 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
15096 Remove.
15097 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
15098 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
15099
b4c35121
L
151002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15101
15102 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
15103 int64_t instead of long int.
15104 (INSERT_WORDS64): Likwise.
15105
56965fd7
L
151062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
15107
15108 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
15109 _Unwind_GetCFA return to _Unwind_Ptr first.
15110
83d1aec8
JM
151112012-03-19 Joseph Myers <joseph@codesourcery.com>
15112
1897ad44
JM
15113 [BZ #13629]
15114 * math/s_clog.c: Include <float.h>.
15115 (__clog): Scale large or subnormal inputs.
15116 * math/s_clogf.c: Likewise.
15117 * math/s_clogl.c: Likewise.
15118 * math/s_clog10.c: Include <float.h>.
15119 (M_LOG10_2): Define.
15120 (__clog10): Scale large or subnormal inputs.
15121 * math/s_clog10f.c: Likewise.
15122 * math/s_clog10l.c: Likewise.
15123 * math/libm-test.inc (clog_test): Add more tests.
15124 (clog10_test): Likewise.
15125 * sysdeps/i386/fpu/libm-test-ulps: Update.
15126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15127
7726d6a9
JM
15128 [BZ #11451]
15129 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
15130 x and y.
15131 * math/libm-test.inc (atan2_test): Add another test.
15132
83d1aec8
JM
15133 * Makerules (common-objdir-compile): Remove.
15134 * sysdeps/unix/Makefile (config-generated): Do not add
15135 $(unix-generated) to variable.
15136 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
15137 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
15138 Remove rule.
15139 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
15140 Likewise.
15141 [generic bits/local_lim.h] (before-compile): Do not append to
15142 variable.
15143 [generic bits/local_lim.h] (common-generated): Likewise.
15144 [generic sys/param.h] (before-compile): Do not append to variable.
15145 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
15146 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
15147 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
15148 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
15149 include.
15150 [generic sys/param.h] (sys/param.h-includes): Remove variable.
15151 [generic sys/param.h] (sys/param.h-includes): Remove rule.
15152 [generic sys/param.h] ($(addprefix
15153 $(common-objpfx),$(sys/param.h-includes))): Likewise.
15154 [generic sys/param.h] (common-generated): Do not append to
15155 variable.
15156 [generic sys/param.h] (sysdep_headers): Likewise.
15157 [generic bits/errno.h] (before-compile): Do not append to
15158 variable.
15159 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
15160 rule.
15161 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
15162 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
15163 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
15164 [generic bits/errno.h] (common-generated): Do not append to
15165 variable.
15166 [generic bits/ioctls.h] (before-compile): Do not append to
15167 variable.
15168 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
15169 rule.
15170 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
15171 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
15172 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
15173 rule.
15174 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
15175 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
15176 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
15177 [generic bits/ioctls.h] (common-generated): Do not append to
15178 variable.
15179 [generic sys/syscall.h] (syscall.h): Remove variable.
15180 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
15181 rule.
15182 [generic sys/syscall.h] (before-compile): Do not append to
15183 variable.
15184 [generic sys/syscall.h] (common-generated): Likewise.
15185 * sysdeps/unix/errnos-tmpl.c: Remove file.
15186 * sysdeps/unix/errnos.awk: Likewise.
15187 * sysdeps/unix/ioctls-tmpl.c: Likewise.
15188 * sysdeps/unix/ioctls.awk: Likewise.
15189 * sysdeps/unix/mk-local_lim.c: Likewise.
15190 * sysdeps/unix/snarf-ioctls: Likewise.
15191
4851a949
RH
151922012-03-19 Richard Henderson <rth@twiddle.net>
15193
bd37f2ee
RH
15194 * sysdeps/i386/fpu/fenv_private.h: New file.
15195 * sysdeps/i386/fpu/math_private.h: Use it.
15196 (math_opt_barrier, math_force_eval): Remove.
15197 (libc_feholdexcept_setround_53bit): Remove.
15198 (libc_feupdateenv_53bit): Remove.
15199 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15200 (math_opt_barrier, math_force_eval): Remove.
15201 (libc_feholdexcept): Remove.
15202 (libc_feholdexcept_setround): Remove.
15203 (libc_fetestexcept, libc_fesetenv): Remove.
15204 (libc_feupdateenv_test): Remove.
15205 (libc_feupdateenv, libc_feholdsetround): Remove.
15206 (libc_feresetround): Remove.
15207
d0adc922
RH
15208 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
15209 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15210
0fe0f1f8
RH
15211 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
15212 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
15213 (libc_feupdateenv_testl): New.
15214 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
15215 (libc_feupdateenv_testf): New.
15216 (libc_feupdateenv): Use libc_feupdateenv_test.
15217 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
15218 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
15219
eb92c487
RH
15220 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
15221 (libc_feholdsetroundf, libc_feholdsetroundl): New.
15222 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15223 (libc_feresetround_noex): New.
15224 (libc_feresetround_noexf): New.
15225 (libc_feresetround_noexl): New.
15226 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
15227 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
15228 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
15229 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
15230 SET_RESTORE_ROUND.
15231 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15232 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
15233 (__cos): Likewise.
15234 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
15235 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15236 SET_RESTORE_ROUND_NOEX.
15237 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
15238 SET_RESTORE_ROUND_NOEXF.
15239 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
15240 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
15241 (libc_feholdsetroundf): New.
15242 (libc_feresetround, libc_feresetroundf): New.
15243
7d2e8012
RH
15244 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
15245 (libc_feholdexcept_setround_53bit): Convert from macro to function.
15246 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
15247
b4dabbb4
RH
15248 * sysdeps/generic/math_private.h: Include <fenv.h>.
15249 (default_libc_feholdexcept): New.
15250 (default_libc_feholdexcept_setround): New.
15251 (default_libc_fesetenv, default_libc_feupdateenv): New.
15252 (libc_feholdexcept): Only define if undefined.
15253 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
15254 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
15255 (libc_feholdexcept_setroundl): Likewise.
15256 (libc_feholdexcept_setround_53bit): Likewise.
15257 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
15258 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
15259 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
15260 (libc_feupdateenv_53bit): Likewise.
15261 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
15262 (libc_feholdexcept): Convert from macro to inline function.
15263 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
15264 (libc_fesetenv, libc_feupdateenv): Likewise.
15265
4851a949
RH
15266 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
15267 not previously defined.
15268 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
15269 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
15270 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
15271 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
15272 * sysdeps/ieee754/flt-32/math_private.h: New file.
15273 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
15274 math_private.h below SET_FLOAT_WORD.
15275 (__isnan, __isinf_ns, __finite): Remove.
15276 (__isnanf, __isinf_nsf, __finitef): Remove.
15277
e79d442e
AS
152782012-03-18 Andreas Schwab <schwab@linux-m68k.org>
15279
15280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15281
90b80344
DM
152822012-03-17 David S. Miller <davem@davemloft.net>
15283
15284 [BZ #6471]
15285 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
15286 for 2.16.
15287
edc21804
DM
152882012-03-16 David S. Miller <davem@davemloft.net>
15289
77e927af
DM
15290 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
15291 warnings.
15292
374976dd
DM
15293 [BZ #6471]
15294 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
15295 properly.
15296 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
15297 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
15298 sysdep_routines when subdir is sysvipc.
15299 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
15300 __getshmlba helper.
15301
edc21804
DM
15302 * sysdeps/sparc/fpu/libm-test/ulps: Update.
15303
473c3ef3
L
153042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15305
15306 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
15307 [__LP64__].
15308
eb0f39b6
L
153092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15310
15311 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
15312 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
15313 (__lround): Renamed to ...
15314 (__llround): This. Replace long int with long long int.
15315 Define lround functions as aliases of llround functions.
15316 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
15317
6b6cd74b
L
153182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15319
15320 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
15321 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
15322 adresses to uintptr_t. Replace "long int" and "unsigned long
15323 int" with "greg_t" on va_arg.
15324
f1a77b01
L
153252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15326
15327 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
15328 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
15329
15330 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
15331 Move e_machine check before EI_CLASS check. Handle x32
15332 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
15333 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
15334 SKIP_EM_IA_64 and include
15335 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
15336
15337 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
15338 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
15339 (add_system_dir): New macro.
15340
15341 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
15342 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
15343
11b90b9f
JM
153442012-03-16 Joseph Myers <joseph@codesourcery.com>
15345
c36e1d23
JM
15346 [BZ #2551]
15347 [BZ #2552]
15348 [BZ #2553]
15349 [BZ #2554]
15350 [BZ #2562]
15351 [BZ #2563]
15352 [BZ #2565]
15353 [BZ #2566]
15354 [BZ #2576]
15355 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
15356 (y0): Likewise.
15357 * math/w_j0f.c (j0f): Likewise.
15358 (y0f): Likewise.
15359 * math/w_j0l.c (__j0l): Likewise.
15360 (__y0l): Likewise.
15361 * math/w_j1.c (j1): Likewise.
15362 (y1): Likewise.
15363 * math/w_j1f.c (j1f): Likewise.
15364 (y1f): Likewise.
15365 * math/w_j1l.c (__j1l): Likewise.
15366 (__y1l): Likewise.
15367 * math/w_jn.c (jn): Likewise.
15368 (yn): Likewise.
15369 * math/w_jnf.c (jnf): Likewise.
15370 (ynf): Likewise.
15371 * math/w_jnl.c (__jnl): Likewise.
15372 (__ynl): Likewise.
15373 * math/libm-test.inc (j0_test): Add more tests.
15374 (j1_test): Likewise.
15375 (jn_test): Likewise. Add trailing semicolon to existing test.
15376 (y0_test): Likewise.
15377 (y1_test): Likewise.
15378 * sysdeps/i386/fpu/libm-test-ulps: Update.
15379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15380
11b90b9f
JM
15381 [BZ #13851]
15382 [BZ #13854]
15383 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15384 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
15385 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
15386 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
15387 (__tanl): Set errno for infinite argument.
15388 * sysdeps/i386/fpu/mptan.c: Remove.
15389 * sysdeps/i386/fpu/s_tan.S: Likewise.
15390 * sysdeps/i386/fpu/s_tanl.S: Likewise.
15391 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
15392 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
15393 * math/libm-test.inc (tan_test): Add more tests and enable more
15394 tests for double and long double.
15395 * sysdeps/i386/fpu/libm-test-ulps: Update.
15396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15397
6a1bd2a1
JK
153982012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
15399
15400 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
15401 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
15402
10a803e0
RM
154032012-03-16 Roland McGrath <roland@hack.frob.com>
15404
15405 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
15406 * configure.in: Use it for both main tree and add-ons.
15407 * configure: Regenerated.
15408
f196c7f7
L
154092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
15410
15411 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
15412
8848d99d
JM
154132012-03-16 Joseph Myers <joseph@codesourcery.com>
15414
96cbe7f4
JM
15415 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
15416 in comment.
15417
8848d99d
JM
15418 [BZ #13851]
15419 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
15420 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
15421 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
15422 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
15423 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
15424 infinite argument.
15425 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
15426 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
15427 != 0 for prec == 2.
15428 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
15429 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
15430 * sysdeps/i386/fpu/s_cosl.S: Likewise.
15431 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
15432 * sysdeps/i386/fpu/s_sinl.S: Likewise.
15433 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
15434 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
15435 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
15436 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
15437 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
15438 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
15439 * math/libm-test.inc (cos_test): Add more tests and enable more
15440 tests for long double.
15441 (sin_test): Likewise.
15442 (sincos_test): Likewise.
15443 * sysdeps/i386/fpu/libm-test-ulps: Update.
15444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15445
dd7f4703
DM
154462012-03-16 David S. Miller <davem@davemloft.net>
15447
15448 * sysdeps/sparc/fpu/math_private.h: New file.
15449
006f1daa
DM
154502012-03-15 David S. Miller <davem@davemloft.net>
15451
c0c83bc8
DM
15452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
15453 file.
e6a62e18 15454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
15455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
15456 file.
e6a62e18
DM
15457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
15458 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
15459 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
15460 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
15461 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
15462 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
15463 sysdep routines.
15464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15465
88cb87d9
DM
15466 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
15467 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
15468
006f1daa 15469 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
15470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
15471 sparc-ifunc.h
006f1daa 15472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
15473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
15474 Likewise.
15475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
15476 Likewise.
006f1daa
DM
15477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
15478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
15479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
15480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15481 Likewise.
006f1daa
DM
15482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
15484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
15486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
15487 Likewise.
15488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
15489 Likewise.
006f1daa
DM
15490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
15492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
15493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
15494 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15495 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15496 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
15497 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
15498 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15499 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
15501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
15502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
15503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
15504 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
15505 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
15506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
15507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
15508 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
15509 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
15510 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
15511 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
15512 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
15513 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
15514
11e0098e
AS
155152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15516
15517 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
15518 scaling.
15519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15520
e85b09d0
AJ
155212012-03-15 Andreas Jaeger <aj@suse.de>
15522
15523 [BZ #13852]
15524 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
15525 ieee754/flt-32 implementation for sin, cos and sincos.
15526 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
15527 * sysdeps/i386/fpu/s_cosf.S: Likewise.
15528 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
15529 * sysdeps/i386/fpu/s_sinf.S: Likewise.
15530 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
15531 ieee754/flt-32 implementation for tan.
15532
15533 * math/libm-test.inc (cos_test): Enable some large input tests for
15534 float as well
15535 (sin_test): Likewise.
15536 (sincos_test): Likewise.
15537 (tan_test): Add tests for large input.
15538
15539 * sysdeps/i386/fpu/libm-test-ulps: Update.
15540
81c64153
AJ
155412012-03-15 Andreas Jaeger <aj@suse.de>
15542
15543 [BZ #13658]
15544 * math/libm-test.inc (cos_test): Add more test cases.
15545 (sin_test): Likewise.
15546 (sincos_test): Likewise.
15547
7bbfa5c6
AJ
155482012-03-15 Andreas Jaeger <aj@suse.de>
15549
15550 [BZ #13837]
15551 * math/libm-test.inc (cos_test): Add a test case for large input
15552 value.
15553 (sin_test): Likewise.
15554 (sincos_test): Likewise.
15555
155562012-03-15 Andreas Jaeger <aj@suse.de>,
15557 Joseph Myers <joseph@codesourcery.com>
15558
15559 [BZ #13658]
0671f479 15560 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
15561 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
15562 * sysdeps/i386/fpu/branred.c: Likewise.
15563 * sysdeps/i386/fpu/dosincos.c: Likewise.
15564 * sysdeps/i386/fpu/mpa.c: Likewise.
15565 * sysdeps/i386/fpu/s_cos.S: Likewise.
15566 * sysdeps/i386/fpu/s_sin.S: Likewise.
15567 * sysdeps/i386/fpu/s_sincos.S: Likewise.
15568 * sysdeps/i386/fpu/sincos32.c: Likewise.
15569
15570 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
15571 Define.
15572 (libc_feupdateenv_53bit): Define.
15573 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
15574 Define.
15575 (libc_feupdateenv_53bit): Define.
15576
15577 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
15578 53 bit (without extend i386 double precision).
15579
15580 * math/libm-test.inc (sincos_test): Add tests for large input.
15581 (sin): Likewise.
15582 (cos): Likewise.
15583
15584 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15585
9cad04ea
AS
155862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
15587
15588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15589
f7062b9a
DM
155902012-03-15 David S. Miller <davem@davemloft.net>
15591
15592 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
15593 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
15594 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
15595 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
15596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
15597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
15598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
15599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
15600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
15601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
15602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
15603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
15604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
15605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
15606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
15607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
15608 file.
f7062b9a 15609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
15610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
15611 file.
f7062b9a 15612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
15613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
15614 file.
f7062b9a 15615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
15616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
15617 file.
f7062b9a
DM
15618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
15619 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
15620 fmin/fmax sysdep routines.
15621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
15622
7bd951ff
DM
156232012-03-14 David S. Miller <davem@davemloft.net>
15624
559398ab
DM
15625 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
15626 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
15627 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
15628 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
15629 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
15630 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
15631 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
15632 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
15633 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
15634 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
15635 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
15636 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
15637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
15638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
15639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
15640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
15641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
15642 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
15643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
15644 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
15645 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
15646 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
15647 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
15648 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
15649 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
15650 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
15651 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
15652 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15653 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
15654 routines.
15655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
15656 file.
559398ab 15657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
15658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
15659 file.
559398ab 15660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
15661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
15662 file.
559398ab 15663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
15664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
15665 file.
559398ab 15666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
15667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
15668 file.
559398ab 15669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
15670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
15671 file.
15672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
15673 file.
15674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
15675 file.
15676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
15677 file.
15678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
15679 New file.
15680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
15681 file.
15682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
15683 file.
559398ab 15684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
15685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
15686 file.
559398ab 15687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
15688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
15689 file.
559398ab 15690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
15691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
15692 file.
559398ab 15693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
15694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
15695 VIS3 routines.
559398ab
DM
15696
15697 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15698 New file.
15699
5a1c1e32
DM
15700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15701
eae47a36
DM
15702 * sysdeps/sparc/configure.in: New file.
15703 * sysdeps/sparc/configure: Generate.
15704 * configure.in (libc_cv_sparc_as_vis3): Substitute.
15705 * configure: Regenerate.
15706 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
15707 * config.make.in (have-as-vis3): New.
15708 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
15709 available use -Av9d instead of -Av9a.
15710 * sysdeps/sparc/sparc64/Makefile: Likewise.
15711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
15712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
15713 New file.
15714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
15715 file.
15716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
15717 New file.
15718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
15719 file.
eae47a36
DM
15720 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
15721 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
15722 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
15723 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
15724 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
15725
c0c83bc8
DM
15726 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
15727 fzeros/fnegs to load 0x80000000 into a float register instead of
15728 using the stack.
7bd951ff
DM
15729 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
15730
bd951ccb
JM
157312012-03-14 Joseph Myers <joseph@codesourcery.com>
15732
15733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15734 bits/syscall.h.
15735 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
15736 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
15737 ($(inst_includedir)/bits/syscall.h): Remove rule.
15738 ($(objpfx)bits/syscall.d): Include instead of
15739 $(objpfx)syscall-list.d.
15740 (generated): Change syscall-list.h and syscall-list.d to
15741 bits/syscall.h and bits/syscall.d.
15742
bb4e6db2
RM
157432012-03-14 Roland McGrath <roland@hack.frob.com>
15744
15745 [BZ #13846]
15746 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
15747
aa4a2ae1
JM
157482012-03-14 Joseph Myers <joseph@codesourcery.com>
15749
e456826d
JM
15750 [BZ #13841]
15751 * math/s_csqrt.c: Include <float.h>.
15752 (__csqrt): Scale large or subnormal inputs.
15753 * math/s_csqrtf.c: Likewise.
15754 * math/s_csqrtl.c: Likewise.
15755 * math/libm-test.inc (csqrt_test): Add more tests.
15756 * sysdeps/i386/fpu/libm-test-ulps: Update.
15757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15758
aa4a2ae1
JM
15759 [BZ #13840]
15760 * math/libm-test.inc (hypot_test): Add more tests.
15761
7c10fd35
DM
157622012-03-13 David S. Miller <davem@davemloft.net>
15763
15764 [BZ #13840]
15765 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
15766 double-precision for the calculation instead of scaling.
15767
f453b98b
JM
157682012-03-13 Joseph Myers <joseph@codesourcery.com>
15769
15770 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
15771 manipulate bits before adding and subtracting TWO52[sx].
15772 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
15773 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
15774 Likewise.
15775 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
15776
09a3453f
DM
157772012-03-13 David S. Miller <davem@davemloft.net>
15778
8e59da90
DM
15779 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
15780 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
15781 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
15782 rtld-global-offsets.h
15783 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15784
2a8ab7f2
DM
15785 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
15786 large parameters.
15787
10f62770
DM
15788 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
15789
5f0bdb18
DM
15790 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
15791 'err' in the ifdef scope in which it is actually used.
15792
09a3453f
DM
15793 * nss/nss_db/db-init.c: Include string.h
15794
b4b2eb5e
DM
157952012-03-12 David S. Miller <davem@davemloft.net>
15796
98bb2f1c
DM
15797 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15798 masking out of the most significant byte of random value used.
15799 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15800 Fix coding style in previous change.
15801
b4b2eb5e
DM
15802 * sysdeps/unix/sysv/linux/kernel-features.h
15803 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
15804 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
15805 expression.
15806 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
15807 later.
15808
6e226b09
DM
158092012-03-11 David S. Miller <davem@davemloft.net>
15810
a1bcbd40
DM
15811 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15812 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
15813 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
15814 for 'resultvar' otherwise things get truncated on 64-bit.
15815
cb9d6174
DM
15816 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15817 Fix masking out of the most significant byte of random value used.
15818
6e226b09
DM
15819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15820
058c132d
AS
158212012-03-10 Andreas Schwab <schwab@linux-m68k.org>
15822
15823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15824
2d2cd515
DM
158252012-03-09 David S. Miller <davem@davemloft.net>
15826
15827 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
15828 variables with appropriate CPP guards.
15829 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
15830 frame pointer, not the stack pointer. Correct layout comments. Fix test
15831 on resulting framesize and the management of the outregs buffer for pltexit.
15832 Preserve floating point return values across _dl_call_pltexit call.
15833 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
15834 framesize and the management of the outregs buffer for pltexit.
15835 Preserve floating point return values across _dl_call_pltexit
15836 call.
15837 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
15838 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
15839 (print_exit): Fix format string for return register value.
15840
9a07f9d0
JM
158412012-03-10 Joseph Myers <joseph@codesourcery.com>
15842
15843 * sunrpc/Makefile (others): Add rpcgen.
15844 ($(objpfx)rpcgen): Remove special build rule and dependency on
15845 libc.
15846 * sunrpc/rpcgen.c: New file.
15847
547b5e30
PE
158482012-03-09 Paul Eggert <eggert@cs.ucla.edu>
15849
c524201a
PE
15850 [BZ #13673]
15851 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
15852 * stdio-common/bug-vfprintf-nargs.c: Likewise.
15853 * sysdeps/i386/crti.S: Likewise.
15854 * sysdeps/i386/crtn.S: Likewise.
15855 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
15856 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
15857 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
15858 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
15859 * sysdeps/sh/crti.S: Likewise.
15860 * sysdeps/sh/crtn.S: Likewise.
15861 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15862
7b6235f2
PE
15863 [BZ #13673]
15864 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
15865 with URL.
15866 * locale/programs/locfile-kw.gperf: Likewise.
15867 * locale/programs/charmap-kw.h: Regenerated.
15868 * locale/programs/locfile-kw.h: Likewise.
15869
547b5e30
PE
15870 [BZ #13673]
15871 * intl/plural.y: Replace FSF snail mail address with URL.
15872 * intl/plural.c: Regenerated.
15873
5f0a5dae
RH
158742012-03-09 Richard Henderson <rth@twiddle.net>
15875
15876 * include/math_private.h: Remove file.
15877 * math/math_private.h: Move file ...
15878 * sysdeps/generic/math_private.h: ... here.
15879
b8c03620
RH
15880 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
15881 * sysdeps/powerpc/fpu/math_private.h: Likewise.
15882 * sysdeps/x86_64/fpu/math_private.h: Likewise.
15883
4e234f5d 15884 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
15885 and <math_private.h>.
15886 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15887 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15888 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15889 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15890 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15891 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15892 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15893 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15894 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15895 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15896 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15897 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15898 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15899 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15900 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15901 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15902 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15903 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15904 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15905 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15906 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15907 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15908 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15909 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15910 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15911 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15912 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15913 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15914 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15915 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15916 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15917 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15918 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15919 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15920 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15921 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15922 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15923 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15924 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15925 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15926 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15927 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15928 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15929 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15930 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15931 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15932 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15933 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15934 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15935 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15936 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15937 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15938 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15939 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15940 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15941 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15942 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15943 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15944 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15945 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15946 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15947 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15948 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15949 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15950 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15951 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15952 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15953 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15954 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15955 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15956 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15957 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15958 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15959 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15960 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15961 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15962 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15963 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15964 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15965 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15966 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15967 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15968 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15969 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15970 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15971 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15972 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15973 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15974 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15975 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15976 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15977 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15978 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15979 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15980 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15981 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15982 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15983 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15984 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15985 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15986 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15987 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15988 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15989 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15990 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15991 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15992 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15993 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15994 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15995 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15996 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15997 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15998 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15999 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16000 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
16001 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16002 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16003 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16004 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16005 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16006 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16007 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16008 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16009 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
16010 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16011 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16012 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16013 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
16014 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16015 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
16016 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
16017 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16018 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16019 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
16020 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
16021 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16022 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
16023 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16024 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
16025 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
16026 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16027 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16028 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16029 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
16030 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
16031 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16032 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16033 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16034 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
16035 * sysdeps/ieee754/k_standard.c: Likewise.
16036 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16037 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16038 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16039 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16040 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16041 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16042 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16043 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16044 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16045 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16046 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16047 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16048 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16049 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16050 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16051 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16052 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16053 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16054 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16055 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16056 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16057 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16058 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16059 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16060 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16061 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16062 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16063 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16064 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16065 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16066 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16067 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16068 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16069 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16070 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16071 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16072 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16073 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
16074 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16075 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16076 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16077 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16078 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16079 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16080 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16081 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16082 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16083 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16084 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16085 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16086 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16087 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16088 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16089 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16090 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16091 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16092 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
16093 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16094 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16095 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16096 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16097 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16098 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16099 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16100 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16101 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16102 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16103 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16104 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16105 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16106 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16107 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16108 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16109 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16110 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16111 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16112 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
16113 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16114 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16115 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16116 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16117 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16118 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16119 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16120 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
16121 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16122 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16123 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16124 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16125 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16126 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
16127 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16128 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16129 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16130 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16131 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16132 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
16133 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16134 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16135 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
16136 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16137 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16138 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16139 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16140 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
16141 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16142 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16143 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16144 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
16145 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16146 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16147 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16148 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16149 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16150 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16151 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16152 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16153 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16154 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16155 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16156 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16157 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16158 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16159 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16160 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16161 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
16162 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16163 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16164 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16165 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16166 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16167 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16168 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16169 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16170 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16171 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16172 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
16173 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16174 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16175 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
16176 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
16177 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16178 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
16179 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
16180 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16181 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16182 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16183 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16184 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16185 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
16186 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16187 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16188 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16189 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16190 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
16191 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
16192 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16193 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16194 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16195 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16196 * sysdeps/ieee754/s_lib_version.c: Likewise.
16197 * sysdeps/ieee754/s_matherr.c: Likewise.
16198 * sysdeps/ieee754/s_signgam.c: Likewise.
16199 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16200 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16201 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
16202 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
16203 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
16204 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16205 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
16206 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
16207 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
16208 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
16209 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16210 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
16211 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16212 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16213 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
16214 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16215 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16216 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16217 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16218 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16219 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 16220
1991fa03
JM
162212012-03-09 Joseph Myers <joseph@codesourcery.com>
16222
16223 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
16224 * sunrpc/rpc_main.c: Likewise.
16225 * sunrpc/rpc_svcout.c: Likewise.
16226
60d6f5a6
DM
162272012-03-09 David S. Miller <davem@davemloft.net>
16228
16229 * include/math_private.h: New file.
16230
4962050e
JM
162312012-03-09 Joseph Myers <joseph@codesourcery.com>
16232
02a6f887
JM
16233 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
16234 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
16235 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16236 from <bits/socket_type.h>.
16237 (enum __socket_type): Don't define here.
16238 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
16239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16240 bits/socket_type.h.
16241
c6e013c1
JM
16242 [BZ #13566]
16243 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
16244 checking __USE_GNU.
16245
4962050e
JM
16246 * Makerules ($(inst_includedir)/%.h): New rule.
16247 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
16248 (install-others): Remove variable setting.
16249 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
16250
38842f45
RH
162512012-03-08 Richard Henderson <rth@twiddle.net>
16252
67bb6da6
RH
16253 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
16254 from macro to inline function; merge with the
16255 !__LIBC_INTERNAL_MATH_INLINES version.
16256 (__ieee754_sqrtf): Likewise.
16257
15194b4b
RH
16258 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
16259 to inline function.
16260 (__rintf, __floor, __floorf): Likewise.
16261
64e21ede
RH
16262 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
16263 macro to inline function.
16264 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
16265
38842f45
RH
16266 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
16267 not <math/math_private.h>.
16268
c64bf5fe
DM
162692012-03-08 David S. Miller <davem@davemloft.net>
16270
16271 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
16272 copyright year.
16273 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16274
82d86f28
TS
162752012-03-08 Thomas Schwinge <thomas@codesourcery.com>
16276
16277 * resolv/gai_misc.c (handle_requests): Fix struct timespec
16278 normalization.
16279 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
16280 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16281
aea5d727
UD
162822012-03-08 Ulrich Drepper <drepper@gmail.com>
16283
16284 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
16285 be defined individually, they must be defined as a block. Define
16286 S for printing a string instead of hidint the different by using a
16287 macro for adding the 'l'.
16288 * stdio-common/tst-fphex-wide.c: Adjust.
16289
70bca0a3
MP
162902012-03-07 Marek Polacek <polacek@redhat.com>
16291
16292 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
16293
65b81130
MP
162942012-03-08 Marek Polacek <polacek@redhat.com>
16295
16296 [BZ #13806]
16297 * stdio-common/Makefile (tests): Add tst-fphex-wide.
16298 * stdio-common/tst-fphex.c: Define a few macros to make the
16299 test reusable. Use them.
16300 * stdio-common/tst-fphex-wide.c: New file.
16301
07037eeb
JM
163022012-03-08 Joseph Myers <joseph@codesourcery.com>
16303
a7a93d50
JM
16304 [BZ #6911]
16305 * manual/macros.texi (gnusystems): New macro.
16306 (nongnusystems): Likewise.
16307 (gnulinuxhurdsystems): Likewise.
16308 (gnuhurdsystems): Likewise..
16309 (gnulinuxsystems): Likewise.
16310 * manual/charset.texi: Use new macros or @theglibc{} to refer to
16311 variants of the GNU system, not "GNU system".
16312 * manual/conf.texi: Likewise.
16313 * manual/errno.texi: Likewise. Update example of errno macro
16314 expansion.
16315 * manual/filesys.texi: Likewise.
16316 (getumask): Document as specific to GNU/Hurd.
16317 * manual/install.texi: Likewise. Reword some references to
16318 GNU/Linux.
16319 * manual/intro.texi: Likewise.
16320 * manual/io.texi: Likewise.
16321 (File Name Portability): Detail which constraints are inapplicable
16322 to all GNU systems and which are only inapplicable to GNU/Hurd.
16323 * manual/job.texi: Likewise.
16324 * manual/llio.texi: Likewise.
16325 (O_NOCTTY): Document as present on GNU/Linux.
16326 * manual/maint.texi: Likewise.
16327 * manual/memory.texi: Likewise.
16328 * manual/pattern.texi: Likewise.
16329 * manual/pipe.texi: Likewise.
16330 * manual/process.texi: Likewise.
16331 * manual/resource.texi: Likewise.
16332 (RUSAGE_CHILDREN): Remove statement about specifying a particular
16333 child on GNU/Hurd.
16334 * manual/setjmp.texi: Likewise.
16335 * manual/signal.texi: Likewise.
16336 * manual/startup.texi: Likewise.
16337 * manual/stdio.texi: Likewise.
16338 * manual/terminal.texi: Likewise.
16339 (ONLCR): Document as POSIX.
16340 (OXTABS): Document availability on GNU/Linux as XTABS.
16341 (ONOEOT): Document availability separately from other bits.
16342 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
16343 * manual/time.texi: Likewise.
16344 * manual/users.texi: Likewise.
16345 * INSTALL: Regenerated.
16346 * sysdeps/gnu/errlist.c: Regenerated.
16347
07037eeb
JM
16348 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
16349 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
16350 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
16351 puts.
16352 * configure: Regenerated.
16353
d1d3431a
JM
163542012-03-07 Joseph Myers <joseph@codesourcery.com>
16355
af6a1e37
JM
16356 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
16357 default includes instead of AC_HEADER_CHECK.
16358 * sysdeps/i386/configure: Regenerated.
16359
d1d3431a
JM
16360 [BZ #10716]
16361 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
16362 * math/s_cacoshf.c (__cacoshf): Likewise.
16363 * math/s_cacoshl.c (__cacoshl): Likewise.
16364 * math/s_casinh.c (__casinh): Set signs of result from argument.
16365 * math/s_casinhf.c (__casinhf): Likewise.
16366 * math/s_casinhl.c (__casinhl): Likewise.
16367 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
16368 (casinh_test): Add more tests.
16369 * sysdeps/i386/fpu/libm-test-ulps: Update.
16370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16371
482ff4da
UD
163722012-03-07 Ulrich Drepper <drepper@gmail.com>
16373
872fda05
UD
16374 * po/zh_TW.po: Update from translation team.
16375
a4300c7a
UD
16376 * login/Makefile (distribute): Remove variable.
16377 * catgets/Makefile: Likewise.
16378 * mach/Makefile: Likewise.
16379 * malloc/Makefile: Likewise.
16380 * misc/Makefile: Likewise.
16381 * iconv/Makefile: Likewise.
16382 * nscd/Makefile: Likewise.
16383 * hurd/Makefile: Likewise.
16384 * manual/Makefile: Likewise.
16385 * locale/Makefile: Likewise.
16386 * intl/Makefile: Likewise.
16387 * conform/Makefile: Likewise.
16388 * nss/Makefile: Likewise.
16389 * time/Makefile: Likewise.
16390 * soft-fp/Makefile: Likewise.
16391 * dirent/Makefile: Likewise.
16392 * gmon/Makefile: Likewise.
16393 * po/Makefile: Likewise.
16394 * rt/Makefile: Likewise.
16395 * socket/Makefile: Likewise.
16396 * math/Makefile: Likewise.
16397 * signal/Makefile: Likewise.
16398 * debug/Makefile: Likewise.
16399 * elf/Makefile: Likewise.
16400 * timezone/Makefile: Likewise.
16401 * stdlib/Makefile: Likewise.
16402 * iconvdata/Makefile: Likewise.
16403 * sunrpc/Makefile: Likewise.
16404 * io/Makefile: Likewise.
16405 * argp/Makefile: Likewise.
16406 * inet/Makefile: Likewise.
16407 * hesiod/Makefile: Likewise.
16408 * grp/Makefile: Likewise.
16409 * csu/Makefile: Likewise.
16410 * wctype/Makefile: Likewise.
16411 * crypt/Makefile: Likewise.
16412 * libio/Makefile: Likewise.
16413 * string/Makefile: Likewise.
16414 * nis/Makefile: Likewise.
16415 * resolv/Makefile: Likewise.
16416 * stdio-common/Makefile: Likewise.
16417 * wcsmbs/Makefile: Likewise.
16418 * dlfcn/Makefile: Likewise.
16419 * posix/Makefile: Likewise.
16420
3b7c4e74 16421 [BZ #6959]
482ff4da
UD
16422 * timezone/Makefile: Don't install timezone files, just the programs
16423 and scripts.
16424
f72ed77d
UD
164252012-03-06 Ulrich Drepper <drepper@gmail.com>
16426
a000466f
UD
16427 * nss/databases.def: Add missing gshadow entry.
16428
f72ed77d
UD
16429 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
16430
a53b7a4e
MP
164312012-03-06 Marek Polacek <polacek@redhat.com>
16432
16433 [BZ #13726]
16434 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
16435 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16436 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
16437 * stdio-common/tst-long-dbl-fphex.c: New file.
16438
e9258400
DM
164392012-03-06 David S. Miller <davem@davemloft.net>
16440
16441 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16442 (set_obp_int): New function.
16443 (get_obp_int): New function.
16444 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
16445 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
16446 Avoid unused variable warnings on 'val' and use builtin_expect.
16447 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
16448 __builtin_expect.
e9258400
DM
16449 (INLINE_CLONE_SYSCALL): Likewise.
16450
3bd2c723
DM
164512012-03-05 David S. Miller <davem@davemloft.net>
16452
16453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16454
bbb78d03
AS
164552012-03-05 Andreas Schwab <schwab@linux-m68k.org>
16456
884c5db4
AS
16457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16458
bbb78d03
AS
16459 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
16460 only for |x| >= 40.
16461 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16462
1c9f702a 164632012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
16464
16465 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
16466 Replace gettimeofday with __vdso_gettimeofday.
16467
7be16f82
RM
16468 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16469 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
16470 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
16471
16472 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
16473 time with __vdso_time.
16474
ed58a00f
JM
164752012-03-05 Joseph Myers <joseph@codesourcery.com>
16476
16477 * manual/lang.texi (size_t): Note types to which size_t may be
16478 equivalent with the GNU C Library, but do not describe when
16479 differences between them are significant.
16480
30ee4ced
AJ
164812012-03-05 Andreas Jaeger <aj@suse.de>
16482
16483 * sysdeps/i386/fpu/libm-test-ulps: Update.
16484
b7cd39e8
JM
164852012-03-05 Joseph Myers <joseph@codesourcery.com>
16486
16487 [BZ #3976]
16488 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
16489 (__ieee754_pow): Save and restore rounding mode and use
16490 round-to-nearest for main computations.
16491 * math/libm-test.inc (pow_test_tonearest): New function.
16492 (pow_test_towardzero): Likewise.
16493 (pow_test_downward): Likewise.
16494 (pow_test_upward): Likewise.
16495 (main): Call the new functions.
16496 * sysdeps/i386/fpu/libm-test-ulps: Update.
16497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
16498
16499 [BZ #3976]
16500 * math/libm-test.inc (cosh_test_tonearest): New function.
16501 (cosh_test_towardzero): Likewise.
16502 (cosh_test_downward): Likewise.
16503 (cosh_test_upward): Likewise.
16504 (sinh_test_tonearest): Likewise.
16505 (sinh_test_towardzero): Likewise.
16506 (sinh_test_downward): Likewise.
16507 (sinh_test_upward): Likewise.
16508 (main): Call the new functions.
16509 * sysdeps/i386/fpu/libm-test-ulps: Update.
16510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16511
6c6a98c9
TV
165122012-03-05 Tom de Vries <tom@codesourcery.com>
16513
16514 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
16515 default stack guard is set in last bytes.
16516 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
16517
21bb2d2e 165182012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 16519
21bb2d2e 16520 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 16521
21bb2d2e
AJ
16522 [BZ #13656]
16523 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
16524 possibly allocate from heap instead of stack.
16525 * stdio-common/bug-vfprintf-nargs.c: New file.
16526 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 16527
c6922934
AS
165282012-03-03 Andreas Schwab <schwab@linux-m68k.org>
16529
16530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16531
bc957d53
MP
165322012-03-03 Marek Polacek <polacek@redhat.com>
16533
16534 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16535 * math/math_private.h: Likewise.
16536 * stdlib/tst-strtod.c: Likewise.
16537 * sysdeps/i386/i486/bits/atomic.h: Likewise.
16538 * sysdeps/x86_64/bits/atomic.h: Likewise.
16539
6358490d
DM
165402012-03-02 David S. Miller <davem@davemloft.net>
16541
16542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
16543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
16544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
16545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
16546 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
16547 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
16548 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
16549 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
16550
01ae168d
RM
165512012-03-02 Roland McGrath <roland@hack.frob.com>
16552
d9a17c07
RM
16553 [BZ #13792]
16554 * manual/examples/README: New file, says the example source files
16555 can be used under GPL>=2.
16556 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
16557 line containing just "*/".
16558 * manual/examples/add.c: Add copyright header (GPL>=2).
16559 * manual/examples/argp-ex1.c: Likewise.
16560 * manual/examples/argp-ex2.c: Likewise.
16561 * manual/examples/argp-ex3.c: Likewise.
16562 * manual/examples/argp-ex4.c: Likewise.
16563 * manual/examples/atexit.c: Likewise.
16564 * manual/examples/db.c: Likewise.
16565 * manual/examples/dir.c: Likewise.
16566 * manual/examples/dir2.c: Likewise.
16567 * manual/examples/execinfo.c: Likewise.
16568 * manual/examples/filecli.c: Likewise.
16569 * manual/examples/filesrv.c: Likewise.
16570 * manual/examples/fmtmsgexpl.c: Likewise.
16571 * manual/examples/genpass.c: Likewise.
16572 * manual/examples/inetcli.c: Likewise.
16573 * manual/examples/inetsrv.c: Likewise.
16574 * manual/examples/isockad.c: Likewise.
16575 * manual/examples/longopt.c: Likewise.
16576 * manual/examples/memopen.c: Likewise.
16577 * manual/examples/memstrm.c: Likewise.
16578 * manual/examples/mkfsock.c: Likewise.
16579 * manual/examples/mkisock.c: Likewise.
16580 * manual/examples/mygetpass.c: Likewise.
16581 * manual/examples/pipe.c: Likewise.
16582 * manual/examples/popen.c: Likewise.
16583 * manual/examples/rprintf.c: Likewise.
16584 * manual/examples/search.c: Likewise.
16585 * manual/examples/select.c: Likewise.
16586 * manual/examples/setjmp.c: Likewise.
16587 * manual/examples/sigh1.c: Likewise.
16588 * manual/examples/sigusr.c: Likewise.
16589 * manual/examples/stpcpy.c: Likewise.
16590 * manual/examples/strdupa.c: Likewise.
16591 * manual/examples/strftim.c: Likewise.
16592 * manual/examples/strncat.c: Likewise.
16593 * manual/examples/subopt.c: Likewise.
16594 * manual/examples/swapcontext.c: Likewise.
16595 * manual/examples/termios.c: Likewise.
16596 * manual/examples/testopt.c: Likewise.
16597 * manual/examples/testpass.c: Likewise.
16598 * manual/examples/timeval_subtract.c: Likewise.
16599
01ae168d
RM
16600 [BZ #13792]
16601 * manual/time.texi (Elapsed Time): Move timeval_subtract example
16602 function to ...
16603 * manual/timeval_subtract.c.texi: ... here, new file.
16604
49efa33d
DM
166052012-03-02 David S. Miller <davem@davemloft.net>
16606
16607 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
16608
28afd92d
JM
166092012-03-02 Joseph Myers <joseph@codesourcery.com>
16610
804360ed
JM
16611 [BZ #3976]
16612 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
16613 (__sin): Save and restore rounding mode and use round-to-nearest
16614 for all computations.
16615 (__cos): Save and restore rounding mode and use round-to-nearest
16616 for all computations.
16617 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
16618 <fenv.h>.
16619 (tan): Save and restore rounding mode and use round-to-nearest for
16620 all computations.
16621 * math/libm-test.inc (cos_test_tonearest): New function.
16622 (cos_test_towardzero): Likewise.
16623 (cos_test_downward): Likewise.
16624 (cos_test_upward): Likewise.
16625 (sin_test_tonearest): Likewise.
16626 (sin_test_towardzero): Likewise.
16627 (sin_test_downward): Likewise.
16628 (sin_test_upward): Likewise.
16629 (tan_test_tonearest): Likewise.
16630 (tan_test_towardzero): Likewise.
16631 (tan_test_downward): Likewise.
16632 (tan_test_upward): Likewise.
16633 (main): Call the new functions.
16634 * sysdeps/i386/fpu/libm-test-ulps: Update.
16635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16636
a6d06d7b
JM
16637 [BZ #10135]
16638 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
16639 small n, then large n, before computing and testing k+n.
16640 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16641 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
16642 Likewise.
16643 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
16644 Likewise.
16645 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
16646 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
16647 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
16648 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
16649 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16650 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16651 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
16652 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
16653 * math/libm-test.inc (scalbn_test): Add more tests.
16654 (scalbln_test): Likewise.
16655
07e12bb3
JM
16656 * manual/filesys.texi (mode_t): Describe constraints on size and
16657 signedness, not exact equivalence to a particular type.
16658 (ino_t): Likewise.
16659 (ino64_t): Likewise.
16660 (dev_t): Likewise.
16661 (nlink_t): Likewise.
16662 (blkcnt_t): Likewise.
16663 (blkcnt64_t): Likewise.
16664 * manual/llio.texi (off_t): Likewise.
16665
28afd92d
JM
16666 [BZ #3976]
16667 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
16668 (__ieee754_exp): Save and restore rounding mode and use
16669 round-to-nearest for all computations.
16670 * math/libm-test.inc (exp_test_tonearest): New function.
16671 (exp_test_towardzero): Likewise.
16672 (exp_test_downward): Likewise.
16673 (exp_test_upward): Likewise.
16674 (main): Call the new functions.
16675 * sysdeps/i386/fpu/libm-test-ulps: Update.
16676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16677
b1eeb65d
CD
166782012-03-01 Chris Demetriou <cgd@google.com>
16679
16680 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
16681 have predictable order.
16682
53362a4b
DM
166832012-03-01 David S. Miller <davem@davemloft.net>
16684
3c969083
DM
16685 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
16686
759707de
DM
16687 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
16688 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
16689 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
16690 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
16691
dfdb8ff2
DM
16692 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16693 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
16694 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
16695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
16696 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
16697 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
16698 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
16699 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
16700 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
16701
ead89f96
DM
16702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16703
7f66bd07
DM
16704 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
16705 * sysdeps/sparc/fpu/libm-test-ulps: to here.
16706 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
16707
53362a4b
DM
16708 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
16709 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16710 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16711 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
16712 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
16713 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
16714 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
16715 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16716 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16717 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
16718 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
16719 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16720 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16721 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16722 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16723 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16724 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
16725 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
16726 * sysdeps/sparc/elf/configure: Regenerated.
16727
7b1902cb
JM
167282012-03-01 Joseph Myers <joseph@codesourcery.com>
16729
bec039bc
JM
16730 * configure.in (AS, LD): Require binutils 2.20 or later.
16731 * configure: Regenerated.
16732 * manual/install.texi (Tools for Compilation): Give binutils 2.20
16733 as required minimum version.
16734 * INSTALL: Regenerated.
16735
7b1902cb
JM
16736 [BZ #2541]
16737 [BZ #4108]
16738 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
16739 before squaring exponent.
16740 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
16741 bottom long double and 27 bits of top long double before squaring
16742 exponent.
16743 * math/libm-test.inc (erfc_test): Add more tests.
16744 * sysdeps/i386/fpu/libm-test-ulps: Update.
16745 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16747
f775c276
KT
167482012-03-01 Kai Tietz <ktietz@redhat.com>
16749
16750 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
16751 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
16752 containing bit-fields.
16753 * soft-fp/extended.h (_FP_UNION_E): Likewise.
16754 * soft-fp/single.h (_FP_UNION_S): Likewise.
16755 * soft-fp/double.h (_FP_UNION_D): Likewise.
16756
5b8a4d4a
JM
167572012-02-29 Joseph Myers <joseph@codesourcery.com>
16758
0bab47b6
JM
16759 [BZ #13786]
16760 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
16761 not include ../strcmp.S.
16762 [USE_AS_STRNCASECMP_L]: Likewise.
16763 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
16764 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
16765 * sysdeps/i386/i686/multiarch/strncase_l-c.c
16766 (__strncasecmp_l_ia32): Define as alias to
16767 __strncasecmp_l_nonascii.
16768
0fcad3e2
JM
16769 [BZ #5794]
16770 * math/libm-test.inc (expm1_test): Add test for bug 5794.
16771 * sysdeps/i386/fpu/libm-test-ulps: Update.
16772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16773
5b8a4d4a
JM
16774 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
16775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16776
8fdceb2e
JL
167772012-02-29 Jeff Law <law@redhat.com>
16778
16779 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
16780 out of bounds read.
16781
1f393a11
MP
167822012-02-29 Marek Polacek <polacek@redhat.com>
16783
16784 [BZ #13706]
16785 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
16786 * elf/Makefile: Add rules to run tst-unused-dep.out.
16787
8847f037
DM
167882012-02-28 David S. Miller <davem@davemloft.net>
16789
16790 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
16791 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
16792 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
16793 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
16794 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
16795 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
16796
169d7f11
JM
167972012-02-29 Joseph Myers <joseph@codesourcery.com>
16798
16799 * math/libm-test.inc (llround_test): Move one test from
16800 lround_test. Use TEST_f_L in moved test.
16801 (lround_test): Move misplaced test to llround_test. Add testcase
16802 from bug 2561.
16803
39adf059
UD
168042012-02-28 Ulrich Drepper <drepper@gmail.com>
16805
16806 * sysdeps/x86_64/fpu/e_expf.S: New file.
16807 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
16808
71b5d1c5
SB
168092012-02-28 Stanislav Brabec <sbrabec@suse.cz>
16810
16811 [BZ #13637]
16812 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
16813 of remain_len that may cause incomplete multi-byte character and
16814 false match.
16815 * posix/bug-regex33.c: New file.
16816 * posix/Makefile (tests): Add bug-regex33.
16817
1f77f049
JM
168182012-02-28 Joseph Myers <joseph@codesourcery.com>
16819
16820 * manual/macros.texi: New file.
16821 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
16822 * manual/libc.texinfo: Include macros.texi.
16823 * manual/creatute.texi: Likewise.
16824 * manual/install.texi: Likewise.
16825 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
16826 @glibcadj{} in references to the GNU C Library.
16827 * manual/charset.texi: Likewise.
16828 * manual/conf.texi: Likewise.
16829 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
16830 when not using those macros.
16831 * manual/creature.texi: Likewise.
16832 * manual/crypt.texi: Likewise.
16833 * manual/errno.texi: Likewise.
16834 * manual/filesys.texi: Likewise.
16835 * manual/header.texi: Likewise.
16836 * manual/install.texi: Likewise.
16837 * manual/intro.texi: Likewise.
16838 * manual/io.texi: Likewise.
16839 * manual/job.texi: Likewise.
16840 * manual/lang.texi: Likewise.
16841 * manual/libc.texiinfo: Likewise.
16842 * manual/llio.texi: Likewise.
16843 * manual/locale.texi: Likewise.
16844 * manual/maint.texi: Likewise.
16845 * manual/math.texi: Likewise.
16846 * manual/memory.texi: Likewise.
16847 * manual/message.texi: Likewise.
16848 * manual/nss.texi: Likewise.
16849 * manual/pattern.texi: Likewise.
16850 * manual/process.texi: Likewise.
16851 * manual/resource.texi: Likewise.
16852 * manual/search.texi: Likewise.
16853 * manual/setjmp.texi: Likewise.
16854 * manual/signal.texi: Likewise.
16855 * manual/socket.texi: Likewise.
16856 * manual/startup.texi: Likewise.
16857 * manual/stdio.texi: Likewise.
16858 * manual/string.texi: Likewise.
16859 * manual/sysinfo.texi: Likewise.
16860 * manual/syslog.texi: Likewise.
16861 * manual/terminal.texi: Likewise.
16862 * manual/time.texi: Likewise.
16863 * manual/users.texi: Likewise.
16864 * INSTALL: Regenerated.
16865 * NOTES: Regenerated.
d40c5d54 16866 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 16867
450bf206
AS
168682012-02-28 Andreas Schwab <schwab@linux-m68k.org>
16869
16870 * include/dirent.h: Include <dirstream.h> before
16871 <dirent/dirent.h>.
16872
741a235b
DM
168732012-02-28 David S. Miller <davem@davemloft.net>
16874
16875 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
16876 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
16877 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
16878 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
16879
d6b5aa58
DM
168802012-02-27 David S. Miller <davem@davemloft.net>
16881
1aff59a3
DM
16882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
16883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16884 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16885 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16886
d6b5aa58
DM
16887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16888 frame pointer instead of stack pointer relative arg slot.
16889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16890 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16891 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16892
433f48bf
CD
168932012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16894
16895 [BZ #3992]
16896 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16897
d674b76d
DM
168982012-02-27 David S. Miller <davem@davemloft.net>
16899
16900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16904 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16905 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16906 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16907 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16908
0e7727f7
JM
169092012-02-27 Joseph Myers <joseph@codesourcery.com>
16910
16911 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16912 later. Allow versions 5-9.
43be4ca2 16913 * configure: Regenerated.
0e7727f7
JM
16914 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16915 required minimum version and 4.6 as recommended version. Do not
16916 mention bugs in GCC 2.7 and 2.8.
43be4ca2 16917 * INSTALL: Regenerated.
0e7727f7 16918
a78bc654
DM
169192012-02-27 David S. Miller <davem@davemloft.net>
16920
428d5830
DM
16921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16925 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16926 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16927 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16928 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16929
a78bc654
DM
16930 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16931 manipulate bits before adding and subtracting TWO112[sx].
16932 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16933
4579f81c
RM
169342012-02-27 Roland McGrath <roland@hack.frob.com>
16935
36c8acb4
RM
16936 [BZ #13775]
16937 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16938 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16939 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16940 being in POSIX, because they are in 1003.1-2008.
16941
84ad622b
RM
16942 * rt/tst-aio.c: Include <fcntl.h>.
16943 * rt/tst-aio7.c: Likewise.
16944 * rt/tst-aio64.c: Likewise.
16945
4579f81c
RM
16946 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16947
abd923db
JM
169482012-02-27 Joseph Myers <joseph@codesourcery.com>
16949
16950 * manual/install.texi (--with-headers): Describe headers as
16951 interface headers, not private headers.
16952 (Specific advice for GNU/Linux systems): Describe use of headers
16953 from "make headers_install", not private headers from older
16954 kernels.
43be4ca2 16955 * INSTALL: Regenerated.
abd923db
JM
16956 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16957 Change to 2.6.19.
16958 * sysdeps/unix/sysv/linux/configure: Regenerated.
16959
6664049b
JM
16960 * manual/llio.texi (fclean): Remove documentation.
16961
bb8b6697
JM
16962 * manual/Makefile (libc-texi-generated): New variable. Include
16963 version.texi.
16964 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16965 $(libc-texi-generated), not duplicated list of files.
16966 (version.texi, stamp-version): New rules.
16967 (realclean): Remove $(libc-texi-generated), not individual files
16968 from that list. Do not remove dir-add.texinfo.
16969 * manual/libc.texinfo: Comment out uses of edition numbers and
16970 references to printed manual. Remove last-updated dates.
16971 (EDITION): Comment out.
16972 (ISBN): Likewise.
16973 (VERSION, UPDATED): Remove.
16974 (version.texi): Include.
16975
12e5c3b9
AS
169762012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16977
16978 * sysdeps/posix/spawni.c: Include <signal.h>.
16979 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16980 * sysdeps/pthread/aio_fsync.c: Likewise.
16981
4efeffc1 169822012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 16983
ba63ba08
UD
16984 * conform/Makefile (tests): Run only when not cross-compiling and
16985 when fast-check is not defined.
16986
d94a4670
UD
16987 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16988 * conform/data/limits.h-data: Fixes for POSIX2008.
16989 * conform/run-conformtest.sh: Run all tests.
16990 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16991 headers.
16992 * include/bits/dlfcn.h: Likewise.
16993 * include/langinfo.h: Likewise.
16994 * include/monetary.h: Likewise.
16995 * include/sys/poll.h: Likewise.
16996
16997 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16998 for __USE_GNU.
16999 * posix/spawn.h: Define __need_sigset_t.
17000 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
17001 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
17002 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
17003 to get sigevent_t only.
17004 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
17005 only for __USE_GNU.
17006 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17007 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17008 process_vm_writev only for __USE_GNU.
17009 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
17010
17011 * conform/Makefile: For now ignore errors from run-conformtest.
17012 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
17013 POSIX to avoid namespace pollution. Don't prepend headers.
17014 * conform/data/aio.h-data: Fixes for POSIX testing.
17015 * conform/data/fcntl.h-data: Likewise.
17016 * conform/data/glob.h-data: Likewise.
17017 * conform/data/grp.h-data: Likewise.
17018 * conform/data/pthread.h-data: Likewise.
17019 * conform/data/pwd.h-data: Likewise.
17020 * conform/data/signal.h-data: Likewise.
17021 * conform/data/spawn.h-data: Likewise.
17022 * conform/data/stdio.h-data: Likewise.
17023 * conform/data/stdlib.h-data: Likewise.
17024 * conform/data/stropts.h-data: Likewise.
17025 * conform/data/sys/mman.h-data: Likewise.
17026 * conform/data/sys/stat.h-data: Likewise.
17027 * conform/data/sys/types.h-data: Likewise.
17028 * conform/data/sys/wait.h-data: Likewise.
17029 * conform/data/time.h-data: Likewise.
17030 * conform/data/unistd.h-data: Likewise.
17031 * conform/data/utime.h-data: Likewise.
17032
17033 * io/sys/stat.h: fchmod was always in POSIX.
17034 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
17035 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
17036 * rt/aio.h: Define __need_timespec before including <time.h>.
17037 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
17038 struct. Add forward declaration of pthread_attr_t and use it in
17039 sigevent.
17040 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17041 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17042 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
17043 always remove CLK_TCK definition.
17044
c20105c3
AS
170452012-02-26 Andreas Schwab <schwab@linux-m68k.org>
17046
17047 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
17048
7a270350
UD
170492012-02-25 Ulrich Drepper <drepper@gmail.com>
17050
31341567
UD
17051 * conform/run-conformtest.sh: New file.
17052 * conform/Makefile: Run run-conformtest for tests.
17053 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
17054 support.
17055
17056 * conform/data/uchar.h-data: New file.
17057 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
17058 * conform/data/arpa/inet.h-data: Likewise.
17059 * conform/data/assert.h-data: Likewise.
17060 * conform/data/complex.h-data: Likewise.
17061 * conform/data/cpio.h-data: Likewise.
17062 * conform/data/ctype.h-data: Likewise.
17063 * conform/data/dirent.h-data: Likewise.
17064 * conform/data/dlfcn.h-data: Likewise.
17065 * conform/data/errno.h-data: Likewise.
17066 * conform/data/fcntl.h-data: Likewise.
17067 * conform/data/float.h-data: Likewise.
17068 * conform/data/fmtmsg.h-data: Likewise.
17069 * conform/data/fnmatch.h-data: Likewise.
17070 * conform/data/ftw.h-data: Likewise.
17071 * conform/data/glob.h-data: Likewise.
17072 * conform/data/grp.h-data: Likewise.
17073 * conform/data/iconv.h-data: Likewise.
17074 * conform/data/inttypes.h-data: Likewise.
17075 * conform/data/langinfo.h-data: Likewise.
17076 * conform/data/libgen.h-data: Likewise.
17077 * conform/data/limits.h-data: Likewise.
17078 * conform/data/locale.h-data: Likewise.
17079 * conform/data/math.h-data: Likewise.
17080 * conform/data/monetary.h-data: Likewise.
17081 * conform/data/mqueue.h-data: Likewise.
17082 * conform/data/ndbm.h-data: Likewise.
17083 * conform/data/net/if.h-data: Likewise.
17084 * conform/data/netdb.h-data: Likewise.
17085 * conform/data/netinet/in.h-data: Likewise.
17086 * conform/data/nl_types.h-data: Likewise.
17087 * conform/data/poll.h-data: Likewise.
17088 * conform/data/pthread.h-data: Likewise.
17089 * conform/data/pwd.h-data: Likewise.
17090 * conform/data/regex.h-data: Likewise.
17091 * conform/data/sched.h-data: Likewise.
17092 * conform/data/search.h-data: Likewise.
17093 * conform/data/semaphore.h-data: Likewise.
17094 * conform/data/setjmp.h-data: Likewise.
17095 * conform/data/signal.h-data: Likewise.
17096 * conform/data/spawn.h-data: Likewise.
17097 * conform/data/stdarg.h-data: Likewise.
17098 * conform/data/stdio.h-data: Likewise.
17099 * conform/data/stdlib.h-data: Likewise.
17100 * conform/data/string.h-data: Likewise.
17101 * conform/data/strings.h-data: Likewise.
17102 * conform/data/stropts.h-data: Likewise.
17103 * conform/data/sys/ipc.h-data: Likewise.
17104 * conform/data/sys/mman.h-data: Likewise.
17105 * conform/data/sys/msg.h-data: Likewise.
17106 * conform/data/sys/resource.h-data: Likewise.
17107 * conform/data/sys/select.h-data: Likewise.
17108 * conform/data/sys/sem.h-data: Likewise.
17109 * conform/data/sys/shm.h-data: Likewise.
17110 * conform/data/sys/socket.h-data: Likewise.
17111 * conform/data/sys/stat.h-data: Likewise.
17112 * conform/data/sys/statvfs.h-data: Likewise.
17113 * conform/data/sys/time.h-data: Likewise.
17114 * conform/data/sys/timeb.h-data: Likewise.
17115 * conform/data/sys/times.h-data: Likewise.
17116 * conform/data/sys/types.h-data: Likewise.
17117 * conform/data/sys/uio.h-data: Likewise.
17118 * conform/data/sys/un.h-data: Likewise.
17119 * conform/data/sys/utsname.h-data: Likewise.
17120 * conform/data/sys/wait.h-data: Likewise.
17121 * conform/data/syslog.h-data: Likewise.
17122 * conform/data/tar.h-data: Likewise.
17123 * conform/data/termios.h-data: Likewise.
17124 * conform/data/utime.h-data: Likewise.
17125 * conform/data/utmpx.h-data: Likewise.
17126 * conform/data/varargs.h-data: Likewise.
17127 * conform/data/wchar.h-data: Likewise.
17128 * conform/data/wctype.h-data: Likewise.
17129 * conform/data/wordexp.h-data: Likewise.
17130
17131 * include/stropts.h: New file.
17132 * include/uchar.h: New file.
17133 * include/aio.h: Changes to allow conformtest.pl to use the headers.
17134 * include/assert.h: Likewise.
17135 * include/ctype.h: Likewise.
17136 * include/dirent.h: Likewise.
17137 * include/dlfcn.h: Likewise.
17138 * include/fcntl.h: Likewise.
17139 * include/fnmatch.h: Likewise.
17140 * include/glob.h: Likewise.
17141 * include/grp.h: Likewise.
17142 * include/libio.h: Likewise.
17143 * include/locale.h: Likewise.
17144 * include/math.h: Likewise.
17145 * include/net/if.h: Likewise.
17146 * include/netdb.h: Likewise.
17147 * include/netinet/in.h: Likewise.
17148 * include/pthread.h: Likewise.
17149 * include/pwd.h: Likewise.
17150 * include/regex.h: Likewise.
17151 * include/sched.h: Likewise.
17152 * include/search.h: Likewise.
17153 * include/setjmp.h: Likewise.
17154 * include/signal.h: Likewise.
17155 * include/stdio.h: Likewise.
17156 * include/stdlib.h: Likewise.
17157 * include/string.h: Likewise.
17158 * include/sys/cdefs.h: Likewise.
17159 * include/sys/mman.h: Likewise.
17160 * include/sys/msg.h: Likewise.
17161 * include/sys/resource.h: Likewise.
17162 * include/sys/select.h: Likewise.
17163 * include/sys/socket.h: Likewise.
17164 * include/sys/stat.h: Likewise.
17165 * include/sys/statvfs.h: Likewise.
17166 * include/sys/time.h: Likewise.
17167 * include/sys/times.h: Likewise.
17168 * include/sys/uio.h: Likewise.
17169 * include/sys/utsname.h: Likewise.
17170 * include/sys/wait.h: Likewise.
17171 * include/termios.h: Likewise.
17172 * include/time.h: Likewise.
17173 * include/ulimit.h: Likewise.
17174 * include/unistd.h: Likewise.
17175 * include/utime.h: Likewise.
17176 * include/wchar.h: Likewise.
17177 * include/wctype.h: Likewise.
17178 * include/wordexp.h: Likewise.
17179
17180 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
17181
7a270350
UD
17182 * time/time.h: TIME_UTC must be a macro.
17183 Make timespec_get available for ISO C11 only as well.
17184
7724defc
UD
171852012-02-24 Ulrich Drepper <drepper@gmail.com>
17186
17187 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
17188 Reported by Peng Haitao <penght@cn.fujitsu.com>.
17189
6b1d1d46
JM
171902012-02-24 Joseph Myers <joseph@codesourcery.com>
17191
17192 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 17193
0f8bbd69
JM
171942012-02-24 Joseph Myers <joseph@codesourcery.com>
17195
17196 * manual/texinfo.tex: Update to version 2012-01-19.16.
17197
66ab80bc
JM
171982012-02-24 Joseph Myers <joseph@codesourcery.com>
17199
17200 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
17201
74981cc5
RM
172022012-02-24 Roland McGrath <roland@hack.frob.com>
17203
ee968201
RM
17204 [BZ #13738]
17205 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
17206 * manual/fdl-1.3.texi: New file.
17207 * manual/fdl-1.1.texi: File removed.
17208
74981cc5
RM
17209 [BZ #13738]
17210 * manual/libc.texinfo (FDL_VERSION): New @set.
17211 Use it for mention of FDL in cover text.
17212 (Documentation License): Use it in @include file name.
17213
7bb764bc
JM
172142012-02-22 Joseph Myers <joseph@codesourcery.com>
17215 Roland McGrath <roland@hack.frob.com>
17216
17217 [BZ #5461]
17218 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
17219 not LONG_LONG_MAX and LONG_LONG_MIN.
17220 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
17221 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
17222 name.
17223 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
17224
6cbeae47
JM
172252012-02-22 Joseph Myers <joseph@codesourcery.com>
17226
17227 [BZ #2547]
17228 [BZ #11365]
17229 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
17230 manipulate bits before adding and subtracting TWO23[sx].
17231 * math/libm-test.inc (nearbyint_test): Add more tests.
17232
fe45ce09
JM
172332012-02-22 Joseph Myers <joseph@codesourcery.com>
17234
17235 [BZ #2548]
17236 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
17237 bits before adding and subtracting TWO23[sx].
17238 * math/libm-test.inc (rint_test): Add more tests.
17239 (rint_test_tonearest): Likewise.
17240 (rint_test_towardzero): Likewise.
17241 (rint_test_downward): Likewise.
17242 (rint_test_upward: Likewise.
17243
ff3b3d82
JM
172442012-02-22 Joseph Myers <joseph@codesourcery.com>
17245
17246 [BZ #10110]
17247 * include/stdc-predef.h: New file. Extracted from features.h.
17248 * include/features.h: Include stdc-predef.h.
17249 * Makefile (headers): Add stdc-predef.h.
17250 * CONFORMANCE (Compiler limitations): Update.
17251
ef0aab35
JM
172522012-02-22 Joseph Myers <joseph@codesourcery.com>
17253
17254 * manual/libc.texinfo (VERSION, UPDATED): Revert.
17255
58639409
DM
172562012-02-21 David S. Miller <davem@davemloft.net>
17257
17258 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
17259 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17260
c0e70b25
DM
172612012-02-20 David S. Miller <davem@davemloft.net>
17262
17263 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
17264 using a normal save/restore sequence, rather than allocating a
17265 dummy stack frame just to store a frame pointer and restore.
17266 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17267
fb06851d
JM
172682012-02-21 Joseph Myers <joseph@codesourcery.com>
17269
17270 * manual/install.texi: Fix stray word in line-wrapped comment.
17271
7a8b71c3
DM
172722012-02-20 David S. Miller <davem@davemloft.net>
17273
d510c123
DM
17274 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
17275 both binutils and gcc support GOTDATA.
17276
0722d7c2
DM
17277 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
17278 "rd %pc" in the PIC register setup sequences.
17279
3d2b3019
DM
17280 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
17281 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17282 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17283 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17284 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17285 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17286 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17287 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17288 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
17289 (SYSCALL_ERROR_HANDLER): Likewise.
17290 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17291 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17292 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
17293 (SYSCALL_ERROR_HANDLER): Likewise.
17294
c80098a9
DM
17295 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
17296 (HAVE_GCC_GOTDATA): New.
17297 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
17298 relocation support in both binutils and gcc.
17299 * sysdeps/sparc/elf/configure: Regenerate.
17300
3a2545a0
DM
17301 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
17302 * sysdeps/sparc/sparc32/elf/configure: Delete.
17303 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
17304 * sysdeps/sparc/sparc64/elf/configure: Delete.
17305 * sysdeps/sparc/elf/configure.in: New file.
17306 * sysdeps/sparc/elf/configure: Generate.
17307
7a8b71c3
DM
17308 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
17309 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
17310 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
17311 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
17312 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
17313
f1e86fca
JM
173142012-02-21 Joseph Myers <joseph@codesourcery.com>
17315
17316 * manual/install.texi: Do not mention specific glibc version
17317 numbers.
17318 * manual/libc.texinfo (VERSION, UPDATED): Update.
17319 (@copying): Use @copyright{} and range of years.
17320
0e7dfaef
JM
173212012-02-21 Joseph Myers <joseph@codesourcery.com>
17322
17323 [BZ #13695]
17324 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
17325 [crti.S not in sysdirs] (generated): Do not append.
17326 [crti.S not in sysdirs] (omit-deps): Likewise.
17327 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
17328 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
17329 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
17330 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
17331 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
17332 Likewise.
17333 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
17334 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
17335 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
17336 * csu/defs.awk: Remove file.
17337 * sysdeps/generic/initfini.c: Likewise.
17338 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
17339 variable.
17340 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
17341 Likewise.
17342
599af3ca
JM
173432012-02-20 Joseph Myers <joseph@codesourcery.com>
17344
17345 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
17346 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
17347 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
17348 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
17349 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17350 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
17351 <bits/epoll.h>.
17352 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
17353 (__EPOLL_PACKED): Define to empty if not defined by
17354 <bits/epoll.h>.
17355 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
17356 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17357 bits/epoll.h.
17358
0e499750
JM
173592012-02-20 Joseph Myers <joseph@codesourcery.com>
17360
17361 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
17362 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
17363 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
17364 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
17365 <bits/timerfd.h>.
17366 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
17367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17368 bits/timerfd.h.
17369
5ad91f6e
JM
173702012-02-20 Joseph Myers <joseph@codesourcery.com>
17371
17372 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
17373 in C locale.
17374 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17375 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17376 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
17377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17378
06b99b02
AJ
173792012-02-20 Aurelien Jarno <aurelien@aurel32.net>
17380
17381 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17382 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
17383
7638c0fd
AS
173842012-02-19 Andreas Schwab <schwab@linux-m68k.org>
17385
17386 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
17387 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
17388 defined.
17389 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
17390 Likewise.
17391 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
17392 entry for 2.16.
17393
92221550
AJ
173942012-02-19 Aurelien Jarno <aurelien@aurel32.net>
17395
17396 * math/w_acos.c: Use non-signaling floating-point comparisons.
17397 * math/w_acosf.c: Likewise.
17398 * math/w_acosh.c: Likewise.
17399 * math/w_acoshf.c: Likewise.
17400 * math/w_acoshl.c: Likewise.
17401 * math/w_acosl.c: Likewise.
17402 * math/w_asin.c: Likewise.
17403 * math/w_asinf.c: Likewise.
17404 * math/w_asinl.c: Likewise.
17405 * math/w_atanh.c: Likewise.
17406 * math/w_atanhf.c: Likewise.
17407 * math/w_atanhl.c: Likewise.
17408 * math/w_exp2.c: Likewise.
17409 * math/w_exp2f.c: Likewise.
17410 * math/w_exp2l.c: Likewise.
17411 * math/w_j0.c: Likewise.
17412 * math/w_j0f.c: Likewise.
17413 * math/w_j0l.c: Likewise.
17414 * math/w_j1.c: Likewise.
17415 * math/w_j1f.c: Likewise.
17416 * math/w_j1l.c: Likewise.
17417 * math/w_jn.c: Likewise.
17418 * math/w_jnf.c: Likewise.
17419 * math/w_log.c: Likewise.
17420 * math/w_log10.c: Likewise.
17421 * math/w_log10f.c: Likewise.
17422 * math/w_log10l.c: Likewise.
17423 * math/w_log2.c: Likewise.
17424 * math/w_log2f.c: Likewise.
17425 * math/w_log2l.c: Likewise.
17426 * math/w_logf.c: Likewise.
17427 * math/w_logl.c: Likewise.
17428 * math/w_sqrt.c: Likewise.
17429 * math/w_sqrtf.c: Likewise.
17430 * math/w_sqrtl.c: Likewise.
17431 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17432 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
17433 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17434 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17435 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17436
ebaf36eb
JM
174372012-02-19 Joseph Myers <joseph@codesourcery.com>
17438
17439 [BZ #9739]
17440 * manual/string.texi (strnlen): Use correct parameter name in
17441 equivalent expression.
17442
71c254a6
JM
174432012-02-19 Joseph Myers <joseph@codesourcery.com>
17444
17445 [BZ #11174]
17446 * manual/users.texi (seteuid): Consistently use neweuid for
17447 argument name.
17448
16d2c631
JM
174492012-02-19 Joseph Myers <joseph@codesourcery.com>
17450
17451 [BZ #13704]
17452 * manual/nss.texi (Services in the NSS configuration): Correct
17453 list of services in example configuration file.
17454
cd837b09
NB
174552012-02-19 Nick Bowler <nbowler@draconx.ca>
17456
17457 [BZ #11322]
17458 * manual/arith.texi: Remove statements about negative zero
17459 behaving identically to zero.
17460
02c4bbad
JM
174612012-02-18 Joseph Myers <joseph@codesourcery.com>
17462
17463 [BZ #5993]
17464 * manual/install.texi: Do not document upgrading from libc5.
17465
366842e7
JM
174662012-02-18 Joseph Myers <joseph@codesourcery.com>
17467
17468 [BZ #4596]
17469 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
17470
dd54084d
DM
174712012-02-18 David S. Miller <davem@davemloft.net>
17472
17473 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
17474 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
17475 %o7 across the call.
17476 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
17477 instead.
17478 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
17479 SETUP_PIC_REG_LEAF.
17480 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17481 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
17482 * sysdeps/sparc/crtn.S: Likewise.
17483
2bcc53a3
UD
174842012-02-17 Ulrich Drepper <drepper@gmail.com>
17485
17486 * aout/Makefile: Remove.
17487
09c093b5
RK
174882012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
17489
17490 [BZ #13058]
17491 * manual/examples/argp-ex1.c (main): Format definition in GNU
17492 style.
17493 * manual/examples/argp-ex2.c (main): Likewise.
17494 * manual/examples/argp-ex3.c (main): Likewise.
17495 * manual/examples/argp-ex4.c (main): Likewise.
17496 * manual/examples/longopt.c (main): Use new-style prototype
17497 definition.
17498 * manual/examples/strncat.c (main): Specify return type and use
17499 (void) for arguments.
17500 * manual/examples/subopt.c (main): Use char **argv argument.
17501
2ee633a2
JM
175022012-02-17 Joseph Myers <joseph@codesourcery.com>
17503
17504 [BZ #5077]
17505 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
17506 rounding modes.
17507
0520adde
FB
175082012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
17509
17510 [BZ #6907]
17511 * manual/string.texi (strchr): Change when strchrnul is
17512 recommended.
17513
3f4081cd
DGM
175142012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
17515
17516 [BZ #174]
17517 * manual/locale.texi (setlocale): Document LOCPATH.
17518
d1b10e78
JM
175192012-02-17 Joseph Myers <joseph@codesourcery.com>
17520
17521 [BZ #10210]
17522 * manual/process.texi (execle): Move @dots{} before last argument.
17523
79c6869c
PB
175242012-02-17 Paul Bolle <pebolle@tiscali.nl>
17525
17526 [BZ #12047]
17527 * manual/charset.texi (Generic Charset Conversion): Fix typo
17528 (LC_TYPE -> LC_CTYPE).
17529
cc6e48bc
NB
175302012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
17531
17532 [BZ #5805]
17533 * manual/arith.texi (scalbn): Use @var{} on parameter names.
17534 (scalbnf): Likewise.
17535 (scalbnl): Likewise.
17536 (scalbln): Likewise.
17537 (scalblnf): Likewise.
17538 (scalblnl): Likewise.
17539 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
17540 (vwarnx): Likewise.
17541 (verr): Likewise.
17542 (verrx): Likewise.
17543 * manual/filesys.texi (telldir): Use braces around return type.
17544 * manual/llio.texi (mmap): Add space after comma.
17545 (mmap64): Likewise.
17546 * manual/math.texi (jn): Use @var{} on parameter names.
17547 (jnf): Likewise.
17548 (jnl): Likewise.
17549 (yn): Likewise.
17550 (ynf): Likewise.
17551 (ynl): Likewise.
17552 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
17553 line.
17554 * manual/resource.texi (ulimit): Use @dots{} instead of literal
17555 "...".
17556 (sched_get_priority_min): Remove semicolon on @deftypefun line.
17557 (sched_get_priority_max): Likewise.
17558 * manual/signal.texi (sigvec): Add space after comma.
17559 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
17560 names.
17561 (if_indextoname): Likewise.
17562 (if_freenameindex): Likewise.
17563 (sendto): Use ',' instead of '.' in prototype.
17564 * manual/startup.texi (syscall): Use @dots{} instead of literal
17565 "...".
17566 * manual/stdio.texi (__fpending): Separate initial words of
17567 paragraph from @deftypefun line.
17568 * manual/syslog.texi (syslog): Use @dots{} instead of literal
17569 "...".
17570 (vsyslog): Use @var{} on parameter names.
17571 * manual/terminal.texi (stty): Use @var{} on parameter names.
17572 * manual/users.texi (getutmp): Use @var{} on parameter names.
17573 (getutmpx): Likewise.
17574
5b23062f
JM
175752012-02-17 Joseph Myers <joseph@codesourcery.com>
17576
17577 [BZ #6884]
17578 * manual/stdio.texi (fopen): Fix typos in description of
17579 ",ccs=STRING".
17580
8dee4833
AJ
175812012-02-17 Aurelien Jarno <aurelien@aurel32.net>
17582
17583 [BZ #4026]
17584 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
17585 get clock_id definition.
17586
9078ce93
TS
175872012-02-17 Thomas Schwinge <thomas@schwinge.name>
17588
17589 [BZ #4822]
17590 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
17591 (madvise): Cast every argument to void on its own.
17592
3835c55f
JM
175932012-02-17 Joseph Myers <joseph@codesourcery.com>
17594
17595 [BZ #9902]
17596 * manual/startup.texi (Exit Status): Fix typo.
17597
35c47e37
JM
175982012-02-17 Joseph Myers <joseph@codesourcery.com>
17599
17600 [BZ #10140]
17601 * manual/examples/argp-ex1.c: Include <stdlib.h>.
17602 * manual/examples/argp-ex2.c: Likewise.
17603 * manual/examples/argp-ex3.c: Likewise.
17604
e3b69ca7
RH
176052012-02-16 Richard Henderson <rth@redhat.com>
17606
17607 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
17608 * sysdeps/s390/s390-32/initfini.c: Remove.
17609 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
17610 * sysdeps/s390/s390-64/initfini.c: Remove.
17611
df83af67
KK
176122012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17613
17614 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
17615 compiler output for sysdeps/generic/initfini.c.
17616 * sysdeps/sh/elf/initfini.c: Remove file.
17617
f63f3380
DM
176182012-02-16 David S. Miller <davem@davemloft.net>
17619
fb59b3a4
DM
17620 [BZ #11494]
17621 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
17622
f63f3380
DM
17623 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
17624 * sysdeps/sparc/crti.S: New file.
17625 * sysdeps/sparc/crtn.S: New file.
17626 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
17627 * sysdeps/sparc/sparc64/Makefile: Likewise.
17628
df6a4a4a
MF
176292012-02-15 Mike Frysinger <vapier@gentoo.org>
17630
6dd8f3dc 17631 [BZ #3335]
df6a4a4a
MF
17632 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
17633
1cac7236
RM
176342012-02-15 Roland McGrath <roland@hack.frob.com>
17635
d2c736f8
RM
17636 [BZ #4822]
17637 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
17638
1cac7236
RM
17639 * mach/devstream.c (cookie_io_functions_t): Macro removed.
17640 (write, read, close): Likewise.
17641 Patch by Aurelien Jarno <aurelien@aurel32.net>.
17642
8e475601
JM
176432012-02-15 Joseph Myers <joseph@codesourcery.com>
17644
17645 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
17646 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
17647 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
17648 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
17649 <bits/signalfd.h>.
17650 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
17651 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17652 bits/signalfd.h.
17653
ed656b40
MP
176542012-02-14 Marek Polacek <polacek@redhat.com>
17655
17656 * sysdeps/x86_64/crti.S: New file.
17657 * sysdeps/x86_64/crtn.S: New file.
17658 * sysdeps/x86_64/elf/initfini.c: Remove file.
17659
2a979d3a
JM
176602012-02-13 Joseph Myers <joseph@codesourcery.com>
17661
17662 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
17663 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
17664 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
17665 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
17666 <bits/inotify.h>.
17667 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
17668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17669 bits/inotify.h.
17670
2a418ac3
JM
176712012-02-13 Joseph Myers <joseph@codesourcery.com>
17672
17673 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
17674 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
17675 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
17676 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
17677 <bits/eventfd.h>.
17678 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
17679 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17680 bits/eventfd.h.
17681
fb779be7
TS
176822012-02-10 Thomas Schwinge <thomas@codesourcery.com>
17683
e19e83c5
RM
17684 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
17685 __feraiseexcept instead of feraiseexcept.
7c35ffed 17686
fb779be7
TS
17687 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
17688 nanosleep invocations.
17689 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
17690 strings, and add error checking for a nanosleep invocations.
17691
59ba27a6
PE
176922012-02-09 Paul Eggert <eggert@cs.ucla.edu>
17693
17694 Replace FSF snail mail address with URLs, as per GNU coding standards.
17695 Most of the snail mail addresses were wrong anyway, and omitting
17696 them makes the source code easier to maintain. Almost all of the
17697 changes are to license notices and to locale LC_IDENTIFICATION
17698 addresses, except for this one:
17699 * manual/libc.texinfo: In "Published by", give the FSF's URL,
17700 not its snail mail address.
17701
57b957eb
RH
177022012-02-09 Richard Henderson <rth@twiddle.net>
17703
af850b1c
RH
17704 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
17705 of kernel-features.h.
17706
57b957eb
RH
17707 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
17708
6b73181a
MP
177092012-02-08 Marek Polacek <polacek@redhat.com>
17710
17711 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
17712 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
17713 * sysdeps/gnu/_G_config.h: Likewise.
17714 * sysdeps/generic/_G_config.h: Likewise.
17715
26ecc33a
AS
177162012-02-08 Andreas Schwab <schwab@linux-m68k.org>
17717
6c6dbc63
AS
17718 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
17719 tests.
17720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17721
e216c012
AS
17722 * sysdeps/powerpc/powerpc32/crti.S: New file.
17723 * sysdeps/powerpc/powerpc32/crtn.S: New file.
17724 * sysdeps/powerpc/powerpc64/crti.S: New file.
17725 * sysdeps/powerpc/powerpc64/crtn.S: New file.
17726
26ecc33a
AS
17727 * Makeconfig (have-initfini): Don't set.
17728 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
17729 * configure.in (nopic_initfini): Don't substitute.
17730 * config.h.in (HAVE_INITFINI): Don't #undef.
17731 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
17732 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
17733
3add8e13
JM
177342012-02-08 Joseph Myers <joseph@codesourcery.com>
17735
17736 Support crti.S and crtn.S provided directly by architectures.
17737 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
17738 [crti.S in sysdirs] (omit-deps): Likewise.
17739 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
17740 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
17741 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
17742 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
17743 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
17744 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
17745 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
17746 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
17747 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
17748 compiler output for sysdeps/generic/initfini.c.
17749 * sysdeps/i386/elf/Makefile: Remove file.
17750 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
17751
a22f12b4
MP
177522012-02-07 Marek Polacek <polacek@redhat.com>
17753
17754 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
17755 * sysdeps/gnu/_G_config.h: Likewise.
17756 * sysdeps/mach/hurd/_G_config.h: Likewise.
17757
148cf100
MP
177582012-02-07 Marek Polacek <polacek@redhat.com>
17759
17760 * math/Makefile (tests): Add tst-CMPLX2.
17761 * math/tst-CMPLX2.c: New file.
17762
cfdc0dd7
AS
177632012-02-07 Andreas Schwab <schwab@linux-m68k.org>
17764
84ba42c4
AS
17765 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17766
cfdc0dd7
AS
17767 * math/libm-test.inc (jn_test): Add missing L suffix.
17768
622c86f4
MP
177692012-02-06 Marek Polacek <polacek@redhat.com>
17770
17771 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
17772 * sysdeps/i386/fpu/e_powf.S: Likewise.
17773 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17774 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17775 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17776 * sysdeps/i386/fpu/e_pow.S: Likewise.
17777 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17778 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17779 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17780 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17781 * sysdeps/i386/fpu/e_log2.S: Likewise.
17782 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17783 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17784 * sysdeps/i386/fpu/e_powl.S: Likewise.
17785 * sysdeps/i386/fpu/s_log1p.S: Likewise.
17786 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17787 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17788 * sysdeps/i386/fpu/e_logl.S: Likewise.
17789 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17790 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
17791 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17792 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17793 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17794 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17795 * sysdeps/i386/fpu/e_log.S: Likewise.
17796 * sysdeps/i386/fpu/s_cexp.S: Likewise.
17797 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17798 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
17799 * sysdeps/i386/fpu/e_logf.S: Likewise.
17800 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17801 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17802 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
17803 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17804 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17805 * sysdeps/i386/fpu/e_log10.S: Likewise.
17806 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17807 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17808 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17809 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17810 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17811 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17812 * sysdeps/i386/asm-syntax.h: Likewise.
17813 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17814 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17815 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17816 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
17817 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
17818 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17819 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17820 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17821 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17822 * sysdeps/powerpc/sysdep.h: Likewise.
17823 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17824 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17825
d4a54ac6
JM
178262012-02-06 Joseph Myers <joseph@codesourcery.com>
17827
17828 [BZ #411]
17829 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
17830
314054ea
JM
178312012-02-06 Joseph Myers <joseph@codesourcery.com>
17832
17833 * sysdeps/i386/sysdep.h: Include <features.h>.
17834 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
17835 version.
17836
d8e0ca50
JM
178372012-02-05 Joseph Myers <joseph@codesourcery.com>
17838
17839 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
17840 Define.
17841 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
17842 LOAD_PIC_REG_STR.
17843
b1da7dd9
JM
178442012-02-03 Joseph Myers <joseph@codesourcery.com>
17845
17846 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
17847 (SETUP_PIC_REG): Use GET_PC_THUNK.
17848 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
17849 macro.
17850
9a1d9254
JM
178512012-02-03 Joseph Myers <joseph@codesourcery.com>
17852
17853 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
17854 for non-PIC compilation.
17855 (SETUP_PIC_REG): Add .p2align directive.
17856 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
17857 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17858 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17859 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17860 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17861 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17862 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17863 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17864 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17865 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17866 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17867 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17868 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17869 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17870 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17871 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17872 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17873 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17874 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17875 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17876 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17877 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17878 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17879 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17880 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17881 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17882 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17883 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17884 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17885 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17886 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17887 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17888 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17889 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17890 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17891 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17892 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17893 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17894 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17895 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17896 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17897
65dc3b75
JM
178982012-02-03 Joseph Myers <joseph@codesourcery.com>
17899
17900 * math/tst-CMPLX.c: Include <stdio.h>.
17901
d55bf177
JM
179022012-01-31 Joseph Myers <joseph@codesourcery.com>
17903
17904 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17905 float.
17906 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17907 * sysdeps/sparc/bits/mathdef.h: Likewise.
17908
69db4f8f
MP
179092012-01-31 Marek Polacek <polacek@redhat.com>
17910
17911 * libio/libio.h: Don't define _PARAMS.
17912 * locale/programs/config.h: Don't define PARAMS.
17913 * stdlib/strtol_l.c: Likewise.
17914 (__strtol_l): Remove PARAMS from the prototype.
17915
41b81892
UD
179162012-01-31 Ulrich Drepper <drepper@gmail.com>
17917
3b49edc0
UD
17918 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17919 names. Just use the correct names. Remove unnecessary wrapper
17920 functions.
17921 * malloc/arena.c: Likewise.
17922 * malloc/hooks.c: Likewise.
17923
41b81892
UD
17924 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17925 ARENA_TEST says not to. Simplify test for creation of a new arena.
17926 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17927
27a25b6e
UD
179282012-01-30 Ulrich Drepper <drepper@gmail.com>
17929
17930 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17931 into tail calls.
17932 (update_get_addr): New function.
17933 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17934 GET_ADDR_MODULE parameter.
17935
c8a89e7d
JM
179362012-01-30 Joseph Myers <joseph@codesourcery.com>
17937
17938 * crypt/cert.c: Remove __STDC__ conditionals.
17939 * crypt/crypt-entry.c: Likewise.
17940 * crypt/crypt_util.c: Likewise.
17941 * libio/filedoalloc.c: Likewise.
17942 * libio/fileops.c: Likewise.
17943 * libio/genops.c: Likewise.
17944 * libio/iofclose.c: Likewise.
17945 * libio/iofdopen.c: Likewise.
17946 * libio/iofopen.c: Likewise.
17947 * libio/iofopen64.c: Likewise.
17948 * libio/iogetdelim.c: Likewise.
17949 * libio/iopopen.c: Likewise.
17950 * libio/obprintf.c: Likewise.
17951 * libio/oldfileops.c: Likewise.
17952 * libio/oldiofclose.c: Likewise.
17953 * libio/oldiofdopen.c: Likewise.
17954 * libio/oldiofopen.c: Likewise.
17955 * libio/oldiopopen.c: Likewise.
17956 * libio/wfiledoalloc.c: Likewise.
17957 * libio/wgenops.c: Likewise.
17958 * locale/programs/xmalloc.c: Likewise.
17959 * misc/syslog.c: Likewise.
17960 * stdio-common/xbug.c: Likewise.
17961 * string/memchr.c: Likewise.
17962 * string/memcmp.c: Likewise.
17963 * string/memrchr.c: Likewise.
17964 * string/rawmemchr.c: Likewise.
17965 * sysdeps/posix/getcwd.c: Likewise.
17966 * time/strftime_l.c: Likewise.
17967
3b100462
JM
179682012-01-30 Joseph Myers <joseph@codesourcery.com>
17969
17970 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
17971 * config.make.in (config-cflags-sse2avx): Define.
17972 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17973 Fix typo.
17974
607998af
CM
179752012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17976
17977 * scripts/config.guess: Update from upstream config git repository.
17978 * scripts/config.sub: Likewise.
17979
3601428f
CM
179802012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17981
3ac8b282
CM
17982 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17983 (EM_NUM): Update.
17984 (R_TILEPRO_*, R_TILEGX_*): New macros.
17985
e034841e
CM
17986 * scripts/firstversions.awk: Fix bug in version range handling.
17987
540d7568
CM
17988 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17989
3601428f
CM
17990 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17991
463de862
CM
17992 * include/sys/epoll.h: New file.
17993 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17994 libc_hidden_def.
17995
73139a76
UD
179962012-01-28 Ulrich Drepper <drepper@gmail.com>
17997
96bc5b45
UD
17998 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17999 Avoid unnecessary __WORDSIZE == 64 test.
18000 (fmaxf): Use VEX format if possible.
18001 (fmax): Likewise.
18002 (fminf): Likewise.
18003 (fmin): Likewise.
18004
56f6f6a2
UD
18005 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
18006 * math/math_private.h: Remove libc_fegetround* and
18007 libc_fesetround*.
18008 * sysdeps/i386/configure.in: Check for -msse2avx.
18009 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
18010 also if SSE2AVX is defined.
18011 Remove libc_fegetround* and libc_fesetround*.
18012 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
18013 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
18014 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
18015 of HAS_YMM_USABLE.
18016 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18017 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18018 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18019 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18020 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18021
73139a76
UD
18022 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
18023
d73f93a4
AZ
180242012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18025
18026 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
18027 size is not set.
18028 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
18029
6ee65ed6
UD
180302012-01-27 Ulrich Drepper <drepper@gmail.com>
18031
18032 [BZ #13618]
18033 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
18034 relocation.
18035 * Makeconfig (libm): Define.
18036 * elf/Makefile: Add rules to build and run tst-relsort1.
18037 * elf/tst-relsort1.c: New file.
18038 * elf/tst-relsort1mod1.c: New file.
18039 * elf/tst-relsort1mod2.c: New file.
18040
8db21882
JM
180412012-01-27 Joseph Myers <joseph@codesourcery.com>
18042
18043 * math/s_ldexp.c: Remove __STDC__ conditionals.
18044 * math/s_ldexpf.c: Likewise.
18045 * math/s_ldexpl.c: Likewise.
18046 * math/s_nextafter.c: Likewise.
18047 * math/s_nexttowardf.c: Likewise.
18048 * math/s_significand.c: Likewise.
18049 * math/s_significandf.c: Likewise.
18050 * math/s_significandl.c: Likewise.
18051 * math/w_jnl.c: Likewise.
18052 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18053 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18054 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18055 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18056 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18061 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18062 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18063 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18064 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18065 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18066 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18067 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18068 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18069 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18070 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18071 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18072 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18073 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18074 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18075 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18076 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18077 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18078 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18079 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18080 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18081 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18082 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18083 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18084 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18085 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18086 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18087 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18088 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18089 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18090 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18091 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18092 * sysdeps/ieee754/k_standard.c: Likewise.
18093 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18094 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18095 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18096 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18097 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18098 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18099 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18100 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18101 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18102 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18103 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18104 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18105 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18106 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18107 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18108 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18109 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18110 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18111 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18112 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18113 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18114 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18115 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18116 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18117 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18118 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18119 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18120 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18121 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18122 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18123 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18124 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
18125 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18126 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18127 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18128 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18129 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
18130 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18131 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18132 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
18133 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
18134 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18135 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18136 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
18150 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18152 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18153 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18154 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18155 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18156 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18157 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18158 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18159 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18160 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18161 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18162 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18163 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18164 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18165 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18166 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18167 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18168 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18171 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18172 * sysdeps/ieee754/s_matherr.c: Likewise.
18173 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18174 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18175 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18176 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18177
965a54a4
JM
181782012-01-26 Joseph Myers <joseph@codesourcery.com>
18179
18180 * crypt/md5.h: Remove __STDC__ conditionals.
18181 * libio/libioP.h: Likewise.
18182 * locale/programs/config.h: Likewise.
18183 * sysdeps/generic/sysdep.h: Likewise.
18184 * sysdeps/i386/asm-syntax.h: Likewise.
18185 * sysdeps/s390/asm-syntax.h: Likewise.
18186 * sysdeps/unix/sysdep.h: Likewise.
18187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18189
7071ad79
JM
181902012-01-26 Joseph Myers <joseph@codesourcery.com>
18191
18192 * libio/libio.h: Remove __STDC__ conditionals.
18193 * malloc/obstack.h: Likewise.
18194 * math/complex.h: Likewise.
18195 * math/math.h: Likewise.
18196 * sysdeps/generic/_G_config.h: Likewise.
18197 * sysdeps/gnu/_G_config.h: Likewise.
18198 * sysdeps/mach/hurd/_G_config.h: Likewise.
18199 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18200 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
18201 * sysdeps/sparc/bits/mathdef.h: Likewise.
18202
afc5ed09
UD
182032012-01-26 Ulrich Drepper <drepper@gmail.com>
18204
18205 [BZ #13583]
18206 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 18207 Clean up HAS_* macros.
afc5ed09 18208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
18209 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
18210 possible.
18211 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
18212 HAS_AVX.
18213 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18214 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18215 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18216 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18217 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 18218
bdb6de1d
JM
182192012-01-25 Joseph Myers <joseph@codesourcery.com>
18220
18221 * elf/tst-unique3.cc (gets): Remove declaration.
18222 * elf/tst-unique3lib.cc (gets): Likewise.
18223 * elf/tst-unique3lib2.cc (gets): Likewise.
18224 * elf/tst-unique4.cc (gets): Likewise.
18225
b15549e6
UD
182262012-01-24 Ulrich Drepper <drepper@gmail.com>
18227
18228 * include/stdio.h: Add C++ protection. Add gets declarations and
18229 definitions.
18230 * debug/tst-chk1.c: Don't declare gets here.
18231 * stdio-common/tst-gets.c: Likewise.
18232
a037381f
JM
182332012-01-24 Joseph Myers <joseph@codesourcery.com>
18234
18235 * posix/glob: Remove directory.
18236
f1d4aa75
JM
182372012-01-24 Joseph Myers <joseph@codesourcery.com>
18238
18239 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
18240
81c0c964
PT
182412012-01-22 Pino Toscano <toscano.pino@tiscali.it>
18242
18243 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
18244 of the non-standard EPFNOSUPPORT.
18245
0ea698ae
ST
182462011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
18247
18248 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
18249 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
18250 ANYWHERE set to 1 only on KERN_NO_SPACE error.
18251
d220b117
UD
182522012-01-21 Ulrich Drepper <drepper@gmail.com>
18253
18254 * wcsmbs/uchar.h: Test __STDC_VERSION__.
18255
3e1aa84e
UD
182562012-01-20 Ulrich Drepper <drepper@gmail.com>
18257
18258 * nscd/aicache.c (addhstaiX): Do not cache negative results of
18259 transient errors.
18260 * nscd/grpcache.c (cache_addgr): Likewise.
18261 * nscd/hstcache.c (cache_addhst): Likewise.
18262 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18263 * nscd/pwdcache.c (cache_addpw): Likewise.
18264 * nscd/servicescache.c (cache_addserv): Likewise.
18265
400aa020
UD
182662012-01-16 Ulrich Drepper <drepper@gmail.com>
18267
d77e7869
UD
18268 * malloc/malloc.c: Various cleanups.
18269 * malloc/hooks.c: Likewise.
18270
400aa020
UD
18271 * stdlib/Makefile (tests): Add bug-fmtmsg1.
18272 * stdlib/bug-fmtmsg1.c: New file.
18273
18274 * stdlib/fmtmsg.c (init): Add missing unlock.
18275 Patch by Peng Haitao <penght@cn.fujitsu.com>.
18276
e0a309cf
MP
182772012-01-12 Marek Polacek <polacek@redhat.com>
18278
18279 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
18280 and _GNU_SOURCE.
18281
929d11c7
WS
182822012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18283
18284 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
18285 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
18286 macro to ensure uniqueness of label name.
18287 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18288 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18289
41d0e869
UD
182902012-01-11 Ulrich Drepper <drepper@gmail.com>
18291
0cc5ed3b
UD
18292 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
18293
41d0e869
UD
18294 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
18295 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18296 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18297 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
18298
a47a831a
UD
182992012-01-10 Ulrich Drepper <drepper@gmail.com>
18300
daa891c0
UD
18301 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
18302
18303 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
18304 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18305 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18306
e58ef0f2
UD
18307 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
18308
a47a831a 18309 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
18310 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18311 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 18312 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
18313
18314 * math/bits/math-finite.h: Add ldexp support.
18315
a0bfc9c7
MP
183162012-01-10 Marek Polacek <polacek@redhat.com>
18317
18318 * locale/programs/localedef.h (show_archive_content): Add noreturn
18319 attribute.
18320
d6e97a1d
UD
183212012-01-09 Ulrich Drepper <drepper@gmail.com>
18322
18323 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
18324
d5835c26
UD
183252012-01-08 Ulrich Drepper <drepper@gmail.com>
18326
e5f484c6
UD
18327 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
18328
d5835c26
UD
18329 * io/Makefile (headers): Add bits/poll2.h.
18330
d1f741e9
WS
183312011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
18332
18333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
18334 typo #include statement.
18335
ec09c1c4
UD
183362012-01-08 Ulrich Drepper <drepper@gmail.com>
18337
18338 * include/sys/cdefs.h: Define __attribute_alloc_size.
18339 * catgets/gencat.c: Add alloc_size attribute and apply consistently
18340 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
18341 * elf/pldd.c: Likewise.
18342 * iconv/iconv_charmap.c: Likewise.
18343 * iconv/iconvconfig.c: Likewise.
18344 * iconv/strtab.c: Likewise.
18345 * locale/programs/locale.c: Likewise.
18346 * locale/programs/localedef.h: Likewise.
18347 * locale/programs/simple-hash.c: Likewise.
18348 * nscd/nscd.h: Likewise.
18349 * nss/makedb.c: Likewise.
18350 * sysdeps/generic/ldconfig.h: Likewise.
18351 * locale/programs/localedef.c: Remove xmalloc prototype.
18352 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
18353
20b38e03
PP
183542012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18355
18356 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
18357 appropriate.
18358
a0da5fe1
UD
183592012-01-08 Ulrich Drepper <drepper@gmail.com>
18360
1d5a644a 18361 * math/Makefile (tests): Add tst-CMPLX.
669704fd 18362 * math/tst-CMPLX.c: New file.
1d5a644a 18363
8784a6db
UD
18364 * math/complex.h (CMPLXL): Fix typo.
18365
d9a216c0
UD
18366 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
18367 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
18368 GLIBC_2.16.
18369 * debug/tst-chk1.c: Add poll and ppoll tests.
18370 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
18371 * include/sys/poll.h: Add hidden proto for ppoll.
18372 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
18373 * sysdeps/mach/hurd/ppoll.c: Likewise.
18374 * io/ppoll.c: Likewise.
18375 * debug/poll_chk.c: New file.
18376 * debug/ppoll_chk.c: New file.
18377 * include/bits/poll2.h: New file.
18378 * io/bits/poll2.h: New file.
18379
ac097f5c
UD
18380 [BZ #1350]
18381 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
18382
2119dcfa
UD
18383 * configure.in: static is always set to yes. Remove.
18384 * config.make.in: Don't set build-static.
18385 * Makeconfig: Remove use of build-static.
18386 * dlfcn/Makefile: Likewise.
18387 * elf/Makefile: Likewise.
18388 * math/Makefile: Likewise.
18389 * misc/Makefile: Likewise.
18390 * nptl/Makefile: Likewise.
18391 * sysdeps/mach/hurd/Makefile: Likewise.
18392
121766a9
UD
18393 * configure.in: PWD_P is not used anymore.
18394 * config.make.in: Remove PWD_P entry.
18395
51a1d39c 18396 * configure.in: Remove last remnants of RANLIB.
8720d066 18397 No need to check for signed size_t anymore.
215f4bdc
UD
18398 Don't set libc_commonpagesize and libc_relro_required here for Alpha
18399 and IA-64.
3857022a 18400 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
18401 * aclocal.m4: Likewise.
18402
d3ed7225
UD
18403 * wcsmbs/mbrtoc16.c: Implement using towc function.
18404 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
18405 * wcsmbs/wcsmbsload.c: Likewise.
18406 * iconv/gconv_simple.c: Likewise.
18407 * iconv/gconv_int.h: Likewise.
18408 * iconv/gconv_builtin.h: Likewise.
18409 * iconv/iconv_prog.c: Remove CHAR16 handling.
18410
18411 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
18412
18413 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
18414
a0da5fe1
UD
18415 * configure.in: Remove --with-elf and --enable-bounded options.
18416 Dont set base_machine for ia64. More non-ELF conditions removed.
18417 Remove testing and setting of leading underscore information.
18418 * config.make.in (build-bounded): Set to no.
18419 * config.h.in: Remove NO_UNDERSCORES entry.
18420 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
18421 them.
18422 * csu/start.c: Remove !NO_UNDERSCORE code.
18423 * locale/localeinfo.h: Likewise.
18424 * sysdeps/generic/machine-gmon.h: Likewise.
18425 * sysdeps/generic/sysdep.h: Likewise.
18426 * sysdeps/i386/sysdep.h: Likewise.
18427 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18428 * sysdeps/mach/sysdep.h: Likewise.
18429 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18430 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18431 * sysdeps/sh/sysdep.h: Likewise.
18432 * sysdeps/sparc/sparc32/alloca.S: Likewise.
18433 * sysdeps/unix/i386/sysdep.S: Likewise.
18434 * sysdeps/unix/sparc/start.c: Likewise.
18435 * sysdeps/unix/sparc/sysdep.S: Likewise.
18436 * sysdeps/unix/sparc/sysdep.h: Likewise.
18437 * sysdeps/unix/start.c: Likewise.
18438 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18439 * sysdeps/x86_64/sysdep.h: Likewise.
18440
df78418a
UD
184412012-01-07 Ulrich Drepper <drepper@gmail.com>
18442
a784e502
UD
18443 [BZ #13553]
18444 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
18445 for non-gcc.
18446 * argp/argp-fmtstream.h: Use const instead __const.
18447 * argp/argp.h: Likewise.
18448 * assert/assert.h: Likewise.
18449 * bits/fenv.h: Likewise.
18450 * bits/sched.h: Likewise.
18451 * bits/sigset.h: Likewise.
18452 * bits/sigthread.h: Likewise.
18453 * catgets/nl_types.h: Likewise.
18454 * conform/data/pthread.h-data: Likewise.
18455 * crypt/crypt-private.h: Likewise.
18456 * crypt/crypt.h: Likewise.
18457 * crypt/crypt_util.c: Likewise.
18458 * ctype/ctype.h: Likewise.
18459 * debug/execinfo.h: Likewise.
18460 * debug/mbsnrtowcs_chk.c: Likewise.
18461 * debug/mbsrtowcs_chk.c: Likewise.
18462 * debug/wcsnrtombs_chk.c: Likewise.
18463 * debug/wcsrtombs_chk.c: Likewise.
18464 * debug/wcstombs_chk.c: Likewise.
18465 * dirent/dirent.h: Likewise.
18466 * dlfcn/dlfcn.h: Likewise.
18467 * elf/neededtest4.c: Likewise.
18468 * grp/grp.h: Likewise.
18469 * gshadow/gshadow.h: Likewise.
18470 * iconv/gconv.h: Likewise.
18471 * iconv/gconv_int.h: Likewise.
18472 * iconv/gconv_simple.c: Likewise.
18473 * iconv/iconv.h: Likewise.
18474 * iconv/loop.c: Likewise.
18475 * iconv/skeleton.c: Likewise.
18476 * include/aio.h: Likewise.
18477 * include/aliases.h: Likewise.
18478 * include/argz.h: Likewise.
18479 * include/arpa/inet.h: Likewise.
18480 * include/assert.h: Likewise.
18481 * include/dirent.h: Likewise.
18482 * include/dlfcn.h: Likewise.
18483 * include/execinfo.h: Likewise.
18484 * include/fcntl.h: Likewise.
18485 * include/fenv.h: Likewise.
18486 * include/glob.h: Likewise.
18487 * include/grp.h: Likewise.
18488 * include/libintl.h: Likewise.
18489 * include/mntent.h: Likewise.
18490 * include/netdb.h: Likewise.
18491 * include/pwd.h: Likewise.
18492 * include/rpc/netdb.h: Likewise.
18493 * include/sched.h: Likewise.
18494 * include/search.h: Likewise.
18495 * include/shadow.h: Likewise.
18496 * include/signal.h: Likewise.
18497 * include/stdio.h: Likewise.
18498 * include/stdlib.h: Likewise.
18499 * include/string.h: Likewise.
18500 * include/sys/socket.h: Likewise.
18501 * include/sys/stat.h: Likewise.
18502 * include/sys/statfs.h: Likewise.
18503 * include/sys/statvfs.h: Likewise.
18504 * include/sys/syslog.h: Likewise.
18505 * include/sys/time.h: Likewise.
18506 * include/sys/uio.h: Likewise.
18507 * include/time.h: Likewise.
18508 * include/unistd.h: Likewise.
18509 * include/utmp.h: Likewise.
18510 * include/wchar.h: Likewise.
18511 * include/wctype.h: Likewise.
18512 * inet/aliases.h: Likewise.
18513 * inet/arpa/inet.h: Likewise.
18514 * inet/netinet/ether.h: Likewise.
18515 * inet/netinet/in.h: Likewise.
18516 * intl/libintl.h: Likewise.
18517 * io/bits/fcntl2.h: Likewise.
18518 * io/fcntl.h: Likewise.
18519 * io/ftw.h: Likewise.
18520 * io/sys/poll.h: Likewise.
18521 * io/sys/stat.h: Likewise.
18522 * io/sys/statfs.h: Likewise.
18523 * io/sys/statvfs.h: Likewise.
18524 * io/utime.h: Likewise.
18525 * libio/bits/stdio.h: Likewise.
18526 * libio/bits/stdio2.h: Likewise.
18527 * libio/libio.h: Likewise.
18528 * libio/libioP.h: Likewise.
18529 * libio/stdio.h: Likewise.
18530 * locale/lc-ctype.c: Likewise.
18531 * locale/locale.h: Likewise.
18532 * login/utmp.h: Likewise.
18533 * malloc/arena.c: Likewise.
18534 * malloc/malloc.c: Likewise.
18535 * malloc/malloc.h: Likewise.
18536 * malloc/mcheck.c: Likewise.
18537 * malloc/mtrace.c: Likewise.
18538 * math/bits/mathcalls.h: Likewise.
18539 * math/fenv.h: Likewise.
18540 * math/math_private.h: Likewise.
18541 * misc/bits/error.h: Likewise.
18542 * misc/bits/syslog.h: Likewise.
18543 * misc/err.h: Likewise.
18544 * misc/error.h: Likewise.
18545 * misc/fstab.h: Likewise.
18546 * misc/mntent.h: Likewise.
18547 * misc/regexp.h: Likewise.
18548 * misc/search.h: Likewise.
18549 * misc/sgtty.h: Likewise.
18550 * misc/sys/mman.h: Likewise.
18551 * misc/sys/syslog.h: Likewise.
18552 * misc/sys/uio.h: Likewise.
18553 * misc/sys/xattr.h: Likewise.
18554 * misc/ttyent.h: Likewise.
18555 * nis/rpcsvc/ypclnt.h: Likewise.
18556 * nss/nss.h: Likewise.
18557 * posix/bits/unistd.h: Likewise.
18558 * posix/fnmatch.h: Likewise.
18559 * posix/glob.h: Likewise.
18560 * posix/sched.h: Likewise.
18561 * posix/spawn.h: Likewise.
18562 * posix/sys/wait.h: Likewise.
18563 * posix/unistd.h: Likewise.
18564 * posix/wordexp.h: Likewise.
18565 * pwd/pwd.h: Likewise.
18566 * resolv/netdb.h: Likewise.
18567 * resource/sys/resource.h: Likewise.
18568 * rt/aio.h: Likewise.
18569 * rt/bits/mqueue2.h: Likewise.
18570 * rt/mqueue.h: Likewise.
18571 * shadow/shadow.h: Likewise.
18572 * signal/signal.h: Likewise.
18573 * socket/send.c: Likewise.
18574 * socket/sendto.c: Likewise.
18575 * socket/sys/socket.h: Likewise.
18576 * stdio-common/printf.h: Likewise.
18577 * stdlib/bits/stdlib.h: Likewise.
18578 * stdlib/fmtmsg.h: Likewise.
18579 * stdlib/monetary.h: Likewise.
18580 * stdlib/stdlib.h: Likewise.
18581 * stdlib/ucontext.h: Likewise.
18582 * streams/stropts.h: Likewise.
18583 * string/argz.h: Likewise.
18584 * string/bits/string2.h: Likewise.
18585 * string/string.h: Likewise.
18586 * string/strings.h: Likewise.
18587 * sunrpc/rpc/auth.h: Likewise.
18588 * sunrpc/rpc/auth_des.h: Likewise.
18589 * sunrpc/rpc/clnt.h: Likewise.
18590 * sunrpc/rpc/netdb.h: Likewise.
18591 * sunrpc/rpc/pmap_clnt.h: Likewise.
18592 * sunrpc/rpc/xdr.h: Likewise.
18593 * sysdeps/generic/inttypes.h: Likewise.
18594 * sysdeps/generic/net/if.h: Likewise.
18595 * sysdeps/generic/sys/swap.h: Likewise.
18596 * sysdeps/gnu/net/if.h: Likewise.
18597 * sysdeps/gnu/utmpx.h: Likewise.
18598 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
18599 * sysdeps/i386/i486/bits/string.h: Likewise.
18600 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
18601 * sysdeps/s390/bits/string.h: Likewise.
18602 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
18603 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
18604 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
18605 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
18606 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18607 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
18608 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
18609 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
18610 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
18611 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
18612 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
18613 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18614 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
18615 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18616 * sysdeps/unix/sysv/linux/readv.c: Likewise.
18617 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
18618 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18619 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18620 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18621 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18622 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18623 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
18624 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
18625 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
18626 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
18627 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
18628 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
18629 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18630 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
18631 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
18632 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
18633 * sysvipc/sys/ipc.h: Likewise.
18634 * sysvipc/sys/msg.h: Likewise.
18635 * sysvipc/sys/sem.h: Likewise.
18636 * sysvipc/sys/shm.h: Likewise.
18637 * termios/termios.h: Likewise.
18638 * time/sys/time.h: Likewise.
18639 * time/time.h: Likewise.
18640 * wcsmbs/bits/wchar2.h: Likewise.
18641 * wcsmbs/uchar.h: Likewise.
18642 * wcsmbs/wchar.h: Likewise.
18643 * wctype/wctype.h: Likewise.
18644
0269750c
UD
18645 [BZ #13551]
18646 * Makeconfig: Remove all but ELF support including AIX support.
18647 * Makerules: Likewise.
18648 * config.h.in: Likewise.
18649 * config.make.in: Likewise.
18650 * configure: Likewise.
18651 * configure.in: Likewise.
18652 * csu/Makefile: Likewise.
18653 * csu/version.c: Likewise.
18654 * debug/Makefile: Likewise.
18655 * dlfcn/Makefile: Likewise.
18656 * elf/Makefile: Likewise.
18657 * extra-lib.mk: Likewise.
18658 * iconv/Makefile: Likewise.
18659 * include/libc-symbols.h: Likewise.
18660 * include/shlib-compat.h: Likewise.
18661 * resolv/Makefile: Likewise.
18662 * resolv/res_libc.c: Likewise.
18663 * rt/Makefile: Likewise.
18664 * sysdeps/i386/asm-syntax.h: Likewise.
18665 * sysdeps/i386/sysdep.h: Likewise.
18666 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
18667 * sysdeps/mach/sysdep.h: Likewise.
18668 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
18669 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
18670 * sysdeps/s390/asm-syntax.h: Likewise.
18671 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18672 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18673 * sysdeps/sh/sysdep.h: Likewise.
18674 * sysdeps/unix/sparc/sysdep.h: Likewise.
18675 * sysdeps/wordsize-32/divdi3.c: Likewise.
18676 * sysdeps/x86_64/sysdep.h: Likewise.
18677
00bbd29b
UD
18678 * argp/Versions: Remove _argp_unlock_xxx.
18679
18680 [BZ #13559]
18681 * abilist/ld.abilist: Update. Adjust for removal of tls option.
18682 * abilist/libBrokenLocale.abilist: Likewise.
18683 * abilist/libanl.abilist: Likewise.
18684 * abilist/libc.abilist: Likewise.
18685 * abilist/libcrypt.abilist: Likewise.
18686 * abilist/libdl.abilist: Likewise.
18687 * abilist/libm.abilist: Likewise.
18688 * abilist/libnsl.abilist: Likewise.
18689 * abilist/libpthread.abilist: Likewise.
18690 * abilist/libresolv.abilist: Likewise.
18691 * abilist/librt.abilist: Likewise.
18692 * abilist/libthread_db.abilist: Likewise.
18693 * abilist/libutil.abilist: Likewise.
18694 * abilist/libnss_db.abilist: New file.
18695
18696 * scripts/abilist.awk: Add support for indirect functions.
18697
a2693a0e
UD
18698 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
18699
3f05895f
UD
18700 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
18701
ecb6fb48
UD
18702 * shlib-versions: Remove entries for ports architectures.
18703
664f8cb9
UD
18704 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
18705 files in ports.
18706 * elf/stackguard-macros.h: Remove support for IA-64.
18707 * elf/tst-auditmod1.c: Likewise.
18708 * sysdeps/generic/ldsodefs.h: Likewise.
18709
7ae81d88
UD
18710 * sysdeps/unix/sysv/linux/configure.in: Ports should define
18711 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
18712 configure files.
18713
bdeba135
UD
18714 [BZ #13552]
18715 * configure.in: Remove --enable-omitfp support.
18716 * FAQ.in: Adjust.
18717 * config.make.in: Likewise.
18718 * Makeconfig: Likewise.
18719 * manual/install.texi: Likewise.
18720
d75a0a62
UD
18721 In case anyone cares, the IA-64 architecture could move to ports.
18722 * sysdeps/ia64/*: Removed.
18723 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 18724 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 18725
dcc9756b
UD
18726 [BZ #13555]
18727 * configure.in: Remove entries for unsupported architectures.
18728
d3761ebc 18729 [BZ #13533]
9954432e
UD
18730 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
18731 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
18732 routines.
18733 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
18734 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
18735 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
18736 fall back to using wcrtomb.
18737 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
18738 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
18739 renaming.
18740 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
18741 * wcsmbs/tst-c16c32-1.c: New file.
18742
18743 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
18744 local variable.
18745
c3a87236
UD
18746 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
18747
28926a1b
UD
18748 * elf/tst-unique3.cc: Add explicit declaration of gets.
18749 * elf/tst-unique3lib.cc: Likewise.
18750 * elf/tst-unique3lib2.cc: Likewise.
18751 * elf/tst-unique4.cc: Likewise.
18752
df78418a
UD
18753 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
18754
8ecd6b2a
JM
187552012-01-06 Joseph Myers <joseph@codesourcery.com>
18756
18757 [BZ #13566]
18758 * assert/assert.h (static_assert): Don't define for C++.
18759 * libio/stdio.h (gets): Do declare for C++ <= C++11.
18760 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
18761
9f115170
UD
187622012-01-03 Ulrich Drepper <drepper@gmail.com>
18763
5e0d0300
UD
18764 * iconv/loop.c (single loop): Fix assertion in storing of
18765 remaining bytes.
18766
9f115170
UD
18767 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
18768
81fb02b0
UD
187692012-01-01 Ulrich Drepper <drepper@gmail.com>
18770
18771 * posix/getconf.c: Update copyright year.
18772 * nss/getent.c: Likewise.
a316c1f6 18773 * nss/makedb.c: Likewise.
81fb02b0
UD
18774 * iconv/iconvconfig.c: Likewise.
18775 * iconv/iconv_prog.c: Likewise.
18776 * elf/ldconfig.c: Likewise.
a316c1f6
UD
18777 * elf/pldd.c: Likewise.
18778 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
18779 * catgets/gencat.c: Likewise.
18780 * csu/version.c: Likewise.
18781 * elf/ldd.bash.in: Likewise.
18782 * elf/sprof.c (print_version): Likewise.
18783 * locale/programs/locale.c: Likewise.
18784 * locale/programs/localedef.c: Likewise.
a316c1f6 18785 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
18786 * nscd/nscd.c (print_version): Likewise.
18787 * debug/xtrace.sh: Likewise.
18788 * malloc/memusage.sh: Likewise.
18789 * malloc/mtrace.pl: Likewise.
18790 * debug/catchsegv.sh: Likewise.
18791
2ba92745
JJ
187922011-12-30 Jakub Jelinek <jakub@redhat.com>
18793
18794 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
18795 pure attribute.
18796
dadebdae
UD
187972011-12-24 Ulrich Drepper <drepper@gmail.com>
18798
d3761ebc 18799 [BZ #13533]
db6af3eb
UD
18800 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
18801 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
18802 transformations.
18803 * iconv/gconv_int.h: Likewise.
18804 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
18805 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
18806 from libc for GLIBC_2.16.
18807 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
18808 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
18809 * wcsmbs/uchar.h: Really define mbstate_t.
18810 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
18811 * wcsmbs/c16rtomb.c: New file.
18812 * wcsmbs/mbrtoc16.c: New file.
18813 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
18814 for C/POSIX locale.
18815 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
18816 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
18817
dadebdae
UD
18818 * wcsmbs/wchar.h: Add missing __restrict.
18819
67371b56
UD
188202011-12-23 Ulrich Drepper <drepper@gmail.com>
18821
74033a25
UD
18822 [BZ #13532]
18823 * time/Makefile (routines): Add timespec_get.
18824 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
18825 * time/time.h: Define TIME_UTC and declare timespec_get. Define
18826 timespec for ISO C11.
18827 * time/timespec_get.c: New file.
18828 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
18829 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
18830
380d7e87
UD
18831 [BZ #13531]
18832 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
18833 * stdlib/stdlib.h: Declare aligned_alloc.
18834 * Versions.def: Add GLIBC_2.16 for libc.
18835 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
18836
4e9e7a35
UD
18837 [BZ 13527]
18838 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
18839 ISO C11.
18840
380d7e87 18841 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
18842 code.
18843
03a71829
UD
18844 [BZ #13528]
18845 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
18846
839e283e
UD
18847 [BZ #13529]
18848 * assert/assert.h (static_assert): Define.
18849
ce5294e2 18850 * version.h: Update for 2.16 development version.
90fa7312 18851
8d44e150 18852 [BZ #13526]
d7809905
UD
18853 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
18854 _ISOC11_SOURCE.
18855
c0da14cd
UD
18856 * version.h (RELEASE): Bump for 2.15 release.
18857 * include/features.h (__GLIBC_MINOR__): Bump to 15.
18858
530a3249
MP
18859 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
18860 Patch by Marek Polacek <mpolacek@redhat.com>.
18861
67371b56
UD
18862 * bits/byteswap.h: Protect long long constants with __extension__.
18863 * sysdeps/i386/bits/byteswap.h: Likewise.
18864 * sysdeps/ia64/bits/byteswap.h: Likewise.
18865 * sysdeps/s390/bits/byteswap.h: Likewise.
18866 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18867
15db4de1
LD
188682011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18869
18870 [BZ #13540]
bbe315ea
LD
18871 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
18872 destination buffer.
15db4de1
LD
18873 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18874
2b2596b1
MP
188752011-12-23 Marek Polacek <polacek@redhat.com>
18876
18877 * elf/dl-addr.c (determine_info): Add inline keyword.
18878 * elf/tst-auditmod4b.c (check_avx): Likewise.
18879 * elf/tst-auditmod6b.c (check_avx): Likewise.
18880 * elf/tst-auditmod6c.c (check_avx): Likewise.
18881 * elf/tst-auditmod7b.c (check_avx): Likewise.
18882
70c6c246
UD
188832011-12-23 Ulrich Drepper <drepper@gmail.com>
18884
18885 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18886 !__SSE_MATH__.
18887
c044cf14
LD
188882011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18889
15db4de1 18890 [BZ #13540]
c044cf14
LD
18891 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18892 processing for last bytes.
18893
6b13d9d9
BH
188942011-08-06 Bruno Haible <bruno@clisp.org>
18895
d455f537
BH
18896 [BZ #13061]
18897 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18898 U+0385, not to U+1FEE.
18899
6b13d9d9
BH
18900 [BZ #13062]
18901 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18902 entry for U+00A5 U+0301.
18903
db910efd
UD
189042011-12-22 Ulrich Drepper <drepper@gmail.com>
18905
27deeafc
UD
18906 [BZ #13166]
18907 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18908 buffer for the output is too small.
18909
aed9d171
UD
18910 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18911 optimization.
18912
db910efd
UD
18913 [BZ #13185]
18914 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18915 SSE flags if possible.
18916
2bd779ae
LD
189172011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18918
e7f9dac3 18919 [BZ #13540]
2bd779ae
LD
18920 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18921 processing for last bytes.
18922
154bfc16
JM
189232011-12-22 Joseph Myers <joseph@codesourcery.com>
18924
18925 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18926 (syscall-list-default-options, syscall-list-default-condition)
18927 (syscall-list-includes): Define.
18928 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18929 list of ABIs and options and #if conditions for each ABI. Do not
18930 handle common syscalls between ABIs specially.
18931 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18932 Remove.
18933 (syscall-list-variants, syscall-list-32bit-options)
18934 (syscall-list-32bit-condition, syscall-list-64bit-options)
18935 (syscall-list-64bit-condition): Define.
18936 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18937 (syscall-list-variants, syscall-list-32bit-options)
18938 (syscall-list-32bit-condition, syscall-list-64bit-options)
18939 (syscall-list-64bit-condition): Define.
18940 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18941 Remove.
18942 (syscall-list-variants, syscall-list-32bit-options)
18943 (syscall-list-32bit-condition, syscall-list-64bit-options)
18944 (syscall-list-64bit-condition): Define.
18945 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18946 Remove.
18947 (syscall-list-variants, syscall-list-32bit-options)
18948 (syscall-list-32bit-condition, syscall-list-64bit-options)
18949 (syscall-list-64bit-condition): Define.
18950
21eaf3a5
UD
189512011-12-22 Ulrich Drepper <drepper@gmail.com>
18952
16c6f992
UD
18953 * locale/iso-639.def: Add brx entry.
18954
41043168
UD
18955 [BZ #13328]
18956 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18957 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18958
21eaf3a5
UD
18959 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18960 __feraiseexcept_renamed.
18961
e3a851a2
UD
189622011-12-21 Ulrich Drepper <drepper@gmail.com>
18963
4920765e
UD
18964 [BZ #13538]
18965 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18966 EPOLLET with unsigned values.
18967 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18968 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18969
e3a851a2
UD
18970 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18971 to large cancellation.
18972 * math/s_cacoshf.c: Likewise.
18973 * math/s_cacoshl.c: Likewise.
18974
b27e24b8
RK
189752011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18976
18977 [BZ #13305]
aebefeee 18978 [BZ #12786]
b27e24b8
RK
18979 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18980 * math/s_cacoshf.c: Likewise.
18981 * math/s_cacoshl.c: Likewise.
18982
ee190f67
UD
189832011-12-21 Ulrich Drepper <drepper@gmail.com>
18984
18985 [BZ #13439]
18986 * iconv/gconv.h: Define __GCONV_SWAP.
18987 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18988 * iconvdata/utf-16.c: Likewise.
18989 * iconvdata/utf-32.c: Likewise.
18990
707f25df
AS
189912011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18992
18993 [BZ #13524]
18994 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18995 numerator after shifting it by one limb.
18996
d2daaa1e
RÁE
189972011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18998
18999 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
19000 under [__USE_EXTERN_INLINES].
19001
a4647e72
UD
190022011-12-17 Ulrich Drepper <drepper@gmail.com>
19003
19004 [BZ #13446]
19005 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
19006
f0b264f1
AZ
190072011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19008
19009 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
19010 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
19011 optimized code.
19012 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
19013 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
19014 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
19015 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
19016 for strncasecmp/strncasecmp_l compilation.
19017 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
19018 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
19019
8ef4f244
MP
190202011-12-08 Marek Polacek <mpolacek@redhat.com>
19021
19022 [BZ #13484]
19023 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
19024 of __asm__.
19025
97ac2654
UD
190262011-12-17 Ulrich Drepper <drepper@gmail.com>
19027
19028 [BZ #13506]
19029 * time/tzfile.c (__tzfile_read): Check values from file header.
19030
91d2a845
WS
190312011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19032
19033 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
19034 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
19035 * powerpc/powerpc32/dl-start.S: Likewise.
19036 * powerpc/powerpc32/elf/start.S: Likewise.
19037 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19038 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
19039 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
19040 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
19041 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19042 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
19043 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
19044 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19045 * powerpc/powerpc32/fpu/s_round.S: Likewise.
19046 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19047 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19048 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19049 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19050 * powerpc/powerpc32/memset.S: Likewise.
19051 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19052 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19053 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19054 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19055 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19056 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19057 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19058 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19059 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
19060 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
19061 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
19062 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19063 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19064
a1267ba1
AZ
190652011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19066
19067 * math/libm-test.inc: Added more nearbyint tests.
19068 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
19069 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
19070 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
19071 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
19072
ad8ac1bd
RL
190732011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
19074
19075 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
19076 FD_CLOEXEC.
19077
1d3e4b61
UD
190782011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19079
19080 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
19081 Add wcscpy-ssse3 wcscpy-c.
19082 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
19083 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
19084 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
19085 * sysdeps/x86_64/wcschr.S: New file.
19086 * sysdeps/x86_64/wcsrchr.S: New file.
19087 * string/test-strcmp.c: Remove checking of wcscmp function for
19088 wrong alignments.
19089 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
19090 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
19091 wcsrchr-sse2 wcsrchr-c.
19092 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
19093 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
19094 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
19095 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
19096 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
19097 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
19098 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
19099 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
19100 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
19101 * wcsmbc/wcschr.c (WCSCHR): New macro.
19102
5b330a2d
UD
191032011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19104
19105 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
19106 * wcsmbs/test-wcsrchr.c: New file.
19107 * string/test-strrchr.c: Add wcsrchr support.
19108 (WIDE): New macro.
19109 * wcsmbs/test-wcscpy.c: New file.
19110 * string/test-strcpy.c: Add wcscpy support.
19111 (WIDE): New macro.
26428b7c 19112
f039c043
UD
191132011-12-10 Ulrich Drepper <drepper@gmail.com>
19114
19115 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
19116 the inner loop.
19117
850fb039
AS
191182011-12-06 Andreas Schwab <schwab@linux-m68k.org>
19119
19120 [BZ #13472]
19121 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
19122
4efbd5cb
UD
191232011-12-04 Ulrich Drepper <drepper@gmail.com>
19124
52ff5dd0 19125 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 19126 Minor optimizations.
52ff5dd0 19127
4efbd5cb
UD
19128 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
19129 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
19130 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19131
8a426e12
UD
191322011-12-03 Ulrich Drepper <drepper@gmail.com>
19133
aff2453d
UD
19134 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
19135 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
19136 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
19137 for gcc to avoid warnings.
19138 * inet/Makefile (tests): Add tst-checks.
19139 * inet/tst-checks.c: New file.
19140
19141 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
19142 warning.
19143
19144 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
19145 __wmemcmp_sse2.
19146
19147 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
19148 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
19149
8a426e12
UD
19150 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
19151
9bea3473
UD
191522011-12-02 Ulrich Drepper <drepper@gmail.com>
19153
3a965496
UD
19154 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
19155 problem.
19156
9bea3473
UD
19157 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
19158
f101631b
UD
191592011-11-29 Joseph Myers <joseph@codesourcery.com>
19160
19161 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
19162 conditional on GCC version.
19163 (__arch_compare_and_exchange_val_8_acq)
19164 (__arch_compare_and_exchange_val_16_acq)
19165 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
19166 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
19167 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
19168
a98275aa
UD
191692011-12-02 Joseph Myers <joseph@codesourcery.com>
19170
19171 * sysdeps/sh/backtrace.c: New file.
19172
d4cc29a2
AS
191732011-12-02 Andreas Schwab <schwab@redhat.com>
19174
19175 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
19176 parenthesis.
19177
6257af2d
AS
191782011-12-01 Andreas Schwab <schwab@redhat.com>
19179
19180 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
19181 falling back to utime.
19182
b5f44c1a
AS
191832011-11-30 Andreas Schwab <schwab@redhat.com>
19184
19185 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
19186 expectations for float.
19187
f3a6cc0a
AS
191882011-11-29 Andreas Schwab <schwab@redhat.com>
19189
19190 * locale/weight.h (findidx): Add parameter len.
19191 * locale/weightwc.h (findidx): Likewise.
19192 * posix/fnmatch_loop.c (FCT): Adjust caller.
19193 * posix/regcomp.c (build_equiv_class): Likewise.
19194 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
19195 * posix/regexec.c (check_node_accept_bytes): Likewise.
19196 * string/strcoll_l.c (STRCOLL): Likewise.
19197 * string/strxfrm_l.c (STRXFRM): Likewise.
19198
9d65ea3a
UD
191992011-11-17 Ulrich Drepper <drepper@gmail.com>
19200
19201 * Makefile.in: Remove CVSOPT handling.
19202 * configure.in: Remove use of AC_REVISION.
19203 * iconvdata/Makefile (distribute): No need to filter out CVS.
19204 * scripts/list-sources.sh: Remove CVS, subversion and monotone
19205 handling.
19206
5583a086
AS
192072011-11-16 Andreas Schwab <schwab@redhat.com>
19208
19209 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
19210 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
19211 [USE_AS_STRNCASECMP_L]: Likewise.
19212 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
19213 NO_TLS_DIRECT_SEG_REFS.
19214 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
19215 Fix argument offsets for non-PIC.
19216 [USE_AS_STRNCASECMP_L]: Likewise.
19217 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
19218 NO_TLS_DIRECT_SEG_REFS.
19219
d62a8200
UD
192202011-11-15 Ulrich Drepper <drepper@gmail.com>
19221
9d65ea3a 19222 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
19223 O_CLOEXEC.
19224 * locale/loadlocale.c (_nl_load_locale): Likewise.
19225
09f93bd3
AS
192262011-11-15 Andreas Schwab <schwab@redhat.com>
19227
446514f9
AS
19228 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
19229 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
19230 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
19231 (SYSCALL_GETTIME): Set errno on error.
19232
09f93bd3
AS
19233 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
19234 count references to noai6ai_cached.
19235
312be3f9
UD
192362011-11-15 Ulrich Drepper <drepper@gmail.com>
19237
19238 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
19239
19240 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
19241 FD_CLOEXEC for /proc/self/maps.
19242
19243 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
19244 FD_CLOEXEC for /proc/meminfo.
19245
19246 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
19247 gai.conf.
19248
19249 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
19250 FD_CLOEXEC for given file.
19251
19252 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
19253
19254 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
19255 FD_CLOEXEC for /etc/hosts.
19256 (_gethtent): Likewise.
19257
19258 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
19259
19260 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
19261 cancellation and set FD_CLOEXEC for /etc/netgroup.
19262
19263 * nss/nss_files/files-key.c (search): Don't allow cancellation when
19264 reading /etc/publickey.
19265
19266 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
19267 allow cancellation when reading /etc/group.
19268
19269 * nss/nss_files/files-alias.c (internal_setent): Don't allow
19270 cancellation.
19271 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
19272
19273 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
19274 when using data file.
19275
19276 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
19277
19278 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
19279 (write_nis_obj): Use "c" and "e" in fopen.
19280
19281 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
19282
19283 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
19284
19285 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
19286
19287 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
19288
19289 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
19290 locale.alias.
19291
19292 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
19293
19294 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
19295
19296 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
19297
19298 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
19299 file parsing and set FD_CLOEXEC.
19300
82af0fa8
UD
193012011-11-14 Ulrich Drepper <drepper@gmail.com>
19302
19303 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
19304
a5fb313c
AS
193052011-11-14 Andreas Schwab <schwab@redhat.com>
19306
19307 * malloc/arena.c (arena_get2): Don't call reused_arena when
19308 _int_new_arena failed.
19309
6abf3465
UD
193102011-11-14 Ulrich Drepper <drepper@gmail.com>
19311
19312 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
19313 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
19314 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
19315 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19316 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19317 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
19318 to compile strcasecmp and strncasecmp.
19319 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
19320 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
19321
19322 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
19323
76e3966e
UD
193242011-11-13 Ulrich Drepper <drepper@gmail.com>
19325
19326 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
19327 locale-defines.sym to gen-as-const-headers.
19328 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
19329 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
19330 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
19331 to compile strcasecmp and strncasecmp.
19332 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
19333 strcasecmp_l and strncasecmp_l.
19334 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
19335 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
19336 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
19337 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
19338 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
19339 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
19340 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
19341 * sysdeps/i386/i686/multiarch/strncase.S: New file.
19342 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
19343 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
19344 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
19345
ab26144e
UD
193462011-11-12 Ulrich Drepper <drepper@gmail.com>
19347
7edb22ef
UD
19348 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
19349 result of SYSDEP_GETTIME_CPU to retval.
19350 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
19351 parameter list to macro. Remove trailing semicolon. Adjust users.
19352
9694fc44
UD
19353 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
19354 variable.
19355
8ad89ef8
UD
19356 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
19357 mantissa words.
19358 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19359
0c822ef9
UD
19360 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
19361 from unused variable.
19362
874e0564
UD
19363 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
19364 DWARF definitions.
19365 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
19366 for assembling.
19367
3a2edc79
UD
19368 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
19369 over namespaces.
19370
f3c2577f
UD
19371 * sunrpc/rpc_prot.c (rejected): Fix case value.
19372
294ce126
UD
19373 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
19374 unsigned long long int to avoid warnings in shift.
19375
5e2b63c6
UD
19376 * posix/regex_internal.c (re_string_reconstruct): Actually use result
19377 of use of trans.
19378 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
19379 variable tmp.
19380
e7f4b08e
UD
19381 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
19382 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
19383 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
19384
ab26144e
UD
19385 * nis/nis_table.c (nis_list): Use variable of correct type for
19386 result of __follow_path call.
19387
8a6d5255
AZ
193882011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19389
19390 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
19391 of math functions ceil, trunc, floor, round, and sqrt, when
19392 avaliable on the platform.
19393 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
19394 name clash.
19395 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19396 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19397 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19398
aaddc98c
MP
193992011-10-30 Marek Polacek <mpolacek@redhat.com>
19400
19401 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
19402 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19403
95b7042b
RM
194042011-11-11 Roland McGrath <roland@hack.frob.com>
19405
19406 * include/unistd.h: Fix __readlink return type.
19407 Reported by Chris Metcalf <cmetcalf@tilera.com>.
19408
57769839
UD
194092011-11-11 Ulrich Drepper <drepper@gmail.com>
19410
19411 * stdlib/ucontext.h: Undo last change for makecontext.
19412
edc5984d
AS
194132011-11-11 Andreas Schwab <schwab@redhat.com>
19414
98591e58
AS
19415 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
19416
edc5984d
AS
19417 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
19418 * setjmp/setjmp.h: Mark functions as non-leaf.
19419 * setjmp/bits/setjmp2.h: Likewise.
19420 * stdlib/ucontext.h: Likewise.
19421
77cdc054
AS
194222011-11-10 Andreas Schwab <schwab@redhat.com>
19423
19424 * malloc/arena.c (_int_new_arena): Don't increment narenas.
19425 (reused_arena): Don't check arena limit.
19426 (arena_get2): Atomically check arena limit.
19427
fe72eebd
UD
194282011-11-08 Ulrich Drepper <drepper@gmail.com>
19429
5f078c32
UD
19430 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
19431 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
19432
fe72eebd
UD
19433 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
19434 instructions.
19435
ae1bc2fa
AS
194362011-11-07 Andreas Schwab <schwab@redhat.com>
19437
7583a88d
AS
19438 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
19439 handler when locking.
19440
ae1bc2fa
AS
19441 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19442 Fix size of allocated buffer.
19443
10fb0bfa
AS
194442011-11-04 Andreas Schwab <schwab@redhat.com>
19445
998832a4
AS
19446 [BZ #10103]
19447 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
19448 declarations for long double functions.
19449 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
19450
10fb0bfa
AS
19451 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
19452
3d7ba52b
AS
194532011-11-03 Andreas Schwab <schwab@redhat.com>
19454
a9ae54a1
AS
19455 * nscd/nscd.c (main): Don't start AVC thread until credentials are
19456 installed.
19457
3d7ba52b
AS
19458 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
19459 is disabled.
19460
bc8db248
ST
194612011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19462
19463 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
19464
45b96dd6
AS
194652011-11-01 Andreas Schwab <schwab@linux-m68k.org>
19466
647776f6
AS
19467 * include/alloca.h (stackinfo_alloca_round): Define.
19468 (extend_alloca): Use it.
19469 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
19470 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
19471 here.
19472
d91a8b93
AS
19473 * scripts/check-local-headers.sh: Ignore libaudit.h.
19474
45b96dd6
AS
19475 * nscd/Makefile (extra-objs): Make recursively expanded.
19476
432d41ce
UD
194772011-11-01 Ulrich Drepper <drepper@gmail.com>
19478
34372fc6
UD
19479 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
19480 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19481
fadb59f8
UD
19482 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
19483 * posix/tst-rfc3484-2.c: Likewise.
19484 * posix/tst-rfc3484-3.c: Likewise.
19485
78239589
UD
19486 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19487 process_vm_writev.
19488 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
19489 process_vm_writev.
19490 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
19491 process_vm_writev from libc using GLIBC_2.15 version.
19492
432d41ce
UD
19493 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
19494
02f9c6cf
PP
194952011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
19496
19497 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
19498 stack usage.
19499
3a2c0242
UD
195002011-10-31 Ulrich Drepper <drepper@gmail.com>
19501
f4ec4833
UD
19502 [BZ #13367]
19503 * nss/getent.c (initgroups_keys): Show error message in case no group
19504 names are given.
19505
3a2c0242
UD
19506 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
19507 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
19508 __bump_nl_timestamp.
19509 * nscd/connections (nscd_init): When host database is served open
19510 netlink socket and request notification about configuration changes.
19511 (main_loop_poll): Track netlink file descriptor and bump timestamp
19512 in case data becomes available.
19513 (main_loop_epoll): Likewise.
19514 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
19515 (database_pers_head): Add extra_data fileds.
19516 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
19517 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
19518 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
19519 Adjust caller.
19520 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
19521 in6ai data, call __free_in6ai.
19522 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
19523 Add -DHAVE_NETLINK.
19524 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
19525 interface information. Reuse previous data if netlink timestamp
19526 is not changed.
19527 (__bump_nl_timestamp): New function.
19528 (__free_in6ai): New function.
19529
636064eb
UD
195302011-10-30 Ulrich Drepper <drepper@gmail.com>
19531
19532 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
19533 close_not_cancel_no_status here.
19534 (__check_pf): Reorganize code a bit to not call close twice if OOM.
19535
9beb2334
UD
195362011-10-29 Ulrich Drepper <drepper@gmail.com>
19537
6ef76f3b
UD
19538 [BZ #13276]
19539 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
19540 return value.
19541
0ffc4f3e 19542 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
19543 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
19544 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
19545
cb95113e
UD
195462011-07-03 Andreas Jaeger <aj@suse.de>
19547
19548 [BZ #10709]
19549 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
19550 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
19551 * math/libm-test.inc (sin_test): Add test case.
19552
a1b560ff
UD
195532011-10-29 Ulrich Drepper <drepper@gmail.com>
19554
c9aaface
UD
19555 [BZ #13337]
19556 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
19557 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19558
d272e7f1
UD
19559 * elf/chroot_canon.c (chroot_canon): Cleanups.
19560
1bc33071
UD
19561 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
19562
1760874d
TJ
19563 [BZ #13335]
19564 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
19565 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
19566
51d91b18
UD
19567 * string/test-strchr.c: Make usable for strchrnul testing.
19568 * string/test-strchrnul.c: New file.
19569 * string/Makefile (strop-tests): Add strchrnul.
19570
a1b560ff 19571 * po/it.po: Update from translation team.
b611fb81 19572 * po/es.po: Likewise.
a1b560ff 19573
a5b81e1f
UD
195742011-10-28 Ulrich Drepper <drepper@gmail.com>
19575
fd52bc6d
UD
19576 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
19577 the three constants needed as parameters. Drop the others.
19578 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
19579 __m128i_strloadu_tolower.
52e4b9eb
UD
19580 Create and initialize variable zero and use it in all the places
19581 where _mm_setzero_si128 was used.
fd52bc6d 19582
a5b81e1f
UD
19583 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
19584 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
19585 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
19586 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
19587 anymore.
19588 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
19589 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
19590 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
19591 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
19592 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
19593 __mpranred, __mptan.
19594 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
19595 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
19596 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
19597 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
19598 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
19599 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
19600 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
19601 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
19602 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
19603
b4343346
AS
196042011-10-28 Andreas Schwab <schwab@redhat.com>
19605
0c92d8a8
AS
19606 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
19607 redefine if SHARED.
19608 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
19609
b4343346
AS
19610 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
19611 wide char related routines to wcsmbs subdir.
19612
3871f58f
AS
196132011-10-27 Andreas Schwab <schwab@redhat.com>
19614
19615 [BZ #13344]
19616 * misc/sys/cdefs.h (__THROWNL): Define.
19617 * posix/unistd.h: Use __THREADNL instead of __THREAD
19618 for memory synchronization functions.
19619
94d44d9f
RM
196202011-10-26 Roland McGrath <roland@hack.frob.com>
19621
21b64b15 19622 [BZ #13349]
94d44d9f
RM
19623 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
19624 doesn't exist.
19625 * manual/stdio.texi (Obstack Streams): Node removed.
19626
f6ce9294
AS
196272011-10-26 Andreas Schwab <schwab@redhat.com>
19628
80479147
AS
19629 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
19630 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19631 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19632
f6ce9294
AS
19633 * math/math_private.h (math_force_eval): Allow non-addressable
19634 arguments.
19635 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
19636
618280a1
UD
196372011-10-25 Ulrich Drepper <drepper@gmail.com>
19638
e0016b11
UD
19639 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
19640 file is not needed.
19641
19642 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
19643 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19644 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19645 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19646 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19647 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19648 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19649 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
19650 Add AVX variants.
19651 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
19652 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
19653 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
19654 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
19655 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
19656 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
19657 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
19658 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
19659 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
19660 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
19661 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
19662 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
19663 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
19664 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
19665 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
19666 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
19667 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
19668 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
19669 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
19670
19671 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
19672 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
19673
618280a1
UD
19674 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
19675 place. Use VEX encoding when compiling for AVX.
19676
37822576
AS
196772011-10-25 Andreas Schwab <schwab@redhat.com>
19678
1f1e1947
AS
19679 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
19680 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19681
37822576
AS
19682 * string/test-strchr.c (do_test): Don't generate NUL bytes.
19683
31ea014d
UD
196842011-10-25 Ulrich Drepper <drepper@gmail.com>
19685
d7826aa1 19686 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 19687 useless if() expression.
d7826aa1
UD
19688 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19689 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19690 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19691 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19692 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19693 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19694 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19695 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19696 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19697 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19698 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19699 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19700 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19701 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19702 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19703 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19704 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19705 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19706 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19707
31ea014d
UD
19708 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
19709
16437fec
AS
197102011-10-25 Andreas Schwab <schwab@redhat.com>
19711
19712 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
19713 condition.
19714 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19715
31d3cc00
UD
197162011-10-25 Ulrich Drepper <drepper@gmail.com>
19717
19718 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
19719 .text section. Avoid duplicate constants.
19720 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19721 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19722 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19723 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19724 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19725 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19726 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19727 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19728 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19729 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
19730 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19731 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19732 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19733 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19734 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19735 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19736 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19737 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19738 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19739 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19740 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19741 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19742 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19743 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
19744 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
19745 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
19746 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
19747 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
19748 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
19749 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
19750 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
19751 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
19752 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19753 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
19754 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
19755 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
19756 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
19757 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
19758 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
19759 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
19760 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
19761 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
19762 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
19763 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
19764 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
19765
58985aa9
UD
197662011-10-24 Ulrich Drepper <drepper@gmail.com>
19767
202c9deb
UD
19768 * sysdeps/x86_64/dla.h: Move to ...
19769 * sysdeps/x86_64/fpu/dla.h: ...here.
19770 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
19771 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 19772
af968f62
UD
19773 * config.make.in: Add have-mfma4 entry.
19774 * configure.in: Substitute libc_cv_cc_fma4.
19775 * math/Makefile (dbl-only-routines): Add sincostab.
19776 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
19777 Use __sincostab not sincos.
19778 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
19779 name is a macro.
19780 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19781 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19782 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19783 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
19784 using __copysign.
19785 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
19786 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
19787 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
19788 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
19789 and __inv.
19790 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
19791 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
19792 __copysign.
19793 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
19794 define aliases when function name is a macro.
19795 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
19796 sysdeps/ieee754/dbl-64/sincos.tbl.
19797 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
19798 fma4-enabled routines.
19799 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
19800 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
19801 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
19802 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
19803 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
19804 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
19805 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
19806 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
19807 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
19808 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
19809 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
19810 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
19811 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
19812 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
19813 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
19814 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
19815 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
19816 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
19817 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
19818 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
19819 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
19820 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
19821 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
19822 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
19823 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
19824 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
19825 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
19826 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
19827 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
19828 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
19829
58985aa9
UD
19830 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
19831 rename.
19832 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19833 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19834 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19836 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19837 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19838 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19839 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19840
a201fbcf
AS
198412011-10-24 Andreas Schwab <schwab@redhat.com>
19842
19843 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
19844
fc2ee42a
LD
198452011-10-23 Ulrich Drepper <drepper@gmail.com>
19846
bb3129bd
UD
19847 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
19848
0275fff8
UD
19849 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
19850 prediction.
19851 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
19852
2fa2ae85
UD
19853 * string/strnlen.c: Don't define STRNLEN, reverse logic.
19854 Remove unused variable magic_bits.
19855 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
19856
fc2ee42a
LD
19857 * string/strnlen.c: Define and use STRNLEN macro.
19858 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
19859 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
19860 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
19861 * wcsmbs/wcslen.c: Define and use WCSLEN.
19862 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
19863 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
19864 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
19865 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
19866 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
19867 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
19868 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19869
ce7dd29f
LD
198702011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19871
19872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19873 strnlen-sse2-no-bsf.
19874 Rename strlen-no-bsf to strlen-sse2-no-bsf.
19875 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
19876 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
19877 Add strnlen support.
19878 (USE_AS_STRNLEN): New macro.
19879 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
19880 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
19881 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
19882 * sysdeps/x86_64/wcslen.S: New file.
19883
979c70a3
MZ
198842011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19885
19886 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19887 XMM-moves are used for copying on small sizes.
19888
2d09f82f
LD
198892011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19890
19891 * wcsmbs/Makefile (strop-tests): Add wcschr.
19892 * wcsmbs/test-wcschr.c: New file.
19893 * string/test-strchr.c: Update.
19894 Add wcschr support.
19895 (WIDE): New macro.
19896
619fccca
LD
198972011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19898
2d09f82f 19899 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
19900 * wcsmbs/test-wcslen.c: New file.
19901 * string/test-strlen.c: Update.
19902 Add wcslen support.
19903 (WIDE): New macro.
19904
09f699ea
UD
199052011-10-23 Ulrich Drepper <drepper@gmail.com>
19906
19907 * po/it.po: Update from translation team.
19908
95584d3b
LD
199092011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19910
19911 * sysdeps/x86_64/wcscmp.S: Update.
19912 Fix wrong comparison semantics.
19913 wcscmp shall use signed comparison not unsigned.
19914 Don't use substraction to avoid overflow bug.
19915 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19916 * wcsmbc/wcscmp.c: Likewise.
19917 * string/test-strcmp.c: Likewise.
19918 Add new tests to check cases with negative values.
19919
c8b3296b
UD
199202011-10-23 Ulrich Drepper <drepper@gmail.com>
19921
19922 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19923 * sysdeps/x86_64/dla.h: ...here. New file.
19924 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19925 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19926 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19927 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19928 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19929 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19930 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19931 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19932 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19933
246ad57a
AS
199342011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19935
19936 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19937 __ynl_finite aliases.
19938
a1a87169
UD
199392011-10-22 Ulrich Drepper <drepper@gmail.com>
19940
0d355eb7
UD
19941 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19942
a1a87169
UD
19943 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19944 define DLA_FMA.
19945 [DLA_FMA] (EMULV): Use DLA_FMA.
19946 [DLA_FMA] (MUL12): Use EMULV.
19947 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19948 that are not needed.
19949 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19950 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19951 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19952 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19953 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19954 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19955 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19956
ee2aafe0
AS
199572011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19958
19959 * math/s_nan.c: Undef __nan.
19960 * math/s_nanf.c: Undef __nanf.
19961 * math/s_nanl.c: Undef __nanl.
19962 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19963 "math_private.h".
19964
bc62c2fb
UD
199652011-10-22 Ulrich Drepper <drepper@gmail.com>
19966
77425c63
UD
19967 * math/s_catan.c: Add branch predictions.
19968 * math/s_catanf.c: Likewise.
19969 * math/s_catanh.c: Likewise.
19970 * math/s_catanhf.c: Likewise.
19971 * math/s_catanhl.c: Likewise.
19972 * math/s_catanl.c: Likewise.
19973 * math/s_cexp.c: Likewise.
19974 * math/s_cexpf.c: Likewise.
19975 * math/s_cexpl.c: Likewise.
19976 * math/s_clog.c: Likewise.
19977 * math/s_clog10.c: Likewise.
19978 * math/s_clog10f.c: Likewise.
19979 * math/s_clog10l.c: Likewise.
19980 * math/s_clogf.c: Likewise.
19981 * math/s_clogl.c: Likewise.
19982 * math/s_csqrt.c: Likewise.
19983 * math/s_csqrtf.c: Likewise.
19984 * math/s_csqrtl.c: Likewise.
19985 * math/s_ctanf.c: Likewise.
19986 * math/s_ctanh.c: Likewise.
19987 * math/s_ctanhf.c: Likewise.
19988 * math/s_ctanhl.c: Likewise.
19989 * math/s_ctanl.c: Likewise.
19990
bc62c2fb
UD
19991 * math/math_private.h: Define __nan, __nanf, __nanl.
19992 * math/s_cacosh.c: Include <math_private.h>.
19993 * math/s_cacoshl.c: Likewise.
19994 * math/s_casinh.c: Likewise.
19995 * math/s_casinhf.c: Likewise.
19996 * math/s_casinhl.c: Likewise.
19997 * math/s_ccos.c: Rely entire on ccosh.
19998 * math/s_ccosf.c: Rely entire on ccoshf.
19999 * math/s_ccosl.c: Rely entirely on ccoshl.
20000 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
20001 Remove tests for FE_INVALID.
20002 * math/s_ccoshf.c: Likewise.
20003 * math/s_ccoshl.c: Likewise.
20004 * math/s_csin.c: Likewise.
20005 * math/s_csinf.c: Likewise.
20006 * math/s_csinh.c Likewise.
20007 * math/s_csinhf.c: Likewise.
20008 * math/s_csinhl.c: Likewise.
20009 * math/s_csinl.c: Likewise.
20010 * math/s_ctan.c: Likewise.
20011 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
20012 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
20013 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
20014
8ec250a4
UD
200152011-10-21 Ulrich Drepper <drepper@gmail.com>
20016
c196fed8
UD
20017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
20018 compilation problems.
20019
8ec250a4
UD
20020 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
20021 __builtin_expect.
20022
8d4f46c6
UD
200232011-10-20 Ulrich Drepper <drepper@gmail.com>
20024
ed72b654
UD
20025 * sysdeps/i386/configure.in: Test for -mfma4 option.
20026 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
20027 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
20028 COMMON_CPUID_INDEX_80000001.
20029 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
20030 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
20031 use it if FMA3 is not supported.
20032 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20033
8d4f46c6
UD
20034 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
20035 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20036
d45c60c2
AS
200372011-10-20 Andreas Schwab <schwab@redhat.com>
20038
20039 [BZ #12892]
20040 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
20041 it would create a cycle with a link time dependency.
20042
d9a4d2ab
UD
200432011-10-19 Ulrich Drepper <drepper@gmail.com>
20044
855d1560
UD
20045 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
20046 instruction.
20047 * string/Makefile (strop-tests): Add rawmemchr.
20048 * string/test-rawmemchr.c: New file.
20049
d9a4d2ab
UD
20050 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
20051 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
20052 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
20053 when compiling str{,n}casecmp and when AVX is available. Hook up
20054 new optimized code in initializers.
20055
8f3b1ffe
AS
200562011-10-19 Andreas Schwab <schwab@redhat.com>
20057
20058 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
20059 __feraiseexcept instead of feraiseexcept.
20060
d38f1dba
UD
200612011-10-18 Ulrich Drepper <drepper@gmail.com>
20062
d9a8d0ab
UD
20063 * math/math_private.h: Define defaults for libc_fetestexcept and
20064 libc_feupdateenv.
20065 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
20066 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
20067 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20068 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20069 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
20070 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20071 libc_fetestexcept and libc_feupdateenv.
20072
4855e3dd
UD
20073 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
20074 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
20075 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
20076 * sysdeps/x86_64/fpu/math_private.h: Define special version of
20077 libc_feholdexcept_setround.
20078
581d30e3
UD
20079 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
20080 Add s_nearbyint-c and s_nearbyintf-c.
20081 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
20082 nearbyintf inlines.
20083 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
20084 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
20085 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
20086 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
20087
d38f1dba
UD
20088 * math/math_private.h: Define defaults for libc_fegetround,
20089 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
20090 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
20091 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
20092 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
20093 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
20094 standard functions.
20095 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20096 Remove comments and hacks for old compiler versions.
20097 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
20098 libc_fegetround, libc_fesetround, libc_feholdexcept, and
20099 libc_feholdexceptl.
20100
caa6c9d8
AS
201012011-10-18 Andreas Schwab <schwab@redhat.com>
20102
20103 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
20104 (__feraiseexcept_renamed): Add __NTH.
20105 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
20106 namespace violations.
20107
97c066e6
UD
201082011-10-17 Ulrich Drepper <drepper@gmail.com>
20109
99ce7b04
UD
20110 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
20111
1004d182
UD
20112 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
20113
228a984d
UD
20114 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
20115 recently added interfaces.
20116 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
20117
c8553a6a
UD
20118 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
20119 about macro parameter expansion.
20120
ed22dcf6
UD
20121 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
20122 __NO_MATH_INLINES is defined. Cleanups.
20123
20124 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
20125 and __floorf is target has SSE4.1.
20126 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
20127 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
20128 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
20129 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
20130
b171c137
UD
20131 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
20132 name.
20133 (floorf): Likewise.
20134
97c066e6
UD
20135 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
20136
629f62ef
AS
201372011-10-17 Andreas Schwab <schwab@redhat.com>
20138
49a43d80
AS
20139 * misc/sys/cdefs.h: Fix last change.
20140
629f62ef
AS
20141 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
20142 database lookup.
20143
e453f6cd
UD
201442011-10-16 Ulrich Drepper <drepper@gmail.com>
20145
aa78043a
UD
20146 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
20147
ad0f5cad
UD
20148 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
20149 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20150 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20151 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20152 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20153 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
20154 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20155 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20156 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
20157 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
20158 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
20159 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
20160 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
20161 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
20162 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
20163 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
20164 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
20165 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
20166 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
20167 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
20168 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
20169 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
20170
20171 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
20172 ceil, ceilf, floor, floorf.
20173
20174 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
20175 Perform IRELATIVE relocations last.
20176
e453f6cd
UD
20177 * elf/do-rel.h: Add another parameter nrelative, replacing the
20178 local variable with the same name. Change name of the function
20179 to end in Rel or Rela (uppercase).
20180 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
20181 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
20182 elf_dynamic_do_##reloc function.
20183
fd5bdc09
UD
201842011-10-15 Ulrich Drepper <drepper@gmail.com>
20185
79b195b5
UD
20186 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
20187 is sufficient, at least on modern CPUs.
20188
d4a28569
UD
20189 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
20190
b61099b5
UD
20191 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
20192 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
20193
bcf01e6d
UD
20194 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
20195 __expl_finite.
20196 * math/bits/math-finite.h: Add entries for exp.
20197 * math/e_expl.c: Add __*_finite alias.
20198 * sysdeps/i386/fpu/e_exp.S: Likewise.
20199 * sysdeps/i386/fpu/e_expf.S: Likewise.
20200 * sysdeps/i386/fpu/e_expl.c: Likewise.
20201 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20202 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20203 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20204 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20205 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
20206 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20207 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20208
ba1a0d59
UD
20209 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
20210 is sufficient, at least on modern CPUs.
20211
fd5bdc09
UD
20212 * ctype/ctype-info.c (__ctype_init): Define.
20213 * include/ctype.h (__ctype_init): Declare.
20214 (__ctype_b_loc): The variable is always initialized.
20215 (__ctype_toupper_loc): Likewise.
20216 (__ctype_tolower_loc): Likewise.
20217 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
20218 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
20219
7872cfb0
AS
202202011-10-15 Andreas Schwab <schwab@linux-m68k.org>
20221
b468825a
AS
20222 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
20223
7872cfb0
AS
20224 * configure.in: Also look in $cxxmachine/include for C++ system
20225 headers.
20226
be13f7bf
LD
202272011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20228
20229 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
20230 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
20231 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
20232 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
20233 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
20234 (USE_AS_WMEMCMP): New macro.
20235 Fixing indents.
20236 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
20237 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
20238 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
20239 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
20240 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20241 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
20242 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
20243 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
20244 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
20245 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
20246 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
20247 (USE_AS_WMEMCMP): New macro.
20248 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
20249 * sysdeps/string/test-memcmp.c: Update.
20250 Fix simple_wmemcmp.
20251 Add new tests.
20252 * wcsmbs/wmemcmp.c: Update.
20253 (WMEMCMP): New macro.
20254 Fix overflow bug.
20255
556a2007
AJ
202562011-10-12 Andreas Jaeger <aj@suse.de>
20257
20258 [BZ #13268]
20259 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
20260
538faaa7
UD
202612011-10-15 Ulrich Drepper <drepper@gmail.com>
20262
ab6737ff
UD
20263 * libio/iofwide.c (do_length): Avoid warning.
20264
538faaa7
UD
20265 * ctype/ctype.h (__isctype_f): Add missing __THROW.
20266
396a21b1
UD
202672011-10-14 Ulrich Drepper <drepper@gmail.com>
20268
cdf2901f
UD
20269 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
20270
38ad40ce
UD
20271 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
20272 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
20273 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
20274 * sysdeps/i386/i686/fpu/e_log.S: New file.
20275 * sysdeps/i386/i686/fpu/e_logf.S: New file.
20276 * sysdeps/i386/i686/fpu/e_logl.S: New file.
20277
396a21b1
UD
20278 * ctype/ctype.h: Add support for inlined isXXX functions when
20279 compiling C++ code.
20280
6b1f68c9
AS
202812011-10-14 Andreas Schwab <schwab@redhat.com>
20282
349290c0
AS
20283 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20284
6b1f68c9
AS
20285 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
20286
f2282d42
RM
202872011-10-13 Roland McGrath <roland@hack.frob.com>
20288
20289 [BZ #13291]
20290 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
20291
5298ffa8
AS
202922011-10-13 Andreas Schwab <schwab@redhat.com>
20293
714fad23
AS
20294 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
20295 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
20296 feraiseexcept.
20297
81dcc7fb
AS
20298 * sysdeps/x86_64/memrchr.S: Check for zero size.
20299
5298ffa8
AS
20300 * string/stratcliff.c: Add memrchr tests.
20301
951fbcec
LD
203022011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20303
20304 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20305 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
20306 rawmemchr-sse2 rawmemchr-sse2-bsf.
20307 * sysdeps/i386/i686/multiarch/memchr.S: New file.
20308 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
20309 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
20310 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
20311 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
20312 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
20313 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
20314 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
20315 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
20316 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
20317 * string/memrchr.c (MEMRCHR): New macro.
20318
0ac5ae23
UD
203192011-10-12 Ulrich Drepper <drepper@gmail.com>
20320
20321 Add integration with gcc's -ffinite-math-only and optimize wrapper
20322 functions in libm.
20323 * Versions.def: Define GLIBC_2.15 version for libm.
20324 * math/Makefile (headers): Add bits/math-finite.h.
20325 * math/bits/math-finite.h: New file.
20326 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
20327 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
20328 * math/e_acoshl.c: Add __*_finite alias.
20329 * math/e_acosl.c: Likewise.
20330 * math/e_asinl.c: Likewise.
20331 * math/e_atan2l.c: Likewise.
20332 * math/e_atanhl.c: Likewise.
20333 * math/e_coshl.c: Likewise.
20334 * math/e_exp10.c: Likewise.
20335 * math/e_exp10f.c: Likewise.
20336 * math/e_exp10l.c: Likewise.
20337 * math/e_exp2l.c: Likewise.
20338 * math/e_fmodl.c: Likewise.
20339 * math/e_gammal_r.c: Likewise.
20340 * math/e_hypotl.c: Likewise.
20341 * math/e_j0l.c: Likewise.
20342 * math/e_j1l.c: Likewise.
20343 * math/e_jnl.c: Likewise.
20344 * math/e_lgammal_r.c: Likewise.
20345 * math/e_log10l.c: Likewise.
20346 * math/e_log2l.c: Likewise.
20347 * math/e_logl.c: Likewise.
20348 * math/e_powl.c: Likewise.
20349 * math/e_sinhl.c: Likewise.
20350 * math/e_sqrtl.c: Likewise.
20351 * math/e_scalb.c: Completely rewritten and optimized.
20352 * math/e_scalbf.c: Likewise.
20353 * math/e_scalbl.c: Likewise.
20354 * math/w_acos.c: Likewise.
20355 * math/w_acosf.c: Likewise.
20356 * math/w_acosl.c: Likewise.
20357 * math/w_acosh.c: Likewise.
20358 * math/w_acoshf.c: Likewise.
20359 * math/w_acoshl.c: Likewise.
20360 * math/w_asin.c: Likewise.
20361 * math/w_asinf.c: Likewise.
20362 * math/w_asinl.c: Likewise.
20363 * math/w_atan2.c: Likewise.
20364 * math/w_atan2f.c: Likewise.
20365 * math/w_atan2l.c: Likewise.
20366 * math/w_atanh.c: Likewise.
20367 * math/w_atanhf.c: Likewise.
20368 * math/w_atanhl.c: Likewise.
20369 * math/w_exp10.c: Likewise.
20370 * math/w_exp10f.c: Likewise.
20371 * math/w_exp10l.c: Likewise.
20372 * math/w_fmod.c: Likewise.
20373 * math/w_fmodf.c: Likewise.
20374 * math/w_fmodl.c: Likewise.
20375 * math/w_j0.c: Likewise.
20376 * math/w_j0f.c: Likewise.
20377 * math/w_j0l.c: Likewise.
20378 * math/w_j1.c: Likewise.
20379 * math/w_j1f.c: Likewise.
20380 * math/w_j1l.c: Likewise.
20381 * math/w_jn.c: Likewise.
20382 * math/w_jnf.c: Likewise.
20383 * math/w_log.c: Likewise.
20384 * math/w_logf.c: Likewise.
20385 * math/w_logl.c: Likewise.
20386 * math/w_log10.c: Likewise.
20387 * math/w_log10f.c: Likewise.
20388 * math/w_log10l.c: Likewise.
20389 * math/w_log2.c: Likewise.
20390 * math/w_log2f.c: Likewise.
20391 * math/w_log2l.c: Likewise.
20392 * math/w_pow.c: Likewise.
20393 * math/w_powf.c: Likewise.
20394 * math/w_powl.c: Likewise.
20395 * math/w_remainder.c: Likewise.
20396 * math/w_remainderf.c: Likewise.
20397 * math/w_remainderl.c: Likewise.
20398 * math/w_scalb.c: Likewise.
20399 * math/w_scalbf.c: Likewise.
20400 * math/w_scalbl.c: Likewise.
20401 * math/w_sqrt.c: Likewise.
20402 * math/w_sqrtf.c: Likewise.
20403 * math/w_sqrtl.c: Likewise.
20404 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
20405 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
20406 used.
20407 * math/math_private.h: Declare __kernel_standard_f.
20408 * math/w_cosh.c: Remove cruft and optimize a bit.
20409 * math/w_coshf.c: Likewise.
20410 * math/w_coshl.c: Likewise.
20411 * math/w_exp2.c: Likewise.
20412 * math/w_exp2f.c: Likewise.
20413 * math/w_exp2l.c: Likewise.
20414 * math/w_hypot.c: Likewise.
20415 * math/w_hypotf.c: Likewise.
20416 * math/w_hypotl.c: Likewise.
20417 * math/w_lgamma.c: Likewise.
20418 * math/w_lgamma_r.c: Likewise.
20419 * math/w_lgammaf.c: Likewise.
20420 * math/w_lgammaf_r.c: Likewise.
20421 * math/w_lgammal.c: Likewise.
20422 * math/w_lgammal_r.c: Likewise.
20423 * math/w_sinh.c: Likewise.
20424 * math/w_sinhf.c: Likewise.
20425 * math/w_sinhl.c: Likewise.
20426 * math/w_tgamma.c: Likewise.
20427 * math/w_tgammaf.c: Likewise.
20428 * math/w_tgammal.c: Likewise.
20429 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20430 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20431 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
20432 Minor optimizations. Pretty printing. Remove cruft.
20433 * sysdeps/i386/fpu/e_acosf.S: Likewise.
20434 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20435 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20436 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20437 * sysdeps/i386/fpu/e_acosl.c: Likewise.
20438 * sysdeps/i386/fpu/e_asin.S: Likewise.
20439 * sysdeps/i386/fpu/e_asinf.S: Likewise.
20440 * sysdeps/i386/fpu/e_atan2.S: Likewise.
20441 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
20442 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
20443 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20444 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20445 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20446 * sysdeps/i386/fpu/e_exp10.S: Likewise.
20447 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
20448 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
20449 * sysdeps/i386/fpu/e_exp2.S: Likewise.
20450 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
20451 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
20452 * sysdeps/i386/fpu/e_fmod.S: Likewise.
20453 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
20454 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
20455 * sysdeps/i386/fpu/e_hypot.S: Likewise.
20456 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
20457 * sysdeps/i386/fpu/e_log.S: Likewise.
20458 * sysdeps/i386/fpu/e_log10.S: Likewise.
20459 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20460 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20461 * sysdeps/i386/fpu/e_log2.S: Likewise.
20462 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20463 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20464 * sysdeps/i386/fpu/e_logf.S: Likewise.
20465 * sysdeps/i386/fpu/e_logl.S: Likewise.
20466 * sysdeps/i386/fpu/e_pow.S: Likewise.
20467 * sysdeps/i386/fpu/e_powf.S: Likewise.
20468 * sysdeps/i386/fpu/e_powl.S: Likewise.
20469 * sysdeps/i386/fpu/e_remainder.S: Likewise.
20470 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
20471 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
20472 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20473 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20474 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20475 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
20476 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
20477 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
20478 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20479 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20480 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20481 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20482 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20483 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20484 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20485 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20486 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20487 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20488 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20489 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
20490 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20491 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20492 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20493 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20494 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20495 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20496 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20497 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20498 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20499 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
20500 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20501 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20502 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
20503 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
20504 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
20505 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
20506 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
20507 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
20508 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20509 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20510 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20511 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
20512 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
20513 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
20514 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
20515 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
20516 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
20517 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
20518 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
20519 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
20520 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
20521 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
20522 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20523 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
20524 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
20525 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
20526 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
20527 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
20528 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
20529 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20530 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20531 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20532 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20533 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
20534 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
20535 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
20536 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
20537 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
20538 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
20539 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
20540 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20541 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20542 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
20543 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
20544 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
20545 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
20546 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
20547 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
20548 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
20549 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
20550 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
20551 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
20552 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
20553 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20554 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20555 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
20556 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20557 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
20558 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20559 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
20560 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
20561 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20562 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20563 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20564 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20565 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
20566 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20567 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
20568 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20569 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20570 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20571 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20572 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20573 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20574 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20575 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20576 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20577 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20578 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
20579 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
20580 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
20581 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
20582 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20583 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20584 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20585 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20586 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
20587 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20588 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
20589 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
20590 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
20591 (__isnanf): Likewise.
20592 (__isinf_ns): Likewise.
20593 (__isinf_nsf): Likewise.
20594 (__finite): Likewise.
20595 (__finitef): Likewise.
20596 (__ieee754_sqrt): Define as macro.
20597 (__ieee754_sqrtf): Define as macro.
20598 (__ieee754_sqrtl): Define as macro.
20599 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
20600 inlined copy.
20601 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
20602 __FINITE_MATH_ONLY__ consistent.
20603 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
20604
12cc2fcd
AS
206052011-10-10 Andreas Schwab <schwab@linux-m68k.org>
20606
a843a204
AS
20607 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
20608 of rawmemchr.
20609
12cc2fcd
AS
20610 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
20611
c853acd5
UD
206122011-10-09 Ulrich Drepper <drepper@gmail.com>
20613
20614 * po/ja.po: Update from translation team.
20615
c658d255
RM
206162011-10-08 Roland McGrath <roland@hack.frob.com>
20617
110946e4
RM
20618 * locale/programs/locarchive.c (prepare_address_space): New function.
20619 (create_archive, enlarge_archive, open_archive): Use it.
20620
50604220
RM
20621 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
20622 inside [SHARED], where it is used.
20623
c658d255
RM
20624 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
20625
20626 * nss/getent.c (netgroup_keys): Remove unused variable.
20627 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
20628
6a621eb7
UD
206292011-10-08 Ulrich Drepper <drepper@gmail.com>
20630
7edb55ce
UD
20631 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
20632 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
20633 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
20634 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
20635 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
20636 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
20637 * math/Makefile (libm-calls): Add s_isinf_ns.
20638 * math/divtc3.c: Use __isinf_nsl instead of isinf.
20639 * math/multc3.c: Likewise.
20640 * math/s_casin.c: Likewise.
20641 * math/s_casinf.c: Likewise.
20642 * math/s_casinl.c: Likewise.
20643 * math/s_ccos.c: Likewise.
20644 * math/s_ccosf.c: Likewise.
20645 * math/s_ccosl.c: Likewise.
20646 * math/s_ctan.c: Likewise.
20647 * math/s_ctanf.c: Likewise.
20648 * math/s_ctanh.c: Likewise.
20649 * math/s_ctanhf.c: Likewise.
20650 * math/s_ctanhl.c: Likewise.
20651 * math/s_ctanl.c: Likewise.
20652 * math/w_fmod.c: Likewise.
20653 * math/w_fmodf.c: Likewise.
20654 * math/w_fmodl.c: Likewise.
20655 * math/w_remainder.c: Likewise.
20656 * math/w_remainderf.c: Likewise.
20657 * math/w_remainderl.c: Likewise.
20658 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
20659 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
20660 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
20661 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
20662 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
20663 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
20664 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
20665 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
20666
187da0ae
UD
20667 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
20668 of the number.
20669 * stdio-common/printf_fphex.c: Likewise.
20670 * stdio-common/printf_size.c: Likewise.
20671
9277c064
UD
20672 * math/e_exp10.c: Include math_private.h using <...> not "...".
20673 * math/e_exp10f.c: Likewise.
20674 * math/e_exp10l.c: Likewise.
20675 * math/e_exp2l.c: Likewise.
20676 * math/e_j0l.c: Likewise.
20677 * math/e_j1l.c: Likewise.
20678 * math/e_jnl.c: Likewise.
20679 * math/e_lgammal_r.c: Likewise.
20680 * math/e_rem_pio2l.c: Likewise.
20681 * math/e_scalb.c: Likewise.
20682 * math/e_scalbf.c: Likewise.
20683 * math/e_scalbl.c: Likewise.
20684 * math/k_cosl.c: Likewise.
20685 * math/k_sinl.c: Likewise.
20686 * math/k_tanl.c: Likewise.
20687 * math/s_cacoshf.c: Likewise.
20688 * math/s_catan.c: Likewise.
20689 * math/s_catanf.c: Likewise.
20690 * math/s_catanh.c: Likewise.
20691 * math/s_catanhf.c: Likewise.
20692 * math/s_catanhl.c: Likewise.
20693 * math/s_catanl.c: Likewise.
20694 * math/s_ccosh.c: Likewise.
20695 * math/s_ccoshf.c: Likewise.
20696 * math/s_ccoshl.c: Likewise.
20697 * math/s_cexp.c: Likewise.
20698 * math/s_cexpf.c: Likewise.
20699 * math/s_cexpl.c: Likewise.
20700 * math/s_clog.c: Likewise.
20701 * math/s_clog10.c: Likewise.
20702 * math/s_clog10f.c: Likewise.
20703 * math/s_clog10l.c: Likewise.
20704 * math/s_clogf.c: Likewise.
20705 * math/s_clogl.c: Likewise.
20706 * math/s_csin.c: Likewise.
20707 * math/s_csinf.c: Likewise.
20708 * math/s_csinh.c: Likewise.
20709 * math/s_csinhf.c: Likewise.
20710 * math/s_csinhl.c: Likewise.
20711 * math/s_csinl.c: Likewise.
20712 * math/s_csqrt.c: Likewise.
20713 * math/s_csqrtf.c: Likewise.
20714 * math/s_csqrtl.c: Likewise.
20715 * math/s_ctan.c: Likewise.
20716 * math/s_ctanf.c: Likewise.
20717 * math/s_ctanh.c: Likewise.
20718 * math/s_ctanhf.c: Likewise.
20719 * math/s_ctanhl.c: Likewise.
20720 * math/s_ctanl.c: Likewise.
20721 * math/s_ldexp.c: Likewise.
20722 * math/s_ldexpf.c: Likewise.
20723 * math/s_ldexpl.c: Likewise.
20724 * math/s_significand.c: Likewise.
20725 * math/s_significandf.c: Likewise.
20726 * math/s_significandl.c: Likewise.
20727 * math/w_acos.c: Likewise.
20728 * math/w_acosf.c: Likewise.
20729 * math/w_acosh.c: Likewise.
20730 * math/w_acoshf.c: Likewise.
20731 * math/w_acoshl.c: Likewise.
20732 * math/w_acosl.c: Likewise.
20733 * math/w_asin.c: Likewise.
20734 * math/w_asinf.c: Likewise.
20735 * math/w_asinl.c: Likewise.
20736 * math/w_atan2.c: Likewise.
20737 * math/w_atan2f.c: Likewise.
20738 * math/w_atan2l.c: Likewise.
20739 * math/w_atanh.c: Likewise.
20740 * math/w_atanhf.c: Likewise.
20741 * math/w_atanhl.c: Likewise.
20742 * math/w_cosh.c: Likewise.
20743 * math/w_coshf.c: Likewise.
20744 * math/w_coshl.c: Likewise.
20745 * math/w_dremf.c: Likewise.
20746 * math/w_exp10.c: Likewise.
20747 * math/w_exp10f.c: Likewise.
20748 * math/w_exp10l.c: Likewise.
20749 * math/w_exp2.c: Likewise.
20750 * math/w_exp2f.c: Likewise.
20751 * math/w_fmod.c: Likewise.
20752 * math/w_fmodf.c: Likewise.
20753 * math/w_fmodl.c: Likewise.
20754 * math/w_hypot.c: Likewise.
20755 * math/w_hypotf.c: Likewise.
20756 * math/w_hypotl.c: Likewise.
20757 * math/w_j0.c: Likewise.
20758 * math/w_j0f.c: Likewise.
20759 * math/w_j0l.c: Likewise.
20760 * math/w_j1.c: Likewise.
20761 * math/w_j1f.c: Likewise.
20762 * math/w_j1l.c: Likewise.
20763 * math/w_jn.c: Likewise.
20764 * math/w_jnf.c: Likewise.
20765 * math/w_jnl.c: Likewise.
20766 * math/w_lgamma.c: Likewise.
20767 * math/w_lgamma_r.c: Likewise.
20768 * math/w_lgammaf.c: Likewise.
20769 * math/w_lgammaf_r.c: Likewise.
20770 * math/w_lgammal.c: Likewise.
20771 * math/w_lgammal_r.c: Likewise.
20772 * math/w_log.c: Likewise.
20773 * math/w_log10.c: Likewise.
20774 * math/w_log10f.c: Likewise.
20775 * math/w_log10l.c: Likewise.
20776 * math/w_log2.c: Likewise.
20777 * math/w_log2f.c: Likewise.
20778 * math/w_log2l.c: Likewise.
20779 * math/w_logf.c: Likewise.
20780 * math/w_logl.c: Likewise.
20781 * math/w_pow.c: Likewise.
20782 * math/w_powf.c: Likewise.
20783 * math/w_powl.c: Likewise.
20784 * math/w_remainder.c: Likewise.
20785 * math/w_remainderf.c: Likewise.
20786 * math/w_remainderl.c: Likewise.
20787 * math/w_scalb.c: Likewise.
20788 * math/w_scalbf.c: Likewise.
20789 * math/w_scalbl.c: Likewise.
20790 * math/w_sinh.c: Likewise.
20791 * math/w_sinhf.c: Likewise.
20792 * math/w_sinhl.c: Likewise.
20793 * math/w_sqrt.c: Likewise.
20794 * math/w_sqrtf.c: Likewise.
20795 * math/w_sqrtl.c: Likewise.
20796 * math/w_tgamma.c: Likewise.
20797 * math/w_tgammaf.c: Likewise.
20798 * math/w_tgammal.c: Likewise.
20799
6a621eb7
UD
20800 * po/ja.po: Update from translation team.
20801
bf582445
AJ
208022011-09-29 Andreas Jaeger <aj@suse.de>
20803
f9efbf3a
AJ
20804 [BZ #13179]
20805 * sunrpc/netname.c (netname2host): Fix logic.
20806
bf582445
AJ
20807 [BZ #6779]
20808 [BZ #6783]
20809 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
20810 correctly.
20811 * math/w_remainder.c (__remainder): Likewise.
20812 * math/w_remainderf.c (__remainderf): Likewise.
20813 * math/libm-test.inc (remainder_test): Add test cases.
20814
48693bea
AK
208152011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20816
20817 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
20818 sdiv_qrnnd.
20819
42622229
LD
208202011-10-07 Ulrich Drepper <drepper@gmail.com>
20821
20822 * string/test-memcmp.c: Avoid unncessary #defines.
20823 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
20824
093ecf92
LD
208252011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20826
20827 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
20828 Use new sse2 version for core i3 - i7 as it's faster
20829 than sse42 version.
20830 (bit_Prefer_PMINUB_for_stringop): New.
20831 * sysdeps/x86_64/rawmemchr.S: Update.
20832 Replace with faster SSE2 version.
20833 * sysdeps/x86_64/memrchr.S: New file.
20834 * sysdeps/x86_64/memchr.S: Update.
20835 Replace with faster SSE2 version.
20836
fde56e5c
MP
208372011-09-12 Marek Polacek <mpolacek@redhat.com>
20838
20839 * elf/dl-load.c (lose): Add cast to avoid warning.
20840
21fd49a9
UD
208412011-10-07 Ulrich Drepper <drepper@gmail.com>
20842
5a06e643
UD
20843 * po/ca.po: Update from translation team.
20844
684ae515
UD
20845 * inet/getnetgrent_r.c: Hook up nscd.
20846 * nscd/Makefile (routines): Add nscd_netgroup.
20847 (nscd-modules): Add netgroupcache.
20848 (CFLAGS-netgroupcache.c): Define.
20849 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
20850 (cache_search): Add const to second parameter.
20851 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
20852 INNETGR.
20853 (dbs): Add netgrdb entry.
20854 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
20855 (verify_persistent_db): Handle netgrdb.
20856 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
20857 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
20858 GETFDNETGR.
20859 (netgroup_response_header): Define.
20860 (innetgroup_response_header): Define.
20861 (datahead): Add netgroup_response_header and innetgroup_response_header
20862 elements.
20863 * nscd/nscd.conf: Add entries for netgroup cache.
20864 * nscd/nscd.h (dbtype): Add netgrdb.
20865 (_PATH_NSCD_NETGROUP_DB): Define.
20866 (netgroup_iov_disabled): Declare.
20867 (xmalloc, xcalloc, xrealloc): Move declarations here.
20868 (cache_search): Adjust prototype.
20869 Add netgroup-related prototypes.
20870 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
20871 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
20872 (__nscd_innetgr): Declare.
20873 * nscd/selinux.c (perms): Use access_vector_t as element type and
20874 add netgroup-related initializers.
20875 * nscd/netgroupcache.c: New file.
20876 * nscd/nscd_netgroup.c: New file.
20877 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
20878 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
20879 For four parameters use innetgr.
20880 * nss/nss_files/files-init.c: Add definition and callback for netgr.
20881 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
20882 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
20883 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20884
21fd49a9
UD
20885 * nscd/connections.c (register_traced_file): Don't register file
20886 for disabled databases.
20887
054c0457
UD
208882011-10-06 Ulrich Drepper <drepper@gmail.com>
20889
32b63198
UD
20890 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20891
054c0457
UD
20892 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20893 from tree and freeing node.
20894
64031225
JO
208952011-09-25 Jiri Olsa <jolsa@redhat.com>
20896
20897 * nss/nsswitch.c (__nss_database_lookup): Handle
20898 nss_parse_service_list out of memory case.
20899
0490345c
JO
209002011-09-15 Jiri Olsa <jolsa@redhat.com>
20901
20902 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20903 out of memory case.
20904
3a62d00d
AS
209052011-10-04 Andreas Schwab <schwab@redhat.com>
20906
20907 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20908 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20909 pass it down.
20910 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20911 elf_machine_rela, elf_machine_lazy_rel.
20912 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20913 (ELF_DYNAMIC_DO_REL): Likewise.
20914 (ELF_DYNAMIC_DO_RELA): Likewise.
20915 (ELF_DYNAMIC_RELOCATE): Likewise.
20916 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20917 to ELF_DYNAMIC_DO_REL.
20918 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20919 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20920 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20921 elf_machine_rela.
20922 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20923 skip_ifunc, don't call ifunc function if non-zero.
20924 (elf_machine_rela): Likewise.
20925 (elf_machine_lazy_rel): Likewise.
20926 (elf_machine_lazy_rela): Likewise.
20927 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20928 (elf_machine_lazy_rel): Likewise.
20929 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20930 Likewise.
20931 (elf_machine_lazy_rel): Likewise.
20932 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20933 Likewise.
20934 (elf_machine_lazy_rel): Likewise.
20935 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20936 (elf_machine_lazy_rel): Likewise.
20937 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20938 (elf_machine_lazy_rel): Likewise.
20939 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20940 (elf_machine_lazy_rel): Likewise.
20941 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20942 (elf_machine_lazy_rel): Likewise.
20943 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20944 (elf_machine_lazy_rel): Likewise.
20945 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20946 (elf_machine_lazy_rel): Likewise.
20947
68577918
UD
209482011-09-28 Ulrich Drepper <drepper@gmail.com>
20949
20950 * nss/nss_files/files-init.c (_nss_files_init): Use static
20951 initialization for all the *_traced_file variables.
20952
68822d74
AS
209532011-09-28 Andreas Schwab <schwab@redhat.com>
20954
20955 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20956
2056100b
RM
209572011-09-27 Roland McGrath <roland@hack.frob.com>
20958
20959 [BZ #13226]
20960 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20961
32c76b63
AS
209622011-09-27 Andreas Schwab <schwab@redhat.com>
20963
20964 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20965 Reread the line before reparsing it.
20966
bf972c9d
AS
209672011-09-26 Andreas Schwab <schwab@redhat.com>
20968
20969 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20970
e057a1b5
JM
209712011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20972 Maxim Kuvyrkov <maxim@codesourcery.com>
20973 Joseph Myers <joseph@codesourcery.com>
20974
20975 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20976 if needed for __stack_chk_guard.
20977
bc7e1c36
RM
209782011-09-19 Roland McGrath <roland@hack.frob.com>
20979
ecb1482f
RM
20980 * sysdeps/posix/spawni.c (script_execute): Always define it.
20981 It will be optimized away if unused.
20982 (maybe_script_execute): New function.
20983 (__spawni): Call it.
20984
bc7e1c36
RM
20985 * Makerules: Don't include tls.make.
20986 (config-tls): Always set to thread.
20987 * tls.make.c: File removed.
20988
1c3b002b
MF
209892011-09-19 Mike Frysinger <vapier@gentoo.org>
20990
20991 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20992 * config.make.in (CPPFLAGS-config): New substituted variable.
20993
2840865d
UD
209942011-09-15 Ulrich Drepper <drepper@gmail.com>
20995
88738eb6
UD
20996 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20997
cbf645a6 20998 [BZ #13192]
2840865d
UD
20999 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
21000 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
21001
b402e91a
RM
210022011-09-15 Roland McGrath <roland@hack.frob.com>
21003
21004 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
21005 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
21006 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
21007 (CALL_FAIL): Likewise.
21008 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
21009 (CALL_FAIL): Macro removed.
21010 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
21011
4c1a1f71
UD
210122011-09-15 Ulrich Drepper <drepper@gmail.com>
21013
21014 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
21015 for __FINITE_MATH_ONLY__ == 1.
21016
edc121be
AS
210172011-09-15 Andreas Schwab <schwab@redhat.com>
21018
21019 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
21020 __ieee754_sqrt instead of sqrt.
21021 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
21022 __ieee754_sqrtf instead of sqrtf.
21023 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
21024 __floorf instead of floorf.
21025 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
21026 __floorf, __truncf instead of floorf, truncf.
21027
cd205654
UD
210282011-09-14 Ulrich Drepper <drepper@gmail.com>
21029
ee4d0315
UD
21030 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
21031
cd205654
UD
21032 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
21033 __extern_always_inline.
21034 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
21035 32-bit.
21036
48b67d71
AS
210372011-09-14 Andreas Schwab <schwab@redhat.com>
21038
21039 * elf/rtld.c (dl_main): Also relocate in dependency order when
21040 doing symbol dependency testing.
21041
1ae12c75
AS
210422011-09-13 Andreas Schwab <schwab@linux-m68k.org>
21043
21044 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21045 Always define `refsym'.
21046
995a80df
AS
210472011-09-13 Andreas Schwab <schwab@redhat.com>
21048
e529793b
AS
21049 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
21050 (__FD_ELT): Renamed from __FDELT.
21051 * misc/bits/select2.h (__FD_ELT): Likewise.
21052 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
21053 __FD_MASK instead of __FDELT, __FDMASK.
21054 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21055 Likewise.
21056 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
21057 Likewise.
21058
52d4fef8
AS
21059 * elf/Makefile (gen-ldd): Fix pattern.
21060
995a80df
AS
21061 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
21062 (init_tls): Likewise.
21063
8682f8b0
UD
210642011-09-12 Ulrich Drepper <drepper@gmail.com>
21065
21066 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
21067
de82006d
AS
210682011-09-12 Andreas Schwab <schwab@redhat.com>
21069
a7c8e6a1
AS
21070 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
21071 `struct cmsghdr *' instead of `void *'.
21072 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
21073 Likewise.
21074
0f31fe77
AS
210752011-09-11 Andreas Schwab <schwab@linux-m68k.org>
21076
21077 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
21078 if non-absolute.
21079 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
21080 ldd_rewrite_script.
0f31fe77 21081
32b4c839
UD
210822011-09-11 Ulrich Drepper <drepper@gmail.com>
21083
83cd1420
UD
21084 * configure.in: Remove --with-tls option.
21085 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
21086 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
21087 out in case it is missing.
21088 * sysdeps/ia64/elf/configure.in: Likewise.
21089 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
21090 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
21091 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
21092 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
21093 * sysdeps/sh/elf/configure.in: Likewise.
21094 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
21095 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
21096 * sysdeps/x86_64/elf/configure.in: Likewise.
21097 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
21098 * sysdeps/mach/hurd/tls.h: Likewise.
21099
633f745d
UD
21100 [BZ #13067]
21101 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
21102
f318beb8
UD
21103 [BZ #13090]
21104 * configure.in: Fix use of AC_INIT.
21105
32b4c839
UD
21106 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
21107
3ce1f295
UD
211082011-09-10 Ulrich Drepper <drepper@gmail.com>
21109
bb016596
UD
21110 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
21111 __set_errno.
8e58439c
UD
21112 * malloc/hooks.c: Likewise.
21113
aebae053 21114 [BZ #11929]
02d46fc4
UD
21115 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
21116 variables statically.
21117 (narenas): Initialize.
21118 (list_lock): Initialize.
bb016596
UD
21119 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
21120 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
21121 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
21122 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
21123 Add initializers to main_arena and mp_.
21124 (malloc_state): Remove pagesize member. Change all users to use
21125 GLRO(dl_pagesize).
21126
21127 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
21128 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
21129 is always initialized.
21130
22a89187
UD
21131 * malloc/malloc.c: Removed unused configurations and dead code.
21132 * malloc/arena.c: Likewise.
21133 * malloc/hooks.c: Likewise.
02d46fc4 21134 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 21135
d063d164
UD
21136 * include/tls.h: Removed. USE___THREAD must always be defined.
21137 * bits/libc-tsd.h: Don't handle !USE___THREAD.
21138 * elf/dl-libc.c: Likewise.
21139 * elf/dl-tsd.c: Likewise.
21140 * include/errno.h: Likewise.
21141 * include/netdb.h: Likewise.
21142 * include/resolv.h: Likewise.
21143 * inet/herrno-loc.c: Likewise.
21144 * inet/herrno.c: Likewise.
21145 * malloc/arena.c: Likewise.
21146 * malloc/hooks.c: Likewise.
21147 * malloc/malloc.c: Likewise.
21148 * resolv/res-state.c: Likewise.
21149 * resolv/res_libc.c: Likewise.
21150 * sysdeps/i386/dl-machine.h: Likewise.
21151 * sysdeps/ia64/dl-machine.h: Likewise.
21152 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21153 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21154 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21155 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21156 * sysdeps/sh/dl-machine.h: Likewise.
21157 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21158 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21159 * sysdeps/unix/i386/sysdep.S: Likewise.
21160 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21161 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
21162 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
21163 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21164 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
21165 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21166 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21167 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21168 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21169 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21170 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21171 * sysdeps/x86_64/dl-machine.h: Likewise.
21172 * tls.make.c: Likewise.
21173
3ce1f295
UD
21174 * configure.in: Remove --with-__thread option. Make tests for
21175 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
21176 tls_model attribute fail if no support is available. Remove
21177 USE_IN_LIBIO.
21178 * Makeconfig: Adjust for dropped configure option. All features are
21179 now mandatory.
21180 * Makerules: Likewise.
21181 * Versions.def: Likewise.
21182 * argp/argp-fmtstream.c: Likewise.
21183 * argp/argp-fmtstream.h: Likewise.
21184 * argp/argp-help.c: Likewise.
21185 * assert/assert.c: Likewise.
21186 * config.h.in: Likewise.
21187 * config.make.in: Likewise.
21188 * configure: Likewise.
21189 * configure.in: Likewise.
21190 * csu/Versions: Likewise.
21191 * csu/init.c: Likewise.
21192 * elf/tst-audit2.c: Likewise.
21193 * elf/tst-tls10.c: Likewise.
21194 * elf/tst-tls10.h: Likewise.
21195 * elf/tst-tls11.c: Likewise.
21196 * elf/tst-tls12.c: Likewise.
21197 * elf/tst-tls14.c: Likewise.
21198 * elf/tst-tlsmod11.c: Likewise.
21199 * elf/tst-tlsmod12.c: Likewise.
21200 * elf/tst-tlsmod13.c: Likewise.
21201 * elf/tst-tlsmod13a.c: Likewise.
21202 * elf/tst-tlsmod14a.c: Likewise.
21203 * elf/tst-tlsmod15b.c: Likewise.
21204 * elf/tst-tlsmod16a.c: Likewise.
21205 * elf/tst-tlsmod16b.c: Likewise.
21206 * elf/tst-tlsmod7.c: Likewise.
21207 * elf/tst-tlsmod8.c: Likewise.
21208 * elf/tst-tlsmod9.c: Likewise.
21209 * gmon/gmon.c: Likewise.
21210 * grp/fgetgrent_r.c: Likewise.
21211 * grp/putgrent.c: Likewise.
21212 * hurd/fopenport.c: Likewise.
21213 * include/libc-symbols.h: Likewise.
21214 * include/tls.h: Likewise.
21215 * intl/gettextP.h: Likewise.
21216 * intl/loadinfo.h: Likewise.
21217 * locale/global-locale.c: Likewise.
21218 * locale/localeinfo.h: Likewise.
21219 * mach/devstream.c: Likewise.
21220 * malloc/arena.c: Likewise.
21221 * malloc/set-freeres.c: Likewise.
21222 * misc/err.c: Likewise.
21223 * misc/getttyent.c: Likewise.
21224 * misc/mntent_r.c: Likewise.
21225 * posix/getopt.c: Likewise.
21226 * posix/wordexp.c: Likewise.
21227 * pwd/fgetpwent_r.c: Likewise.
21228 * resolv/Versions: Likewise.
21229 * resolv/res_hconf.c: Likewise.
21230 * shadow/fgetspent_r.c: Likewise.
21231 * shadow/putspent.c: Likewise.
21232 * stdio-common/printf_fphex.c: Likewise.
21233 * stdio-common/tmpfile.c: Likewise.
21234 * stdlib/abort.c: Likewise.
21235 * stdlib/fmtmsg.c: Likewise.
21236 * sunrpc/auth_unix.c: Likewise.
21237 * sunrpc/clnt_perr.c: Likewise.
21238 * sunrpc/clnt_tcp.c: Likewise.
21239 * sunrpc/clnt_udp.c: Likewise.
21240 * sunrpc/clnt_unix.c: Likewise.
21241 * sunrpc/openchild.c: Likewise.
21242 * sunrpc/svc_simple.c: Likewise.
21243 * sunrpc/svc_tcp.c: Likewise.
21244 * sunrpc/svc_udp.c: Likewise.
21245 * sunrpc/svc_unix.c: Likewise.
21246 * sunrpc/xdr.c: Likewise.
21247 * sunrpc/xdr_array.c: Likewise.
21248 * sunrpc/xdr_rec.c: Likewise.
21249 * sunrpc/xdr_ref.c: Likewise.
21250 * sunrpc/xdr_stdio.c: Likewise.
21251
1248c1c4
PB
212522011-09-09 Ulrich Drepper <drepper@gmail.com>
21253
21254 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21255
212562011-07-03 Andreas Jaeger <aj@suse.de>
21257
21258 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
21259 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
21260 regenerate with gen-libm-tests.pl.
21261
212622010-05-12 Petr Baudis <pasky@suse.cz>
21263
21264 [BZ #11589]
21265 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
21266 around j0() zero points by switching to j1().
21267 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21268 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21269 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21270 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21271
f22e1074
UD
212722011-09-09 Ulrich Drepper <drepper@gmail.com>
21273
f19009c1
UD
21274 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
21275 instead of 0.
21276 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 21277 instead of 0.
f19009c1
UD
21278 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21279 Patch in part by Pavel Roskin <proski@gnu.org>.
21280
3f8cc204
UD
21281 [BZ #13138]
21282 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
21283 realloc.
21284 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
21285 Free memory block if necessary.
21286
f22e1074
UD
21287 [BZ #12847]
21288 * libio/genops.c (INTDEF): For string streams the _lock pointer can
21289 be NULL. Don't lock in this case.
21290
0a2349f9
RM
212912011-09-09 Roland McGrath <roland@hack.frob.com>
21292
21293 * elf/elf.h (ELFOSABI_GNU): New macro.
21294 (ELFOSABI_LINUX): Define to that.
21295
f3cdd467
DZ
212962011-07-29 Denis Zaitceff <zaitceff@gmail.com>
21297
21298 * string/strncat.c (strncat): Undef the symbol in case it has been
21299 defined in bits/string.h.
21300
74718d13
UD
213012011-09-09 Ulrich Drepper <drepper@gmail.com>
21302
633e9e0f
UD
21303 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
21304
0a2349f9 21305 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
21306 link map.
21307
f9924780
AJ
213082011-08-17 Andreas Jaeger <aj@suse.de>
21309
21310 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
21311
7f5517aa
PP
213122011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21313 Ian Lance Taylor <iant@google.com>
21314
21315 * math/libm-test.inc (lround_test): New testcase.
21316 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
21317
762011fe
UD
213182011-09-08 Ulrich Drepper <drepper@gmail.com>
21319
92963737
UD
21320 * Makefile: Remove support for automatic cvs check-ins.
21321 * Makerules: Likewise.
21322 * config.make.in: Likewise.
21323 * configure.in: Likewise.
21324 * intl/Makefile: Likewise.
21325 * locale/Makefile: Likewise.
21326 * po/Makefile: Likewise.
21327 * posix/Makefile: Likewise.
21328 * sysdeps/gnu/Makefile: Likewise.
21329 * sysdeps/mach/hurd/Makefile: Likewise.
21330 * sysdeps/sparc/sparc32/Makefile: Likewise.
21331
b0727fd8
JS
21332 [BZ #13118]
21333 * posix/Makefile (bug-regex32-ENV): Define.
21334 Patch by John Stanley <jpsinthemix@verizon.net>.
21335
a0f33f99
UD
21336 * misc/Makefile (headers): Add bits/select2.h.
21337 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
21338 * misc/bits/select2.h: New file.
21339 * include/bits/select2.h: New file.
21340 * debug/Makefile (routines): Add fdelt_chk.
21341 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
21342 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
21343 FD_ISSET.
21344 * debug/fdelt_chk.c: New file.
21345
762011fe
UD
21346 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
21347 * wcsmbs/test-wmemcmp.c: Likewise.
21348 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 21349 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
21350
213512011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21352
21353 * string/Makefile (strop-tests): Add memcmp.
21354 * string/test-wmemcmp.c: New file.
21355 * string/test-memcmp.c: Add wmemcmp support.
21356
7f513ec8
RM
213572011-09-08 Roland McGrath <roland@hack.frob.com>
21358
0442afb4
RM
21359 [BZ #13153]
21360 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
21361 2011-07-19 change.
21362
7f513ec8
RM
21363 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
21364 garbage value in a __mach_port_mod_refs call in the cases of the
21365 task-self and thread-self ports.
21366
a12b2239
ST
213672011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21368
21369 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
21370
610f9ab4
AS
213712011-09-08 Andreas Schwab <schwab@redhat.com>
21372
7f513ec8 21373 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 21374
48882a1a
LD
213752011-09-07 Ulrich Drepper <drepper@gmail.com>
21376
b49865be
UD
21377 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
21378
fdc86bc9
UD
21379 * elf/dl-libc.c (dlerror_run): Pass back error code from
21380 dl_catch_error.
21381
c966526a
UD
21382 [BZ #13123]
21383 * elf/dl-load.c (lose): Free l_origin if it is valid.
21384
48882a1a
LD
21385 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
21386 names.
21387 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21388 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21389 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21390 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21391 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21392 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
21393
77a2a8b4
AZ
213942011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21395
21396 * sysdeps/powerpc/fpu/e_hypot.c: New file.
21397 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
21398 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
21399 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
21400 * sysdeps/powerpc/fpu/k_cosf.c: New file.
21401 * sysdeps/powerpc/fpu/k_sinf.c: New file.
21402 * sysdeps/powerpc/fpu/s_cosf.c: New file.
21403 * sysdeps/powerpc/fpu/s_sinf.c: New file.
21404 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
21405 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
21406
24f579d8
AM
214072011-08-15 Alan Modra <amodra@gmail.com>
21408
21409 [BZ #13092]
21410 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
21411 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
21412 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
21413 ppc_mcount to static-only-routines.
21414 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
21415 __mcount_internal.
21416 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
21417 __mcount_internal with usual JUMPTARGET. Remove useless nop.
21418
3d4837df
UD
214192011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
21420
21421 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
21422 for finite and infinity parameters.
21423
22700377
WS
214242011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21425
21426 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
21427 and add nop instructions for throughput optimization.
21428 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21429
5025581e
WS
214302011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
21431
21432 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
21433 aligned copy for power7 with vector-scalar instructions.
21434 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21435
08a300c9
L
214362011-07-24 H.J. Lu <hongjiu.lu@intel.com>
21437
21438 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
21439 AVX check.
21440
59178ef9
AS
214412011-09-07 Andreas Schwab <schwab@redhat.com>
21442
21443 [BZ #13144]
21444 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
21445 last change.
21446
e38ba7ab
UD
214472011-09-07 Ulrich Drepper <drepper@gmail.com>
21448
21449 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21450 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
21451 syscall wrapper around clock_gettime in __vdso_clock_gettime.
21452 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
21453 clock_gettime.
21454
d53a73ac
UD
214552011-09-06 Ulrich Drepper <drepper@gmail.com>
21456
fc8bffcc
UD
21457 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
21458 Forgot to demangle the pointer.
21459
ceaa0c5d
UD
21460 * sysdeps/i386/sysdep.h: Define atom_text_section.
21461 * sysdeps/x86_64/sysdep.h: Likewise.
21462 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
21463 section with atom_text_section.
21464 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21465 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21466 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
21467 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21468 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
21469
a77d3c17
UD
21470 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
21471 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
21472 already be defined. Change to take two parameters and don't assign
21473 result to variable. Adjust all users.
21474 Define INTERNAL_GETTIME if not already defined.
21475 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
21476 call.
21477 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
21478 HAVE_CLOCK_GETTIME_VSYSCALL.
21479 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
21480
d53a73ac
UD
21481 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
21482 gettimeofday vsyscall, just use time.
21483
a8f84144
AS
214842011-09-06 Andreas Schwab <schwab@redhat.com>
21485
21486 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
21487 <errno.h>.
21488
ef606249
UD
214892011-09-06 Ulrich Drepper <drepper@gmail.com>
21490
21491 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
21492 syscall on x86-64.
21493 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
21494 syscall.
21495 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21496 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
21497 syscall if possible.
21498
6585cb60
UD
214992011-09-05 Ulrich Drepper <drepper@gmail.com>
21500
21501 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
21502 e_ident. Don't pass to find_mapsXX.
21503 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
21504
a5f524e4
LD
215052011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21506
21507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21508 strchr-sse2-no-bsf strrchr-sse2-no-bsf
21509 * sysdeps/x86_64/multiarch/strchr.S: Update.
21510 Check bit_slow_BSF bit.
21511 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21512 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
21513 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
21514
554881ef
UD
215152011-09-05 Ulrich Drepper <drepper@gmail.com>
21516
d96de963
UD
21517 [BZ #13134]
21518 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
21519 before glibc 2.15.
21520 (tryshell): Define.
21521 (__spawni): Change last parameter to be flag. Test
21522 SPAWN_XFLAGS_USE_PATH flag to use path or not.
21523 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
21524 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
21525 * posix/spawni.c: Likewise.
21526 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
21527 * posix/spawnp.c: Likewise. Change normal version to use
21528 SPAWN_XFLAGS_USE_PATH.
21529 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
21530 SPAWN_XFLAGS_TRY_SHELL.
21531
d48e5868
UD
21532 [BZ #13150]
21533 * posix/glob.h: Remove gcc 1.x support.
21534
554881ef
UD
21535 [BZ #13068]
21536 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
21537
693fb948
LD
215382011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21539
21540 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21541 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
21542 strrchr-sse2-bsf
21543 * sysdeps/i386/i686/multiarch/strchr.S: New file.
21544 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
21545 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
21546 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
21547 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
21548 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
21549
1b48c537
UD
215502011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21551
49d42c37
UD
21552 * sysdeps/x86_64/wcscmp.S: New file.
21553
1b48c537
UD
21554 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
21555 wcscmp-c wcscmp-sse2
21556 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
21557 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
21558 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
21559 * wcsmbs/wcscmp.c: Allow renaming.
21560
15c95c5d
DM
215612011-09-05 David S. Miller <davem@davemloft.net>
21562
21563 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
21564 stack slot, rather than the struct return pointer slot.
21565 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
21566 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
21567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
21568 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
21569
2f0ad8f3
UD
215702011-09-05 Ulrich Drepper <drepper@gmail.com>
21571
d88ae418
UD
21572 * po/ja.po: Update from translation team.
21573
2f0ad8f3
UD
21574 [BZ #13144]
21575 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
21576 kernel in 64-bit binaries.
21577
5f4318d1
DM
215782011-09-01 David S. Miller <davem@davemloft.net>
21579
21580 * elf/elf.h (HWCAP_SPARC_*): Move to..
21581 * sysdeps/sparc/sysdep.h: this new file and add new values.
21582 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
21583 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
21584 _DL_HWCAP_COUNT to 24.
21585 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21586 entries.
21587 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
21588 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
21589 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
21590 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
21591 instead of magic constants.
21592 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21593
3ba57516
DM
215942011-08-31 David S. Miller <davem@davemloft.net>
21595
21596 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
21597 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
21598 Reimplement to do errno handling inline.
21599 (SYSCALL_ERROR_HANDLER): New macro.
21600 (__SYSCALL_STRING): Do not do errno handling in asm.
21601 (__CLONE_SYSCALL_STRING): Delete.
21602 (__INTERNAL_SYSCALL_STRING): Delete.
21603 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
21604 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
21605 (PSEUDO): Reimplement to do errno handling inline.
21606 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
21607 (SYSCALL_ERROR_HANDLER): New macro.
21608 (__SYSCALL_STRING): Do not do errno handling in asm.
21609 (__CLONE_SYSCALL_STRING): Delete.
21610 (__INTERNAL_SYSCALL_STRING): Delete.
21611 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
21612 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
21613 i386.
21614 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
21615 (inline_syscall*): Add 'err' argument.
21616 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
21617 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
21618 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
21619 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
21620
21621 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
21622 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21623
2bc17433
AS
216242011-08-30 Andreas Schwab <schwab@redhat.com>
21625
21626 * elf/rtld.c (dl_main): Relocate objects in dependency order.
21627
fbeb5f4d
JO
216282011-08-29 Jiri Olsa <jolsa@redhat.com>
21629
21630 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
21631 directive.
21632
ad69cc26
DM
216332011-08-24 David S. Miller <davem@davemloft.net>
21634
21635 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
21636
39dd69df
AS
216372011-08-24 Andreas Schwab <schwab@redhat.com>
21638
21639 * elf/Makefile: Add rules to build and run unload8 test.
21640 * elf/unload8.c: New file.
21641 * elf/unload8mod1.c: New file.
21642 * elf/unload8mod1x.c: New file.
21643 * elf/unload8mod2.c: New file.
21644 * elf/unload8mod3.c: New file.
21645
21646 * elf/dl-close.c (_dl_close_worker): Reset private search list if
21647 it wasn't used.
21648
2c0b250a
DM
216492011-08-23 David S. Miller <davem@davemloft.net>
21650
21651 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
21652 subtract stack bias.
21653 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
21654 %sp not %fp in calculations.
21655 (_JMPBUF_UNWINDS_ADJ): Likewise.
21656
22044b48
DM
21657 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
21658 (aio_suspend): Call it to force an exception region around the
21659 AIO_MISC_WAIT() invocation.
21660
2cae4995
AS
216612011-08-23 Andreas Schwab <schwab@redhat.com>
21662
21663 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
21664 backslash.
21665
873a772e
AJ
216662011-07-04 Aurelien Jarno <aurelien@aurel32.net>
21667
21668 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
21669 protection macro.
21670 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
21671 and <dl-machine.h>.
21672 (Elf64_FuncDesc): Remove.
21673
25ad0df1
DM
216742011-08-22 David S. Miller <davem@davemloft.net>
21675
21676 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
21677 sigaltstack check, add missing cfi directives.
21678 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
21679 missing cfi directives, and sigaltstack handling.
21680
e888bcbe
AS
216812011-08-16 Andreas Schwab <schwab@redhat.com>
21682
21683 [BZ #11724]
21684 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
21685 object is seen twice.
21686 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21687
21688 * elf/Makefile (distribute): Add tst-initorder2.c.
21689 (tests): Add tst-initorder2.
21690 (modules-names): Add tst-initorder2a tst-initorder2b
21691 tst-initorder2c tst-initorder2d. Add rules to build them.
21692 ($(objpfx)tst-initorder2.out): New rule.
21693 * elf/tst-initorder2.c: New file.
21694 * elf/tst-initorder2.exp: New file.
21695
87162f46
AS
216962011-08-22 Andreas Schwab <schwab@redhat.com>
21697
70538b7f
AS
21698 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
21699
f55ffe58
AS
21700 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
21701 dependencies back to end of function.
21702
87162f46
AS
21703 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
21704 $(elfobjdir)/ld.so.
21705
91b392a4
UD
217062011-08-21 Ulrich Drepper <drepper@gmail.com>
21707
21708 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
21709 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
21710 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
21711 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
21712 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
21713 of __vdso_gettimeofday.
21714 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
21715 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
21716 attribute_hidden.
21717 (_libc_vdso_platform_setup): Remove initialization of
21718 __vdso_gettimeofday and __vdso_time.
21719
5c43483f
UD
217202011-08-20 Ulrich Drepper <drepper@gmail.com>
21721
775a77e7
UD
21722 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
21723 and fgetc_unlocked.
21724 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
21725 getc_unlocked.
89f447ed 21726
49c74ba9
UD
21727 * elf/dl-open.c (add_to_global): Report additions to the global scope
21728 for LD_DEBUG=scopes.
21729 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 21730 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 21731
5c43483f
UD
21732 [BZ #13114]
21733 * stdio-common/Makefile (tests): Add bug24.
21734 * stdio-common/bug24.c: New file.
21735
a101b025
AJ
217362011-08-19 Andreas Jaeger <aj@suse.de>
21737
21738 [BZ #13114]
21739 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
21740 non-existant file when using close-on-exec mode.
21741
c88f1766
UD
217422011-08-20 Ulrich Drepper <drepper@gmail.com>
21743
0276a718
UD
21744 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
21745 the very first instruction.
21746
c88f1766
UD
21747 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
21748 the CFI state in the end.
21749 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
21750 inclusion of dl-trampoline.h.
21751 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
21752
51ccffa0
AS
217532011-08-19 Andreas Schwab <schwab@redhat.com>
21754
94d7165f
AS
21755 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
21756 expectations for long double.
21757
51ccffa0
AS
21758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
21759 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
21760
fd708658 217612011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
21762
21763 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
21764 artificual limit depends upon the system page size.
21765
44f0a71e
UD
217662011-08-17 Ulrich Drepper <drepper@gmail.com>
21767
21768 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
21769 * resolv/Makefile: Define CFLAGS-libresolv.
21770
8de79a24
AS
217712011-08-17 Andreas Schwab <schwab@redhat.com>
21772
21773 * nss/makedb.c (compute_tables): Make variables used in nested
21774 function static.
21775
27724598
UD
217762011-08-17 Ulrich Drepper <drepper@gmail.com>
21777
c5305d88
UD
21778 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
21779 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
21780 if buffer was too small.
21781
27724598
UD
21782 * elf/pldd.c (main): Attach to all threads in the process.
21783 Rewrite /proc handling to use *at functions.
21784
076fe015
UD
217852011-08-16 Ulrich Drepper <drepper@gmail.com>
21786
174baab3
UD
21787 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
21788 specifies first scope to show.
21789 (dl_open_worker): Update callers. Move printing scope of new
21790 object to before the relocation.
44f0a71e 21791 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
21792 * sysdeps/generic/ldsodefs.h: Update declaration.
21793
076fe015
UD
21794 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
21795 string for the scope number.
21796
a60df2c3
UD
217972011-08-14 Ulrich Drepper <drepper@gmail.com>
21798
21799 * nscd/servicescache.c (cache_addserv): Make sure written is always
21800 initialized.
21801
5e4287d1
RM
218022011-08-14 Roland McGrath <roland@hack.frob.com>
21803
85ae0589
RM
21804 * sysdeps/i386/i486/bits/atomic.h
21805 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
21806 statement expression, so as to suppress "set but not used" warning.
21807 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
21808
69f63097
RM
21809 * string/strncat.c (STRNCAT): Use prototype definition.
21810
675456ef
RM
21811 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
21812 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
21813 -Iprograms here.
21814 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
21815 (localedef-modules): Add localedef.
21816 (locale-modules): Add locale.
21817
5e4287d1
RM
21818 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
21819 * elf/rtld.c (dl_main): Invert order of assignment in last change,
21820 to avoid a warning.
21821
9c96ff23
DM
218222011-08-14 David S. Miller <davem@davemloft.net>
21823
21824 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
21825 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
21826
f9ddf089
UD
218272011-08-13 Ulrich Drepper <drepper@gmail.com>
21828
44f0a71e 21829 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
21830 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
21831 * elf/rtld.c (dl_main): Set l_name of vDSO.
21832 Call _dl_show_scope when DL_DEBUG_SCOPES.
21833 (process_dl_debug): Recognize scopes flag and also set it for all.
21834 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
21835 Declare _dl_show_scope.
21836
1dc27704
UD
21837 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
21838 (do_dlopen): Pass caller_dlopen to dl_open.
21839 (__libc_dlopen_mode): Initialize caller_dlopen.
21840
f9ddf089
UD
21841 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
21842 of libc. Make tolower call locale-independent. Optimize a bit by
21843 using isdigit instead of isalnum.
21844 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
21845
9ac533d3
UD
218462011-08-12 Ulrich Drepper <drepper@gmail.com>
21847
21848 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
21849 was a dependency or dynamically loaded.
21850
89edf2e9
UD
218512011-08-11 Ulrich Drepper <drepper@gmail.com>
21852
8e999d29
UD
21853 * intl/l10nflist.c: Allow architecture-specific pop function.
21854 * sysdeps/x86_64/l10nflist.c: New file.
21855
89edf2e9
UD
21856 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
21857 classification.
21858
14d96785
AS
218592011-08-10 Andreas Schwab <schwab@redhat.com>
21860
21861 * include/dirent.h: Add libc_hidden_proto for scandirat and
21862 scandirat64. Don't declare __scandirat64.
21863 * dirent/scandirat.c: Add libc_hidden_def.
21864 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
21865 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
21866
6761ac04
DM
218672011-08-10 David S. Miller <davem@davemloft.net>
21868
21869 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
21870 enum.
21871 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21872 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21873 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21874
c55fbd1e
UD
218752011-08-09 Ulrich Drepper <drepper@gmail.com>
21876
21877 * Versions.def [libc]: Add GLIBC_2.15.
21878 * dirent/Makefile (routines): Add scandirat and scandirat64.
21879 * dirent/Versions [libc]: Export scandirat and scandirat64 for
21880 GLIBC_2.15.
21881 * dirent/dirent.h: Declare scandirat and scandirat64.
21882 * dirent/scandirat.c: New file.
21883 * dirent/scandirat64.c: New file.
21884 * sysdeps/wordsize-64/scandirat.c: New file.
21885 * sysdeps/wordsize-64/scandirat64.c: New file.
21886 * dirent/opendir.c: Define opendirat.
21887 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21888 using scandirat.
21889 * dirent/scandir64.c: Adjust for scandir.c change.
21890 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21891 __scandirat64, and __scandir_cancel_handler.
21892 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21893 additional parameter and use openat instead of open (outside of ld.so).
21894 Add new __opendir as wrapper around __opendirat.
21895 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21896 here without requiring old scandirat implementation.
21897
879165f2
UD
218982011-08-08 Ulrich Drepper <drepper@gmail.com>
21899
21900 * dirent/scandir.c (cancel_handler): Renamed to
21901 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21902 defined. Adjust users.
21903 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21904 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21905
cb7e923b
UD
219062011-08-04 Ulrich Drepper <drepper@gmail.com>
21907
16292edd
UD
21908 * string/test-string.h (IMPL): Use __STRING to expand name and then
21909 stringify it.
21910
cb7e923b
UD
21911 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21912 of cleanups.
21913
cff82933
LD
219142011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21915
21916 * string/Makefile: Update.
21917 (strop-tests): Append strncat.
21918 * string/test-wcscmp.c: New file.
21919 New comprehensive test for wcscmp.
21920 * string/test-strcmp.c: Update.
21921 (WIDE): New define.
21922
9be9bfcc
AS
219232011-07-22 Andreas Schwab <schwab@redhat.com>
21924
21925 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21926 line.
21927
2e96f1c7
AS
219282011-07-26 Andreas Schwab <schwab@redhat.com>
21929
21930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21931 encoding to ACE if AI_IDN.
21932
85188888
JJ
219332011-08-01 Jakub Jelinek <jakub@redhat.com>
21934
21935 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21936 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21937
5fa16e9b
LD
219382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21939
21940 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21941 Fix overflow bug in strncat.
21942 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21943
21944 * string/test-strncat.c: Update.
21945 Add new tests for checking overflow bugs.
21946
219472011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21948
21949 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21950 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21951 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21952 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21953 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21954 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21955 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21956 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21957 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21958
21959 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21960 (USE_AS_STRCAT): Define.
21961 Add strcat and strncat support.
21962 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21963
8c1a459f
AS
219642011-07-25 Andreas Schwab <schwab@redhat.com>
21965
21966 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21967 __n bigger than INT_MAX+1.
21968 (__strncmp_g): Likewise.
21969
bba33c28
UD
219702011-07-23 Ulrich Drepper <drepper@gmail.com>
21971
798be72d
UD
21972 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21973 * libio/stido.h: Likewise.
21974
8accd4dc
UD
21975 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21976 (AF_NFC): Define.
21977 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21978 (AF_NFC): Define.
21979
cbff0d96
UD
21980 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21981 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21982 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21983 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21984 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21985
9191c04a
UD
21986 [BZ #13021]
21987 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21988 installed.
21989
bba33c28
UD
21990 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21991 typo.
21992 (_dl_x86_64_save_sse): Likewise.
21993
90f139dd
UD
219942011-07-22 Ulrich Drepper <drepper@gmail.com>
21995
1aae088a
UD
21996 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21997 OSXSAVE.
21998 (_dl_x86_64_save_sse): Likewise.
21999
8e2045f5
UD
22000 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
22001
90f139dd
UD
22002 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
22003
1d002f25
AS
220042011-07-21 Andreas Schwab <schwab@redhat.com>
22005
22006 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
22007 change.
22008 (_dl_x86_64_save_sse): Use correct AVX check.
22009
21137f89
UD
220102011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22011
22012 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
22013 bug in strncpy/strncat.
22014 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22015
a65c0b7a
UD
220162011-07-21 Ulrich Drepper <drepper@gmail.com>
22017
22018 * string/tester.c (test_strcat): Add tests for different alignments
22019 of source and destination.
22020 (test_strncat): Likewise.
22021
6986b98a
UD
220222011-07-20 Ulrich Drepper <drepper@gmail.com>
22023
90bb2039
UD
22024 [BZ #12852]
22025 * posix/glob.c (glob): Check passed in values before using them in
22026 expressions to avoid some overflows.
22027 (glob_in_dir): Likewise.
22028
5644ef54
UD
22029 [BZ #13007]
22030 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
22031 check for AVX enablement so that we don't crash with old kernels and
22032 new hardware.
22033 * elf/tst-audit4.c: Add same checks here.
22034 * elf/tst-audit6.c: Likewise.
22035
22036 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 22037
bfc9dc9b
AS
220382011-07-09 Andreas Schwab <schwab@linux-m68k.org>
22039
22040 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
22041
702e64bb
UD
220422011-07-20 Ulrich Drepper <drepper@gmail.com>
22043
22044 * po/cs.po: Update from translation team.
22045 * po/bg.po: Likewise.
22046
295e904f
MP
220472011-07-12 Marek Polacek <mpolacek@redhat.com>
22048
22049 * misc/sys/cdefs.h: Add support for const attribute.
22050 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
22051 to gnu_dev_{major,minor,makedev} functions.
22052
3ff94596
MP
220532011-07-20 Marek Polacek <mpolacek@redhat.com>
22054
22055 * intl/dcigettext.c (get_output_charset): Add missing bracket.
22056
28b59fca
AS
220572011-07-20 Andreas Schwab <schwab@redhat.com>
22058
22059 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
22060 strlen results.
22061
19df733e
AK
220622011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22063
22064 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22065 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
22066 register in order to avoid conflicts with the soft frame pointer
22067 being held in r11 when necessary.
22068 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22069 (INTERNAL_VSYSCALL_NCS): Likewise.
22070
c8835729
MP
220712011-07-14 Marek Polacek <mpolacek@redhat.com>
22072
22073 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
22074 * elf/dl-fini.c (_dl_fini): Adjust caller.
22075 * elf/dl-close.c (_dl_close_worker): Likewise.
22076 * sysdeps/generic/ldsodefs.h: Adjust declaration.
22077
b902330c
MP
220782011-07-15 Marek Polacek <mpolacek@redhat.com>
22079
8991e135
MP
22080 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
22081 "aux_cache->nlibs < 0".
22082
b902330c
MP
22083 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
22084 in the reload-count case.
22085
99710781
LD
220862011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22087
22088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22089 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
22090 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
22091 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
22092 * sysdeps/x86_64/multiarch/strcat.S: New file.
22093 * sysdeps/x86_64/multiarch/strncat.S: New file.
22094 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
22095 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
22096 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
22097 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
22098 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
22099 (USE_AS_STRCAT): Define.
22100 Add strcat and strncat support.
22101 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22102 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22103 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
22104 * string/strncat.c: Update.
22105 (USE_AS_STRNCAT): Define.
22106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22107 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
22108 and i7.
22109 * sysdeps/x86_64/multiarch/init-arch.h
22110 (bit_Prefer_PMINUB_for_stringop): New.
22111 (index_Prefer_PMINUB_for_stringop): Likewise.
22112 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
22113 bit_Prefer_PMINUB_for_stringop.
22114
7dc6bd90
UD
221152011-07-19 Ulrich Drepper <drepper@gmail.com>
22116
22117 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
22118 buffer64.
22119 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
22120 of casting of buffer.
22121 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
22122 buffer32 and buffer64.
22123 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
22124 writes instead of casting of buffer.
22125 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
22126 buffer32.
22127 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
22128 casting of buffer.
22129
e0e72284
AS
221302011-07-19 Andreas Schwab <schwab@redhat.com>
22131
22132 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
22133
feb1eb0b
UD
221342011-07-19 Ulrich Drepper <drepper@gmail.com>
22135
22136 * nscd/nscd.c (termination_handler): Don't do anything for a database
22137 if it has not yet been initialized.
22138
298711ff
UD
221392011-07-18 Ulrich Drepper <drepper@gmail.com>
22140
22141 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22142
221432011-07-15 Marek Polacek <mpolacek@redhat.com>
22144
22145 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
22146
f9d68389
UD
221472011-07-18 Ulrich Drepper <drepper@gmail.com>
22148
22149 * po/nl.po: Update from translation team.
22150 * po/sv.po: Likewise.
22151
db290cf5
RM
221522011-07-16 Roland McGrath <roland@hack.frob.com>
22153
22154 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
22155 now disallowed by GCC.
5c550700 22156
fd5e21c7
RM
22157 * configure.in (use-default-link): Default to yes if a test -shared
22158 link meets our qualifications.
22159 * configure: Regenerated.
22160
5c550700
RM
22161 * config.make.in (output-format): New variable.
22162 * configure.in: Check for ld --print-output-format support.
22163 * configure: Regenerated.
22164 * Makerules ($(common-objpfx)format.lds)
22165 [$(output-format) != unknown]: Just use $(output-format),
22166 instead of the linker-script munging.
22167
9fa2c032
RM
221682011-07-14 Roland McGrath <roland@hack.frob.com>
22169
a6928d51
RM
22170 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
22171 of $(common-objpfx)shlib.lds.
22172 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
22173
661607b3
RM
22174 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
22175 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
22176
9fa2c032
RM
22177 * configure.in (-z relro check): Adjust test code to add a large
22178 writable data section after it.
22179 * configure: Regenerated.
22180
defe9061
RM
221812011-07-11 Roland McGrath <roland@hack.frob.com>
22182
22183 * configure.in (-z relro check): Fix test code to make the variable
22184 truly const.
22185 * configure: Regenerated.
22186
319b9ad4
UD
221872011-07-11 Ulrich Drepper <drepper@gmail.com>
22188
22189 * nscd/nscd.h (struct traced_file): Define.
22190 (struct database_dyn): Remove inotify_descr, reset_res, and filename
22191 elements. Add traced_files.
22192 (inotify_fd): Declare.
22193 (register_traced_file): Declare.
22194 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
22195 (inotify_fd): Export.
22196 (resolv_conf_descr): Remove.
22197 (nscd_init): Move inotify descriptor creation to main.
22198 Don't register files for notification here.
22199 (register_traced_file): New function.
22200 (invalidate_cache): Don't use reset_res to determine whether to call
22201 res_init, go through the list of registered files.
22202 (main_loop_poll): The inotify descriptors are now stored in the
22203 structures for the traced files.
22204 (main_loop_epoll): Likewise
22205 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
22206 to __nss_disable_nscd.
22207 * nscd/cache.c (prune_cache): There is no single inotify descriptor
22208 for a database anymore. Check the records for all the registered
22209 files instead.
22210 * nss/Makefile (libnss_files-routines): Add files-init.
22211 (libnss_db-routines): Add db-init.
22212 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
22213 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
22214 * nss/nss_db/db-init.c: New file.
22215 * nss/nss_files/files-init.c: New file.
22216 * nss/nsswitch.c (nss_load_library): New function. Broken out of
22217 __nss_lookup_function.
22218 (__nss_lookup_function): Call nss_load_library.
22219 (nss_load_all_libraries): New function.
22220 (__nss_disable_nscd): Take parameter with callback function for files
22221 to register. Set is_nscd. Load all the DSOs for the NSS modules
22222 used for the cached services.
22223 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
22224 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
22225 options for features to all the files in nscd.
22226
22227 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
22228
23bee3e8
RM
222292011-07-10 Roland McGrath <roland@hack.frob.com>
22230
22231 * csu/elf-init.c (__libc_csu_init): Comment typo.
22232
46a5b7f0
UD
222332011-07-09 Ulrich Drepper <drepper@gmail.com>
22234
22235 * po/pl.po: Update from translation team.
22236 * po/ja.po: Likewise.
22237 * po/ru.po: Likewise.
22238 * po/ko.po: Likewise.
22239 * po/fr.po: Likewise.
22240
d30cf5bb
RM
222412011-07-09 Roland McGrath <roland@hack.frob.com>
22242
113ddea4
RM
22243 * configure.in (.ctors/.dtors header and trailer check):
22244 Use an empirical test on a built program.
22245 * configure: Regenerated.
22246
574920b4
RM
22247 * configure.in (-z relro check): Use an empirical test on a built DSO.
22248 Detect, but do not require, on ia64.
22249 * configure: Regenerated.
22250
d30cf5bb
RM
22251 * configure.in (READELF): Find it with AC_CHECK_TOOL.
22252 Update tests that use readelf to use $READELF instead.
22253 * configure: Regenerated.
22254
8538fdb3
UD
222552011-07-08 Ulrich Drepper <drepper@gmail.com>
22256
22257 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
22258 if the result is not used.
22259
04d08991
AJ
222602011-07-05 Andreas Jaeger <aj@suse.de>
22261
22262 [BZ#9696]
22263 * stdlib/tst-strtod.c: Add testcase.
22264
de283087
AD
222652011-07-07 Ulrich Drepper <drepper@gmail.com>
22266
4e5f31c8 22267 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 22268 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
22269 The latter has a higher limit. Take additional parameter to pass to
22270 the new function.
22271 (__pathconf): Pass file to __statfs_link_max.
22272 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
22273 __statfs_link_max.
22274 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
22275 __statfs_link_max.
22276
de283087
AD
22277 [BZ #12868]
22278 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
22279 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22280 Handle Lustre.
22281 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
22282 (__statfs_filesize_max): Likewise.
22283 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
22284
c75fa153
AJ
222852011-07-05 Andreas Jaeger <aj@suse.de>
22286
22287 * resolv/res_comp.c (dn_skipname): Remove unused variable.
22288
1a544854
UD
222892011-07-06 Marek Polacek <mpolacek@redhat.com>
22290
22291 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
22292 `status' variable.
22293 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
22294 Likewise.
22295
6f0eec67
UD
222962011-07-04 H.J. Lu <hongjiu.lu@intel.com>
22297
22298 * Makefile (strop-tests): Add strncat.
22299 * string/test-strncat.c: New file.
22300
aae30307
UD
223012011-06-30 Marek Polacek <mpolacek@redhat.com>
22302
22303 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
22304
c0cfb5eb
UD
223052011-06-21 Andreas Jaeger <aj@suse.de>
22306
22307 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
22308 Copy rule from iconvdata/Makefile.
22309
01636b21
UD
223102011-07-06 Ulrich Drepper <drepper@gmail.com>
22311
22312 [BZ #12922]
22313 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
22314 but no long options are defined, just return 'W'.
22315
9895c8bc
UD
223162011-06-22 Marek Polacek <mpolacek@redhat.com>
22317
22318 [BZ #9696]
22319 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
22320
5d4cf042
UD
223212011-07-06 Ulrich Drepper <drepper@gmail.com>
22322
22323 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
22324 netgroups to read.
960e5535 22325 (innetgr): Likewise.
5d4cf042 22326
751eb97e
RM
223272011-07-05 Roland McGrath <roland@hack.frob.com>
22328
22329 * config.make.in (install_root): Default to $(DESTDIR).
22330
f15f1e45
UD
223312011-07-05 Ulrich Drepper <drepper@gmail.com>
22332
22333 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
22334
4e34ac6a
RM
223352011-07-02 Roland McGrath <roland@hack.frob.com>
22336
5e9b6af4
RM
22337 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
22338
84f9ea0f
RM
22339 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
22340 containing directory rather than embedding absolute directory names.
22341
ea5ee9f7
RM
22342 * scripts/check-local-headers.sh: Rewritten using awk.
22343 Match by word, not by line. Print error messages for matches.
22344 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
22345
1b74661a
RM
22346 * Makerules [shlib-lds-flags empty]:
22347 ($(common-objpfx)libc_pic.opts): New target.
22348 ($(common-objpfx)libc_pic.os.clean): New target.
22349 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
22350
22351 * config.make.in (OBJCOPY): New variable.
22352 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
22353 * configure: Regenerated.
22354
f781ef40
RM
22355 * config.make.in (use-default-link): New variable.
22356 * configure.in (use_default_link): Grok --with-default-link to set it.
22357 * configure: Regenerated.
22358 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
22359 (shlib-lds, shlib-lds-flags): Define to empty.
22360
2d4fa81e
RM
22361 * Makerules (shlib-lds): New variable.
22362 (shlib-lds-flags): New variable.
22363 (build-shlib, build-moduile, build-module-asneeded): Use it.
22364 ($(common-objpfx)libc.so): Use $(shlib-lds).
22365 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
22366 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
22367
31fffa6b
RM
22368 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
22369 DT_FLAGS/DT_FLAGS_1 with zero flags.
22370
4e34ac6a
RM
22371 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
22372 linker script munging.
22373
fcfc776b
UD
223742011-07-02 Ulrich Drepper <drepper@gmail.com>
22375
22376 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
22377 as 128-bit value.
22378 * crypt/sha512.c (sha512_process_block): Perform total addition using
22379 128-bit if possible.
22380 (__sha512_finish_ctx): Likewise.
22381 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
22382 as 64-bit value.
22383 * crypt/sha256.c (SWAP64): Define.
22384 (sha256_process_block): Perform total addition using 64-bit if
22385 possible.
22386 (__sha256_finish_ctx): Likewise.
22387
99231d9a
UD
223882011-07-01 Ulrich Drepper <drepper@gmail.com>
22389
22390 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
22391 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22392 * nscd/hstcache.c (cache_addhst): Likewise.
22393 * nscd/grpcache.c (cache_addgr): Likewise.
22394 * nscd/aicache.c (addhstaiX): Likewise
22395 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
22396
445b4a53
TK
223972011-07-01 Thorsten Kukuk <kukuk@suse.de>
22398
22399 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
22400 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22401 * nscd/hstcache.c (cache_addhst): Likewise.
22402 * nscd/grpcache.c (cache_addgr): Likewise.
22403 * nscd/aicache.c (addhstaiX): Likewise
22404
6d4d8e8e
AS
224052011-07-01 Andreas Schwab <schwab@redhat.com>
22406
22407 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
22408 domain only when needed.
22409
89f654c5
AS
224102011-06-30 Andreas Schwab <schwab@redhat.com>
22411
22412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
22413 is always restored.
22414
cf3b23ff
UD
224152011-06-29 Ulrich Drepper <drepper@gmail.com>
22416
22417 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
22418 are re-adding the entry.
22419 * nscd/servicescache.c (cache_addserv): Likewise.
22420
751626f9
AJ
224212011-06-30 Aurelien Jarno <aurelien@aurel32.net>
22422
22423 * sysdeps/generic/dl-irel.h: fix protection against multiple
22424 inclusions.
22425 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
22426
9113ea1f
UD
224272011-06-28 Ulrich Drepper <drepper@gmail.com>
22428
5c0b8d90
UD
22429 [BZ #12935]
22430 * malloc/memusage.sh: Fix quoting in message.
22431 * debug/xtrace.sh: Likewise.
22432
9113ea1f
UD
22433 * configure.in: Remove support for --experimental-malloc option, make
22434 it the default.
22435 * config.make.in: Likewise.
22436 * malloc/Makefile: Likewise.
22437
a4172181
AS
224382011-06-27 Andreas Schwab <schwab@redhat.com>
22439
22440 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
22441 two-byte characters.
22442
78a7eee7
RM
224432011-06-27 Roland McGrath <roland@hack.frob.com>
22444
62bede13
RM
22445 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
22446 AC_CACHE_CHECK invocation.
22447 * configure: Regenerated.
22448
78a7eee7
RM
22449 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
22450
5ce33a62
UD
224512011-06-27 Ulrich Drepper <drepper@gmail.com>
22452
034807a9
UD
22453 [BZ #12350]
22454 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
22455 bit from old_res_options.
22456
4902da17
UD
22457 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
22458
5ce33a62
UD
22459 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
22460 value type for setfct.
22461
c2344f56
L
224622011-06-23 H.J. Lu <hongjiu.lu@intel.com>
22463
22464 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22465 __gettimeofday instead of gettimeofday.
22466
68468076
UD
224672011-06-26 Ulrich Drepper <drepper@gmail.com>
22468
22469 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
22470
acb0d739
L
224712011-06-24 H.J. Lu <hongjiu.lu@intel.com>
22472
22473 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
22474
22475 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
22476 info.
22477
8912479f
L
224782011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22479
22480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22481 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22482 strcpy-sse2-unaligned strncpy-sse2-unaligned
22483 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
22484 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
22485 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
22486 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
22487 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
22488 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
22489 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
22490 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
22491 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
22492 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
22493 (STRCPY): Support SSE2 and SSSE3 versions.
22494
d5495a11
UD
224952011-06-24 Ulrich Drepper <drepper@gmail.com>
22496
22497 [BZ #12874]
22498 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
22499 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
22500 kernels which artificially limit size of requests.
22501
0b1cbaae
L
225022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
22503
22504 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22505 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
22506 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
22507 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
22508 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
22509 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
22510 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
22511 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
22512 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
22513 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
22514 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
22515 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
22516 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
22517 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
22518 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
22519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22520 Enable unaligned load optimization for Intel Core i3, i5 and i7
22521 processors.
22522 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
22523 Define.
22524 (index_Fast_Unaligned_Load): Define.
22525 (HAS_FAST_UNALIGNED_LOAD): Define.
22526
07f494a0
MP
225272011-06-23 Marek Polacek <mpolacek@redhat.com>
22528
22529 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
22530
fa3fc0fe
UD
225312011-06-22 Ulrich Drepper <drepper@gmail.com>
22532
22533 [BZ #12907]
22534 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
22535 until it is clear that the information is realy needed.
22536 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
22537
e12df166
AS
225382011-06-22 Andreas Schwab <schwab@redhat.com>
22539
22540 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
22541
852eb34d
UD
225422011-06-22 Ulrich Drepper <drepper@gmail.com>
22543
84e2a551
UD
22544 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
22545 /sys/devices/system/cpu/online if it is usable.
22546
852eb34d
UD
22547 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
22548 reading the information from the /proc filesystem to once a second.
22549
6e502e19
UD
225502011-06-21 Andreas Jaeger <aj@suse.de>
22551
22552 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
22553 NULL after inclusion of kernel headers.
22554
75d39ff2
UD
225552011-06-21 Ulrich Drepper <drepper@gmail.com>
22556
51f9aa6a
UD
22557 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
22558 calls to internal_setent.
22559
c0244a9d
UD
22560 [BZ #12885]
22561 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
22562 addresses using gethostbyname4_r ignore IPv4 addresses.
22563
c5e3c2ae
UD
22564 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
22565 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
22566
75d39ff2
UD
22567 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
22568
42675c6f
DM
225692011-06-20 David S. Miller <davem@davemloft.net>
22570
22571 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
22572 inclusions.
22573 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
22574
22575 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
22576 (elf_irel): Use it.
22577 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
22578 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
22579 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
22580 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
22581 * sysdeps/x86_64/dl-irel.h: Likewise.
22582
22583 * elf/dl-runtime.c: Use elf_ifunc_invoke.
22584 * elf/dl-sym.c: Likewise.
22585
57912a71
UD
225862011-06-15 Ulrich Drepper <drepper@gmail.com>
22587
22588 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
22589 need to dereference resplen2.
22590
ee22793d
AS
225912011-06-14 Andreas Schwab <schwab@redhat.com>
22592
22593 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
22594
a9e836b0
UD
225952011-06-15 Ulrich Drepper <drepper@gmail.com>
22596
77fb9117
UD
22597 * Makeconfig: Define vardbdir and inst_vardbdir.
22598 * nss/Makefile: Add rules to install db-Makefile.
22599
40c1b22c
UD
22600 * nss/nss_db/db-XXX.c: Cleanup.
22601
9f2da732
UD
22602 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
22603 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
22604 GLIBC_PRIVATE.
22605 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
22606 * nss/makedb.c: Implement -g option to specify that value strings
22607 are generated and should not be added to table iterated over for
22608 get*ent calls.
22609 * nss/nss_db/db-initgroups.c: New file.
22610
82e9a1f7
UD
22611 * nss/getent.c: Add support for initgroups lookups through getgrouplist
22612 interface.
22613
c41af17e
UD
22614 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
22615 (internal_getgrouplist): Adjust to name change.
22616 Update use_initgroups_entry if this is not the first call.
22617 * nss/databases.def: Add initgroups entry.
22618
a9e836b0
UD
22619 * nss/makedb.c (compute_tables): Check result of multiple hash table
22620 sizes to minimize maximum chain length.
22621
2666d441
UD
226222011-06-14 Ulrich Drepper <drepper@gmail.com>
22623
22624 * Versions.def: Add entry for libnss_db.
22625 * shlib-versions: Likewise.
22626 * nss/Makefile: Add rules to build libnss_db.
22627 * nss/Versions: Add libnss_db information. Organize libnss_files
22628 entries better.
22629 * nss/db-Makefile: Add gshadow support. Change rules for the new
22630 makedb progra. Some minor improvements to generate smaller files.
22631 * nss/nss_db/nss_db.h: Move NSS database header data structures to
22632 here from...
22633 * nss/makedb.c: ...here.
22634 Improve database format to be smaller and require less memory at
22635 runtime.
22636 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
22637 db anymore.
22638 * nss/nss_db/db-netgrp.c: Likewise.
22639 * nss/nss_db/db-open.c: Likewise.
22640 * nss/nss_files/flies-XXX.x: Adjust comments.
22641 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
22642 * nss/nss_files/files-grp.c: Likewise.
22643 * nss/nss_files/files-hosts.c: Likewise.
22644 * nss/nss_files/files-network.c: Likewise.
22645 * nss/nss_files/files-proto.c: Likewise.
22646 * nss/nss_files/files-pwd.c: Likewise.
22647 * nss/nss_files/files-rpc.c: Likewise.
22648 * nss/nss_files/files-service.c: Likewise.
22649 * nss/nss_files/files-sgrp.c: Likewise.
22650 * nss/nss_files/files-spwd.c: Likewise.
22651 * nss/nss_db/db-alias.c: Removed.
22652 * nss/nss_db/dummy-db.h: Removed.
22653
9ee76b5a
UD
226542011-06-02 Ulrich Drepper <drepper@gmail.com>
22655
22656 * nss/makedb.c: Rewritten to not use database library.
22657 * nss/Makefile: Update to build new makedb program.
22658
c71ca1f8
AJ
226592011-06-14 Andreas Jaeger <aj@suse.de>
22660
22661 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
22662 memset declaration.
22663
3154bfb8
UD
226642011-06-10 Andreas Schwab <schwab@redhat.com>
22665
22666 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
22667 tmpbuf.
22668
b350afab
RM
226692011-06-10 Roland McGrath <roland@hack.frob.com>
22670
decd4e50
RM
22671 * Makerules (shlib.lds): Fail if the linker script comes out empty.
22672 * elf/Makefile ($(objpfx)ld.so): Likewise.
22673
5615eaf2
RM
22674 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
22675 Don't list ld.so twice in dependencies.
22676
22677 * posix/bug-regex31.c: Include <stdlib.h>.
22678
22679 * nscd/hstcache.c (cache_addhst): Remove unused variable.
22680
22681 * nis/nss_compat/compat-spwd.c
22682 (getspent_next_nss_netgr): Remove unused variable.
22683 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
22684
22685 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
22686 nonmembers" output to use the right array.
22687
22688 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
22689
22690 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
22691
22692 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
22693 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
22694 * catgets/gencat.c (read_input_file): Likewise.
22695 * locale/programs/locarchive.c (enlarge_archive): Likewise.
22696
22697 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
22698 variable definition inside #if's controlling its use.
22699
22700 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
22701
22702 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
22703
22704 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
22705
22706 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
22707 unreachable code.
22708
22709 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
22710
b68e08db
RM
22711 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
22712 * configure: Regenerated.
22713
b350afab
RM
22714 * Makerules: Revert last change.
22715 * elf/Makefile: Likewise.
22716
28368601
RM
227172011-06-09 Roland McGrath <roland@hack.frob.com>
22718
22719 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
22720 * elf/Makefile ($(objpfx)librtld.os): Likewise.
22721 (reloc-link): Likewise.
22722
11988f8f
UD
227232011-06-09 Ulrich Drepper <drepper@gmail.com>
22724
22725 * elf/Makefile: Add rules to build pldd.
22726 * elf/pldd.c: New file.
22727 * elf/pldd-xx.c: New file.
22728
e80fab37
UD
227292011-06-07 Ulrich Drepper <drepper@gmail.com>
22730
22731 * version.h: Update for 2.15 development version.
22732
9b849836
DM
227332011-06-07 David S. Miller <davem@davemloft.net>
22734
22735 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
22736 ifuncs.
22737 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
22738 elf_machine_lazy_rel): Likewise.
22739 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22740 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
22741 elf_machine_lazy_rel): Likewise.
22742 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
22743 dl_hwcap via passed in argument.
22744 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
22745 Likewise.
22746
5a31b283
AK
227472011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22748
22749 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
22750
069e52f8
RM
227512011-06-06 Roland McGrath <roland@hack.frob.com>
22752
22753 [BZ #12849]
22754 * manual/fdl-1.1.texi: New file, verbatim from:
22755 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
22756 * manual/lgpl-2.1.texi: New file, verbatim from:
22757 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
22758 * manual/Makefile (licenses): New variable, list those new file names.
22759 (texis): Use it.
22760 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
22761
22762 * manual/fdl.texi: File removed.
22763 * manual/lesser.texi: File removed.
22764 * manual/libc.texinfo (Copying, Documentation License):
22765 Use new @include file names, put @appendix directive before @include.
22766
f16846a5
JJ
227672011-06-04 Jakub Jelinek <jakub@redhat.com>
22768
22769 [BZ #12841]
22770 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
22771 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
22772 (mq_open): Add __NTH.
22773
3d29045b
L
227742011-06-02 H.J. Lu <hongjiu.lu@intel.com>
22775
22776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22777 Assume Intel Core i3/i5/i7 processor if AVX is available.
22778
8c297311
UD
227792011-05-31 Ulrich Drepper <drepper@gmail.com>
22780
22781 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22782 typo.
22783
c8fc0c91
UD
227842011-05-31 Andreas Schwab <schwab@redhat.com>
22785
22786 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
22787 memory. Use alloca_account. Fix memory leak when retrying.
22788
5b27a807
UD
227892011-05-31 Ulrich Drepper <drepper@gmail.com>
22790
356f8bc6
UD
22791 * version.h (RELEASE): Bump for 2.14 release.
22792 * include/features.h (__GLIBC_MINOR__): Bump to 14.
22793
5b27a807
UD
22794 * config.make.in (RANLIB): Remove entry.
22795
01f16ab0
UD
227962011-05-30 Ulrich Drepper <drepper@gmail.com>
22797
41fce8bd
UD
22798 * po/Makefile (po-sed-cmd): Add ksh to extensions.
22799 (libc.pot): Work around missing support for .ksh extension in xgettext.
22800
4769ae77
UD
22801 [BZ #12684]
22802 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
22803 if both request failed.
22804 (send_dg): In case of server errors clear resplen or *resplen2.
22805
6b1e7d19
UD
22806 [BZ #12454]
22807 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
22808 when there are multiple maps.
22809 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
22810 (_dl_fini): Remove test here.
22811
01f16ab0
UD
22812 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
22813
b1ebd700
UD
228142011-05-29 Ulrich Drepper <drepper@gmail.com>
22815
7ae22829
UD
22816 [BZ #12350]
22817 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
22818 bit from old_res_options.
22819 (gaih_inet): Likewise.
22820
553149f6 22821 [BZ #11099]
18a84741 22822 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
22823 as signed.
22824
652ffab1
UD
22825 * resolv/res_init.c (res_setoptions): Make the code more compact.
22826
16985fd0
UD
22827 [BZ #11558]
22828 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
22829 set RES_USEVC.
22830
0464f746
UD
22831 [BZ #11634]
22832 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
22833
7d17596c
UD
22834 * malloc/malloc.h: Mark malloc hook variables as deprecated.
22835
cf6bbbd7
UD
22836 [BZ #11781]
22837 * malloc/malloc.h: Declare malloc hook variables as volatile.
22838
13f1ab36
UD
22839 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
22840 in last patch.
22841
b1ebd700
UD
22842 [BZ #11799]
22843 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 22844 raise in the comment.
80e2212d
UD
22845 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22846 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22847 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 22848
ce67228d
UD
228492011-05-28 Ulrich Drepper <drepper@gmail.com>
22850
8887a920
UD
22851 [BZ #12811]
22852 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
22853 grow the buffers more if it already has to be sufficient.
22854 (build_wcs_upper_buffer): Likewise.
22855 * posix/regexec.c (check_matching): Likewise.
22856 (clean_state_log_if_needed): Likewise.
22857 (extend_buffers): Don't enlarge buffers beyond size of the input
22858 buffer.
22859 Patches mostly by Emil Wojak <emil@wojak.eu>.
22860 * posix/bug-regex32.c: New file.
22861 * posix/Makefile (tests): Add bug-regex32.
22862
4f031072
UD
22863 * locale/findlocale.c (_nl_find_locale): Return right away if
22864 _nl_explode_name failed.
22865 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
22866
d0478f0c
UD
22867 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
22868
de81b246
UD
22869 * debug/xtrace.sh: Unify messages.
22870 * malloc/memusage.sh: Likewise.
22871
c738465a
UD
22872 [BZ #12813]
22873 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
22874 time symbol from vDSO. Substitute with vsyscall if not available.
22875 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
22876 __vdso_time.
22877
f1f929d7
UD
22878 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
22879 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
22880 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
22881 Add sendmmsg and internal_sendmmsg.
22882 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
22883 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22884 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22885
ce67228d
UD
22886 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22887 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22888 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22889
e57420c6
UD
228902011-05-27 Ulrich Drepper <drepper@gmail.com>
22891
a8509ca5
UD
22892 [BZ #12813]
22893 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22894 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22895 available.
22896 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22897 __vdso_getcpu.
22898
e57420c6
UD
22899 [BZ #12814]
22900 * iconvdata/Makefile (tests): Add bug-iconv9.
22901 * iconvdata/bug-iconv9.c: New file.
22902
4d07db15
AS
229032011-05-27 Andreas Schwab <schwab@redhat.com>
22904
22905 [BZ #12814]
22906 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22907
ea486f69
JJ
229082011-05-25 Jakub Jelinek <jakub@redhat.com>
22909
22910 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22911 (struct user_regs_struct): Change intcs field back to cs.
22912
6f038433
UD
229132011-05-25 Ulrich Drepper <drepper@gmail.com>
22914
22915 * po/ja.po: Update from translation team.
22916
67f86a25
UD
229172011-05-23 Ulrich Drepper <drepper@gmail.com>
22918
22919 [BZ #12795]
22920 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22921 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22922
def7fbd6
AS
229232011-05-20 Andreas Schwab <schwab@redhat.com>
22924
22925 * stdlib/longlong.h: Update from GCC.
22926
f50ef8f1
AS
229272011-05-23 Andreas Schwab <schwab@redhat.com>
22928
22929 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22930 parameter name.
22931 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22932 Add parameter name.
22933 (__sysconf): Pass it down.
22934
de7ce8f1
UD
229352011-05-22 Ulrich Drepper <drepper@gmail.com>
22936
f2962a71
UD
22937 [BZ #12671]
22938 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22939 some situations.
22940 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22941 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22942 add in in __libc_use_alloca calls. Adjust callers.
22943 (glob): Use malloc in some situations.
22944
de7ce8f1
UD
22945 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22946 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22947 pltexit.
22948
aec84f53
UD
229492011-05-21 Ulrich Drepper <drepper@gmail.com>
22950
05bb4a68
UD
22951 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22952 and CLOCK_BOOTTIME_ALARM.
22953
7ea72f99
UD
22954 [BZ #12782]
22955 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22956 is returned.
22957
7e4afad5
UD
22958 * string/_strerror.c (__strerror_r): Print negative errors as signed
22959 numbers.
22960
8e211fec
UD
22961 [BZ #12777]
22962 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22963 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22964 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22965
f7d82dc9
UD
22966 * configure.in: Fix typo in redirection and correct removal of test
22967 files in two cases.
22968
cc9e536d
UD
22969 [BZ #12788]
22970 * locale/setlocale.c (new_composite_name): Fix test to check for
22971 identical name of all categories.
22972
aec84f53
UD
22973 [BZ #12792]
22974 * libio/filedoalloc.c (local_isatty): New function.
22975 (_IO_file_doallocate): Use local_isatty.
22976 * stdio-common/perror.c (perror): In case a new stream is used
22977 forward the stream error.
22978 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22979 error flag.
22980
78e64fdc
RT
229812011-05-20 Ulrich Drepper <drepper@gmail.com>
22982
34a9094f
UD
22983 [BZ #11869]
22984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22985 alloca.
22986 * include/alloca.h (extend_alloca_account): Define.
22987
78e64fdc
RT
22988 [BZ #11857]
22989 * posix/regex.h: Fix comments with documentation of user-accessible
22990 fields after compilation and describe correct free'ing of pattern
22991 after re_compile_pattern.
22992 Patch by Reuben Thomas <rrt@sc3d.org>.
22993
457bddfc
RA
229942011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22995
22996 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22997 and -mno-altivec to prevent the compiler from using Altivec and/or
22998 VSX instructions when the corresponding registers are not available.
22999
a4527b51
AS
230002011-05-19 Andreas Schwab <schwab@redhat.com>
23001
23002 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
23003
ed690b2f
UD
230042011-05-19 Ulrich Drepper <drepper@gmail.com>
23005
23006 * libio/freopen.c (freopen): Use __dup2, not dup2.
23007 * libio/freopen64.c (freopen64): Likewise.
23008
8db73634
L
230092011-05-17 H.J. Lu <hongjiu.lu@intel.com>
23010
23011 [BZ #12775]
23012 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
23013 * math/Makefile (tests): Add test-powl.
23014 (CFLAGS-test-powl.c): Define.
23015 * math/test-powl.c: New file.
23016
0a197a9d
L
230172011-05-16 H.J. Lu <hongjiu.lu@intel.com>
23018
23019 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
23020
ee30c380
UD
230212011-05-17 Ulrich Drepper <drepper@gmail.com>
23022
23023 [BZ #11837]
23024 * iconvdata/gb18030.c: Update to GB18020-2005.
23025
6ce75379
UD
230262011-05-16 Ulrich Drepper <drepper@gmail.com>
23027
a4b89fd8
AR
23028 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
23029 RE_SYNTAX_POSIX_AWK): Update to match recent development.
23030 Patch by Aharon Robbins <arnold@skeeve.com>.
23031
ea389b12
UD
23032 [BZ #11892]
23033 * stdlib/putenv.c (putenv): Don't always create copy of the variable
23034 on the stack.
23035
68a3f91f
UD
23036 [BZ #11895]
23037 * misc/pselect.c (__pselect): Handle timeout value errors hidden
23038 through underflows.
23039
15cc7dd1
UD
23040 [BZ #12766]
23041 * misc/error.c (error_at_line): Ensure file_name and old_file_name
23042 point to strings before performing equality test for error_one_per_line
23043 mode.
23044
f3799213
UD
23045 [BZ #11697]
23046 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
23047
d79a9c94
UD
23048 [BZ #11820]
23049 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
23050 (struct user_fpregs_struct): Avoid __uint*_t types.
23051
56e5eb46
UD
23052 [BZ #6420]
23053 * malloc/mtrace.c (tr_where): Add additional parameter to point to
23054 symbol info. Use it instead of calling _dl_addr locally.
23055 (lock_and_info): New function.
23056 (tr_freehook): Call lock_and_info and pass symbol info as additional
23057 parameter to tr_where.
23058 (tr_mallochook): Likewise.
23059 (tr_reallochook): Likewise.
23060 (tr_memalignhook): Likewise.
23061
6ce75379
UD
23062 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
23063 used and couldn't be at all thread-safe.
23064
f8a3b5bf
UD
230652011-05-15 Ulrich Drepper <drepper@gmail.com>
23066
94b7cc37
UD
23067 * libio/freopen.c (freopen): Don't close old file descriptor
23068 before the new one is opened. Instead dup the new file descriptor
23069 to the old one after the new stream is created.
23070 * libio/freopen64.c (freopen64): Likewise.
23071 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
23072 * libio/fileops.c (_IO_new_file_close_it): Handle new
23073 _IO_FLAGS2_NOCLOSE flag.
23074 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
23075 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
23076 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
23077 _IO_FLAGS2_NOCLOSE flag.
23078 * include/unistd.h: Add hidden_proto for dup3.
23079 Define __have_dup3.
23080 * io/dup3.c: Define hidden symbol.
23081 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
23082
bd25564e
UD
23083 [BZ #7101]
23084 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
23085 when an incomplete long option is used.
23086 * posix/tst-getopt_long1.c: New file.
23087 * posix/Makefile (tests): Add tst-getopt_long1.
23088
c84cfef4
UD
23089 [BZ #10138]
23090 * scripts/config.guess: Update from autoconf-2.68.
23091 * scripts/config.sub: Likewise.
23092
3b85df27
UD
23093 [BZ #10157]
23094 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
23095 tests into ...
23096 (has_cpuclock): ...this. New function.
23097 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
23098 macro here based on has_cpuclock code.
23099
15a856b1
UD
23100 [BZ #10149]
23101 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23102 First byte (not low byte) is now always NUL.
23103 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
23104
05f399e6
UD
23105 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23106 Use non-cancelable interfaces.
23107
10a52685 23108 [BZ #9809]
94ecc67d
UD
23109 * locale/iso-639.def: Add entry for Sorani.
23110
f8a3b5bf
UD
23111 [BZ #11901]
23112 * include/stdlib.h: Move include protection to the right place.
23113 Define abort_msg_s. Declare __abort_msg with it.
23114 * stdlib/abort.c (__abort_msg): Adjust type.
23115 * assert/assert.c (__assert_fail_base): New function. Majority
23116 of code from __assert_fail. Allocate memory for __abort_msg with
23117 mmap.
23118 (__assert_fail): Now call __assert_fail_base.
23119 * assert/assert-perr.c: Remove bulk of implementation. Use
23120 __assert_fail_base.
23121 * include/assert.hL Declare __assert_fail_base.
23122 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
23123 mmap.
23124 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
23125
1af4e298
UD
231262011-05-14 Ulrich Drepper <drepper@gmail.com>
23127
f8a3b5bf 23128 [BZ #11952]
d26dfc60
MG
23129 [BZ #12453]
23130 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
23131 until all modules are registered in the DTV.
23132 * elf/Makefile: Add rules to build and run tst-tls19.
23133 * elf/tst-tls19.c: New file.
23134 * elf/tst-tls19mod1.c: New file.
23135 * elf/tst-tls19mod2.c: New file.
23136 * elf/tst-tls19mod3.c: New file.
23137 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
23138
2fc54d6f
UD
23139 [BZ #12083]
23140 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
23141 correctly.
23142
98d76b46
UD
23143 [BZ #12601]
23144 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
23145 two-byte sequence errors.
23146 * iconvdata/Makefile (tests): Add bug-iconv8.
23147 * iconvdata/bug-iconv8.c: New file.
23148
da3c19ef
UD
23149 [BZ #12626]
23150 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
23151 buf2 definition.
23152
ca408c15
UD
23153 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
23154
d6f67f7d
UD
23155 [BZ #12432]
23156 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
23157 (dummy_getcfa): New function.
23158 (init): Get _Unwind_GetCFA address, use dummy if not found.
23159 (backtrace_helper): In recursion check, also check whether CFA changes.
23160 (__backtrace): Completely initialize arg.
23161
1af4e298 23162 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
23163 storing incomplete byte sequence in state object. Avoid testing for
23164 guaranteed too small input if we know there is enough data available.
1af4e298 23165
da62f81b
AS
231662011-05-11 Andreas Schwab <schwab@redhat.com>
23167
23168 * Makeconfig (+link-pie): Indent.
23169 * Rules (binaries-pie): Define if $(have-fpie) and
23170 $(build-shared).
23171 (binaries-shared): Also filter out $(binaries-pie).
23172 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
23173 * nscd/Makefile (others-pie): Add nscd.
23174 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
23175 ($(objpfx)nscd): Remove command override.
23176 * login/Makefile (others-pie): Add pt_chown.
23177 ($(objpfx)pt_chown): Remove command override.
23178 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
23179 remove command overrides.
23180
fcabc0f8
UD
231812011-05-13 Ulrich Drepper <drepper@gmail.com>
23182
20030ae6
UD
23183 * libio/tst_putwc.c: Fix error messages.
23184
fcabc0f8
UD
23185 [BZ #12724]
23186 * libio/fileops.c (_IO_new_file_close_it): Always flush when
23187 currently writing and seek to current position when not.
23188 * libio/Makefile (tests): Add bug-fclose1.
23189 * libio/bug-fclose1.c: New file.
23190
320a5dc0
PB
231912011-05-12 Ulrich Drepper <drepper@gmail.com>
23192
23193 [BZ #12511]
23194 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
23195 don't set DF_1_NODELETE here.
23196 (do_lookup_x): When entering new entry test for copy relocation
23197 and if necessary set DF_1_NODELETE flag.
23198 * elf/tst-unique4.cc: New file.
23199 * elf/tst-unique4.h: New file.
23200 * elf/tst-unique4lib.cc: New file.
23201 * elf/Makefile: Add rules to build and run tst-unique4.
23202 Patch by Piotr Bury <pbury@goahead.com>.
23203
22836f52
UD
232042011-05-11 Ulrich Drepper <drepper@gmail.com>
23205
f574184a
UD
23206 [BZ #12052]
23207 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
23208
e1fb097f
UD
23209 [BZ #12625]
23210 * misc/mntent_r.c (addmntent): Flush the stream after the output
23211
22836f52
UD
23212 [BZ #12393]
23213 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
23214 (is_trusted_path_normalize): Skip initial colon. Append slash
23215 to empty buffer. Duplicate is_trusted_path code but allow
23216 constructed patch to be prefix.
23217 (is_dst): Allow $ORIGIN followed by /.
23218 (_dl_dst_substitute): Correct clearing of check_for_trusted.
23219 Correct testing of result of is_trusted_path_normalize
23220 (decompose_rpath): Fix warning.
23221
7b3b0b2a
UD
232222011-05-10 Ulrich Drepper <drepper@gmail.com>
23223
23224 [BZ #11257]
23225 * grp/initgroups.c (internal_getgrouplist): When we found the service
23226 list through the initgroups entry in nsswitch.conf do not always
23227 continue on a successful lookup. Don't always use the
eac80ce2 23228 __nss_group_database value if it is set.
7b3b0b2a
UD
23229 * nss/nsswitch.conf (initgroups): Change action for successful db
23230 lookup to continue for compatibility.
23231
2a81eaa5
UD
232322011-05-09 Ulrich Drepper <drepper@gmail.com>
23233
be97a69e
UD
23234 [BZ #11532]
23235 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
23236 and CP774 modules.
23237 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
23238 and CP774 modules.
23239 * iconvdata/tst-tables.sh: Likewise.
23240 * iconvdata/cp770.c: New file.
23241 * iconvdata/cp771.c: New file.
23242 * iconvdata/cp772.c: New file.
23243 * iconvdata/cp773.c: New file.
23244 * iconvdata/cp774.c: New file.
23245 * iconvdata/testdata/CP770: New file.
23246 * iconvdata/testdata/CP770..UTF8: New file.
23247 * iconvdata/testdata/CP771: New file.
23248 * iconvdata/testdata/CP771..UTF8: New file.
23249 * iconvdata/testdata/CP772: New file.
23250 * iconvdata/testdata/CP772..UTF8: New file.
23251 * iconvdata/testdata/CP773: New file.
23252 * iconvdata/testdata/CP773..UTF8: New file.
23253 * iconvdata/testdata/CP774: New file.
23254 * iconvdata/testdata/CP774..UTF8: New file.
23255
23256 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
23257 END CHARMAP line.
23258 * iconvdata/gen-8bit-gap.sh: Likewise.
23259 * iconvdata/gen-8bit.sh: Likewise.
23260
c1e9e399
UD
23261 * locale/iso-639.def: Add ary entry.
23262
24c55fb3 23263 [BZ #11258]
96b4b1b0
UD
23264 * locale/C-translit.h.in: Add U20A1 transliteration.
23265
bdc2f971
KB
23266 [BZ #12178]
23267 * locale/iso-639.def: Add wae entry.
23268 Patch by Kevin Bortis <bortis@translate-wae.ch>.
23269
2952b117
UD
23270 [BZ #12545]
23271 * locale/programs/localedef.c (construct_output_path): Use ssize_t
23272 for n.
23273
2a81eaa5
UD
23274 [BZ #12711]
23275 * locale/C-translit.h.in: Add entry for U20B9.
23276 Patch by pravin.d.s@gmail.com.
23277
28377d1b
UD
232782011-05-08 Ulrich Drepper <drepper@gmail.com>
23279
7fb90fb8
UD
23280 [BZ #12713]
23281 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
23282 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
23283 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
23284 in rtld. Use *stat64.
7fb90fb8 23285 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 23286 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 23287 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
23288 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
23289 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
23290 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
23291 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
23292 __fstatat64 macros.
7fb90fb8
UD
23293 * include/dirent.h: Add libc_hidden_proto for rewinddir.
23294 * dirent/rewinddir.c: Add libc_hidden_def.
23295 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 23296 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 23297
28377d1b
UD
23298 * include/dirent.h (__alloc_dir): Add flags parameter.
23299 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
23300 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
23301 __alloc_dir.
23302 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
23303 from fdopendir if O_CLOEXEC is already set.
23304
66bdbaa4
AM
233052011-03-15 Alan Modra <amodra@gmail.com>
23306
23307 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
23308 l_tls_firstbyte_offset non-zero. Save padding offset in
23309 l_tls_firstbyte_offset for later use.
23310 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
23311 freeing static tls block.
23312
95721191
JN
233132011-03-05 Jonathan Nieder <jrnieder@gmail.com>
23314
23315 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
23316 where #ifdef was intended. The intent is to prevent ARG_MAX from
23317 being defined by the kernel headers.
23318
f87dfb1f
UD
233192011-05-07 Ulrich Drepper <drepper@gmail.com>
23320
23321 [BZ #12734]
23322 * resolv/resolv.h: Define RES_NOTLDQUERY.
23323 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
23324 no-tld-query and set RES_NOTLDQUERY.
23325 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
23326 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
23327 modern BIND to search name as TLD unless forbidden.
23328
47c3cd7a
UD
233292011-05-07 Petr Baudis <pasky@suse.cz>
23330 Ulrich Drepper <drepper@gmail.com>
23331
23332 [BZ #12393]
23333 * elf/dl-load.c (fillin_rpath): Move trusted path check...
23334 (is_trusted_path): ...to here.
c1e9ea35 23335 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 23336 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 23337 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 23338
8a35c912
PP
233392011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23340
23341 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
23342 __BEGIN/__END_DECLS.
23343
acd41f47
UD
233442011-05-06 Ulrich Drepper <drepper@gmail.com>
23345
23346 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
23347 NSS_STATUS_NOTFOUND if no record was found.
23348
597df647
AS
233492011-05-05 Andreas Schwab <schwab@redhat.com>
23350
23351 * sunrpc/Makefile (headers): Add rpc/netdb.h.
23352 (headers-not-in-tirpc): Remove rpc/netdb.h
23353 * resolv/netdb.h: Revert last change.
23354
b9af1301
PP
233552011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23356
23357 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
23358 circular dependency between libgcc.a and libc.a.
23359
4e34d5f5
AS
233602011-05-05 Andreas Schwab <schwab@redhat.com>
23361
23362 * resolv/netdb.h: Don't include <rpc/netdb.h>.
23363 * nis/Makefile: Don't install rpcsvc/*.
23364 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
23365 instead of <rpc/types.h>.
23366 (MAXHOSTNAMELEN): Define.
23367
00ee369c
AS
233682011-05-03 Andreas Schwab <schwab@redhat.com>
23369
23370 * elf/ldconfig.c (add_dir): Don't crash on empty path.
23371
0b592a30
MB
233722011-04-28 Maciej Babinski <mbabinski@google.com>
23373
23374 [BZ #12714]
23375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
23376 gethostbyname4_r when IPv6 results are possible.
23377
6e04cbbe
UD
233782011-05-02 Ulrich Drepper <drepper@gmail.com>
23379
23380 [BZ #12723]
23381 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23382 _PC_PIPE_BUF handling.
23383
e4ecafe0
BH
233842011-04-30 Bruno Haible <bruno@clisp.org>
23385
23386 [BZ #12717]
23387 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
23388 * resolv/netdb.h (getnameinfo): Change type of flags parameter
23389 to 'int'.
23390 * inet/getnameinfo.c (getnameinfo): Likewise.
23391
125ee683
UD
233922011-04-29 Ulrich Drepper <drepper@gmail.com>
23393
23394 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
23395 to groups setting in database lookup.
23396 * nss/nsswitch.conf: Add initgroups entry.
23397
b722481a
EB
233982011-04-22 Ulrich Drepper <drepper@gmail.com>
23399
23400 [BZ #12685]
23401 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
23402 mode string.
23403 Patch by Eric Blake <eblake@redhat.com>.
23404
4df46dbd
L
234052011-04-20 H.J. Lu <hongjiu.lu@intel.com>
23406
23407 * sunrpc/Makefile (need-export-routines): Add svc_run.
23408 (routines): Remove svc_run.
23409 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
23410 * sunrpc/clnt_perr.c (clnt_perrno): Export.
23411 * sunrpc/svc_run.c (svc_run): Likewise.
23412 * sunrpc/svc_udp.c (svcudp_create): Likewise.
23413
e84142d2
UD
234142011-04-21 Ulrich Drepper <drepper@gmail.com>
23415
23416 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
23417 problem in reallocation in last patch.
23418
877175d8
UD
234192011-04-20 Ulrich Drepper <drepper@gmail.com>
23420
23421 * sunrpc/Makefile: Move inclusion of Rules.
23422
ab8eed78
UD
234232011-04-19 Ulrich Drepper <drepper@gmail.com>
23424
23425 * nss/nss_files/files-initgroups.c: New file.
23426 * nss/Makefile (libnss_files-routines): Add files-initgroups.
23427 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
23428 _nss_files_initgroups_dyn.
23429
e3d8f584
RS
234302011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
23431
23432 * elf/elf.h (R_ARM_IRELATIVE): Define.
23433
af190f45
UD
234342011-04-19 Ulrich Drepper <drepper@gmail.com>
23435
23436 * po/ru.po: Update from translation team.
23437
53cf59ef
UD
234382011-04-17 Ulrich Drepper <drepper@gmail.com>
23439
23440 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
23441 dependencies.
23442
4c559bcd
MF
234432011-02-06 Mike Frysinger <vapier@gentoo.org>
23444
23445 [BZ #12653]
23446 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
23447 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
23448 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23449 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23450 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23451
4420675c
AS
234522011-03-28 Andreas Schwab <schwab@linux-m68k.org>
23453
23454 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
23455 differing bytes.
23456 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23457 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23458 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23459
75ea32ab
UD
234602011-04-17 Ulrich Drepper <drepper@gmail.com>
23461
23462 [BZ #12420]
23463 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
23464 storing it.
23465 * stdlib/bug-getcontext.c: New file.
23466 * stdlib/Makefile: Add rules to build and run bug-getcontext.
23467
27390476
AK
234682011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23469
23470 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
23471 instructions into .machine "z9-109".
23472 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23473 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23474
10442705
AK
234752011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23476
23477 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
23478 between environment variables and auxiliary vector.
23479
7b57bfe5
UD
234802011-04-16 Ulrich Drepper <drepper@gmail.com>
23481
23482 * Makefile: Add rules to build linkobj/libc.so.
23483 * include/libc-symbols.h: Define libc_hidden_nolink.
23484 * include/rpc/auth.h: Mark functions which are to be hidden.
23485 * include/rpc/auth_des.h: Likewise.
23486 * include/rpc/auth_unix.h: Likewise.
23487 * include/rpc/clnt.h: Likewise.
23488 * include/rpc/des_crypt.h: Likewise.
23489 * include/rpc/key_prot.h: Likewise.
23490 * include/rpc/pmap_clnt.h: Likewise.
23491 * include/rpc/pmap_prot.h: Likewise.
23492 * include/rpc/pmap_rmt.h: Likewise.
23493 * include/rpc/rpc_msg.h: Likewise.
23494 * include/rpc/svc.h: Likewise.
23495 * include/rpc/svc_auth.h: Likewise.
23496 * include/rpc/xdr.h: Likewise.
23497 * nis/Makefile: Link all DSOs against linkobj/libc.so.
23498 * nss/Makefile: Likewise.
23499 * sunrpc/Makefile: Don't install headers. Build library with normal
23500 entry points. Don't build rpcinfo. Link RPC tests appropriately.
23501 * sunrpc/auth_des.c: Hide exported symbols by default, export some
23502 for the compat linking library. Remove use of INTDEF/INTUSE.
23503 * sunrpc/auth_none.c: Likewise.
23504 * sunrpc/auth_unix.c: Likewise.
23505 * sunrpc/authdes_prot.c: Likewise.
23506 * sunrpc/authuxprot.c: Likewise.
23507 * sunrpc/clnt_gen.c: Likewise.
23508 * sunrpc/clnt_perr.c: Likewise.
23509 * sunrpc/clnt_raw.c: Likewise.
23510 * sunrpc/clnt_simp.c: Likewise.
23511 * sunrpc/clnt_tcp.c: Likewise.
23512 * sunrpc/clnt_udp.c: Likewise.
23513 * sunrpc/clnt_unix.c: Likewise.
23514 * sunrpc/des_crypt.c: Likewise.
23515 * sunrpc/des_soft.c: Likewise.
23516 * sunrpc/get_myaddr.c: Likewise.
23517 * sunrpc/key_call.c: Likewise.
23518 * sunrpc/key_prot.c: Likewise.
23519 * sunrpc/netname.c: Likewise.
23520 * sunrpc/pm_getmaps.c: Likewise.
23521 * sunrpc/pm_getport.c: Likewise.
23522 * sunrpc/pmap_clnt.c: Likewise.
23523 * sunrpc/pmap_prot.c: Likewise.
23524 * sunrpc/pmap_prot2.c: Likewise.
23525 * sunrpc/pmap_rmt.c: Likewise.
23526 * sunrpc/publickey.c: Likewise.
23527 * sunrpc/rpc_cmsg.c: Likewise.
23528 * sunrpc/rpc_common.c: Likewise.
23529 * sunrpc/rpc_dtable.c: Likewise.
23530 * sunrpc/rpc_prot.c: Likewise.
23531 * sunrpc/rpc_thread.c: Likewise.
23532 * sunrpc/rtime.c: Likewise.
23533 * sunrpc/svc.c: Likewise.
23534 * sunrpc/svc_auth.c: Likewise.
23535 * sunrpc/svc_authux.c: Likewise.
23536 * sunrpc/svc_raw.c: Likewise.
23537 * sunrpc/svc_run.c: Likewise.
23538 * sunrpc/svc_simple.c: Likewise.
23539 * sunrpc/svc_tcp.c: Likewise.
23540 * sunrpc/svc_udp.c: Likewise.
23541 * sunrpc/svc_unix.c: Likewise.
23542 * sunrpc/svcauth_des.c: Likewise.
23543 * sunrpc/xcrypt.c: Likewise.
23544 * sunrpc/xdr.c: Likewise.
23545 * sunrpc/xdr_array.c: Likewise.
23546 * sunrpc/xdr_float.c: Likewise.
23547 * sunrpc/xdr_intXX_t.c: Likewise.
23548 * sunrpc/xdr_mem.c: Likewise.
23549 * sunrpc/xdr_rec.c: Likewise.
23550 * sunrpc/xdr_ref.c: Likewise.
23551 * sunrpc/xdr_sizeof.c: Likewise.
23552 * sunrpc/xdr_stdio.c: Likewise.
23553
e6c61494
UD
235542011-04-10 Ulrich Drepper <drepper@gmail.com>
23555
23556 [BZ #12650]
23557 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
23558 * sysdeps/ia64/dl-tls.h: Likewise.
23559 * sysdeps/powerpc/dl-tls.h: Likewise.
23560 * sysdeps/s390/dl-tls.h: Likewise.
23561 * sysdeps/sh/dl-tls.h: Likewise.
23562 * sysdeps/sparc/dl-tls.h: Likewise.
23563 * sysdeps/x86_64/dl-tls.h: Likewise.
23564 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
23565
34fe483e
AS
235662011-03-14 Andreas Schwab <schwab@redhat.com>
23567
23568 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
23569 rpath element also skip the following colon.
23570 (expand_dynamic_string_token): Add is_path parameter and pass
23571 down to DL_DST_REQUIRED and _dl_dst_substitute.
23572 (decompose_rpath): Call expand_dynamic_string_token with
23573 non-zero is_path. Ignore empty rpaths.
23574 (_dl_map_object_from_fd): Call expand_dynamic_string_token
23575 with zero is_path.
23576
f12a32e6
AS
235772011-04-08 Andreas Schwab <schwab@linux-m68k.org>
23578
23579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23580 Make cancelable.
23581
38a7d692
UD
235822011-04-09 Ulrich Drepper <drepper@gmail.com>
23583
23584 [BZ #12655]
23585 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
23586 Patch by Filipe David Manana <fdmanana@apache.org>.
23587
e451d22b
AS
235882011-04-07 Andreas Schwab <schwab@redhat.com>
23589
23590 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
23591 Maintain aligned stack.
23592 (CHECK_RSP): Remove unused macro.
23593
dedc7c7b
UD
235942011-04-03 Ulrich Drepper <drepper@gmail.com>
23595
23596 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
23597 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
23598
94521213
UD
235992011-04-02 Ulrich Drepper <drepper@gmail.com>
23600
23601 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
23602
8cb700c0 23603 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 23604
0354e355
L
236052011-03-26 H.J. Lu <hongjiu.lu@intel.com>
23606
23607 [BZ #12518]
23608 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
23609 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
23610 * sysdeps/x86_64/memmove.c: New file.
23611 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
23612 (memcpy): Renamed to ...
23613 (__new_memcpy): This.
23614 (memcpy): Provide GLIBC_2_14 memcpy.
23615 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
23616 (memcpy): Provide GLIBC_2_2_5 memcpy.
23617
8593482f
UD
236182011-04-01 Ulrich Drepper <drepper@gmail.com>
23619
23620 [BZ #12631]
23621 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
23622
81a5726b
AS
236232011-03-30 Andreas Schwab <schwab@redhat.com>
23624
23625 * misc/syncfs.c: New file.
23626 * misc/Makefile (routines): Add syncfs.
23627 * posix/unistd.h: Declare syncfs.
23628 * sysdeps/unix/syscalls.list: Add syncfs.
23629
00e5419f
AS
236302011-04-01 Andreas Schwab <schwab@redhat.com>
23631
23632 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
23633 open_by_handle_at.
23634 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23635 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23636 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23637 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23638 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23639 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
23640 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23641
748876bf
UD
236422011-04-01 Ulrich Drepper <drepper@gmail.com>
23643
658e451d
UD
23644 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
23645 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23646 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
23647 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23648 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23649 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23650 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23651
748876bf
UD
23652 * io/Makefile: Compile fallocate.c, fallocate64.c, and
23653 sync_file_range.c with -fexceptions.
23654 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
23655 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
23656 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23657 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23658 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
23659 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23660 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
23661 sync_file_range as cancellation point
23662 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
23663 now a wrapper around __call_sync_file_range with cancellation handling.
23664 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
23665 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
23666 function name to __call_sync_file_range.
23667 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
23668 Add call_sync_file_range.
748876bf 23669
6e63d5e1
AS
236702011-04-01 Andreas Schwab <schwab@redhat.com>
23671
23672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 23673 bits/timex.h.
6e63d5e1 23674
46998f74
UD
236752011-04-01 Ulrich Drepper <drepper@gmail.com>
23676
4c1423ed
UD
23677 * iconv/iconv.h: Fix typo in comment.
23678 * io/fcntl.h: Likewise.
23679 * libio/stdio.h: Likewise.
23680 * posix/spawn.h: Likewise.
23681 * posix/unistd.h: Likewise.
23682 * stdlib/stdlib.h: Likewise.
23683 * time/time.h: Likewise.
23684 * wcsmbs/wchar.h: Likewise.
23685
158648c0
UD
23686 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
23687 open_by_handle): Add.
23688 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
23689 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
23690 Augment a few comments.
23691 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
23692 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23693 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23694 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23695 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23696 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
23697 open_by_handle.
23698
46998f74
UD
23699 * io/fcntl.h (AT_EMPTY_PATH): Define.
23700
83fe108b
UD
237012011-03-30 Ulrich Drepper <drepper@gmail.com>
23702
23703 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
23704 * sysdeps/unix/sysv/linux/bits/time.h: New file.
23705 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
23706 to...
23707 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
23708 * Versions.def: Add GLIBC_2.14.
23709 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
23710 Export.
83fe108b 23711
bb242059
UD
237122011-03-22 Ulrich Drepper <drepper@gmail.com>
23713
23714 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
23715 round counter.
23716 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23717
c97a1282
L
237182011-03-20 H.J. Lu <hongjiu.lu@intel.com>
23719
23720 [BZ #12597]
23721 * string/test-strncmp.c (do_page_test): New function.
23722 (check2): Likewise.
23723 (test_main): Call check2.
23724 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
23725
2a115601
UD
237262011-03-20 Ulrich Drepper <drepper@gmail.com>
23727
23728 [BZ #12587]
23729 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
23730 Handle cache information in CPU leaf 4.
23731 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
23732
8126d904
UD
237332011-03-18 Ulrich Drepper <drepper@gmail.com>
23734
042c49c6 23735 [BZ #12583]
8126d904
UD
23736 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
23737 character representation.
23738 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
23739
ccfe366e
RA
237402011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
23741
23742 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
23743 END(__isnan) to END(__isnanf) to match function entry point/label
23744 EALIGN(__isnanf,...).
23745
c6e13027
JJ
237462011-03-10 Jakub Jelinek <jakub@redhat.com>
23747
23748 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
23749
33f85a3f
UD
237502011-03-10 Ulrich Drepper <drepper@gmail.com>
23751
028478fa
UD
23752 [BZ #12510]
23753 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
23754 copy from the symbol referenced in the relocation to initialize the
23755 used variable.
23756 Patch by Piotr Bury <pbury@goahead.com>.
23757 * elf/Makefile: Add rules to build and tst-unique3.
23758 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
23759 * elf/tst-unique3.cc: New file.
23760 * elf/tst-unique3.h: New file.
23761 * elf/tst-unique3lib.cc: New file.
23762 * elf/tst-unique3lib2.cc: New file.
23763
33f85a3f
UD
23764 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
23765
03592fc7
MF
237662011-03-10 Mike Frysinger <vapier@gentoo.org>
23767
23768 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
23769 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
23770 to _start.
03592fc7 23771
6a5ee102
UD
237722011-03-06 Ulrich Drepper <drepper@gmail.com>
23773
23774 * elf/dl-load.c (_dl_map_object): If we are looking for the first
23775 to-be-loaded object along a path to loader is ld.so.
23776
7e4ba49c
HJ
237772011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23778 Ulrich Drepper <drepper@gmail.com>
23779
23780 * sysdeps/x86_64/memset.S: After aligning destination, code
23781 branches to different locations depending on the value of
23782 misalignment, when multiarch is enabled. Fix this.
23783
237842011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
23785
23786 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
23787 Set _x86_64_preferred_memory_instruction for AMD processsors.
23788 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23789 Set bit_Prefer_SSE_for_memop for AMD processors.
23790
13a804de
UD
237912011-03-04 Ulrich Drepper <drepper@gmail.com>
23792
23793 * libio/fmemopen.c (fmemopen): Optimize a bit.
23794
9d25c392
AS
237952011-03-03 Andreas Schwab <schwab@redhat.com>
23796
23797 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
23798
a5543c6a
RM
237992011-03-03 Roland McGrath <roland@redhat.com>
23800
23801 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
23802
012d35f7
DM
238032011-02-28 Aurelien Jarno <aurelien@aurel32.net>
23804
7e4ba49c 23805 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
23806 __bzero_ultra1 instead of __memset_ultra1.
23807
4bff6e01
AS
238082011-02-23 Andreas Schwab <schwab@redhat.com>
23809 Ulrich Drepper <drepper@gmail.com>
23810
23811 [BZ #12509]
23812 * include/link.h (struct link_map): Add l_orig_initfini.
23813 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
23814 returning unsuccessfully.
23815 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
23816 close of a file loaded at startup, restore the original l_initfini
23817 list.
23818 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
23819 list, store the pointer.
23820 * elf/Makefile ($(objpfx)noload-mem): New rule.
23821 (noload-ENV): Define.
23822 (tests): Add $(objpfx)noload-mem.
23823 * elf/noload.c: Include <memcheck.h>.
23824 (main): Call mtrace. Close all opened handles.
23825
f2092faf
AS
238262011-02-17 Andreas Schwab <schwab@redhat.com>
23827
23828 [BZ #12454]
23829 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
23830 dependencies are missing.
23831
6c8a2e88
ST
238322011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
23833
f2092faf 23834 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
23835 Hurd needs munmap.
23836 * sysdeps/mach/hurd/ifreq.h: New file.
23837
84a42118
PB
238382011-01-27 Petr Baudis <pasky@suse.cz>
23839 Ulrich Drepper <drepper@gmail.com>
23840
071f805e 23841 [BZ 12445]#
84a42118
PB
23842 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
23843 to extend_alloca().
23844 * stdio-common/bug23.c: New file.
23845 * stdio-common/Makefile (tests): Add bug23.
23846
e23fe25b
AS
238472010-09-28 Andreas Schwab <schwab@redhat.com>
23848 Ulrich Drepper <drepper@gmail.com>
23849
23850 [BZ #12489]
23851 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
23852 before performing relro protection. At old place add assertion
23853 to make sure nothing changed.
23854
d3f02e10
NS
238552011-02-17 Nathan Sidwell <nathan@codesourcery.com>
23856 Glauber de Oliveira Costa <glommer@gmail.com>
23857
23858 * elf/elf.h: Add new ARM TLS relocs.
23859
d55fd7a5
RA
238602011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
23861
23862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23863 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
23864 cast from r3.
23865 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
23866 'tests' variable.
23867 * sysdeps/wordsize-64/tst-writev.c: New file.
23868
2206397e
RA
238692011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
23870
23871 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
23872 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
23873 insns in _dl_start to prevent a TOC reference before relocs are
23874 resolved.
23875
e9433893
UD
238762011-02-15 Ulrich Drepper <drepper@gmail.com>
23877
23878 [BZ #12469]
23879 * Makeconfig: Remove RANLIB definition.
23880 * Makerules: Don't use RANLIB.
23881 * aclocal.m4: Remove ranlib test.
23882 * configure.in: No need to check for ranlib.
23883 * elf/rtld-Rules: Don't use RANLIB.
23884
f75286c6
ST
238852011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23886
8e31c82d
ST
23887 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23888 protection macro.
23889 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23890 inclusion protection macro.
23891
f75286c6
ST
23892 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23893 SIGRTMIN and SIGRTMAX and print information in that case only when
23894 SIGRTMIN is defined.
23895
c1d0e639
JJ
238962011-02-11 Jakub Jelinek <jakub@redhat.com>
23897
23898 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23899 arginfo fn returning -1.
23900
23901 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23902 and thousands string is zero terminated.
23903
edf9294e
AS
239042011-02-03 Andreas Schwab <schwab@redhat.com>
23905
23906 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23907 sysdeps/unix/sysv/linux/bits/socket.h.
23908
2b7e92df
ST
239092011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23910
edf9294e
AS
23911 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23912 (__CPU_COUNT): Remove old macros.
23913 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23914 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23915 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
23916 (__sched_cpualloc, __sched_cpufree): Add declarations.
23917
a4c7ea7b
UD
239182011-02-05 Ulrich Drepper <drepper@gmail.com>
23919
23920 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23921 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23922 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23923 (readdhstai): Return value of addhstaiX call.
23924 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23925 (addgrbyX): Return value returned by cache_addgr.
23926 (readdgrbyname): Return value returned by addgrbyX.
23927 (readdgrbygid): Likewise.
23928 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23929 (addpwbyX): Return value returned by cache_addpw.
23930 (readdpwbyname): Return value returned by addhstbyX.
23931 (readdpwbyuid): Likewise.
23932 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23933 (addservbyX): Return value returned by cache_addserv.
23934 (readdservbyname): Return value returned by addservbyX:
23935 (readdservbyport): Likewise.
23936 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23937 (addhstbyX): Return value returned by cache_addhst.
23938 (readdhstbyname): Return value returned by addhstbyX.
23939 (readdhstbyaddr): Likewise.
23940 (readdhstbynamev6): Likewise.
23941 (readdhstbyaddrv6): Likewise.
23942 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23943 (readdinitgroups): Return value returned by addinitgroupsX.
23944 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23945 (prune_cache): Keep track of timeout value of re-added entries.
23946 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23947 * nscd/nscd.h: Adjust prototypes of readd* functions.
23948
a0bf67cc
RM
239492011-02-04 Roland McGrath <roland@redhat.com>
23950
23951 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23952 (nis_stats): Likewise.
23953 * nis/nis_modify.c (nis_modify): Likewise.
23954 * nis/nis_remove.c (nis_remove): Likewise.
23955 * nis/nis_add.c (nis_add): Likewise.
23956
23957 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23958
23959 * posix/fnmatch_loop.c: Add some consts.
23960
23961 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23962
435b95eb
L
239632011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23964
23965 [BZ #12460]
23966 * config.make.in (config-cflags-novzeroupper): Define.
23967 * configure.in: Substitute libc_cv_cc_novzeroupper.
23968 * elf/Makefile (AVX-CFLAGS): Define.
23969 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23970 (CFLAGS-tst-auditmod4a.c): Likewise.
23971 (CFLAGS-tst-auditmod4b.c): Likewise.
23972 (CFLAGS-tst-auditmod6b.c): Likewise.
23973 (CFLAGS-tst-auditmod6c.c): Likewise.
23974 (CFLAGS-tst-auditmod7b.c): Likewise.
23975 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23976
8517b15e
UD
239772011-02-02 Ulrich Drepper <drepper@gmail.com>
23978
23979 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23980 function to the callback.
23981 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23982
10a656fe
AS
239832011-02-02 Andreas Schwab <schwab@redhat.com>
23984
23985 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23986 of errno.
23987
968dad0a
UD
239882011-01-19 Ulrich Drepper <drepper@gmail.com>
23989
9f94d2ea 23990 [BZ #11724]
968dad0a
UD
23991 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23992 of constructors.
23993 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23994 of destructors.
23995 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23996
23997 [BZ #11724]
23998 * elf/Makefile: Add rules to build and run new test.
23999 * elf/tst-initorder.c: New file.
24000 * elf/tst-initorder.exp: New file.
24001 * elf/tst-initordera1.c: New file.
24002 * elf/tst-initordera2.c: New file.
24003 * elf/tst-initordera3.c: New file.
24004 * elf/tst-initordera4.c: New file.
24005 * elf/tst-initorderb1.c: New file.
24006 * elf/tst-initorderb2.c: New file.
24007 * elf/tst-order-a1.c: New file.
24008 * elf/tst-order-a2.c: New file.
24009 * elf/tst-order-a3.c: New file.
24010 * elf/tst-order-a4.c: New file.
24011 * elf/tst-order-b1.c: New file.
24012 * elf/tst-order-b2.c: New file.
24013 * elf/tst-order-main.c: New file.
24014 New test case by George Gensure <werkt0@gmail.com>.
24015
86e92359
UD
240162010-10-01 Andreas Schwab <schwab@redhat.com>
24017
24018 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24019 decoding ACE if AI_CANONIDN.
24020
5d5732b0
UD
240212011-01-18 Ulrich Drepper <drepper@gmail.com>
24022
24023 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
24024
a77e8cbc
UD
240252011-01-17 Ulrich Drepper <drepper@gmail.com>
24026
6392473f
UD
24027 * version.h (RELEASE): Bump for 2.13 release.
24028 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
24029
620a0529
UD
24030 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
24031
18ba70a5
UD
24032 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
24033 MADV_NOHUGEPAGE.
32465c3e
UD
24034 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
24035 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24036 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24037 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24038 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24039 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24040
c0dafcf1
UD
24041 * posix/getconf.c: Update copyright year.
24042 * catgets/gencat.c: Likewise.
24043 * csu/version.c: Likewise.
24044 * debug/catchsegv.sh: Likewise.
24045 * debug/xtrace.sh: Likewise.
24046 * elf/ldconfig.c: Likewise.
24047 * elf/ldd.bash.in: Likewise.
24048 * elf/sprof.c (print_version): Likewise.
24049 * iconv/iconv_prog.c: Likewise.
24050 * iconv/iconvconfig.c: Likewise.
24051 * locale/programs/locale.c: Likewise.
24052 * locale/programs/localedef.c: Likewise.
24053 * malloc/memusage.sh: Likewise.
24054 * malloc/mtrace.pl: Likewise.
24055 * nscd/nscd.c (print_version): Likewise.
24056 * nss/getent.c: Likewise.
24057
a77e8cbc
UD
24058 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
24059 PF_CAIF, and PF_ALG.
24060 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24061
77e8bddf
AS
240622011-01-16 Andreas Schwab <schwab@linux-m68k.org>
24063
1f20b93a
AS
24064 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
24065 (modules-names): Use them.
24066 (ifunc-test-modules, ifunc-pie-tests): Define.
24067 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
24068 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
24069 (test-extras): Likewise.
24070 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
24071 $(compile-command.c).
24072 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
24073 (all-built-dso): Define.
24074 (check-textrel.out, check-execstack.out): Depend on it.
24075
77e8bddf
AS
24076 * configure.in: Don't override --enable-multi-arch.
24077
bc425b33
UD
240782011-01-15 Ulrich Drepper <drepper@gmail.com>
24079
24080 [BZ #6812]
24081 * nscd/hstcache.c (tryagain): Define.
24082 (cache_addhst): Return tryagain not notfound for temporary errors.
24083 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
24084 failed.
24085
794c3ad3
UD
240862011-01-14 Ulrich Drepper <drepper@gmail.com>
24087
70181fdd
UD
24088 [BZ #10563]
24089 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
24090 to make the syscall.
24091 * sysdeps/unix/sysv/linux/setgroups.c: New file.
24092
794c3ad3
UD
24093 [BZ #12378]
24094 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
24095 and fall back to matching as normal character if the string ends before
24096 the matching ']' is found. This is what POSIX requires.
24097 * posix/testfnm.c: Adjust test result.
24098 * posix/globtest.sh: Adjust test result. Add new test.
24099 * posix/tst-fnmatch.input: Likewise.
24100 * posix/tst-fnmatch2.c: Add new test.
24101
68dc9497
AS
241022010-12-28 Andreas Schwab <schwab@linux-m68k.org>
24103
24104 * elf/Makefile (check-execstack): Revert last change. Depend on
24105 check-execstack.h.
24106 (check-execstack.h): New target.
24107 (generated): Add check-execstack.h.
24108 * elf/check-execstack.c: Include "check-execstack.h".
24109 (main): Revert last change.
24110 (handle_file): Return zero if GNU_STACK is absent and
24111 DEFAULT_STACK_PERMS doesn't include PF_X.
24112
451f001b
UD
241132011-01-13 Ulrich Drepper <drepper@gmail.com>
24114
cfa28e56
UD
24115 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
24116 in child fails because the descriptor is already closed.
8cf8ce17
UD
24117 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
24118 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
24119 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 24120
1086d70d
UD
24121 [BZ #12397]
24122 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
24123 syscall.
24124
451f001b
UD
24125 [BZ #10484]
24126 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
24127 temporary buffer used to handle multi lookups locally.
a85b5cb4 24128 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 24129
08769175
UD
241302011-01-12 Ulrich Drepper <drepper@gmail.com>
24131
24132 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
24133 loader is ld.so.
24134
5e49c52e
UD
241352011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
24136
24137 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
24138 alignment for SSE2.
24139
60522a5f
UD
241402011-01-12 Ulrich Drepper <drepper@gmail.com>
24141
24142 [BZ #12394]
24143 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
24144 characters. When rounding increased number of integer digits recompute
24145 number of groups.
24146 * stdio-common/tst-grouping.c: New file.
24147 * stdio-common/Makefile: Add rules to build and run tst-grouping.
24148
f257bbd7
UD
241492011-01-09 Ulrich Drepper <drepper@gmail.com>
24150
24151 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
24152 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
24153
24154 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
24155 void.
24156 * bits/select.h: Likewise.
24157
fa9c15cb
UD
241582011-01-08 Ulrich Drepper <drepper@gmail.com>
24159
24160 * po/ja.po: Update from translation team.
24161
16c2895f
DM
241622011-01-04 David S. Miller <davem@sunset.davemloft.net>
24163
24164 [BZ #11155]
24165 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
24166 implementation just like for lxstat, fxstatat, et al.
24167
2543fef2
JM
241682010-12-27 Jim Meyering <meyering@redhat.com>
24169
24170 [BZ #12348]
24171 * posix/regexec.c (build_trtable): Return failure indication upon
24172 calloc failure. Otherwise, re_search_internal could infloop on OOM.
24173
98727dbe
UD
241742010-12-25 Ulrich Drepper <drepper@gmail.com>
24175
5bd6dc5c
UD
24176 [BZ #12201]
24177 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
24178 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
24179 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
24180 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
24181
97983464
UD
24182 [BZ #12207]
24183 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
24184
98727dbe
UD
24185 [BZ #12204]
24186 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
24187 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
24188
4a531bb0
L
241892010-12-15 H.J. Lu <hongjiu.lu@intel.com>
24190
24191 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
24192 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
24193 script has SORT_BY_INIT_PRIORITY.
24194 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
24195 NO_CTORS_DTORS_SECTIONS is defined.
24196 * elf/soinit.c: Likewise.
24197 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
24198 NO_CTORS_DTORS_SECTIONS is defined.
24199 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
24200 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
24201 * sysdeps/sh/init-first.c: Likewise.
24202 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
24203
07eb4b71
UD
242042010-12-24 Ulrich Drepper <drepper@gmail.com>
24205
24206 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
24207 always use the slow path.
24208
30950a5f
RA
242092010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
24210
24211 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
24212 similar rule which adds the sysdep directories to the header search in
24213 order to pick up the correct platform stackinfo.h.
24214 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
24215 perform test if it is, otherwise return successfully without testing.
24216 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
24217 DEFAULT_STACK_PERMS define in stackinfo.h.
24218 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
24219 defined in stackinfo.h.
24220 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
24221 DEFAULT_STACK_PERMS defined in stackinfo.h.
24222 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
24223 * sysdeps/ia64/stackinfo.h: Likewise.
24224 * sysdeps/s390/stackinfo.h: Likewise.
24225 * sysdeps/sh/stackinfo.h: Likewise.
24226 * sysdeps/sparc/stackinfo.h: Likewise.
24227 * sysdeps/x86_64/stackinfo.h: Likewise.
24228 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
24229 PF_X for powerpc64. Retain PF_X for powerpc32.
24230
db753e2c
UD
242312010-12-19 Ulrich Drepper <drepper@gmail.com>
24232
14b697f7
UD
24233 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
24234 accurately.
db753e2c
UD
24235 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
24236 GETDENTS_64BIT_ALIGNED.
24237
28300719
UD
242382010-12-14 Ulrich Drepper <dreper@gmail.com>
24239
14b697f7 24240 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 24241
4f197237
AS
242422010-12-10 Andreas Schwab <schwab@redhat.com>
24243
dbb0472f
AS
24244 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
24245 _GNU_SOURCE.
24246
4f197237
AS
24247 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
24248 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
24249 Remove __restrict.
24250 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
24251 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
24252
fb88ac72
UD
242532010-12-09 Ulrich Drepper <drepper@gmail.com>
24254
24255 [BZ #11655]
24256 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
24257 are initialized.
24258
42acbb92
JJ
242592010-12-09 Jakub Jelinek <jakub@redhat.com>
24260
24261 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
24262
c038d98d
UD
242632010-12-03 Ulrich Drepper <drepper@gmail.com>
24264
24265 * po/it.po: Update from translation team.
24266
3a4a2499
L
242672010-12-01 H.J. Lu <hongjiu.lu@intel.com>
24268
24269 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
24270 unused codes.
24271
1e24cf6e
UD
242722010-11-30 Ulrich Drepper <drepper@gmail.com>
24273
24274 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
24275
a7690819
AS
242762010-11-24 Andreas Schwab <schwab@redhat.com>
24277
24278 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
24279 specially.
24280 (gaih_getanswer_slice): Likewise.
24281
3bf8d1b1
JJ
242822010-10-20 Jakub Jelinek <jakub@redhat.com>
24283
24284 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
24285
6db52fbb
PB
242862010-05-31 Petr Baudis <pasky@suse.cz>
24287
24288 [BZ #11149]
24289 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
24290 silently even in the chroot mode.
24291
eaca7569
UD
242922010-11-22 Ulrich Drepper <drepper@gmail.com>
24293
24294 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
24295 last patch a bit. Pretty printing
24296
3056dcdb
UD
242972010-05-31 Petr Baudis <pasky@suse.cz>
24298
24299 [BZ #10085]
24300 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
24301 initialization of skip_initgroups_dyn.
24302
cf7c9078
UD
243032010-11-19 Ulrich Drepper <drepper@gmail.com>
24304
24305 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
24306 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
24307
a1fb5e3e
UD
243082010-11-16 Ulrich Drepper <drepper@gmail.com>
24309
24310 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
24311
3540d66b
AS
243122010-11-11 Andreas Schwab <schwab@redhat.com>
24313
24314 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
24315 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
24316 (tst-fnmatch-ENV): Set MALLOC_TRACE.
24317 ($(objpfx)tst-fnmatch-mem): New rule.
24318 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
24319 * posix/tst-fnmatch.c (main): Call mtrace.
24320
13b69574
L
243212010-11-11 H.J. Lu <hongjiu.lu@intel.com>
24322
24323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24324 Support Intel processor model 6 and model 0x2c.
24325
da93d214
LM
243262010-11-10 Luis Machado <luisgpm@br.ibm.com>
24327
24328 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
24329 signed comparison.
24330
8ca52c6e
L
243312010-11-09 H.J. Lu <hongjiu.lu@intel.com>
24332
24333 [BZ #12205]
24334 * string/test-strncasecmp.c (check_result): New function.
24335 (do_one_test): Use it.
24336 (check1): New function.
24337 (test_main): Use it.
24338 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
24339 Support strcasecmp and strncasecmp.
24340
69da074d
UD
243412010-11-08 Ulrich Drepper <drepper@gmail.com>
24342
24343 [BZ #12194]
24344 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
24345 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24346
ff02d528
L
243472010-11-07 H.J. Lu <hongjiu.lu@intel.com>
24348
24349 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
24350 IFUNC support.
24351 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24352 memset-x86-64.
24353 * sysdeps/x86_64/multiarch/bzero.S: New file.
24354 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
24355 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
24356 * sysdeps/x86_64/multiarch/memset.S: New file.
24357 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
24358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24359 Set bit_Prefer_SSE_for_memop for Intel processors.
24360 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
24361 Define.
24362 (index_Prefer_SSE_for_memop): Define.
24363 (HAS_PREFER_SSE_FOR_MEMOP): Define.
24364
344d0b54
LM
243652010-11-04 Luis Machado <luisgpm@br.ibm.com>
24366
24367 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
24368 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
24369
c0dde15b
UD
243702010-11-03 H.J. Lu <hongjiu.lu@intel.com>
24371
24372 [BZ #12191]
24373 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24374 (__x86_64_raw_data_cache_size_half): Likewise.
24375 (__x86_64_raw_shared_cache_size): Likewise.
24376 (__x86_64_raw_shared_cache_size_half): Likewise.
24377
24378 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
24379 (__x86_64_raw_data_cache_size_half): Likewise.
24380 (__x86_64_raw_shared_cache_size): Likewise.
24381 (__x86_64_raw_shared_cache_size_half): Likewise.
24382 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
24383 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
24384 and __x86_64_raw_shared_cache_size_half. Round
24385 __x86_64_data_cache_size_half, __x86_64_data_cache_size
24386 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
24387 to multiple of 256 bytes.
24388
0e516e0e
MS
243892010-11-03 Ulrich Drepper <drepper@gmail.com>
24390
24391 [BZ #12167]
24392 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
24393 of inacessible symlinks. Verify result of symlink before returning it.
24394 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24395 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
24396
0e012e87
ER
243972010-10-28 Erich Ritz <erichritz@gmail.com>
24398
24399 * math/math.h (isinf): Fix typo in comment.
24400
de0ff7bc
UD
244012010-11-01 Ulrich Drepper <drepper@gmail.com>
24402
24403 * po/da.po: Update from translation team.
24404
fa41c84d
UD
244052010-10-26 Ulrich Drepper <drepper@gmail.com>
24406
24407 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
24408 is added to the list.
24409
f0967738
AK
244102010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24411 Ulrich Drepper <drepper@gmail.com>
24412
24413 * elf/dl-object.c (_dl_new_object): Don't append the new object to
24414 the global list here. Move code to...
24415 (_dl_add_to_namespace_list): ...here. New function.
24416 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
24417 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
24418 * elf/dl-load.c (lose): Don't remove the element from the list.
24419 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
24420 (_dl_map_object): Likewise.
24421
244222010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
24423
24424 [BZ #12159]
24425 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
24426 into all bytes of SSE register.
24427 Patch by Richard Li <richardpku@gmail.com>.
24428
f0967738 244292010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
24430
24431 [BZ #12140]
24432 * malloc/malloc.c (_int_free): Fill correct number of bytes when
24433 perturbing.
24434
d0b9e94f
MB
244352010-10-20 Michael B. Brutman <brutman@us.ibm.com>
24436
24437 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
24438 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
24439 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
24440 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
24442 submachine.
24443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
24444
8e9f92e9
AS
244452010-10-22 Andreas Schwab <schwab@redhat.com>
24446
24447 * include/dlfcn.h (__RTLD_SECURE): Define.
24448 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
24449 mode & __RTLD_SECURE instead.
24450 (open_path): Rename preloaded parameter to secure.
24451 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
24452 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
24453 * elf/dl-deps.c (openaux): Likewise.
24454 * elf/rtld.c (struct map_args): Remove is_preloaded.
24455 (map_doit): Don't use it.
24456 (dl_main): Likewise.
24457 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24458 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
24459
bc96fbda
AS
244602010-09-09 Andreas Schwab <schwab@redhat.com>
24461
24462 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
24463 (sysd-rules-targets): Remove duplicates.
24464 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
24465 rtld-%.$o dependency.
24466
22cd1c9b
AS
244672010-10-18 Andreas Schwab <schwab@redhat.com>
24468
24469 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
24470 _dl_map_object do it.
24471
18edac48
UD
244722010-10-19 Ulrich Drepper <drepper@gmail.com>
24473
24474 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
24475 fast fma builtins, define the macros in the C99 standard.
24476 (FP_FAST_FMAF): Likewise.
24477 (FP_FAST_FMAL): Likewise.
24478 * sysdeps/x86_64/bits/mathdef.h: Likewise.
24479
24480 * bits/mathdef.h: Update copyright year.
24481 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24482
d2050124
MM
244832010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
24484
24485 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
24486 builtins, define the macros in the C99 standard.
24487 (FP_FAST_FMAF): Likewise.
24488 (FP_FAST_FMAL): Likewise.
24489 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
24490 multiply/add.
24491 (FP_FAST_FMAF): Likewise.
24492
475facd1
JJ
244932010-10-15 Jakub Jelinek <jakub@redhat.com>
24494
24495 [BZ #3268]
24496 * math/libm-test.inc (fma_test): Some new testcases.
24497 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
24498 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
24499 y and infinite z. Do multiplication by C already in long double.
24500 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
24501 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
24502 y and infinite z. Do bitwise or of inexact bit into u.d.
24503 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
24504 * sysdeps/i386/fpu/s_fmaf.S: Removed.
24505 * sysdeps/i386/fpu/s_fma.S: Removed.
24506 * sysdeps/i386/fpu/s_fmal.S: Removed.
24507
7c08a05c
JJ
245082010-10-16 Jakub Jelinek <jakub@redhat.com>
24509
24510 [BZ #3268]
24511 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
24512 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
24513 computation is not scheduled after fetestexcept. Fix value
24514 of minimum denormal long double.
24515
f3f7372d
JJ
245162010-10-14 Jakub Jelinek <jakub@redhat.com>
24517
24518 [BZ #3268]
24519 * math/libm-test.inc (fma_test): Add some more tests.
24520 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
24521 correctly.
24522
14d43591
AS
245232010-10-15 Andreas Schwab <schwab@redhat.com>
24524
24525 * scripts/data/localplt-s390-linux-gnu.data: New file.
24526 * scripts/data/localplt-s390x-linux-gnu.data: New file.
24527
5e908464
JJ
245282010-10-13 Jakub Jelinek <jakub@redhat.com>
24529
24530 [BZ #3268]
24531 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
24532 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
24533 instead of dbl-64.
24534 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
24535 inlines.
24536 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
24537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
24538 if one of x and y is very large and the other is subnormal.
24539 * sysdeps/s390/fpu/s_fmaf.c: New file.
24540 * sysdeps/s390/fpu/s_fma.c: New file.
24541 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
24542 * sysdeps/powerpc/fpu/s_fma.S: New file.
24543 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
24544 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
24545 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
24546
245472010-10-12 Jakub Jelinek <jakub@redhat.com>
24548
24549 [BZ #3268]
24550 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
24551 fma tests.
24552 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
24553 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
24554 * sysdeps/i386/i686/multiarch/s_fma.c: Include
24555 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
24556 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
24557 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
24558 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
24559
b833d51f
UD
245602010-10-12 Ulrich Drepper <drepper@redhat.com>
24561
24562 [BZ #12078]
24563 * posix/regcomp.c (parse_branch): One more memory leak plugged.
24564 * posix/bug-regex31.input: Add test case.
24565
1751705d
UD
245662010-10-11 Ulrich Drepper <drepper@gmail.com>
24567
e9b9cbf5
UD
24568 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
24569 * posix/bug-regex31.input: New file.
24570
24571 [BZ #12078]
24572 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
24573 (parse_sub_exp): Fix last change, use postorder.
24574
ef06edbe
UD
24575 * posix/bug-regex31.c: New file.
24576 * posix/Makefile: Add rules to build and run bug-regex31.
24577
a129c80d
UD
24578 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
24579
24580 [BZ #12078]
24581 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
24582
b76b818e
UD
24583 [BZ #12108]
24584 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
24585 to have entries in sys_siglist.
24586
1751705d
UD
24587 [BZ #12093]
24588 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
24589 be NULL.
24590
9ff8d36f
JJ
245912010-10-07 Jakub Jelinek <jakub@redhat.com>
24592
24593 [BZ #3268]
24594 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
24595 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
24596 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
24597 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
24598 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24599 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
24600 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
24601 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
24602 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
24603 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
24604 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
24605 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
24606 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24607 * math/ftestexcept.c (fetestexcept): Likewise.
24608 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
24609 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
24610 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24611 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
24612 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
24613 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24614 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24615
af325969
UD
246162010-10-11 Ulrich Drepper <drepper@gmail.com>
24617
c579b202 24618 [BZ #12107]
af325969
UD
24619 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
24620 newline.
24621
67a67b95
UD
246222010-10-06 Ulrich Drepper <drepper@gmail.com>
24623
24624 * string/bug-strstr1.c: New file.
24625 * string/Makefile: Add rules to build and run bug-strstr1.
24626
5fb308bc
EB
246272010-10-05 Eric Blake <eblake@redhat.com>
24628
24629 [BZ #12092]
24630 * string/str-two-way.h (two_way_long_needle): Always clear memory
24631 when skipping input due to the shift table.
24632
45db99c7
UD
246332010-10-03 Ulrich Drepper <drepper@gmail.com>
24634
3b111893
UD
24635 [BZ #12005]
24636 * malloc/mcheck.c: Handle large requests.
24637
45db99c7
UD
24638 [BZ #12077]
24639 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
24640 for strncmp and strncasecmp.
24641 * string/stratcliff.c: Add tests for strcmp and strncmp.
24642 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
24643
cf7a1eb8
NI
246442010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24645
24646 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
24647 __set_fpscr.
24648
6484ba5e
AJ
246492010-09-30 Andreas Jaeger <aj@suse.de>
24650
24651 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
24652 (CGROUP_SUPER_MAGIC): Define.
24653 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24654 Handle btrfs and cgroup file systems.
24655 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24656 Likewise.
24657
91c42559
LM
246582010-09-27 Luis Machado <luisgpm@br.ibm.com>
24659
24660 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
24661 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
24662
87a97932
AK
246632010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24664
24665 [BZ #12067]
24666 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
24667 trying to locate the ELF header.
24668
c21cc9bc
AS
246692010-09-27 Andreas Schwab <schwab@redhat.com>
24670
24671 [BZ #11611]
24672 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
24673 Mask out sign-bit copies when constructing f_fsid.
24674
315970f6
PB
246752010-09-24 Petr Baudis <pasky@suse.cz>
24676
24677 * debug/stack_chk_fail_local.c: Add missing licence exception.
24678 * debug/warning-nop.c: Likewise.
24679
1ac7a2c7
JM
246802010-09-15 Joseph Myers <joseph@codesourcery.com>
24681
24682 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
24683 implementing getdents64 using getdents syscall, set d_type if
24684 __ASSUME_GETDENTS32_D_TYPE.
24685
56801c50
AS
246862010-09-16 Andreas Schwab <schwab@redhat.com>
24687
24688 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
24689 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
24690
dda51327
UD
246912010-09-21 Ulrich Drepper <drepper@redhat.com>
24692
24693 [BZ #12037]
24694 * posix/unistd.h: Undo change of feature selection for ftruncate from
24695 2010-01-11.
24696
8ffcee4a
UD
246972010-09-20 Ulrich Drepper <drepper@redhat.com>
24698
a545ecd9 24699 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
24700 detection.
24701
e24f0a8b
AS
247022010-09-20 Andreas Schwab <schwab@redhat.com>
24703
24704 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
24705 fanotify_mark.
24706 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24707
7291c56f
AS
247082010-09-14 Andreas Schwab <schwab@redhat.com>
24709
24710 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
24711 variables after CHECK_SP call.
24712 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
24713
bc5fb037
AS
247142010-09-13 Andreas Schwab <schwab@redhat.com>
24715 Ulrich Drepper <drepper@redhat.com>
24716
24717 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
24718 re-relocationg ld.so.
24719 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
24720 _dl_init_paths call.
24721 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
24722 here anymore.
24723
e66e7419
UD
247242010-09-14 Ulrich Drepper <drepper@redhat.com>
24725
24726 * resolv/res_init.c (__res_vinit): Count the default server we added.
24727
c044aa75
CLT
247282010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
24729 Ulrich Drepper <drepper@redhat.com>
24730
24731 [BZ #11968]
24732 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24733 (____longjmp_chk): Use %ebx for saving value across system call.
24734 Add unwind info.
24735
32cf4069
AS
247362010-09-06 Andreas Schwab <schwab@redhat.com>
24737
24738 * manual/Makefile: Don't mix pattern rules with normal rules.
24739
817328ee
AS
247402010-09-05 Andreas Schwab <schwab@linux-m68k.org>
24741
24742 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
24743 operation.
24744 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
24745 * libio/iofopncook.c (_IO_cookie_init): Likewise.
24746 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
24747 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24748 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24749 Likewise.
24750
29fddf61
UD
247512010-09-04 Ulrich Drepper <drepper@redhat.com>
24752
24753 [BZ #11979]
24754 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
24755 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
24756
0959ffc9
UD
247572010-09-02 Ulrich Drepper <drepper@redhat.com>
24758
24759 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
24760 * sysdeps/x86_64/addmul_1.S: Likewise.
24761 * sysdeps/x86_64/lshift.S: Likewise.
24762 * sysdeps/x86_64/mul_1.S: Likewise.
24763 * sysdeps/x86_64/rshift.S: Likewise.
24764 * sysdeps/x86_64/sub_n.S: Likewise.
24765 * sysdeps/x86_64/submul_1.S: Likewise.
24766
ece29840
ST
247672010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
24768
0959ffc9
UD
24769 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
24770 Define __sched_param instead of SCHED_* and sched_param when
ece29840 24771 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 24772 * bits/sched.h [__need_schedparam]
ece29840 24773 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
24774 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
24775 (__defined_schedparam): Define to 1.
ece29840
ST
24776 (__sched_param): New structure, identical to sched_param.
24777 (__need_schedparam): Undefine.
24778
e53a31fe
MF
247792010-08-31 Mike Frysinger <vapier@gentoo.org>
24780
fdc0c10d
MF
24781 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
24782 (epoll_create1): Declare.
24783
e53a31fe
MF
24784 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
24785
a726d796
AS
247862010-08-31 Andreas Schwab <schwab@redhat.com>
24787
24788 [BZ #7066]
24789 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
24790 shifting retval into place.
24791
2f3e3dc7
UD
247922010-09-01 Ulrich Drepper <drepper@redhat.com>
24793
f2933da9
UD
24794 * nis/rpcsvc/nis.h: Update copyright notice.
24795 * nis/rpcsvc/nis.x: Likewise.
24796 * nis/rpcsvc/nis_callback.h: Likewise.
24797 * nis/rpcsvc/nis_callback.x: Likewise.
24798 * nis/rpcsvc/nis_object.x: Likewise.
24799 * nis/rpcsvc/nis_tags.h: Likewise.
24800 * nis/rpcsvc/yp.h: Likewise.
24801 * nis/rpcsvc/yp.x: Likewise.
24802 * nis/rpcsvc/ypupd.h: Likewise.
24803 * nis/yp_xdr.c: Likewise.
24804 * nis/ypupdate_xdr.c: Likewise.
24805
2f3e3dc7
UD
24806 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
24807 mainly the body of pmap_getport. Add parameters to specify timeouts.
24808 (pmap_getport): Use __libc_rpc_getport.
24809 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
24810 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
24811 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
24812
f3dcc2f9
AS
248132010-08-31 Andreas Schwab <schwab@linux-m68k.org>
24814
24815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
24816 fanotify_mark.
24817
6d34eb5b
RM
248182010-08-27 Roland McGrath <roland@redhat.com>
24819
24820 * sysdeps/i386/i686/multiarch/Makefile
24821 (CFLAGS-varshift.c): New variable.
24822
9ea3de11
UD
248232010-08-27 Ulrich Drepper <drepper@redhat.com>
24824
c96d23fc
UD
24825 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
24826 * sysdeps/i386/i686/multiarch/varshift.c: New file.
24827
9ea3de11
UD
24828 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
24829
24830 * sysdeps/x86_64/strlen.S: Minimal code improvement.
24831
623aac7f
L
248322010-08-26 H.J. Lu <hongjiu.lu@intel.com>
24833
24834 * sysdeps/x86_64/strlen.S: Unroll the loop.
24835 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24836 strlen-sse2 strlen-sse2-bsf.
24837 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
24838 __strlen_no_bsf if bit_Slow_BSF is set.
24839 (__strlen_sse42): Removed.
24840 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
24841 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
24842
8b2b7715
RM
248432010-08-25 Roland McGrath <roland@redhat.com>
24844
24845 * sysdeps/x86_64/multiarch/varshift.S: File removed.
24846 * sysdeps/x86_64/multiarch/varshift.c: New file.
24847 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
24848 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24849 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
24850 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24851
e73015f2
L
248522010-08-25 H.J. Lu <hongjiu.lu@intel.com>
24853
24854 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24855 strlen-sse2 strlen-sse2-bsf.
24856 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
24857 __strlen_sse2_bsf if bit_Slow_BSF is unset.
24858 (__strlen_sse2): Removed.
24859 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
24860 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
24861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24862 bit_Slow_BSF for Atom.
24863 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
24864 (index_Slow_BSF): Define.
24865 (HAS_SLOW_BSF): Define.
24866
df24a73e
UD
248672010-08-25 Ulrich Drepper <drepper@redhat.com>
24868
24869 [BZ #10851]
24870 * resolv/res_init.c (__res_vinit): When no server address at all
24871 is given default to loopback.
24872
f2ac4868
RM
248732010-08-24 Roland McGrath <roland@redhat.com>
24874
09055553
RM
24875 * configure.in: Remove config-name.h generation.
24876 * configure: Regenerated.
24877 * config-name.in: File removed.
24878 * scripts/config-uname.sh: New file.
24879 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
24880 ($(objdir)config-name.h): New target.
24881
f2ac4868
RM
24882 * sunrpc/rpc_parse.h: Avoid nested comment.
24883
73f27d5e
RH
248842010-08-24 Richard Henderson <rth@redhat.com>
24885 Ulrich Drepper <drepper@redhat.com>
24886 H.J. Lu <hongjiu.lu@intel.com>
24887
24888 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24890 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24891 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24892 _mm_alignr_epi8 with _mm_loadu_si128.
24893 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24894 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24895 (__m128i_shift_right): Removed.
24896 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24897 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24898 * sysdeps/x86_64/multiarch/varshift.h: New file.
24899 * sysdeps/x86_64/multiarch/varshift.S: New file.
24900
84b9230c
MF
249012010-08-21 Mike Frysinger <vapier@gentoo.org>
24902
24903 * configure.in: Move assembler checks to before sysdep dir checking.
24904
9bbd0ddc
PB
249052010-08-20 Petr Baudis <pasky@suse.cz>
24906
24907 * LICENSES: Sync the sunrpc license.
24908
9da4bb31
UD
249092010-08-19 Ulrich Drepper <drepper@redhat.com>
24910
a7ab6ec8
UD
24911 * sunrpc/auth_des.c: Update copyright notice once again.
24912 * sunrpc/auth_none.c: Likewise.
24913 * sunrpc/auth_unix.c: Likewise.
24914 * sunrpc/authdes_prot.c: Likewise.
24915 * sunrpc/authuxprot.c: Likewise.
24916 * sunrpc/bindrsvprt.c: Likewise.
24917 * sunrpc/clnt_gen.c: Likewise.
24918 * sunrpc/clnt_perr.c: Likewise.
24919 * sunrpc/clnt_raw.c: Likewise.
24920 * sunrpc/clnt_simp.c: Likewise.
24921 * sunrpc/clnt_tcp.c: Likewise.
24922 * sunrpc/clnt_udp.c: Likewise.
24923 * sunrpc/clnt_unix.c: Likewise.
24924 * sunrpc/des_crypt.c: Likewise.
24925 * sunrpc/des_soft.c: Likewise.
24926 * sunrpc/get_myaddr.c: Likewise.
24927 * sunrpc/getrpcport.c: Likewise.
24928 * sunrpc/key_call.c: Likewise.
24929 * sunrpc/key_prot.c: Likewise.
24930 * sunrpc/openchild.c: Likewise.
24931 * sunrpc/pm_getmaps.c: Likewise.
24932 * sunrpc/pm_getport.c: Likewise.
24933 * sunrpc/pmap_clnt.c: Likewise.
24934 * sunrpc/pmap_prot.c: Likewise.
24935 * sunrpc/pmap_prot2.c: Likewise.
24936 * sunrpc/pmap_rmt.c: Likewise.
24937 * sunrpc/rpc/auth.h: Likewise.
24938 * sunrpc/rpc/auth_unix.h: Likewise.
24939 * sunrpc/rpc/clnt.h: Likewise.
24940 * sunrpc/rpc/des_crypt.h: Likewise.
24941 * sunrpc/rpc/key_prot.h: Likewise.
24942 * sunrpc/rpc/netdb.h: Likewise.
24943 * sunrpc/rpc/pmap_clnt.h: Likewise.
24944 * sunrpc/rpc/pmap_prot.h: Likewise.
24945 * sunrpc/rpc/pmap_rmt.h: Likewise.
24946 * sunrpc/rpc/rpc.h: Likewise.
24947 * sunrpc/rpc/rpc_des.h: Likewise.
24948 * sunrpc/rpc/rpc_msg.h: Likewise.
24949 * sunrpc/rpc/svc.h: Likewise.
24950 * sunrpc/rpc/svc_auth.h: Likewise.
24951 * sunrpc/rpc/types.h: Likewise.
24952 * sunrpc/rpc/xdr.h: Likewise.
24953 * sunrpc/rpc_clntout.c: Likewise.
24954 * sunrpc/rpc_cmsg.c: Likewise.
24955 * sunrpc/rpc_common.c: Likewise.
24956 * sunrpc/rpc_cout.c: Likewise.
24957 * sunrpc/rpc_dtable.c: Likewise.
24958 * sunrpc/rpc_hout.c: Likewise.
24959 * sunrpc/rpc_main.c: Likewise.
24960 * sunrpc/rpc_parse.c: Likewise.
24961 * sunrpc/rpc_parse.h: Likewise.
24962 * sunrpc/rpc_prot.c: Likewise.
24963 * sunrpc/rpc_sample.c: Likewise.
24964 * sunrpc/rpc_scan.c: Likewise.
24965 * sunrpc/rpc_scan.h: Likewise.
24966 * sunrpc/rpc_svcout.c: Likewise.
24967 * sunrpc/rpc_tblout.c: Likewise.
24968 * sunrpc/rpc_util.c: Likewise.
24969 * sunrpc/rpc_util.h: Likewise.
24970 * sunrpc/rpcinfo.c: Likewise.
24971 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24972 * sunrpc/rpcsvc/key_prot.x: Likewise.
24973 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24974 * sunrpc/rpcsvc/mount.x: Likewise.
24975 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24976 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24977 * sunrpc/rpcsvc/rex.x: Likewise.
24978 * sunrpc/rpcsvc/rstat.x: Likewise.
24979 * sunrpc/rpcsvc/rusers.x: Likewise.
24980 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24981 * sunrpc/rpcsvc/spray.x: Likewise.
24982 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24983 * sunrpc/rtime.c: Likewise.
24984 * sunrpc/svc.c: Likewise.
24985 * sunrpc/svc_auth.c: Likewise.
24986 * sunrpc/svc_authux.c: Likewise.
24987 * sunrpc/svc_raw.c: Likewise.
24988 * sunrpc/svc_run.c: Likewise.
24989 * sunrpc/svc_simple.c: Likewise.
24990 * sunrpc/svc_tcp.c: Likewise.
24991 * sunrpc/svc_udp.c: Likewise.
24992 * sunrpc/svc_unix.c: Likewise.
24993 * sunrpc/svcauth_des.c: Likewise.
24994 * sunrpc/xcrypt.c: Likewise.
24995 * sunrpc/xdr.c: Likewise.
24996 * sunrpc/xdr_array.c: Likewise.
24997 * sunrpc/xdr_float.c: Likewise.
24998 * sunrpc/xdr_mem.c: Likewise.
24999 * sunrpc/xdr_rec.c: Likewise.
25000 * sunrpc/xdr_ref.c: Likewise.
25001 * sunrpc/xdr_sizeof.c: Likewise.
25002 * sunrpc/xdr_stdio.c: Likewise.
25003
9da4bb31
UD
25004 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
25005 handling.
25006
bdaa77bc
AS
250072010-08-19 Andreas Schwab <schwab@redhat.com>
25008
25009 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
25010
fe2f79db
LM
250112010-08-19 Luis Machado <luisgpm@br.ibm.com>
25012
25013 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
25014 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
25015 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
25016 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
25017 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
25018 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
25019 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
25020 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
25021 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
25022 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
25023 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
25024 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
25025 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
25026 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
25027
b9b42ee0
AB
250282010-07-26 Anton Blanchard <anton@samba.org>
25029
25030 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
25031 * malloc/arena.c (heap_trim): Likewise.
25032
1c06ba31
UD
250332010-08-16 Ulrich Drepper <drepper@redhat.com>
25034
25035 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
25036 here. Not...
25037 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
25038 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
25039
f8392f40
L
250402010-08-12 H.J. Lu <hongjiu.lu@intel.com>
25041
25042 * sysdeps/i386/elf/Makefile: New file.
25043
3162f12e
AS
250442010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25045
25046 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
25047 from fanotify_init.
25048 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
25049 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25050
28c90b2c
UD
250512010-08-15 Ulrich Drepper <drepper@redhat.com>
25052
25053 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
25054 of strncasecmp_l.
1feccb6c 25055 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 25056
ca6bb004
UD
250572010-08-14 Ulrich Drepper <drepper@redhat.com>
25058
e9f82e0d
UD
25059 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25060 strncase_l-nonascii.
25061 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25062 Add strncase_l-ssse3.
25063 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
25064 * sysdeps/x86_64/strcmp.S: Likewise.
25065 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
25066 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
25067 * sysdeps/x86_64/strncase.S: New file.
25068 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
25069 * sysdeps/x86_64/strncase_l.S: New file.
25070 * string/Makefile (strop-tests): Add strncasecmp.
25071 * string/test-strncasecmp.c: New file.
25072
25073 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
25074 warning.
25075
ca6bb004
UD
25076 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
25077 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
25078
052fa7b3
AS
250792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
25080
25081 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
25082
962dba78
UD
250832010-08-12 Ulrich Drepper <drepper@redhat.com>
25084
25085 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
25086 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
25087 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
25088
bebff237
AM
250892010-05-01 Alan Modra <amodra@gmail.com>
25090
25091 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
25092 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
25093 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
25094 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
25095 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
25096 tidying. Don't tail-call __sigjmp_save for static lib.
25097 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
25098 save location.
25099 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
25100 (CALL_MCOUNT): Add eh info, and nop after bl.
25101 (TAIL_CALL_SYSCALL_ERROR): New macro.
25102 (PSEUDO_RET): Use it.
25103 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25104 Correct save location of integer regs and cr.
25105 (_dl_profile_resolve): Correct cr save location. Delete nops
25106 after bl when SHARED. Reduce cfi size a little by better
25107 placement of cfi directives.
25108 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
25109 make a stack frame. Instead use parm save area as a temp.
25110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
25111 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
25112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25113 Don't make a stack frame for parent, use parm save area.
25114 Increase child stack frame to 112 bytes. Don't save unused reg,
25115 and adjust reg usage. Set up cfi on error recovery and
25116 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
25117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25118 (__makecontext): Add dummy nop after jump to exit.
25119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
25120 Use correct parm save area and cr save, reduce stack frame.
25121 Correct cfi for possible PSEUDO_RET frame setup.
25122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
25123 Branch to local label emitted by PSEUDO_RET rather than
25124 __syscall_error.
25125
02637374
AS
251262010-08-12 Andreas Schwab <schwab@redhat.com>
25127
25128 [BZ #11904]
25129 * locale/programs/locale.c (print_assignment): New function.
25130 (show_locale_vars): Use it.
25131
c3e2f19b
UD
251322010-08-11 Ulrich Drepper <drepper@redhat.com>
25133
3cdaa6ad
UD
25134 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
25135 field.
25136 (struct statfs64): Likewise.
25137 (_STATFS_F_FLAGS): Define.
25138 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
25139 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25140 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
25141 (ST_VALID): Define locally.
25142 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
25143 __statvfs_getflags, use the provided value.
25144 * sysdeps/unix/sysv/linux/kernel-features.h: Define
25145 __ASSUME_STATFS_F_FLAGS.
25146
754f7da3
UD
25147 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
25148
10b3bedc
UD
25149 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
25150 Add sys/fanotify.h.
25151 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
25152 fanotify_mask for GLIBC_2.13.
25153 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
25154 fanotify_init and fanotify_mark.
25155 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
25156 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
25157
c08fb0d7
UD
25158 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
25159 Add prlimit.
25160 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
25161 prlimit64 for GLIBC_2.13.
25162 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
25163 prlimit64.
25164 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
25165 syscall.
25166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
25167 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25168 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25169 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
25170 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
25171 add prlimit alias.
25172 * sysdeps/unix/sysv/linux/prlimit.c: New file.
25173
15bac72b
UD
25174 [BZ #11903]
25175 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
25176 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
25177
c3e2f19b
UD
25178 * nss/Makefile: Add rules to build and run tst-nss-test1.
25179 * shlib-versions: Add entry for libnss_test1.
25180 * nss/nss_test1.c: New file.
25181 * nss/tst-nss-test1.c: New file.
25182
25183 * nss/nsswitch.c (__nss_database_custom): Define new variable.
25184 (__nss_configure_lookup): Set appropriate entry in
25185 __nss_configure_lookup to true.
25186 * nss/nsswitch.h: Define enum with indeces of databases in
25187 databases and __nss_database_custom arrays. Declare
25188 __nss_database_custom.
25189 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
25190 to avoid using nscd when custom rules are installed.
25191 * nss/getXXbyYY_r.c: Likewise.
25192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25193
25194 * nss/nss_files/files-parse.c: Whitespace fixes.
25195
f15ce4d8
UD
251962010-08-09 Ulrich Drepper <drepper@redhat.com>
25197
25198 [BZ #11883]
25199 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
25200 * posix/fnmatch_loop.c: Likewise.
25201
d22e4cc9
AK
252022010-07-17 Andi Kleen <ak@linux.intel.com>
25203
25204 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
25205 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
25206 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
25207 * Versions.def [GLIBC_2.13]: Add.
25208
805bc17d
UD
252092010-08-06 Ulrich Drepper <drepper@redhat.com>
25210
25211 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25212 Also fail if tpwd after pwuid call is NULL.
25213
5a42321d
ST
252142010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
25215
25216 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
25217 when converting to ms.
25218
fd3ebeda
ST
252192010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25220
25221 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
25222 EOPNOTSUPP errors with ENOTTY.
25223 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
25224 EOPNOTSUPP errors with ENOTTY.
25225
73507d3a
UD
252262010-07-31 Ulrich Drepper <drepper@redhat.com>
25227
25228 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
25229 Add strcasecmp_l-ssse3.
25230 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
25231 strcasecmp.
25232 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
25233 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
25234 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
25235
fe36dd02
UD
252362010-07-30 Ulrich Drepper <drepper@redhat.com>
25237
66f6765a
UD
25238 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
25239
42e08a54
UD
25240 * string/Makefile (strop-tests): Add strcasecmp.
25241 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
25242 strcasecmp_l-nonascii.
25243 (gen-as-const-headers): Add locale-defines.sym.
25244 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
25245 * sysdeps/x86_64/strcasecmp.S: New file.
25246 * sysdeps/x86_64/strcasecmp_l.S: New file.
25247 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
25248 * sysdeps/x86_64/locale-defines.sym: New file.
25249 * string/test-strcasecmp.c: New file.
25250
fe36dd02
UD
25251 * string/test-strcasestr.c: Test both ends of the range of characters.
25252 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
25253
48cbc0d6
RM
252542010-07-29 Roland McGrath <roland@redhat.com>
25255
76e6d6bc 25256 [BZ #11856]
48cbc0d6
RM
25257 * manual/locale.texi (Yes-or-No Questions): Fix example code.
25258
880113d9
UD
252592010-07-27 Ulrich Drepper <drepper@redhat.com>
25260
25261 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
25262 for ld.so.
25263
deb9cabb
AS
252642010-07-27 Andreas Schwab <schwab@redhat.com>
25265
25266 * manual/memory.texi (Malloc Tunable Parameters): Document
25267 M_PERTURB.
25268
1c7570ff
RM
252692010-07-26 Roland McGrath <roland@redhat.com>
25270
25271 [BZ #11840]
25272 * configure.in (-fgnu89-inline check): Set and substitute
25273 gnu89_inline, not libc_cv_gnu89_inline.
25274 * configure: Regenerated.
25275 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
25276
24fb0f88
UD
252772010-07-26 Ulrich Drepper <drepper@redhat.com>
25278
25279 * string/test-strnlen.c: New file.
25280 * string/Makefile (strop-tests): Add strnlen.
25281 * string/tester.c (test_strnlen): Add a few more test cases.
25282 * string/tst-strlen.c: Better error reporting.
25283
25284 * sysdeps/x86_64/strnlen.S: New file.
25285
8e96b93a
UD
252862010-07-24 Ulrich Drepper <drepper@redhat.com>
25287
25288 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
25289 lower-latency instructions.
25290
dbc676d4
UD
252912010-07-23 Ulrich Drepper <drepper@redhat.com>
25292
25293 * string/test-strcasestr.c: New file.
25294 * string/test-strstr.c: New file.
25295 * string/Makefile (strop-tests): Add strstr and strcasestr.
25296 * string/str-two-way.h: Don't undefine MAX.
25297 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
25298
f6a31e0e
AS
252992010-07-21 Andreas Schwab <schwab@redhat.com>
25300
25301 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25302 strcasestr-nonascii.
25303 (CFLAGS-strcasestr-nonascii.c): Define.
25304 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
25305 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
25306 Remove unused attribute.
25307
5dbc3b6c
RM
253082010-07-20 Roland McGrath <roland@redhat.com>
25309
25310 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
25311 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
25312 ld.so.cache was broken. With it, there is no way to disable dsocaps
25313 like LD_HWCAP_MASK can disable hwcaps.
25314
23d101d8
EPM
253152010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25316
25317 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
25318
cc9f2e47
UD
253192010-07-16 Ulrich Drepper <drepper@redhat.com>
25320
25321 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
25322 call in strcasestr.
25323 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
25324 __strcasestr_sse42_nonascii.
25325 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
25326 strcasestr-nonascii.c.
25327 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
25328
77c1b069
LM
253292010-06-15 Luis Machado <luisgpm@br.ibm.com>
25330
25331 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
25332 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
25333 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
25334 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
25335
440566c3
UD
253362010-07-09 Ulrich Drepper <drepper@redhat.com>
25337
25338 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
25339 fcntl.
25340
5be9d05d
AS
253412010-07-06 Andreas Schwab <schwab@redhat.com>
25342
c30b7ee2 25343 [BZ #11577]
5be9d05d
AS
25344 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
25345 dl_signal_cerror.
25346
8a492a67
UD
253472010-07-06 Ulrich Drepper <drepper@redhat.com>
25348
25349 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
25350 _PC_PIPE_BUF using F_GETPIPE_SZ.
25351
713df3d5
RM
253522010-07-05 Roland McGrath <roland@redhat.com>
25353
25354 * manual/arith.texi (Rounding Functions): Fix rint description
25355 implicit in round description.
25356
702e8f14
UD
253572010-07-02 Ulrich Drepper <drepper@redhat.com>
25358
25359 * elf/Makefile: Fix linking for a few tests to make recent linker
25360 happy.
25361
52ed8be9
AS
253622010-06-30 Andreas Schwab <schwab@redhat.com>
25363
25364 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25365 $(common-objpfx)libc_nonshared.a.
25366
f47c9a11
LM
253672010-06-21 Luis Machado <luisgpm@br.ibm.com>
25368
25369 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
25370 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
25371 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25372 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25373 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
25374 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
25375 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25376 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
25378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
25379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
25380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
25381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
25382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
25383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
25384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
25385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
25386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
25387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
25388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
25389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
25390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
25391 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
25392 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
25393 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
25394 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
25395 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
25396 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
25397 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
25398 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
25399 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
25400 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
25401 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
25402 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
25403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
25404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
25405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
25406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
25407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
25408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
25409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
25410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
25411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
25412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
25413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
25414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
25415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
25416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
25417
6fb8cbcb
L
254182010-06-25 H.J. Lu <hongjiu.lu@intel.com>
25419
25420 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
25421 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
25422 * string/memmove.c (memmove): Renamed to ...
25423 (MEMMOVE): ...this. Default to memmove.
25424 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
25425 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
25426 (END_CHK): Define.
25427 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25428 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
25429 mempcpy-ssse3-back memmove-ssse3-back.
25430 * sysdeps/x86_64/multiarch/bcopy.S: New file .
25431 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
25432 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
25433 * sysdeps/x86_64/multiarch/memcpy.S: New file.
25434 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
25435 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
25436 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
25437 * sysdeps/x86_64/multiarch/memmove.c: New file.
25438 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
25439 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
25440 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
25441 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
25442 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
25443 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
25444 Define.
25445 (index_Fast_Copy_Backward): Define.
25446 (HAS_ARCH_FEATURE): Define.
25447 (HAS_FAST_REP_STRING): Define.
25448 (HAS_FAST_COPY_BACKWARD): Define.
25449
4e733bac 254502010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
25451
25452 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25453 Restore proper fallback handling.
25454
63c4ed22
UD
254552010-06-19 Ulrich Drepper <drepper@redhat.com>
25456
ac2b484c
UD
25457 [BZ #11701]
25458 * posix/group_member.c (__group_member): Correct checking loop.
25459
63c4ed22
UD
25460 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
25461 OOM in getpwuid_r correctly. Return error number when the caller
25462 should return, otherwise -1.
25463 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
25464 call returning > 0 value.
25465 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
25466
765ade4b
AS
254672010-06-07 Andreas Schwab <schwab@redhat.com>
25468
25469 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
25470 libc_nonshared.a from targets in modules-names.
25471
80da2e09
KS
254722010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
25473
25474 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
25475 requires it.
25476
158db122
LM
254772010-06-10 Luis Machado <luisgpm@br.ibm.com>
25478
25479 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
25480 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
25481 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
25482 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
25483
caa78cf8
AS
254842010-06-02 Andreas Schwab <schwab@redhat.com>
25485
25486 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
25487
b2ef2c01
UD
254882010-06-14 Ulrich Drepper <drepper@redhat.com>
25489
25490 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
25491 and F_GETPIPE_SZ.
25492 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25493 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25494 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25495 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25496 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25497 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
25498
fbd643b6
RM
254992010-06-14 Roland McGrath <roland@redhat.com>
25500
25501 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
25502
f32f2869
JJ
255032010-06-07 Jakub Jelinek <jakub@redhat.com>
25504
25505 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
25506 __REDIRECT followed by __THROW.
25507 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
25508 * posix/getopt.h (getopt): Likewise.
25509
2a50c078
EPM
255102010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
25511
25512 * hurd/lookup-at.c (__file_name_lookup_at): Accept
25513 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
25514 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
25515 in AT_FLAGS.
25516 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
25517 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
25518
eb5ad2eb
LM
255192010-05-28 Luis Machado <luisgpm@br.ibm.com>
25520
25521 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
25522
3c88fe1e
L
255232010-05-26 H.J. Lu <hongjiu.lu@intel.com>
25524
25525 [BZ #11640]
25526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25527 Properly check family and model.
25528
d2f73151
TY
255292010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
25530
25531 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
25532
ebd2e13d
LM
255332010-05-24 Luis Machado <luisgpm@br.ibm.com>
25534
25535 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
25536
b32b8b45
UD
255372010-05-21 Ulrich Drepper <drepper@redhat.com>
25538
25539 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
25540 symbol reference.
25541
9acbe24d
AS
255422010-05-19 Andreas Schwab <schwab@redhat.com>
25543
25544 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
25545 symbol reference.
25546
f0ccf6ea
AS
255472010-05-21 Andreas Schwab <schwab@redhat.com>
25548
3d04ff3a
AS
25549 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
25550 and internal_recvmmsg.
25551 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
25552 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
25553 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
25554 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
25555
f0ccf6ea
AS
25556 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
25557 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25558 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25559
5b08ac57
AS
255602010-05-20 Andreas Schwab <schwab@redhat.com>
25561
25562 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
25563
4828935d
LM
255642010-05-17 Luis Machado <luisgpm@br.ibm.com>
25565
25566 POWER7 optimizations.
25567 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
25568 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
25569
373d545e
UD
255702010-05-19 Ulrich Drepper <drepper@redhat.com>
25571
25572 * version.h: Update for 2.13 development version.
25573
21a2b1ae
AS
255742010-05-12 Andrew Stubbs <ams@codesourcery.com>
25575
25576 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
25577 exceptions. Return 0.
25578
3f7dcb2b
RM
255792010-05-07 Roland McGrath <roland@redhat.com>
25580
25581 * elf/ldconfig.c (main): Add a const.
25582
5f24d53a 255832010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 25584
a160f8d8
UD
25585 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
25586 (args_options): Add no-idn option.
25587 (ahosts_keys_int): Add idn_flags to ai_flags.
25588 (parse_option): Handle 'i' option to clear idn_flags.
25589
5f24d53a
UD
25590 * malloc/malloc.c (_int_free): Possible race in the most recently
25591 added check. Only act on the data if no current modification
25592 happened.
265bb1ce
UD
25593
25594See ChangeLog.17 for earlier changes.